forked from flyher/shumeipai
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRaspberry Pi-教你用树莓派通过usb摄像头实现网络监控功能!!! - 电子工程师学习交流园地.html
47 lines (37 loc) · 11.8 KB
/
Raspberry Pi-教你用树莓派通过usb摄像头实现网络监控功能!!! - 电子工程师学习交流园地.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><meta name="exporter-version" content=mNote Mac 2.4.10"/><meta name="created" content="2013-07-29T14:49:18Z"/><meta name="updated" content="2013-07-29T14:49:18Z"/><title>Raspberry Pi-教你用树莓派通过usb摄像头实现网络监控功能!!! - 电子工程师学习交流园地</title></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><div align="left" style="border: 0px none rgb(68, 68, 68); color: rgb(68, 68, 68); display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 14px; line-height: 21px; font-family: Tahoma, 'Microsoft Yahei', Simsun; height: 872px; outline: rgb(68, 68, 68) none 0px; padding: 0px; text-align: -webkit-left; text-decoration: none; width: 757px; word-wrap: break-word;">1.安装usb摄像头,<a href="http://www.eeboard.com/bbs/thread-1510-1-1.html" target="_blank" style="border: 0px none rgb(51, 102, 153); color: rgb(51, 102, 153); display: inline; font-style: normal; font-variant: normal; font-weight: normal; font-size: 14px; line-height: 21px; font-family: Tahoma, 'Microsoft Yahei', Simsun; margin: 0px; outline: rgb(51, 102, 153) none 0px; padding: 0px; text-align: -webkit-left; text-decoration: underline; word-wrap: break-word;">http://www.eeboard.com/bbs/thread-1510-1-1.html</a><br>
2.安装强大的网络监控软件motion,输入<br>
sudo apt-get install motion (如果安装不了的,可以先sudo apt-get update 一下)<br>
3.配置motion,编辑motion.conf文件 <br>
sudo vi /etc/motion/motion.conf (或者运行sudo xedit /etc/motion/motion.conf) <br>
<br>
4.找到”control_localhost on “和”webcam_localhost on“这两行,改为以下两行后,保存退出 <br>
control_localhost off <br>
webcam_localhost off <br>
5.运行motion软件,输入 <br>
motion -n<br>
6.在pc上用IE浏览器打开,192.168.99.53是我的树莓派ip,换成你们自己的 <br>
配置网页:<font color="black" style="display: inline; font-style: normal; font-variant: normal; font-weight: normal; font-size: 14px; line-height: 21px; font-family: Tahoma, 'Microsoft Yahei', Simsun; margin: 0px; padding: 0px; text-align: -webkit-left; text-decoration: none; word-wrap: break-word;">http://192.168.99.53:8080</font> <br>
<ignore_js_op style="border: 0px none rgb(68, 68, 68); color: rgb(68, 68, 68); display: inline; font-style: normal; font-variant: normal; font-weight: normal; font-size: 14px; line-height: 21px; font-family: Tahoma, 'Microsoft Yahei', Simsun; margin: 0px; outline: rgb(68, 68, 68) none 0px; padding: 0px; text-align: -webkit-left; text-decoration: none; word-wrap: break-word;">
<img id="aimg_4306" aid="4306" src="http://files.note.sdo.com/2clrz~kvq0XFM718M001Mi" zoomfile="forum.php?mod=attachment&aid=NDMwNnw5OThmZTQyOHwxMzY5NzI4NTI4fDB8MTUxMQ%3D%3D&noupdate=yes&nothumb=yes" file="forum.php?mod=attachment&aid=NDMwNnw5OThmZTQyOHwxMzY5NzI4NTI4fDB8MTUxMQ%3D%3D&noupdate=yes" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="500" inpost="1" alt="6.jpg" title="6.jpg" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" style="width: 500px; height: 282px; float: none; background-image: none; background-attachment: scroll; background-origin: padding-box; background-clip: border-box; background-color: rgba(0, 0, 0, 0); background-size: auto; background-position: 0% 0%; background-repeat: repeat repeat;" lazyloaded="true" _load="1">
<div style="position: absolute; display: none; background-image: none; background-attachment: scroll; background-origin: padding-box; background-clip: border-box; background-color: rgb(254, 254, 233); background-size: auto; border: 1px solid rgb(177, 177, 177); color: rgb(68, 68, 68); font-style: normal; font-variant: normal; font-weight: normal; font-size: 14px; line-height: 21px; font-family: Tahoma, 'Microsoft Yahei', Simsun; margin: 0px; outline: rgb(68, 68, 68) none 0px; padding: 10px; text-align: -webkit-left; text-decoration: none; width: 260px; word-wrap: break-word; background-position: 0% 0%; background-repeat: repeat repeat;">
<div style="border: 0px none rgb(68, 68, 68); color: rgb(68, 68, 68); display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: 17px; font-family: Arial; margin: 0px; outline: rgb(68, 68, 68) none 0px; padding: 0px; text-align: -webkit-left; text-decoration: none; word-wrap: break-word;">
<div style="border: 0px none rgb(68, 68, 68); color: rgb(68, 68, 68); display: block; float: right; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: 17px; font-family: Arial; margin: 0px; outline: rgb(68, 68, 68) none 0px; padding: 0px; text-align: -webkit-left; text-decoration: none; word-wrap: break-word;">2012-9-11 14:27 上传</div>
<a href="http://www.eeboard.com/bbs/forum.php?mod=attachment&aid=NDMwNnw5OThmZTQyOHwxMzY5NzI4NTI4fDB8MTUxMQ%3D%3D&nothumb=yes" title="6.jpg 下载次数:3" target="_blank" style="border: 0px none rgb(51, 102, 153); color: rgb(51, 102, 153); display: inline; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: 17px; font-family: Arial; margin: 0px; outline: rgb(51, 102, 153) none 0px; padding: 0px; text-align: -webkit-left; text-decoration: underline; word-wrap: break-word;"><strong style="border: 0px none rgb(51, 102, 153); color: rgb(51, 102, 153); display: inline; font-style: normal; font-variant: normal; font-weight: bold; font-size: 12px; line-height: 17px; font-family: Arial; margin: 0px; outline: rgb(51, 102, 153) none 0px; padding: 0px; text-align: -webkit-left; text-decoration: none; word-wrap: break-word;">下载附件</strong> <span style="border: 0px none rgb(51, 102, 153); color: rgb(51, 102, 153); display: inline; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10px; line-height: 14px; font-family: Arial; margin: 0px; outline: rgb(51, 102, 153) none 0px; padding: 0px; text-align: -webkit-left; text-decoration: none; word-wrap: break-word;">(21.63 KB)</span></a>
</div>
<div style="background-image: url(http://www.eeboard.com/bbs/static/image/common/tip_bottom.png); background-attachment: scroll; background-origin: padding-box; background-clip: border-box; background-color: rgba(0, 0, 0, 0); background-size: auto; border: 0px none rgb(68, 68, 68); bottom: -6px; color: rgb(68, 68, 68); display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 14px; line-height: 21px; font-family: Tahoma, 'Microsoft Yahei', Simsun; height: 6px; left: 5px; margin: 0px; outline: rgb(68, 68, 68) none 0px; overflow: hidden; padding: 0px; position: absolute; text-align: -webkit-left; text-decoration: none; width: 11px; word-wrap: break-word; background-position: 0% 0%; background-repeat: repeat repeat;"></div>
</div>
</ignore_js_op>
<br>
监控网页:<font color="black" style="display: inline; font-style: normal; font-variant: normal; font-weight: normal; font-size: 14px; line-height: 21px; font-family: Tahoma, 'Microsoft Yahei', Simsun; margin: 0px; padding: 0px; text-align: -webkit-left; text-decoration: none; word-wrap: break-word;">http://192.168.99.53:8081</font> <br>
<ignore_js_op style="border: 0px none rgb(68, 68, 68); color: rgb(68, 68, 68); display: inline; font-style: normal; font-variant: normal; font-weight: normal; font-size: 14px; line-height: 21px; font-family: Tahoma, 'Microsoft Yahei', Simsun; margin: 0px; outline: rgb(68, 68, 68) none 0px; padding: 0px; text-align: -webkit-left; text-decoration: none; word-wrap: break-word;">
<img id="aimg_4307" aid="4307" src="http://files.note.sdo.com/2clrz~kvq0XFM718M001Mk" zoomfile="forum.php?mod=attachment&aid=NDMwN3w4NDJkMjdiNnwxMzY5NzI4NTI4fDB8MTUxMQ%3D%3D&noupdate=yes&nothumb=yes" file="forum.php?mod=attachment&aid=NDMwN3w4NDJkMjdiNnwxMzY5NzI4NTI4fDB8MTUxMQ%3D%3D&noupdate=yes" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="500" inpost="1" alt="7.jpg" title="7.jpg" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" style="width: 500px; height: 282px; float: none; background-image: none; background-attachment: scroll; background-origin: padding-box; background-clip: border-box; background-color: rgba(0, 0, 0, 0); background-size: auto; background-position: 0% 0%; background-repeat: repeat repeat;" lazyloaded="true" _load="1">
<div style="position: absolute; display: none; background-image: none; background-attachment: scroll; background-origin: padding-box; background-clip: border-box; background-color: rgb(254, 254, 233); background-size: auto; border: 1px solid rgb(177, 177, 177); color: rgb(68, 68, 68); font-style: normal; font-variant: normal; font-weight: normal; font-size: 14px; line-height: 21px; font-family: Tahoma, 'Microsoft Yahei', Simsun; margin: 0px; outline: rgb(68, 68, 68) none 0px; padding: 10px; text-align: -webkit-left; text-decoration: none; width: 260px; word-wrap: break-word; background-position: 0% 0%; background-repeat: repeat repeat;">
<div style="border: 0px none rgb(68, 68, 68); color: rgb(68, 68, 68); display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: 17px; font-family: Arial; margin: 0px; outline: rgb(68, 68, 68) none 0px; padding: 0px; text-align: -webkit-left; text-decoration: none; word-wrap: break-word;">
<div style="border: 0px none rgb(68, 68, 68); color: rgb(68, 68, 68); display: block; float: right; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: 17px; font-family: Arial; margin: 0px; outline: rgb(68, 68, 68) none 0px; padding: 0px; text-align: -webkit-left; text-decoration: none; word-wrap: break-word;">2012-9-11 14:27 上传</div>
<a href="http://www.eeboard.com/bbs/forum.php?mod=attachment&aid=NDMwN3w4NDJkMjdiNnwxMzY5NzI4NTI4fDB8MTUxMQ%3D%3D&nothumb=yes" title="7.jpg 下载次数:1" target="_blank" style="border: 0px none rgb(51, 102, 153); color: rgb(51, 102, 153); display: inline; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: 17px; font-family: Arial; margin: 0px; outline: rgb(51, 102, 153) none 0px; padding: 0px; text-align: -webkit-left; text-decoration: underline; word-wrap: break-word;"><strong style="border: 0px none rgb(51, 102, 153); color: rgb(51, 102, 153); display: inline; font-style: normal; font-variant: normal; font-weight: bold; font-size: 12px; line-height: 17px; font-family: Arial; margin: 0px; outline: rgb(51, 102, 153) none 0px; padding: 0px; text-align: -webkit-left; text-decoration: none; word-wrap: break-word;">下载附件</strong> <span style="border: 0px none rgb(51, 102, 153); color: rgb(51, 102, 153); display: inline; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10px; line-height: 14px; font-family: Arial; margin: 0px; outline: rgb(51, 102, 153) none 0px; padding: 0px; text-align: -webkit-left; text-decoration: none; word-wrap: break-word;">(23.4 KB)</span></a>
</div>
<div style="background-image: url(http://www.eeboard.com/bbs/static/image/common/tip_bottom.png); background-attachment: scroll; background-origin: padding-box; background-clip: border-box; background-color: rgba(0, 0, 0, 0); background-size: auto; border: 0px none rgb(68, 68, 68); bottom: -6px; color: rgb(68, 68, 68); display: block; font-style: normal; font-variant: normal; font-weight: normal; font-size: 14px; line-height: 21px; font-family: Tahoma, 'Microsoft Yahei', Simsun; height: 6px; left: 5px; margin: 0px; outline: rgb(68, 68, 68) none 0px; overflow: hidden; padding: 0px; position: absolute; text-align: -webkit-left; text-decoration: none; width: 11px; word-wrap: break-word; background-position: 0% 0%; background-repeat: repeat repeat;"></div>
</div>
</ignore_js_op>
<br>
</div></div></body></html>