Attention! This forum will be made read-only by Dec-20. Please migrate to https://forum.opencv.org. Most of existing active users should've received invitation by e-mail.
Ask Your Question

Albert Zhong's profile - activity

2015-11-19 02:01:21 -0500 asked a question Opening USB Camera connected to Android

HI all,

I have question about opening USB cameras on Android devices. In general way, android (or linux) will create a /dev/videoX when a USB camera is connected, so that you can open it with the camera id X or use /dev/videoX.

But when my camera is connected, nothing was created under /dev (expect a USB node at /dev/bus/usb). However, CameraFi works fine on my phone and it would recognize my camera as it connected.

Could anyone tell me how to find the device node so that I could open the camera, or should I read raw data from the USB node and decode it?

Thanks