Skip to content
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

USB Camera #11

Open
AfreenZehra opened this issue Dec 16, 2019 · 1 comment
Open

USB Camera #11

AfreenZehra opened this issue Dec 16, 2019 · 1 comment

Comments

@AfreenZehra
Copy link

AfreenZehra commented Dec 16, 2019

I have an a issue regarding the usb camera I am unable to run it on usb camera, if I use ubuntu on virtual machine then it is working but not on proper OS ubuntu and also the video streaming is extremely slow with my laptop webcam

@AfreenZehra
Copy link
Author

AfreenZehra commented Dec 22, 2019

I have made a change in /examples/detector.c file
int cam_index = find_int_arg(argc, argv, "-c", 0);
last argument to 1 for my usb camera
I am getting this error

Loading weights from yolov3.weights...Done!
Unable to stop the stream: Invalid argument
Couldn't connect to webcam.
: Resource temporarily unavailable
darknet: ./src/utils.c:256: error: Assertion `0' failed.
Aborted (core dumped)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant