test on my own video
ibrahimacar opened this issue · 3 comments
ibrahimacar commented
How to test on my own video?
ambakick commented
The tweaking has to be done on the OpenCV side of the code.
-
Go to the main function of the Person_det_track.py
-
Under "if name == "main": "
cap = cv2.VideoCapture(0)
#this means that the video is streamed from the video camera by OpenCV
change it to
cap = cv2.VideoCapture('trial.mp4')
#This will make OpenCV Stream from the local video file.
NOTE: Before doing this add "trial.mp4" to the same folder.
Hope this works for you.
ambakick commented
Please close the issue if your problem is resolved.
ibrahimacar commented
Thanks a lot