About This Architecture
Flask missing person detection system with a three-tier architecture combining web frontend, REST API backend, and AI/ML face recognition engine. The presentation layer serves HTML templates and static assets through a CDN and load balancer to public users, admin users, and police officers; the application layer routes requests through Flask blueprints to controllers managing cases, complaints, matches, and notifications; the AI module processes CCTV feeds and person photos using OpenCV, dlib, and deep learning models to detect faces and compute similarity scores. SQLite database stores users, cases, complaints, and match results while file storage organizes uploads, videos, and reports. This architecture demonstrates separation of concerns, role-based access control, and integration of computer vision pipelines into a web application. Fork and customize this diagram on Diagrams.so to adapt the AI module for your specific face recognition model or add cloud storage backends.