pedestrian-cam
pedestrian-cam copied to clipboard
Monitoring Foot Traffic over IP Webcams with ML
Pedestrian Cam
Counting Foot Traffic Over IP Webcams with Machine Learning
This is the repository for the project talked about in this blog post.
How to get up and running:
-
Ensure you have prerequisite libraries
- Install Python 3 and OpenCV python
-
Clone YOLO & Darknet
git clone https://github.com/pjreddie/darknet
-
Clone this repository into the same directory
git clone https://github.com/brian-yu/pedestrian-cam.git mv pedestrian-cam/* . rm -r pedestrian-cam
-
Download Yolo 2.0 weights
wget https://pjreddie.com/media/files/yolo.2.0.weights
-
Run the files
- For the webserver, run
server.py
andprediction.py
- Otherwise, you can explore the Jupyter notebooks.
- For the webserver, run