[numpy问题]The truth value of an array with more than one element is ambiguous.
问题描述:在进行Hough圆变换时,需要输出一个圆的坐标:circles=cv2.HoughCircles(canny,cv2.HOUGH_GRADIENT,2,40,param1=30,param2=30,minRadius=0,maxRadius=20)接下来会根据这个圆的坐标来画圆心:forcircleincircles[0]:x=int(circle[0])y=int(circle[1])