ProctorAI – AI-Powered Online Examination System with Face Detection Using PHP & MySQL
In today’s digital education environment, universities and colleges are rapidly shifting toward secure online examinations. Traditional online exam systems often fail to prevent cheating, tab switching, mobile usage, or unauthorized behavior during tests. To solve this challenge, ProctorAI introduces a modern AI-powered Online Examination System with Face Detection with Proctoring built using PHP, MySQL, and Vanilla JavaScript.
This advanced final year project combines a secure web-based examination portal with intelligent browser-based AI monitoring features like webcam face detection, gaze tracking, fullscreen monitoring, and tab-switch detection. It is an ideal project for BCA, MCA, B.Tech, M.Tech, and Computer Science students looking for an innovative and real-world software engineering project.
What is ProctorAI?
ProctorAI is a smart online examination management system that uses AI-based client-side proctoring to monitor students during exams. The system automatically tracks suspicious activities and generates integrity reports for administrators.
The platform includes:
- Student login and exam dashboard
- Live online examination portal
- Real-time AI proctoring
- Violation detection and logging
- Admin monitoring panel
- Result and integrity analysis
Unlike traditional examination portals, this system focuses heavily on maintaining exam integrity through browser APIs and AI integration.
Demo Video: https://www.youtube.com/@Decodeit2




Admin

Download Complete Source Code
- Complete Source Code
- Project Report
- PPT Presentation
- Database Files
- Installation Guide
Key Features of ProctorAI Online Examination System
Student Module Features
Secure Student Authentication
Students can log in using:
- Roll Number
- Password
The authentication system ensures secure access to examinations and personal dashboards.
Student Dashboard
The dashboard allows students to:
- View upcoming exams
- Check completed exam history
- Track previous scores
- Monitor integrity/proctoring records
The clean and responsive UI improves usability across desktops and laptops.
Live Online Examination Portal
The examination interface includes:
- Countdown timer
- MCQ-based questions
- Question navigator
- Current question highlighting
- Answered/unanswered indicators
- Flag question functionality
The system provides a smooth and distraction-free exam environment.
AI-Based Proctoring System
One of the biggest highlights of this project is the integrated AI proctoring module.
AI Monitoring Features
| AI Detection | Purpose |
|---|---|
| Face Detection | Detects whether the student is visible |
| Multiple Face Detection | Prevents proxy cheating |
| Gaze Tracking | Detects suspicious eye movement |
| Phone Detection | Detects mobile phone usage |
| Tab Switch Monitoring | Tracks browser tab changes |
| Fullscreen Monitoring | Detects fullscreen exit attempts |
These features help institutions conduct secure online exams remotely.
Real-Time Violation Logging
Whenever suspicious behavior is detected:
- Warning banners appear instantly
- Violations are recorded in logs
- Severity levels are assigned
- Admins can review incidents later
This creates a transparent and trackable examination process.
Admin Panel Features
The admin module provides full control over examinations and student monitoring.
Admin Dashboard Includes
- Live exam statistics
- Active and completed exam overview
- Real-time proctoring feed
- Student performance tracking
- Integrity score analysis
- Violation management system
Violation Management
Admins can:
- Ignore minor incidents
- Send warnings
- Invalidate exam attempts
This flexible moderation system makes the platform suitable for schools, colleges, universities, and training institutes.
Technology Stack Used
Backend
- PHP 7.4+
Frontend
- HTML5
- CSS3
- Vanilla JavaScript
Database
- MySQL / MariaDB
AI & Browser APIs
- MediaDevices API
- Canvas API
- face-api.js integration support
Web Server Support
- Apache
- Nginx
- XAMPP
- WAMP
- Laragon
AI Face Detection Integration
The project is designed to support real AI-based face detection using the JavaScript library face-api.js.
Supported AI Functionalities
- Tiny Face Detector
- Face Landmark Detection
- Multi-face Detection
- Eye/Gaze Tracking
- Head Position Monitoring
This makes the project highly scalable and future-ready.
Database Design
The system uses a normalized MySQL database with multiple relational tables.
Main Database Tables
| Table Name | Purpose |
|---|---|
| students | Student information |
| admins | Administrator accounts |
| exams | Exam details |
| questions | MCQ questions |
| exam_sessions | Student exam sessions |
| student_answers | Answer tracking |
| results | Score and grade |
| proctoring_logs | AI violation logs |
The schema is optimized for performance and scalability.
Advantages of ProctorAI
Helps Reduce Online Exam Cheating
AI monitoring significantly reduces malpractice during online assessments.
Fully Web-Based
No desktop software installation required.
Beginner-Friendly Architecture
The codebase is simple enough for students while still demonstrating advanced concepts.
AI Integration Ready
Supports integration with advanced AI models and detection libraries.
Real-World Use Case
The project solves an actual industry problem faced by educational institutions.
Future Enhancements
Students can further improve this project by adding:
- AI voice detection
- NLP-based behavior analysis
- Screen recording
- Live admin video streaming
- OTP verification
- QR-based exam access
- JWT authentication
- Cloud deployment
- Mobile application support
- AI-based cheating probability scoring
How to Run the Project
Step 1: Install XAMPP/WAMP
Install:
- XAMPP
- WAMP
- Laragon
Step 2: Extract Project
Move the project folder to:
htdocs/proctorAI/Step 3: Import Database
Import database.sql into MySQL.
Step 4: Configure Database
Create:
php/config.phpAdd database credentials.
Step 5: Start Server
Run:
- Apache
- MySQL
Step 6: Open Browser
Student Panel
http://localhost/proctorAI/Admin Panel
http://localhost/proctorAI/admin/login.phpDemo Login Credentials
| Role | Username | Password |
|---|---|---|
| Student | MCA2024001 | student123 |
| Admin | admin | admin123 |
Why This is a Good Final Year Project
This project demonstrates multiple advanced concepts:
- Web Development
- Database Management
- AI Integration
- Browser APIs
- Security Monitoring
- Real-Time Logging
- User Authentication
- Admin Management
It is highly suitable for:
- BCA Final Year Project
- MCA Major Project
- B.Tech CSE Project
- Software Engineering Project
- AI-Based Academic Project
Keywords
- AI Proctoring System Project
- Online Examination System with Face Detection
- PHP MySQL Online Exam Project
- AI-Based Exam Monitoring System
- Online Exam Portal Source Code
- Face Detection Exam System
- Final Year Project PHP MySQL
- Web-Based Examination System
- AI Proctoring Final Year Project
- BCA MCA BTech Major Project
Conclusion
ProctorAI is a modern and intelligent online examination system designed for secure digital assessments. With integrated AI-powered monitoring, real-time violation detection, and admin-level integrity management, this project provides a practical and industry-relevant solution for remote examinations.
For students looking to build an innovative final year project using PHP, MySQL, JavaScript, and AI concepts, ProctorAI is an excellent choice that combines software engineering, web development, and artificial intelligence into one complete system.
online examination system
use case diagram for online examination system
localhost online examination system in php master
class diagram for online examination system
er diagram for online examination system
activity diagram for online examination system
sequence diagram for online examination system
bzu online examination system
state diagram for online examination system
state chart diagram for online examination system
