forked from theAIGuysCode/yolov4-deepsort
-
Notifications
You must be signed in to change notification settings - Fork 61
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
Issues with webcam #29
Comments
Can you try it with single-quotes around 0 and let me know if it still errors? You'll find in line 326 of clip_object_tracker.py that its expecting a string value. It later checks if its a webcam source in the detect function (line 119 of clip_object_tracker.py) Example: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello all,
I tried to run this code with webcam. I have used the following command:
python clip_object_tracker.py --weights ./weights/best.pt --source 0 --detection-engine yolov7 --info
But it have thrown me the following error:
"TypeError: expected str, bytes or os.PathLike object, not list"
Anyone can help? thanks in advance.
The text was updated successfully, but these errors were encountered: