santiago@santiago-Aspire-A515-51:~/Devel$ python '/home/santiago/Devel/videotracker/object-tracker-multiple.py' -v '/home/santiago/Documents/NewConsultoriaMarketing/accordion.mkv'
Press key p to pause the video to start tracking
Press and release mouse around the object to be tracked.
You can also select multiple objects.
Press key p to continue with the selected points.
Press key d to discard the last object selected.
Press key q to quit the program.
Object selected at [(664, 599), (691, 623)]
Traceback (most recent call last):)] , (-12942, -16384)]
File "/home/santiago/Devel/videotracker/object-tracker-multiple.py", line 89, in
run(source, args["dispLoc"])
File "/home/santiago/Devel/videotracker/object-tracker-multiple.py", line 60, in run
cv2.rectangle(img, pt1, pt2, (255, 255, 255), 3)
TypeError: an integer is required
Also, having trouble drawing the square + what I show in the video:
https://www.loom.com/share/3eaf26160d874ccfac61d6b79ea1864f
santiago@santiago-Aspire-A515-51:~/Devel$ python '/home/santiago/Devel/videotracker/object-tracker-multiple.py' -v '/home/santiago/Documents/NewConsultoriaMarketing/accordion.mkv'
Press key
pto pause the video to start trackingPress and release mouse around the object to be tracked.
You can also select multiple objects.
Press key
pto continue with the selected points.Press key
dto discard the last object selected.Press key
qto quit the program.Object selected at [(664, 599), (691, 623)]
Traceback (most recent call last):)] , (-12942, -16384)]
File "/home/santiago/Devel/videotracker/object-tracker-multiple.py", line 89, in
run(source, args["dispLoc"])
File "/home/santiago/Devel/videotracker/object-tracker-multiple.py", line 60, in run
cv2.rectangle(img, pt1, pt2, (255, 255, 255), 3)
TypeError: an integer is required
Also, having trouble drawing the square + what I show in the video:
https://www.loom.com/share/3eaf26160d874ccfac61d6b79ea1864f