Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
或者说我想识别到两个圆,然后最右的圆色域变化或者变亮了,就意味着我找到了我想要的圆,怎么实现呢?
你啥意思啊,c.x(), c.y()不就是中心点?
圆们 = img.find_circles() if(len(圆们)) != 2: print("圆不是两个") 第一个圆 = 圆们[0] 第二个圆 = 圆们[1] print("第一个圆中心", 第一个圆.x(), 第一个圆.y() ) print("第二个圆中心", 第二个圆.x(), 第二个圆.y() )