How kpradeepreddy0/examguard-ai works
ExamGuard-AI is a Flask-based online examination and proctoring application. Candidates register or log in, access a dashboard, take a timed multiple-choice exam, and receive browser-based monitoring for face instability and server-assisted phone detection. The backend manages sessions, user records, questions, scoring, and the phone-detection endpoint; browser code handles camera capture, monitoring UI, and the timer. The README also describes head-movement alerts and auto-submission, though sampled code does not show every documented behavior. Connections for unsampled templates and capabilities are limited to README or visible Flask references.
Main entry points: app.py Auth Routes · exam.js Exam Client · script.js Camera Monitor · login.html Login Forms
Components 16
Access and Accounts
- Auth Routes
app.py - Login Forms
templates/login.html - Registration Form
templates/register.html - User Database
users.db
Examination
- Dashboard
templates/dashboard.html - Exam Page
templates/index.html - Question Bank
exam_data.py - Exam Routes
app.py - Exam Client
static/js/exam.js
Proctoring
- Camera Monitor
static/js/script.js - Phone API
app.py - Phone Detector
phone_detection.py - Face Detector
ai/face_detection.py - Eye Detection
ai/eye_detection.py
Other components
- Candidate
- Web Browser
Connections 17
- Candidate → Web Browser: uses
README.md - Web Browser → Auth Routes: requests access
README.md - Auth Routes → Login Forms: renders
app.py - Auth Routes → Registration Form: renders
app.py - Auth Routes → User Database: reads and writes
app.py - Auth Routes → Dashboard: renders
app.py - Web Browser → Exam Routes: requests exam
README.md - Exam Routes → Exam Page: renders
app.py - Exam Routes → Question Bank: loads questions
app.py - Web Browser → Exam Client: runs
README.md - Exam Client → Exam Routes: requests questions
- Exam Client → Exam Routes: submits answers
- Web Browser → Camera Monitor: runs monitoring
README.md - Camera Monitor → Phone API: posts frames
static/js/script.js - Phone API → Phone Detector: detects phones
app.py - Camera Monitor → Web Browser: uses face detection
static/js/script.js - Candidate → Face Detector: runs camera tool