This is the repository for the project talked about in this blog post.
-
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