How akashrajpuria/crowdcount works
CrowdCount is a browser dashboard for counting people in uploaded photos and videos and in live webcam frames. Users upload media or start the webcam; the backend runs adaptive YOLO detection, returns counts and annotated results, and records completed jobs for dashboard history and playback. The graph also preserves the standalone adaptive-counter CLI and the original HOG/SVM demo. Some image-job and webcam backend details are in omitted excerpts, so those links are documented or marked unverified rather than inferred from sibling modules.
Main entry points: app.py API and jobs · People_Detection.py YOLO counter · app.js Dashboard UI
Components 11
Browser dashboard
- Dashboard UI
web/static/app.js
Web service
- API and jobs
web/app.py - Job history
web/app.py - Media files
web/app.py
People detection
- YOLO counter
People_Detection.py - Adaptive inference
People_Detection.py - Tile and box merging
People_Detection.py - Count smoothing
People_Detection.py - Frame annotation
People_Detection.py
Standalone demos
- HOG/SVM demo
human-counting-project-code.py
Other components
- Dashboard user
Connections 10
- Dashboard user → Dashboard UI: uses
README.md - Dashboard UI → API and jobs: requests APIs
web/static/app.js - Dashboard UI → API and jobs: streams webcam frames
web/static/app.js - API and jobs → YOLO counter: invokes frame counting
web/app.py - API and jobs → Job history: reads and writes
web/app.py - API and jobs → Media files: stores and serves
web/app.py - YOLO counter → Adaptive inference: detects people
People_Detection.py - Adaptive inference → Tile and box merging: merges detections
People_Detection.py - YOLO counter → Count smoothing: smooths counts
People_Detection.py - YOLO counter → Frame annotation: annotates frames
People_Detection.py