An open API service indexing awesome lists of open source software.

https://github.com/karan-malik/peoplecounter

Using OpenCV to count the number of people entering or exiting a particular ROI
https://github.com/karan-malik/peoplecounter

Last synced: about 2 months ago
JSON representation

Using OpenCV to count the number of people entering or exiting a particular ROI

Awesome Lists containing this project

README

        

# PeopleCounter
Using OpenCV to count the number of people entering or exiting a particular ROI

Check out the video demonstrating project working [here](https://drive.google.com/file/d/1jBfTiH7UXfdpJ_q8aXcNkohM3HRZ_iDM/view?usp=sharing)

## How to Use

1. 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
```

2. Change your directory to PeopleCounter:
```
cd PeopleCounter
```

3. Then run the follwing commands to run the application:
```
set FLASK_APP=counter_stream.py
flask run
```

4. 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.