问题
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