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

resource busy error while device.open() #47

Open
dipshirajput opened this issue Apr 27, 2023 · 1 comment
Open

resource busy error while device.open() #47

dipshirajput opened this issue Apr 27, 2023 · 1 comment

Comments

@dipshirajput
Copy link

Hi all,
while using the code on this link , https://github.com/vladimirvivien/go4vl/blob/main/examples/capture0/capture0.go , I am facing resource busy error after some iterations at the instance where it tries to open the device. I am using the exact same code but in loop.

please let me know for any suggestions.
Thanks in advance.

@vladimirvivien
Copy link
Owner

@dipshirajput Thank you for reaching out and apologies for the late reply.
That error is usually returned if the device is being used by another process.
Without additional detail, I would suggest the followings:

  • Ensure no other process is using the camera device
  • Unplug the USB cable for the device and replug it in
  • And rerun the program

Let me know if that works or not.

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