问题描述
我在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 shellWhat 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
希望有帮助
这篇关于如何删除相机预览到树莓派的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!