raspberry-pi - 如何在 Yocto 中启用 Raspberry Pi 摄像头
问题描述
我正在尝试让我的 Raspberry Pi 相机与我的 Yocto 图像一起使用。我在这里发现我需要添加以下行:
VIDEO_CAMERA = "1"
我将它添加到我的 meta 的 recipes-core/images/example-image.bb 但是当我尝试拍照时,我仍然得到:
root@user:~# raspistill -o testshot.jpg
mmal: mmal_vc_component_create: failed to create component 'vc.ril.camera' (1:ENOMEM)
mmal: mmal_component_create_core: could not create component 'vc.ril.camera' (1)
mmal: Failed to create camera component
mmal: main: Failed to create camera component
mmal: Camera is not enabled in this build. Try running "sudo raspi-config" and ensure that "camera" has been enabled
所以它似乎没有启用。而且raspi-config
似乎只在 Raspbian 上可用,实际上它不被识别为命令。
我还缺少什么吗?我在那里找不到太多信息,而且我还是 Yocto 的新手。
解决方案
推荐阅读
- kubernetes - 是否可以从 java 代码运行 aws eks 作业?
- sql - 在现有查询中添加记录数
- laravel - 如果 vue.js laravel 中的值为 null,则隐藏 div
- python - MS Azure - python http.server - 连接被拒绝
- postgresql - Strapi database.js / 多个数据库配置
- javascript - 如何在 Node 上的 Object.defineProperty 被覆盖后恢复到原始状态?
- python - 我不断收到 ValueError: Shapes (10, 1) and (10, 3) are incompatible 训练我的模型
- r - 在循环中结合使用 sink() 和 rmarkdown::render() 来检测计划的 .Rmd 报告的错误
- image - 您如何以编程方式创建图像,以便在 Unity 中与 2D 精灵一起使用?
- .net-core - OAuth 2.0、Swagger 和 DotNet 核心