How hp7690/border_surveillance_alert_dashboard_v2_fixed--1- works
IBVAP processes CCTV, video, or webcam frames into detections and alerts, then presents live surveillance and alert history to authenticated operators. Its principal workflow is documented as a per-camera VideoProcessor running detection and behavior analysis, followed by centralized alerting, event/evidence recording, and dashboard delivery. The README also describes signed chain-of-custody records and offline bundle verification. Edges reflect the README and shown source/index references; unsampled internals are not inferred beyond those references.
Main entry points: app.py Video processor · alert_manager.py Alert manager · suspicious_activity.py Suspicious activity · webhooks.py Alert webhooks
Components 21
Video surveillance
- Video processor
app.py
Detection and analysis
- Person and vehicle tracking
core/detector.py - Fence and loitering
core/virtual_fence.py - Suspicious activity
core/suspicious_activity.py - Pose analysis
core/pose_detector.py - Night motion
core/night_detector.py - Weapon detection
core/weapon_detector.py - Face detection
core/face_detector.py - Known-face matching
core/face_recognizer.py - Plate recognition
core/anpr.py
Alerts and operations
- Alert manager
core/alert_manager.py - Threat scoring
core/threat_score.py - Event log and snapshots
core/event_log.py - Dashboard authentication
core/auth.py - Operator dashboard
templates/dashboard.html - Alert webhooks
core/webhooks.py
Evidence custody
- Signed evidence ledger
core/ledger.py - Offline bundle verifier
verify_bundle.py
Other components
- Camera or video
- Logged-in operator
- External alert subscribers
Connections 20
- Camera or video → Video processor: supplies frames
README.md - Video processor → Person and vehicle tracking: detects and tracks
README.md - Video processor → Fence and loitering: checks zones
README.md - Video processor → Weapon detection: checks weapons
README.md - Video processor → Suspicious activity: analyzes activity
README.md - Suspicious activity → Pose analysis: uses pose
core/suspicious_activity.py - Video processor → Face detection: detects faces
README.md - Video processor → Known-face matching: checks known faces
app.py - Video processor → Plate recognition: reads plates
app.py - Video processor → Night motion: checks night motion
README.md - Video processor → Alert manager: raises alerts
README.md - Alert manager → Threat scoring: scores threats
core/alert_manager.py - Alert manager → Event log and snapshots: logs events
core/alert_manager.py - Alert manager → Signed evidence ledger: records evidence
core/alert_manager.py - Alert manager → Alert webhooks: notifies subscribers
README.md - Alert webhooks → External alert subscribers: posts alerts
core/webhooks.py - Alert manager → Operator dashboard: pushes alerts
README.md - Logged-in operator → Operator dashboard: views alerts
README.md - Logged-in operator → Dashboard authentication: authenticates
- Signed evidence ledger → Offline bundle verifier: exports custody data
README.md