How manju1303/indeent-detection works
This is a real-time multi-camera security and human-movement prediction system. Cameras provide frames to the main orchestrator, which runs detection, tracking, pose/torso analysis, violence and theft assessment, and sub-300ms intent prediction. Results are rendered into annotated streams, persisted as events and performance data, exposed through a live Flask dashboard, and optionally dispatched through local, email, or Telegram alerts. Some pipeline internals were sampled only partially, so uncertain helper-level relationships are omitted.
Components 22
Video Input
- Camera Manager
core/camera_manager.py - Security System
main.py
Vision Analysis
- Multi-Camera Pipeline
core/pipeline.py - Person Detector
core/detector.py - Person Tracker
core/tracker.py - Pose Estimator
core/pose_estimator.py - Torso Features
core/pose_estimator.py
Risk Prediction
- Intent Predictor
core/intent_predictor.py - Intent Engine
core/intent_engine.py - Violence Detector
core/violence_detector.py - Theft Detector
core/theft_detector.py
Alerts Storage
- Event Logger
utils/logger.py - Alert Manager
alerts/alert_manager.py - Local Alerts
alerts/local_alert.py - Email Alerts
alerts/email_alert.py - Telegram Alerts
alerts/telegram_alert.py
Live Interface
- Frame Drawer
utils/drawing.py - Live Dashboard
dashboard/app.py
Other components
- Security Operator
- Camera Sources
- Telegram Service
- SMTP Service
Connections 25
- Camera Sources → Camera Manager: provides frames
- Security System → Camera Manager: starts cameras
- Security System → Multi-Camera Pipeline: processes frames
- Camera Manager → Multi-Camera Pipeline: supplies frames
- Multi-Camera Pipeline → Person Detector: detects people
- Multi-Camera Pipeline → Person Tracker: tracks people
- Multi-Camera Pipeline → Pose Estimator: estimates poses
- Pose Estimator → Torso Features: extracts torso
- Multi-Camera Pipeline → Intent Predictor: predicts intent
- Intent Predictor → Intent Engine: classifies sequences
- Multi-Camera Pipeline → Violence Detector: scores violence
- Multi-Camera Pipeline → Theft Detector: detects theft
- Multi-Camera Pipeline → Frame Drawer: renders results
- Security System → Event Logger: logs events
- Security System → Alert Manager: dispatches risks
- Alert Manager → Local Alerts: sends locally
- Alert Manager → Email Alerts: sends email
- Alert Manager → Telegram Alerts: sends Telegram
- Email Alerts → SMTP Service: delivers email
- Telegram Alerts → Telegram Service: posts alerts
- Security System → Live Dashboard: starts dashboard
- Live Dashboard → Camera Manager: reads status
- Live Dashboard → Multi-Camera Pipeline: reads streams
- Live Dashboard → Event Logger: reads events
- Live Dashboard → Security Operator: shows telemetry