Integer argument expected int got float in opencv
问题 I have displayed the code below, but when I try to execute it, get Traceback (most recent call last): File "/home/decentmakeover2/Code/cv.py", line 22, in <module> img = cv2.circle(img,center, radius, (0,255, 0), 2) TypeError: integer argument expected, got float Im not exactly sure what the problem is, in the minEnclosingCircle the values have been converted to int , but i still get the same error, any ideas on what might be the problem? import numpy as np import cv2 import os from scipy