How naveen-prakash-sk/multi-camera-intelligence- works
This is a multi-camera CCTV intelligence MVP: users register cameras, process recorded videos into classified keyframe events, then search those events conversationally and inspect camera, timestamp, and visual evidence. The React dashboard also provides camera and event views, while clarification memory maps ambiguous place names to cameras. The graph follows the sampled API, processing, search, and UI calls; README-documented capabilities are included where implementation was not sampled. Evidence-file storage is documented, but its implementation was not shown.
Main entry points: main.py FastAPI · indexer.py Event Index and Search · App.jsx App Router · video_processor.py Video Processor
Components 14
Web interface
- Ask Cameras
frontend/src/pages/Dashboard.jsx - Camera View
frontend/src/pages/Cameras.jsx - Event View
frontend/src/pages/Events.jsx - App Router
frontend/src/App.jsx
API orchestration
- FastAPI
backend/app/main.py - API Schemas
backend/app/models/schemas.py
Video intelligence
- Video Processor
backend/app/services/video_processor.py - Event Index and Search
backend/app/services/indexer.py
Persistence and evidence
- Clarification Memory
backend/app/models/memory.py - SQLite Data
backend/app/models/database.py - Evidence Files
backend/storage
Other components
- Operator
- Recorded CCTV Videos
- Browser
Connections 21
- Operator → Browser: uses
README.md - Browser → App Router: renders
- App Router → Ask Cameras: routes to
frontend/src/App.jsx - App Router → Camera View: routes to
frontend/src/App.jsx - App Router → Event View: routes to
frontend/src/App.jsx - Ask Cameras → FastAPI: requests search and memory
frontend/src/pages/Dashboard.jsx - Camera View → FastAPI: fetches cameras
frontend/src/pages/Cameras.jsx - Event View → FastAPI: fetches events
frontend/src/pages/Events.jsx - Recorded CCTV Videos → FastAPI: submits processing request
README.md - FastAPI → Video Processor: schedules processing
backend/app/main.py - Video Processor → Event Index and Search: saves events
backend/app/services/video_processor.py - FastAPI → Event Index and Search: searches events
backend/app/main.py - FastAPI → Event Index and Search: lists events
backend/app/main.py - FastAPI → Clarification Memory: reads and writes
backend/app/main.py - Event Index and Search → Clarification Memory: resolves mappings
backend/app/services/indexer.py - Clarification Memory → SQLite Data: reads and writes
backend/app/models/memory.py - FastAPI → SQLite Data: initializes and reads cameras
backend/app/main.py - Event Index and Search → SQLite Data: stores and queries events
backend/app/services/indexer.py - Video Processor → Evidence Files: writes keyframes
backend/app/services/video_processor.py - FastAPI → Evidence Files: serves evidence files
backend/app/main.py - FastAPI → API Schemas: validates API data
backend/app/main.py