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
- Host: GitHub
- URL: https://github.com/karan-malik/peoplecounter
- Owner: Karan-Malik
- License: gpl-3.0
- Created: 2020-09-19T09:05:00.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-25T09:20:06.000Z (over 4 years ago)
- Last Synced: 2025-01-14T08:52:29.692Z (3 months ago)
- Language: Python
- Size: 30.3 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PeopleCounter
Using OpenCV to count the number of people entering or exiting a particular ROICheck 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.