[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
相關文章
相關標籤/搜索