• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

Laptop

  • 博客园
  • 联系
  • 订阅
  • 管理

公告

View Post

树莓派opencv安装完成后出现问题的解决方法

参考 https://blog.csdn.net/Game_Builder/article/details/83756920

https://www.cnblogs.com/dongxiaodong/p/9814119.html

安装好opencv后,打开使用时出现

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

需要配置如下:

1.sudo raspi-config 命令,进入到树莓派基本设置界面

2.选择:

    5 Interfacing Options

然后选择

    Camera Enable

    SSH Enable

    VNC Enable

    SPI Enable

    I2C Enable

    Serial Enable

   1-Wire Enable
最好全部都选择启动,注意,开启后记得重启!!! sudo reboot

之后

raspistill -o new.jpg
就可以拍摄一张照片,并保存了(pi目录下)

posted on 2020-03-09 16:11  Laptop  阅读(372)  评论(0)    收藏  举报

刷新页面返回顶部
 
博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3