如何删除相机预览到树莓派 [英] How remove camera preview to raspberry pi

查看:101
本文介绍了如何删除相机预览到树莓派的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在raspberryPi上安装了SimpleCv,并在驱动程序上使用了相机板(uv4l驱动程序),现在我想使用它. 当我在simpleCV shell"Camera(0).getImage().save(" foo.jpg)"上键入时,屏幕上会显示摄像机预览,并且由于该预览涵盖了shell而无法键入其他命令 我该怎么做才能删除相机预览? 非常感谢 ! 菲利波(Filippo)

I installed the SimpleCv on my raspberryPi and the driver to use the camera board with it (uv4l driver) and now I'd like to play with it. When I type on simpleCV shell "Camera(0).getImage().save("foo.jpg") " , on the screen appears the camera preview and I am not able to type other command because this preview covers the shell What Have I to do to remove the camera preview ? Thanks a lot ! Filippo

推荐答案

尝试使用nopreview选项

Try the nopreview option

pkill uv4l
uv4l --driver raspicam --auto-video_nr --encoding yuv420 --width 320 --height 240 --nopreview
export LD_PRELOAD=/usr/lib/uv4l/uv4lext/armv6l/libuv4lext.so

pkill uv4l
uv4l --driver raspicam --auto-video_nr --encoding yuv420 --width 320 --height 240 --nopreview
export LD_PRELOAD=/usr/lib/uv4l/uv4lext/armv6l/libuv4lext.so

希望有帮助

这篇关于如何删除相机预览到树莓派的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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