树莓派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目录下)
浙公网安备 33010602011771号