
【树莓派】利用USB摄像头实现Web在线监控
5星
- 浏览量: 0
- 大小:None
- 文件类型:None
简介:
本项目介绍如何使用树莓派和USB摄像头搭建一个低成本的网络视频监控系统,实现实时视频流的Web访问。
安装motion:
```shell
sudo apt-get install motion
```
修改配置文件以开启守护进程:
```shell
sudo leafpad /etc/default/motion
# 将 no 改为 yes:
start_motion_daemon=yes
```
接着,编辑分辨率设置:
```shell
sudo leafpad /etc/motion/motion.conf
# 修改以下选项:
daemon off 为 on:
daemon on
# 设置分辨率为800x600:
width 800
height 600
# 关闭 localhost 的限制:
webcontrol_localhost off
stream_localhost off
```
最后,运行motion服务:
```shell
sudo motion
```
全部评论 (0)
还没有任何评论哟~


