Skip to content

A real-time video analytics platform for crowd management. Detects, tracks, and counts people in user-defined zones using YOLOv8, Streamlit, and OpenCV. Developed as a part of Internship Project under Infosys Springboard

License

Notifications You must be signed in to change notification settings

Sathwik464/Crowd-Count-using-Video-Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

👥 CrowdCount: Video Analytics for Crowd Management

CrowdCount is a real-time video analytics application developed during the Infosys Springboard Virtual Internship 6.0. It leverages Computer Vision and Deep Learning to detect, track, and count people within user-defined zones of interest.

This application is designed to help with crowd management, occupancy tracking, and safety monitoring using existing CCTV footage.


Features

🔹 Core Functionality

  • Real-Time Detection: Utilizes YOLOv8s (You Only Look Once) for high-accuracy person detection.
  • Custom ROI Drawing: Users can interactively draw "Zones of Interest" (rectangles) directly on the video frame using a canvas tool.
  • Zone-Based Counting: Automatically counts the number of people inside each specific zone.
  • Live Analytics: Displays real-time bar charts and JSON data of crowd density.

Security & Management

  • Role-Based Access Control (RBAC):
    • Super Admin: Manage users, delete zones, view login history, and oversee the system.
    • User: Upload videos, draw zones, and run detection on their own files.
  • Secure Authentication: User passwords are hashed and salted using Bcrypt before storage.
  • Data Persistence: User profiles, zone coordinates, and activity logs are stored in MongoDB.

Tech Stack

  • Frontend: Streamlit (Web Framework), streamlit-drawable-canvas
  • AI/ML Engine: Ultralytics YOLOv8, OpenCV
  • Backend Database: MongoDB (Pymongo driver)
  • Security: Bcrypt (Password Hashing)
  • Data Processing: Pandas, NumPy

Installation & Setup

1. Prerequisites

Ensure you have the following installed:

2. Clone the Repository

git clone https://github.com/Sathwik464/Crowd-Count-using-Video-Analysis

streamlit run dashboard.py



About

A real-time video analytics platform for crowd management. Detects, tracks, and counts people in user-defined zones using YOLOv8, Streamlit, and OpenCV. Developed as a part of Internship Project under Infosys Springboard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages