Skip to content

NoobieDYG/R3GE-CrowdFlow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

66 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

github-submission-banner

πŸš€ CrowdFlow

From Turbulence to Tranquility: Crowd as Smooth as Water with Ai


πŸ“Œ Problem Statement

Problem Statement 1 - Weave AI Magic with Groq


🎯 Objective

CrowdFlow addresses the critical need for real-time crowd density monitoring in public spaces, festivals, religious gatherings, and events. It assists the authorities/organizers/safety personnel in proactively identifying high-risk zones to prevent stampedes and overcrowding.

Brief real-world use case: Imagine a festival or a piligrimage (Mahakumbh or Hajj) with thousands of attendees β€” CrowdFlow visually monitors the scene, detects density in zones, and offers live insights + spoken alerts to improve crowd management.

🧠 Team & Approach

Team Name:

R3GE

Team Members:

Your Approach:

Why we chose this problem:

Crowd-related disasters are very catastrophic and are uninevitable BUT can be prevented with timely data. We wanted to blend AI vision, real-time feedback, and interactivity to help reduce risks and assist authorities with actionable insights.

Key challenges we addressed:

  • Real-time processing of crowd video streams
  • Accurate person detection and zone heatmapping
  • Communication via both chat and speech
  • Dynamic zone risk assessment

Pivots or breakthroughs:

  • Used CSRNet instead of YOLO for accurate data
  • Integrated GROQ LLM for contextual zone suggestions
  • Built custom zone-wise heatmap and TTS flow
  • Shifted from basic overlays to intelligent AI commentary

πŸ› οΈ Tech Stack

Core Technologies Used:

  • Frontend: HTML,CSS,JAVASCRIPT
  • Backend: Flask(Python
  • Database: None (Optionally MongoDB)
  • APIs: Groq,OpenAI,PlayAI
  • Hosting: Render

Sponsor Technologies Used (if any):

  • [βœ…] Groq: How you used Groq
  • Monad: Your blockchain implementation
  • Fluvio: Real-time data handling
  • Base: AgentKit / OnchainKit / Smart Wallet usage
  • Screenpipe: Screen-based analytics or workflows
  • Stellar: Payments, identity, or token usage (Mark with βœ… if completed)

✨ Key Features

  • βœ… Real-time crowd detection using CSRNet
  • βœ… Accurate Crowd Data with count and occupancy % for better visualization
  • βœ… Zone-wise heatmap overlays for density visualization
  • βœ… Risk analysis with dynamic AI suggestions via LLM
  • βœ… Voice output using Text-to-Speech for safety alerts
  • WhatsApp Image 2025-04-24 at 17 53 16_21ab7ad0
  • WhatsApp Image 2025-04-24 at 17 51 05_def83e0c
  • WhatsApp Image 2025-04-24 at 17 52 39_99fd5fa9

πŸ“½οΈ Demo & Deliverables


βœ… Tasks & Bonus Checklist

  • [βœ…] All members of the team completed the mandatory task - Followed at least 2 of our social channels and filled the form (Details in Participant Manual)
  • All members of the team completed Bonus Task 1 - Sharing of Badges and filled the form (2 points) (Details in Participant Manual)
  • All members of the team completed Bonus Task 2 - Signing up for Sprint.dev and filled the form (3 points) (Details in Participant Manual)

(Mark with βœ… if completed)


πŸ§ͺ How to Run the Project

Requirements:

  • Python
  • API Keys: Groq API Key
  • .env file setup (if needed)

Local Setup:

# Clone the repo
git clone https://github.com/NoobieDYG/R3GE-CrowdFlow

# Install dependencies
pip -r 'requirements.txt'

# Start development server
python bacakend\app.py

Make sure if the weights are downloaded if not then manually download from the google drive link provided and drag it to vision_model\weights directory GDrive Link : https://drive.google.com/drive/folders/1gvjLW4kKJlqorUgS3Hgf_nKrNiWZBnke?usp=drive_link


🧬 Future Scope

  • πŸ“ˆ Add multiple camera feeds / drone integration
  • πŸ›‘οΈ Implement user roles + admin dashboards
  • 🌐 Multilingual support for global accessibility
  • πŸ“Š Advanced analytics dashboard with historical trends

πŸ“Ž Resources / Credits

  • API used : Groq,OpenAi
  • Groq Documentation,TensorFlow,Documentation,IJCA Research Paper,Jetir Research Paper
  • Acknowledgements

🏁 Final Words

Enjoyed this journey very much. Had a beautiful first experience with my team. Learned a lot about collaborating with teammates and building a wonderful project while being inpressure about the deadline Kudos to the NameSpace community for organising this event Cheers!🍻


About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •