The Foot Traffic Counter is a simple project that counts the number of people entering a location, such as a mall, and keeps track of the data. It operates over a socket connection, allowing seamless integration with various systems. This README provides a user-friendly guide to help you install and set up the project.
Please note that the videos used for testing and demonstration purposes are not owned by the project owner. Make sure you have the necessary rights to use any videos you provide for testing.
-
Clone the repository to your local machine:
git clone https://github.com/AdityaKulshrestha/Foot-Traffic.git cd foot-traffic-counter
-
Create a virtual environment (optional but recommended):
python -m venv venv source venv/bin/activate
-
Install the required dependencies:
pip install -r requirements.txt
-
Run the project
python main.py
-
Start the Foot Traffic Counter by running main.py.
-
The program will establish a socket connection to receive video frames from a source (camera or video file) and count the number of people entering the location.
-
To stop the program, press the 'q' key. The program will terminate, and you will see the total number of people counted during the session.
The videos used for testing and demonstration are not owned by the project owner.
Contributions are welcome! If you find a bug or have suggestions for improvements, please open an issue or submit a pull request.
This project is licensed under the MIT License.
Happy counting and tracking foot traffic! 🚶♂️🚶♀️