can not work by 'p' and 'esc' key
Hi, I don't know why the key can't wok, and I cannot label the target to tracking
Confirmed, keyboard does not work at all on Linux, OpenCV 2.4.
I am also facing this issue doesn't work after pressing key 'p'. Please help someone ??
Hi, Even I was facing similar problem, was not able to pause the video by pressing 'p'. Solution to make it work is given below.
In object-tracker-single.py & object-tracking-multiple.py Replace line 23 by 2 lines given below Line23 : if(cv2.waitKey(10)==ord('p')): Replace : key=cv2.waitKey(1) & 0xff if(key==ord('p'))
In get_points.py Replace line 52 by command given below Line 52: key = cv2.waitKey(30) Replace : key=cv2.waitKey(1) & 0xff
By changing the above mentioned lines one will be able to execute the tracker successfully.
@bhatshashank please open a pull request if you think that solved the problem
I have solved the issue. Opened a pull request. Until not accepted, you can use my forked repo.