def find_circles(edges_img, min_radius, max_radius):
"""
Finds circles using the Hough transformation
For each radius a Hough transformation matrix is calculated and retured
"""
hough_radii = numpy.arange(min_radius, max_radius, 1)
hough_res = hough_circle(edges_img, hough_radii)
return (hough_radii, hough_res)
cv.py 文件源码
python
阅读 22
收藏 0
点赞 0
评论 0
评论列表
文章目录