Raspberry Pi + 3個USB攝像頭 + Motion(簡易監控設備配置記錄1——介紹以及安裝) 分類: Raspberry Pi 服務器搭建 2015-04-12 19:21 226人閱讀

參考:
Debian官網連接
Motion官網連接web

首先,參見Debian官網連接對Motion的介紹,網頁中包含了全部相關依賴包,請首先確保這些依賴包的安裝。ubuntu


Motion介紹

摘出對Motion的介紹部分。以下:
Package: motion (3.2.12-3.4)bash

V4L capture program supporting motion detectionmarkdown

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.ide

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.ui

The output from motion can be:spa

  • 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:若是你想選擇編譯源碼安裝,參見上面的連接,有詳細的說明。code

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:orm

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。 無需註冊,無需任何人許可,你能夠免費的安裝,使用它。

相關文章
相關標籤/搜索