How maharshkewat-india/n-one works
N-ONE is a Streamlit surveillance platform for authenticated operators and administrators. Its principal workflow is to select a surveillance mode and video source, analyze frames for faces or threats, then display and log results; registered profiles support attendance and lost-person search, while unknown-person tracking is documented as a separate capability. The runtime is concentrated in app.py, with deepface_adapter.py providing the documented OpenCV fallback and optional DeepFace compatibility. The source excerpts are partial, so the graph omits uncertain internal call wiring and represents documented capabilities without claiming their precise implementation boundaries.
Main entry points: app.py Streamlit Dashboard · deepface_adapter.py Recognition Adapter
Components 19
Access and Profiles
- Streamlit Dashboard
app.py - Role Authentication
app.py - Profile Management
app.py - Face Capture
app.py
Surveillance Runtime
- Video Ingestion
app.py - Mode Selection
app.py - Frame Analysis
app.py - Attendance Logging
app.py - Victim Search
app.py - Unknown Tracking
app.py - Threat Detection
app.py
Results and Records
- Result Display
app.py - Audit and Event Logs
app.py
Recognition Backend
- Face Recognition
app.py - Recognition Adapter
deepface_adapter.py
Other components
- Admin or Operator
- OpenCV Runtime
- DeepFace Runtime
- Monitoring Operator
Connections 19
- Admin or Operator → Streamlit Dashboard: uses
- Streamlit Dashboard → Role Authentication: checks access
- Streamlit Dashboard → Profile Management: manages profiles
- Profile Management → Face Capture: captures face
- Streamlit Dashboard → Mode Selection: selects mode
- Streamlit Dashboard → Video Ingestion: starts feed
- Video Ingestion → Frame Analysis: supplies frames
- Frame Analysis → Face Recognition: analyzes faces
- Face Recognition → Recognition Adapter: requests matching
- Recognition Adapter → OpenCV Runtime: falls back to
- Recognition Adapter → DeepFace Runtime: uses when available
- Mode Selection → Attendance Logging: runs attendance
- Mode Selection → Victim Search: runs search
- Mode Selection → Threat Detection: runs detection
- Face Recognition → Unknown Tracking: tracks unknowns
- Streamlit Dashboard → Result Display: renders results
- Streamlit Dashboard → Audit and Event Logs: records events
- Monitoring Operator → Streamlit Dashboard: monitors
- Monitoring Operator → Result Display: views results