object-tracker icon indicating copy to clipboard operation
object-tracker copied to clipboard

Cordinates become negative when using i3 window manager

Open santiagodemierre opened this issue 4 years ago • 0 comments

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

santiagodemierre avatar Aug 01 '20 17:08 santiagodemierre