Switch USB camera on i.MX6 / Android

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Switch USB camera on i.MX6 / Android

1,524件の閲覧回数
guillaumebishop
Contributor I

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.

ラベル(2)
0 件の賞賛
返信
2 返答(返信)

1,357件の閲覧回数
b36401
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

1,357件の閲覧回数
guillaumebishop
Contributor I

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.

0 件の賞賛
返信