๐บ ๐ Made with OpenCV and a lot of love, this project is a simple, fast and efficient implementation of one of the many ways to make a motion detector. If you want to contribute to this project, do not hesitate to submit your ideas ๐ธ ๐ผ
The goal of this project was to make it a very simple motion detector, by simply displaying objects that differed from the previous image. I added some interesting features that could be favorable for your projects, such as the detection of the direction of objects and a display of the threshold of the base image.
Ensure you have following installed:
- Visual Studio 2017 Entreprise
- OpenCV 3.x with contribution package
- A Webcamera ! (Personnaly, I have this one (click here))
As simple as:
$ make
$ bin/track
or by debugging the whole program in Visual Studio
The tracking program runs until you press Echap
. Tab Ctrl + C
inside your terminal
window to terminate.
The build is configured to perfectly fit on Windows 10 (Visual Studio Entreprise 2017). Your mileage may vary if you are compiling the code on a different OS.
In case you face difficulty building on your own machine, following is the specifications of my environment which may be helpful for you to spot the difference to yours.
OS
Windows 10 Professionnal 2018
OpenCV3
OpenCV 3.2.0 built and installed via OpenCV library on Github !
MIT License