码迷,mamicode.com
首页 > Web开发 > 详细

Raspberry Pi + 3个USB摄像头 + Motion(简易监控设备配置记录1——介绍以及安装)

时间:2015-04-13 09:42:55      阅读:253      评论:0      收藏:0      [点我收藏+]

标签:监控   debian   motion   开源代码   raspberry-pi   

参考:
Debian官网链接
Motion官网链接

首先,参见Debian官网链接对Motion的介绍,网页中包含了所有相关依赖包,请首先确保这些依赖包的安装。


Motion介绍

摘出对Motion的介绍部分。如下:
Package: motion (3.2.12-3.4)

V4L capture program supporting motion detection

Motion is a program that monitors the video signal from one or more cameras and is able to detect if a significant part of the picture has changed. Or in other words, it can detect motion.

Motion is a command line based tool. It has no graphical user interface. Everything is setup either via the command line or via configuration files.

The output from motion can be:

  • jpg files
  • ppm format files
  • mpeg video sequences
    Also, motion has its own minimalistic web server. Thus, you can access the webcam output from motion via a browser.

简单来说,Motion就是一款可以同时开启多个摄像头进行视频监控并同时实现运动捕捉的程序,该程序基于命令行界面,其输出支持jpg图片输出,ppm format视频输出,以及mpeg视频序列输出。同时,Motion还可以实现网页端的实时视频监控。


安装介绍如下(摘自Motion官网链接):
PS:如果你想选择编译源码安装,参见上面的链接,有详细的说明。

Installation on Ubuntu

Motion is part of the Ubuntu repository. You can click either click here to install it via the Ubuntu Software-Center.
Or open up a terminal window and type:

sudo apt-get install motion

Before we start configuring Motion, we need to copy the config file to our Home folder so that the master copy won’t be affected. Open a terminal and copy the configuration file to your Home folder with following commands:

mkdir .motion

(Note: This will create a hidden folder “.motion” in your Home directory.)

sudo cp /etc/motion/motion.conf ~/.motion/motion.conf

(Note: This command will copy the original motion configuration file to its location.)
Now can open the configuration file for editing:

sudo nano ~/.motion/motion.conf

After you you have done so, start motion in the terminal simply by typing:

sudo motion

安装好Motion之后,
输入命令:

man motion

你会发现这是一款无比强大的应用。其可配置性强大的令人发指。
附上其官网连接供参考。
和其他Linux下的强大程序相同,这款程序同样是开源的。他的发布遵守GPL。
无需注册,无需任何人许可,你可以免费的安装,使用它。

Raspberry Pi + 3个USB摄像头 + Motion(简易监控设备配置记录1——介绍以及安装)

标签:监控   debian   motion   开源代码   raspberry-pi   

原文地址:http://blog.csdn.net/paul_c_v/article/details/45012937

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!