Android USB Camera - How is it tested?

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

Android USB Camera - How is it tested?

2,970件の閲覧回数
mrbrooks
Contributor II

I'm running Android P (2.3.4) on iMX8MQ and trying to use an external USB camera. I haven't seen anything that implements the Camera2 external camera config (External USB Cameras  |  Android Open Source Project ) but I do see the USB camera enumerate as a UVC camera (and messages from the FSL HAL). Is there documentation on how the camera frames are being read from the external cameras if not the Android CTS external camera suite? The default camera app doesn't support this (just front/rear cameras)/

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

2,901件の閲覧回数
weidong_sun
NXP TechSupport
NXP TechSupport

you can set it in init.rc like below:

setprop back_camera_name uvc

that is to say , modify front or rear to uvc

then you run campera apk to preview it.

Hope above information can help you!

Have a nice day!

B.R,

Weidong

2,901件の閲覧回数
mrbrooks
Contributor II

Ah yes, that will do it! Didn't see that UVC is enumerated as the front camera (and your command can switch it to the back one). Thanks for your help!