-
Notifications
You must be signed in to change notification settings - Fork 122
Open
Description
Hi, getting this error:
Traceback (most recent call last):
File "bayes.py", line 217, in <module>
main()
File "bayes.py", line 210, in main
cv.circle(app.img, (sailor_x[0], sailor_y[0]), 3, (255, 0, 0), -1)
TypeError: 'int' object is not subscriptable
sailor_x, sailor_y are int why do you treat them as arrays?
cv.circle(app.img, (sailor_x, sailor_y), 3, (255, 0, 0), -1)
this is working fine....
Metadata
Metadata
Assignees
Labels
No labels