Commit 276580

2025-10-08 12:10:28 Kirti: System Diagram, Sequence Diagram and ERD added
Projects/Face Recognation.md ..
@@ 101,3 101,82 @@
---
**Categories:** #project #ai-hackathon-[year] #category-[your-topic]
+
+ 🖼 System Diagram Components
+ External Systems
+ Cameras (outside system) → stream video into your system.
+
+
+ External Users → interact via API Gateway and receive results via Webhooks.
+
+
+ Your System
+ API Gateway
+
+
+ Entry point for external users.
+
+
+ Handles authentication, throttling, request routing.
+
+
+ Camera Streamer
+
+
+ Ingests live video feed from external cameras.
+
+
+ Converts/normalizes streams (RTSP/RTMP → processing format).
+
+
+ Face Recognition Service (Core AI Engine)
+
+
+ Processes frames from the camera streamer.
+
+
+ Detects and recognizes faces.
+
+
+ Generates events (match/no match, alerts).
+
+
+ Database
+
+
+ Stores user profiles, face embeddings, recognition logs, and camera metadata.
+
+
+ Webhook Dispatcher
+
+
+ Sends recognition results/events back to external systems in real-time.
+
+
+ Message Queue (Recommended Addition)
+
+
+ Decouples camera streamer → face recognition → webhook dispatch.
+
+
+ Ensures reliability and handles spikes in video frames/events.
+
+
+ Monitoring & Logging
+ Collects system logs and metrics for performance monitoring (Grafana, Kibana, etc.).
+ Frontend (FE)
+ Connects to API Gateway for UI interaction
+
+ **System Diagram **
+
+
+ ![](./face_recognition_system_12x.png)
+
+ **Sequence Diagram**
+
+ ![](./Untitled_diagram___Mermaid_Chart-2025-10-07-055429.png)
+
+ **ERD**
+
+ ![](./image_44.png)
+ ****
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9