How pruthil-21/netra works
DIGDHRISHTI is a camera-network vehicle-intelligence platform: officers view live operations, submit or search plate sightings, investigate traces, and act on watchlist alerts. The documented runtime path runs from cameras through streaming and ANPR inference to detections and alerts, then to officer-facing search and investigation. Separate branches cover registry/RBAC and reporting, continuous recording and playback, and cross-agency inventory federation. Edges reflect the README’s service map and sampled entrypoints; unsampled feature internals are represented at their existing service or directory paths.
Main entry points: recording Live relay and recorder · app Operations dashboard · services API clients · components Live and archive views
Components 21
Officer interface
- Operations dashboard
frontend-map/app - API clients
frontend-map/services - Live and archive views
frontend-map/components
Registry and access
- Registry API
backend-registry/app/main.py - Accounts, cameras, reports
backend-registry/app/routers - Registry services
backend-registry/app/services - PostgreSQL / PostGIS
Vehicle intelligence
- Watchlist API
backend-watchlist/app/main.py - Detection, alert, lookup routes
backend-watchlist/app/routers - Detection and investigation
backend-watchlist/app/services - ANPR inference pipeline
ml-anpr/anpr/pipeline/orchestrator.py - Plate detection and OCR
ml-anpr/anpr/detection.py
Video operations
- Agency cameras
- Live relay and recorder
streaming/recording - Recording API
streaming/recording/api.py - Recording storage
Agency federation
- Registry federation proxy
backend-registry/app/federation_proxy.py - Federation gateway
middleware/federation/main.py - Inventory synchronization
middleware/federation/sync.py
Other components
- Officer
- Partner camera systems
Connections 24
- Officer → Operations dashboard: uses
- Operations dashboard → API clients: requests data
- Operations dashboard → Live and archive views: renders video
- API clients → Registry API: registry requests
- API clients → Watchlist API: search and alert requests
- Live and archive views → Live relay and recorder: requests live video
- Live and archive views → Recording API: requests playback
- Registry API → Accounts, cameras, reports: dispatches
- Accounts, cameras, reports → Registry services: calls
- Registry services → PostgreSQL / PostGIS: reads and writes
- Watchlist API → Detection, alert, lookup routes: dispatches
- Detection, alert, lookup routes → Detection and investigation: calls
- Detection and investigation → PostgreSQL / PostGIS: reads and writes
- Agency cameras → Live relay and recorder: video feeds
- Live relay and recorder → ANPR inference pipeline: sends frames
- ANPR inference pipeline → Plate detection and OCR: runs inference
- ANPR inference pipeline → Watchlist API: reports confirmed reads
- Live relay and recorder → Recording API: serves recordings
- Live relay and recorder → Recording storage: archives footage
- Recording API → Recording storage: reads recordings
- Registry API → Registry federation proxy: mounts proxy
- Registry federation proxy → Federation gateway: proxied requests
- Federation gateway → Inventory synchronization: schedules sync
- Inventory synchronization → Partner camera systems: syncs inventory