Skip to content

brian-yu/pedestrian-cam

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

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

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.