Code Monkey home page Code Monkey logo

overhead-camera-people-counter's Introduction

overhead-camera-people-counter

Why do it exists?

It was created out of the need to explore OpenCV library in order to count people passsing through a door. I based my research and the code on this article http://www.femb.com.mx/people-counter and the OpenCV API reference.

1. Installing Dependencies

Linux

Compiler:

apt-get install cmake g++ gdb

OpenCV:

apt-get install git libavcodec-dev libavformat-dev libgtk2.0-dev libswscale-dev pkg-config
cd ~/
git clone https://github.com/opencv/opencv.git
cd opencv
mkdir release
cd release
cmake -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=/usr/local ..
make
make install

macOS

Compiler:

brew install cmake

OpenCV:

brew install opencv3 --with-ffmpeg
brew link opencv3 --force

Windows

Compiler:

cmake-3.9.0-win64-x64

OpenCV:

opencv-3.2.0-vc14

2. Build

cmake --build /build

3. Run

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

License

GPL-3.0

overhead-camera-people-counter's People

Watchers

James Cloos avatar Kranthi  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.