Skip to content

pixdoet/cd_cam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crowd Detection System (C.D.S.)

Lightweight system to detect crowds in potentially dangerous areas (e.g. train stations, alleyways).

Read about the project here

Requirements

  • Python 3.9 or 3.10 (3.11 breaks OpenCV)
  • Everything in requirements.txt
  • Beefy computer

Setup

  1. Clone the repo: git clone https://github.com/pixdoet/cd_cam.git
  2. Setup venv (recommended): source ./bin/activate
  3. Install libraries: python3 -m pip install -r requirements.txt
  4. Run! python3 main.py

Tips & tricks

  • Slow framerate? Change the resolution to something lower (640 x 480)
  • Change the haarcascade to a full body for best results

Achievements

  • Young Innovator's Challenge Gold Award (Klang Valley Region)