Forum Discussion
emre_tanirgan
10 years agoProtege
OpenCV & DK2 IR Camera Problem
I'm working on a C++ program that takes in two USB camera inputs and streams them on separate threads using OpenCV, then displays them on the DK2 using OpenGL. The issue I'm having is that whenever I ...
Vrally
10 years agoProtege
Hi,
Since I have built a working solution with pretty much the same components as you I will try to help (even if I never came across the same issues).
OpenCV enumerates cameras in order of connection. So the first camera you will connect will be camera 0, the second camera 1 etc. What is probably happening is that your application tries to use the Oculus Camera instead of one of your uEye cameras. This will lock access of the Oculus camera for the Oculus SDK.
Try to initialize your Oculus camera before you initialize your uEye cameras and see if that helps. Or try connecting the cameras to the computer in a different order.
Since I have built a working solution with pretty much the same components as you I will try to help (even if I never came across the same issues).
OpenCV enumerates cameras in order of connection. So the first camera you will connect will be camera 0, the second camera 1 etc. What is probably happening is that your application tries to use the Oculus Camera instead of one of your uEye cameras. This will lock access of the Oculus camera for the Oculus SDK.
Try to initialize your Oculus camera before you initialize your uEye cameras and see if that helps. Or try connecting the cameras to the computer in a different order.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 1 year ago
- 11 months ago
- 11 months ago
- 1 day ago