[numpy问题]The truth value of an array with more than one element is ambiguous.

问题描述:在进行Hough圆变换时,须要输出一个圆的坐标:python circles = cv2.HoughCircles(canny, cv2.HOUGH_GRADIENT, 2, 40, param1=30, param2=30, minRadius=0, maxRadius=20) 接下来会根据这个圆的坐标来画圆心:web for circle in circles[0]: x=i
相关文章
相关标签/搜索