How prakashmadhok706-spec/face-recognition-system works
CoopSync AI is a cooperative education ERP and employment platform. A user enters the web app, selects an attendance, student, learning, certification, or employment workflow, and receives records or recommendations through the FastAPI backend. Attendance has distinct biometric and QR verification paths, with offline records synchronized later. The backend also exposes analytics and an AI advisor over ERP information. The README documents these capabilities and module boundaries; unsampled route implementations limit certainty about some individual UI-to-backend connections.
Main entry points: App.tsx Application shell · api.ts API client · main.py REST API · FaceAttendanceView.tsx Face attendance
Components 18
Web application
- Application shell
CoopSyncAI/frontend/src/App.tsx - Face attendance
CoopSyncAI/frontend/src/components/FaceAttendanceView.tsx - QR attendance
CoopSyncAI/frontend/src/components/QRAttendanceView.tsx - Student ERP
CoopSyncAI/frontend/src/components/StudentERPView.tsx - Courses and programmes
CoopSyncAI/frontend/src/components/CoursesView.tsx - Certificates
CoopSyncAI/frontend/src/components/CertificatesView.tsx - Employment portal
CoopSyncAI/frontend/src/components/EmploymentView.tsx - Analytics dashboard
CoopSyncAI/frontend/src/components/AnalyticsView.tsx - AI advisor
CoopSyncAI/frontend/src/components/AIChatModal.tsx
ERP API
- API client
CoopSyncAI/frontend/src/api.ts - REST API
CoopSyncAI/backend/main.py
Domain services
- Face recognition
CoopSyncAI/backend/face_engine.py - QR verification
CoopSyncAI/backend/qr_engine.py - Certificate generation
CoopSyncAI/backend/certificate_engine.py - AI matching and chat
CoopSyncAI/backend/ai_engine.py
ERP state
- ERP data models
CoopSyncAI/backend/database.py - ERP database
CoopSyncAI/backend/coopsync.db
Other components
- Student or staff
Connections 25
- Student or staff → Application shell: uses
- Application shell → Face attendance: selects
- Application shell → QR attendance: selects
- Application shell → Student ERP: selects
- Application shell → Courses and programmes: selects
- Application shell → Certificates: selects
- Application shell → Employment portal: selects
- Application shell → Analytics dashboard: selects
- Application shell → AI advisor: selects
- Face attendance → API client: requests
- QR attendance → API client: requests
- Student ERP → API client: requests
- Courses and programmes → API client: requests
- Certificates → API client: requests
- Employment portal → API client: requests
- Analytics dashboard → API client: requests
- AI advisor → API client: requests
- API client → REST API: sends requests
- REST API → Face recognition: recognizes faces
- REST API → QR verification: verifies tokens
- REST API → Certificate generation: generates PDFs
- REST API → AI matching and chat: requests matching
- REST API → ERP data models: queries and updates
- ERP data models → ERP database: persists records
- Application shell → API client: syncs offline records