USB camera (not RPi camera) isn't working on Android Things Preview 2

百般思念 提交于 2019-12-20 06:15:58

问题


There are samples of using RPi camera, but none of them are useful. I have added permissions in the manifest file, but still the output is showing : No cameras found. Why?

02-22 19:24:42.936 2134-2134/com.example.androidthings.doorbell
    D/DoorbellActivity: Doorbell Activity created.
02-22 19:24:43.131 2134-2134/com.example.androidthings.doorbell
    I/CameraManagerGlobal: Connecting to camera service
02-22 19:24:43.135 2134-2134/com.example.androidthings.doorbell
    D/DoorbellCamera: No cameras found
02-22 19:24:43.135 2134-2134/com.example.androidthings.doorbell
    W/DoorbellCamera: Cannot capture image. Camera not initialized.

回答1:


If you look at the Hardware Support Matrix on the Developer Kits page, note that camera support is only provided over the CSI-2 interface, and not USB. The only media interface supported over USB in the current preview is audio record/playback.



来源:https://stackoverflow.com/questions/42400687/usb-camera-not-rpi-camera-isnt-working-on-android-things-preview-2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!