Hello All,
I'm using an embedded computer based on a iMX6Q CPU (2GB Ram / 8GB Nand) with Android JB4.3,
for this project I had to take pictures from severals USB Camera (up to 5),
I managed to use one camera but no more.
The Android framework see only one camera, but all camera are present as (/dev/video2, /dev/video3, ...)
Has I didn't have to use the cameras in simultaneous, is it possible to switch camera?
Thanks in advance for your help.
I can provide only common recommendations regarding to connecting cameras:
https://developer.android.com/training/camera/cameradirect.html
Have a great day,
Victor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thanks for your answer,
Unfortunately, on the Android side, I can list only one camera, and only this camera can be opened.
so I'm only able the have Camera.open(0) working,
but Camera.open(1), ... doesn't work.
but all cameras are listed in USB devices, and corresponding /dev/videoX is created.
It seems that the Camera HAL for USB only support the first USB camera connected.