Skip to content

Cordinates become negative when using i3 window manager #12

@santiagodemierre

Description

@santiagodemierre

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions