Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cordinates become negative when using i3 window manager #12

Open
santiagodemierre opened this issue Aug 1, 2020 · 0 comments
Open

Cordinates become negative when using i3 window manager #12

santiagodemierre opened this issue Aug 1, 2020 · 0 comments

Comments

@santiagodemierre
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant