Using OpenCV to count the number of people entering or exiting a particular ROI
Check out the video demonstrating project working here
- Clone this repository to your local system by typing the following command on the Command Prompt:
git clone https://github.com/Karan-Malik/PeopleCounter.git
- Change your directory to PeopleCounter:
cd PeopleCounter
- Then run the follwing commands to run the application:
set FLASK_APP=counter_stream.py
flask run
- Enter the url provided after running the previous commands into your web browser
To change the video played, add the video address to counter_stream.py in line 41.