Online Examination System with Face Detection Using PHP

AI-Powered Online Examination System with Face Detection Using PHP & MySQL
AI-Powered Online Examination System with Face Detection Using PHP & MySQL

Online Examination System with Face Detection Using PHP

In todays 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.A modern, responsive online exam platform featuring sign-up/login functionality, timed exams, progress tracking, flagged questions, and result submission. This is a full-stack web development project for Online Examination System. Evalutest was developed using HTML, CSS, JS, PHP, MySQL, and Bootstrap. John Rovie Balingbing is a part of the team that developed this system.

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.

Real Time Projects on YouTube:- DecodeIT

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.

Key Features of Online Examination System

The project provides the following features for secure online examination management:

  • Secure Student Authentication: Allows students to log in using their roll number and password.
  • Student Dashboard: Displays upcoming exams, completed exams, previous scores, and proctoring records.
  • Live Online Examination: Provides an MCQ-based examination interface with a countdown timer.
  • Question Navigator: Allows students to navigate between questions and identify answered or unanswered questions.
  • Flag Question: Allows students to mark questions for review.
  • AI-Based Face Detection: Detects whether the student is visible during the examination.
  • Multiple Face Detection: Detects multiple faces to help prevent proxy examination.
  • Gaze Tracking: Monitors suspicious eye movements during exams.
  • Phone Detection: Detects mobile phone usage during examinations.
  • Tab Switch Monitoring: Tracks browser tab switching activities.
  • Fullscreen Monitoring: Detects attempts to exit fullscreen mode.
  • Real-Time Violation Logging: Records suspicious activities and displays instant warnings.
  • Admin Dashboard: Displays exam statistics, active exams, student performance, and proctoring activities.
  • Violation Management: Allows administrators to ignore incidents, send warnings, or invalidate exam attempts.
  • Student Performance Tracking: Helps administrators monitor student scores and integrity records.

Online Examination System in PHP with Source Code :- Click Here

AI-Based Proctoring System

The system includes an AI proctoring module with the following monitoring features:

AI DetectionPurpose
Face DetectionDetects whether the student is visible.
Multiple Face DetectionPrevents proxy cheating.
Gaze TrackingDetects suspicious eye movement.
Phone DetectionDetects mobile phone usage.
Tab Switch MonitoringTracks browser tab changes.
Fullscreen MonitoringDetects fullscreen exit attempts.

Real-Time Violation Logging

  • Instant Warning Banners: Displays warnings when suspicious activities are detected.
  • Violation Records: Stores detected violations in system logs.
  • Severity Levels: Assigns severity levels to recorded incidents.
  • Admin Incident Review: Allows administrators to review violation records.

Admin Panel Features

  • Live Exam Statistics: Displays examination statistics.
  • Exam Overview: Shows active and completed examinations.
  • Real-Time Proctoring Feed: Displays live proctoring activities.
  • Student Performance Tracking: Monitors student performance.
  • Integrity Score Analysis: Displays student integrity scores.
  • Violation Management: Provides tools to manage examination violations.

Violation Management

  • Ignore Minor Incidents: Allows administrators to ignore minor violations.
  • Send Warnings: Enables administrators to send warnings to students.
  • Invalidate Exam Attempts: Allows administrators to invalidate examination attempts.

Online Examination System Using Python with AI Chatbot :- Click Here

How to Download

The complete package is available so you can run, study, and submit it with confidence.

Screenshot

Online Examination System with Face Detection Using PHP
Online Examination System with Face Detection Using PHP
Online Examination System with Face Detection Using PHP

Admin

Online Examination System with Face Detection Using PHP

Technology Stack

CategoryTechnologies
BackendPHP 7.4+
FrontendHTML5, CSS3, JavaScript
DatabaseMySQL / MariaDB
AI and APIsface-api.js, MediaDevices API, Canvas API
ServerApache, Nginx, XAMPP, WAMP, Laragon

How to Run the Online Examination System

Step 1: Download and extract the project ZIP file.

Step 2: Copy the Online Examination System folder.

Step 3: Paste it into the XAMPP htdocs directory or WAMP www directory.

Step 4: Open PHPMyAdmin: localhost/phpmyadmin

Step 5: Import the database.sql file into MySQL.

Step 6: Configure database credentials in php/config.php.

Step 7: Start Apache and MySQL from XAMPP.

Step 8: Open the Student Panel:

localhost/proctorAI/

Step 9: Open the Admin Panel:

localhost/proctorAI/admin/login.php

Admin Login Credentials

Username: admin
Password: admin123

Student Login Credentials

Username: MCA2024001
Password: student123

AI Face Detection Integration

The project is designed to support real AI-based face detection using the JavaScript library face-api.js.

  • Tiny Face Detector
  • Face Landmark Detection
  • Multi-face Detection
  • Eye/Gaze Tracking
  • Head Position Monitoring

Database Design

The system uses a normalized MySQL database with multiple relational tables.

Table NamePurpose
studentsStudent information
adminsAdministrator accounts
examsExam details
questionsMCQ questions
exam_sessionsStudent exam sessions
student_answersAnswer tracking
resultsScore and grade
proctoring_logsAI violation logs

Advantages of ProctorAI

  • Helps Reduce Online Exam Cheating: AI monitoring helps reduce malpractice during online assessments.
  • Fully Web-Based: No desktop software installation required.
  • Beginner-Friendly Architecture: The codebase demonstrates advanced concepts.
  • AI Integration Ready: Supports integration with advanced AI models and detection libraries.
  • Real-World Use Case: Addresses online examination monitoring requirements.

Future Enhancements

  • 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

Quiz Management System Using MERN Stack :- Click Here

Why This is a Good Final Year Project

  • Web Development
  • Database Management
  • AI Integration
  • Browser APIs
  • Security Monitoring
  • Real-Time Logging
  • User Authentication
  • Admin Management

Suitable for BCA Final Year Project, MCA Major Project, B.Tech CSE Project, Software Engineering Project and AI-Based Academic 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


2 responses to “Online Examination System with Face Detection Using PHP”

Leave a Reply

Your email address will not be published. Required fields are marked *