koba / overhead-camera-people-counter

People counting algorithm using an overhead video camera
GNU General Public License v3.0
65 stars 22 forks source link
algorithm opencv people-counter

overhead-camera-people-counter

Why it exists?

I created it out of the need to explore the OpenCV library to count people passing through a door. The algorithm is based on https://github.com/jeffskinnerbox/people-counter.

How to build it?

1. Install dependencies

Run the script which corresponding to your OS:

2. Build

From overhead-camera-people-counter root folder:

mkdir build
cd build
cmake ..
make

How to run it?

From overhead-camera-people-counter root folder:

./build/people-counter data/bus.avi

License

GPL-3.0