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 #8

Closed
YeetMasterYeet opened this issue May 31, 2022 · 2 comments
Closed

USB CAMERA #8

YeetMasterYeet opened this issue May 31, 2022 · 2 comments

Comments

@YeetMasterYeet
Copy link

hello, i have been using this repository and i cannot seem to make it work using a usb camera. i have been able to run the code on recorded videos, on my integrated camera but i cannot make my usb camera work.
one thing i noticed in my device managed is that my usb camera does not appear under the camera section, it has its own section as a USB device.
I have tried everything such but nothing seems to work:

  • changing the 0 for integrated cam to 1, 2,3...
  • giving the camera access path
  • trying to place the usb camera under the cam section in device manager.
    is there any workaround to this problem or any indication on how to make the camera. thanks.
@duongttr
Copy link
Owner

Hi there,

Where did you pass the id of the camera into? Make sure you pass it to video parameter of VehiclesCounting class.

@YeetMasterYeet
Copy link
Author

that is why i have exactly what i have done and nothing the camera is not detected.

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

2 participants