A program that detects the number of coins or circles in an image
一个可以检测图片中硬币或者圆圈数量的程序
When studying CV basic operations, I want to use these skills to detect some thing, and that's why I made this proj
在学习计算机视觉基础操作的时候,我想利用这些技巧去检测一些东西,受到一些项目启发,做了这个项目来对图片或者实时视频中的硬币或圆形物体进行检测
Just Download and Unzip the repo!
python3 coin_counter_test_to_find_good_parameter.py
graph LR
start[start] --> load[load image]
subgraph gray
load -- Convert to gray scale --> grayscale[Gray Image]
end
grayscale -- Apply median blur --> mblur[Image Blurred]
subgraph blur
mblur -- Apply gaussian blur --> gblur[Image Blurred]
end
subgraph edge detection
gblur -- Canny Edge Detection --> cEdge[Edges]
end
subgraph draw contours
cEdge -- Find contours --> contours[Contours]
end
contours -- Draw and Count the contours --> stop[stop]
python3 Find_Circles_And_Say.py
examples:
If you find this useful, please star it! :) Denry Du 2019