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

参考:
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。
无需注册,无需任何人许可,你可以免费的安装,使用它。

版权声明:本文为博主原创文章,未经博主允许不得转载。

转载于:https://www.cnblogs.com/paulweihan/p/4660101.html

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值