gplhegde / motion-detection

OpenCV motion detection for Raspberry Pi + Web interface

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#OpenCV C++ Motion Detection

This is a free, open, motion detection project using OpenCV and C++. The project was orginally designed for the Raspberry Pi. Due to the low CPU power and available memory, the algorithm of Collins et al. is used. More information about how it works can be found here.

The project includes 4 different parts:

  • The source of the motion detection, using a simple rectangle where motion is detected.
  • A commandline tool, selectregion, to select a region of interest on a selected image.
  • The source of the motion detection, using a complex concave hull (this area is generated by the selectregion tool).
  • A webinterface to view and filter the images in your webbrowser.

motion detection select region

#Installation

Before you can use the motion detection, OpenCV must be installed on your device. You can follow this link for more information how to do it on the Raspberry Pi; there are a lot of other posts on the web which will you help either, so pick at random. After you installed OpenCV you can follow this tutorial.

#Selectregion tool

More information about the selectregion tool can be found here. The how to compile steps can be found there either.

About

OpenCV motion detection for Raspberry Pi + Web interface


Languages

Language:C++ 85.6%Language:JavaScript 9.9%Language:CSS 2.5%Language:PHP 1.7%Language:Shell 0.2%