Git Product home page Git Product logo

resin-motion's Introduction

Camera Motion Detection

A software motion detection container for resinOS based on motion. Serves the captured photos via nginx and pushes notifications via Pushover API.

Configuration

The following items may be configured via environment variables:

  • PUSHOVER_TOKEN: Your Pushover application's API token.
  • PUSHOVER_USERKEY: The user key of your Pushover user.
  • DEVICEURL: The public URL of your resin.io device.
  • VIDEODEVICE: Video device to be used for capturing.
  • ROTATE: Rotate image this number of degrees. The rotation affects all saved images as well as movies. Valid values: 0 (default = no rotation), 90, 180 and 270.
  • WIDTH: Image width (pixels).
  • HEIGHT: Image height (pixels).
  • FRAMERATE: Maximum number of frames to be captured per second. Valid range: 2-100.
  • FRAMETIME: Minimum time in seconds between capturing picture frames from the camera. Default: 0 = disabled - the capture rate is given by the camera framerate. This option is used when you want to capture images at a rate lower than 2 per second.
  • THRESHOLD: Threshold for number of changed pixels in an image that triggers motion detection (default: 1500)
  • NOISELEVEL: Noise threshold for the motion detection (default: 32)
  • MASKFILE: PGM file to use as a sensitivity mask. Either full path name to file or URL (http*) to download file from on startup. (Default: not defined)
  • SMARTMASKSPEED: Dynamically create a mask file during operation (default: 5) Adjust speed of mask changes from 0 (off) to 10 (fast)
  • LIGHTSWITCH: Ignore sudden massive light intensity changes given as a percentage of the picture area that changed intensity. Valid range: 0 - 100 , default: 0 = disabled
  • MINMOTIONFRAMES: Picture frames must contain motion at least the specified number of frames in a row before they are detected as true motion. At the default of 1, all motion is detected. Valid range: 1 to thousands, recommended 1-5
  • EVENTGAP: Event Gap is the seconds of no motion detection that triggers the end of an event. An event is defined as a series of motion images taken within a short timeframe. Recommended value is 60 seconds (Default).
  • OUTPUTPICTURES: Output 'normal' pictures when motion is detected. Valid values: on, off, first, best, center (default: on)
  • OUTPUTMOVIES: Use ffmpeg to encode movies in realtime (default: off)

License

This container definition is licensed under Apache License 2.0.

resin-motion's People

Contributors

timjay avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.