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

Issue while trying to on camera #184

Open
TacticalTriggers opened this issue Jul 3, 2024 · 1 comment
Open

Issue while trying to on camera #184

TacticalTriggers opened this issue Jul 3, 2024 · 1 comment

Comments

@TacticalTriggers
Copy link

Python: Traceback (most recent call last):
File "/Users/zainimran/Library/Application Support/Blender/4.1/scripts/addons/BlendArMocap-main/src/cgt_mediapipe/cgt_mp_detection_operator.py", line 111, in execute
stream = self.get_stream()
^^^^^^^^^^^^^^^^^
File "/Users/zainimran/Library/Application Support/Blender/4.1/scripts/addons/BlendArMocap-main/src/cgt_mediapipe/cgt_mp_detection_operator.py", line 91, in get_stream
stream = cv_stream.Stream(
^^^^^^^^^^^^^^^^^
File "/Users/zainimran/Library/Application Support/Blender/4.1/scripts/addons/BlendArMocap-main/src/cgt_mediapipe/cgt_mp_core/cv_stream.py", line 39, in init
raise IOError("Cannot open webcam")
OSError: Cannot open webcam

Am having issues with opening camera. I am on a mac.

@vorukanu
Copy link

vorukanu commented Jul 25, 2024

I had the same issue on windows.

What solved it for me was using webcam device slot 0 instead of slot 1.

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