Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

README.md

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:

  1. Ensure you have prerequisite libraries

    • Install Python 3 and OpenCV python
  2. Clone YOLO & Darknet

    git clone https://github.com/pjreddie/darknet
  3. Clone this repository into the same directory

    git clone https://github.com/brian-yu/pedestrian-cam.git
    mv pedestrian-cam/* .
    rm -r pedestrian-cam
  4. Download Yolo 2.0 weights

    wget https://pjreddie.com/media/files/yolo.2.0.weights
  5. Run the files

    • For the webserver, run server.py and prediction.py
    • Otherwise, you can explore the Jupyter notebooks.