control-3d-character-using-python icon indicating copy to clipboard operation
control-3d-character-using-python copied to clipboard

Issue with Script

Open hisatnam opened this issue 4 years ago • 1 comments

Python: Traceback (most recent call last): File "c:\users\waheguru\downloads\Vincent.blend\OpenCVAnimOperator.py", line 196, in modal cv2.error: OpenCV(4.5.2) :-1: error: (-5:Bad argument) in function 'circle'

Overload resolution failed:

  • Can't parse 'center'. Sequence item with index 0 has a wrong type
  • Can't parse 'center'. Sequence item with index 0 has a wrong type

location: :-1

I tried all the possible way whatever I knew. But no luck.

hisatnam avatar Jun 17 '21 05:06 hisatnam

Please just clone the last version i published.

FYI (the problem comes from giving float numbers as a parameter to the opencv circle function)

cv2.circle(image, (int(x),int(y)), 2, (0, 255, 255), -1)

joeVenner avatar Jun 19 '21 18:06 joeVenner