Open khush12 opened 4 years ago
same here
edit: this is most probably because the hardcoded default path to input source doesnt exist. you should be able pass --input 0 for webcam, but weirdly that doesnt work either, i'd recommend changing source to cv2.VideoCapture(0), it works for me
do you solve it ? i met the problem too
me too
while running, i am facing this issue: Traceback (most recent call last): File "/content/deep_sort_yolov3/demo.py", line 170, in
main(YOLO())
File "/content/deep_sort_yolov3/demo.py", line 158, in main
if len(pts[track.track_id]) != None:
UnboundLocalError: local variable 'track' referenced before assignment