USB 摄像头(不是 RPi 摄像头)无法在 Android Things Preview 2 上运行 [英] USB camera (not RPi camera) isn't working on Android Things Preview 2

查看:26
本文介绍了USB 摄像头(不是 RPi 摄像头)无法在 Android Things Preview 2 上运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有使用 RPi 相机的示例,但没有一个有用.我在清单文件中添加了权限,但输出仍然显示:No camera found.为什么?

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.

推荐答案

如果你看一下 硬件支持矩阵 在开发工具包页面上,请注意相机支持仅通过 CSI-2 接口提供,而不是 USB.当前预览中唯一通过 USB 支持的媒体接口是音频录制/播放.

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.

这篇关于USB 摄像头(不是 RPi 摄像头)无法在 Android Things Preview 2 上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆