Motion Detection

From XinCheJian
Jump to navigation Jump to search

Installation

sudo apt-get install motion

Current camera

 Bus 001 Device 005: ID 1415:2000 Nam Tai E&E Products Ltd. or OmniVision Technologies, Inc. Sony Playstation Eye

Configuration

Config file: /etc/motion/motion.conf

  • select correct usb device
    • videodevice /dev/video2
  • depending on orientation of camera
    • rotate 270
  • set to capture the best image in 60s events
    • output_normal best

Run as service on boot

 sudo update-rc.d motion enable