- 47
- 0
- 约9.23千字
- 约 13页
- 2020-02-01 发布于北京
- 举报
一、首先确定USB摄像头可以用,
cd /dev
ls | grep video
如果有个设备名字是video0(多个摄像头数字递增)就可以了
二、本方案使用的是motion,相当简单的一个工具,让我们来安装他
sudo apt-get update
sudo apt-get install motion
三、配置motion.conf
sudo nano /etc/motion/motion.conf
ctrl+w搜索 ”target_dir“ 后面跟着个就是图片/视频文件存储的位置ctrl+w搜索 ”control_localhost“ 将on改成off,允许非本机访问http控制台ctrl+x Y保存退出四、启动 motion?
pi@raspberrypi /dev $ sudo motion?[0] Processing thread 0 - config file /etc/motion/motion.conf[0] Motion 3.2.12 Started[0] ffmpeg LIBAVCODEC_BUILD 3482368 LIBAVFORMAT_BUILD 3478784[0] Thread 1 is from /etc/motion/motion.conf[0] motion-httpd/3.2.12 running, accep
原创力文档

文档评论(0)