AI Smart Exam Invigilator

by angasailakshmi in Living > Education

19 Views, 0 Favorites, 0 Comments

AI Smart Exam Invigilator

ChatGPT Image Aug 1, 2026, 09_14_36 PM.png
AI exam smart invigilator

Ensuring fairness during examinations is an important challenge in schools and colleges. Manual invigilation may not always detect every instance of cheating. This project, AI Smart Exam Invigilator, uses PictoBlox Image Classifier, a webcam, and Quarky to monitor students in real time.

The AI model is trained to recognize four exam scenarios: Writing Exam, Looking at Others' Paper, Using Cheat Sheet, and Exam Malpractice. When suspicious activity is detected, the system instantly announces the detected activity using Text-to-Speech, plays a warning buzzer, and displays a warning icon on Quarky's LED matrix. If the student is writing the exam normally, the system confirms normal exam behavior.

This project demonstrates how Artificial Intelligence, Machine Learning, and Computer Vision can be used to build a smart, automated exam monitoring system that promotes fairness, reduces malpractice, and enhances the security of examinations.

Supplies

Screenshot 2026-08-01 210354.png
Screenshot 2026-08-01 210412.png
Screenshot 2026-08-01 210427.png
Screenshot 2026-08-01 210513.png
Screenshot 2026-07-10 181823.png
Screenshot 2026-07-10 181812.png
Screenshot 2026-08-01 210437.png
  1. Pictoblox Software: Download PictoBlox | Windows, MacOS, Linux, Chromebook, Android & iOS
  2. Laptop/PC
  3. Inbuilt or External Camera Setup
  4. Speaker or Headphones
  5. Quarky

Create a New Image Classifier Project

Screenshot 2026-08-01 210300.png
Screenshot 2026-08-01 210221.png
Screenshot 2026-08-01 210236.png

Open PictoBlox and go to the Machine Learning Environment. Select Image Classifier and click Create New Project. Name the project AI Smart Exam Invigilator. Create four classes: Writing Exam, Looking at Others' Paper, Using Cheat Sheet, and Exam Malpractice. Upload or capture multiple images for each class using the webcam to train the AI model accurately. Once all the images are added, click Train Model to generate the image classification model.

Export the Trained AI Model

Screenshot 2026-08-01 210002.png
Screenshot 2026-08-01 210010.png
Screenshot 2026-08-01 210028.png
Screenshot 2026-08-01 210108.png
Screenshot 2026-08-01 210121.png
Screenshot 2026-08-01 210159.png

After the training is completed successfully, test the model using a few sample images or the webcam to verify that it correctly identifies each class. Once the model gives accurate predictions, click the Export Model button and choose Block mode. This exports the trained AI model so it can be used in your PictoBlox project for real-time exam monitoring.

In this step, you will:

  1. Verify the trained model using test images.
  2. Check whether all four classes are detected correctly.
  3. Click Export Model.
  4. Select Block export.
  5. Save the model for use in the main PictoBlox project.


Set Up the PictoBlox Project

Screenshot 2026-08-01 195556.png

Open a new PictoBlox project and add the required extensions:

  1. Machine Learning Environment
  2. Text to Speech
  3. Quarky

Import the exported AI model into the project. Connect Quarky to your computer and ensure the webcam is selected. These extensions enable the project to analyze live webcam images, announce detected activities using voice, play alerts, and display warning symbols on the Quarky LED matrix.

In this step, you will:

  1. Open a new PictoBlox project.
  2. Add the Machine Learning Environment extension.
  3. Add the Text to Speech extension.
  4. Connect the Quarky board.
  5. Import the exported AI model.
  6. Verify that the webcam and Quarky are working correctly.



Create the Detection Logic

Build the program using PictoBlox blocks to continuously monitor the webcam. Start the camera and use the recognize image from camera block to classify the student's activity. Store the predicted class in a variable and use if-else conditions to perform different actions based on the detected activity.

  1. If Writing Exam is detected, display "Exam Running Normally".
  2. If Looking at Others' Paper, Using Cheat Sheet, or Exam Malpractice is detected:
  3. Display a warning message.
  4. Speak the detected activity using Text-to-Speech.
  5. Play the buzzer.
  6. Show a warning icon on the Quarky LED matrix.

This step creates the core AI logic that monitors the examination and responds instantly to suspicious activities.

Test and Run the AI Smart Exam Invigilator

Screenshot 2026-08-01 205738.png
Screenshot 2026-08-01 205900.png
Screenshot 2026-08-01 205710.png
Screenshot 2026-08-01 205812.png

Click the Green Flag to start the project and allow access to the webcam. Stand in front of the camera and test each trained class by performing different exam activities. Observe whether the AI correctly identifies the activity and triggers the appropriate response.

  1. Writing Exam → Displays "Exam Running Normally".
  2. Looking at Others' Paper → Displays a warning, speaks the activity, activates the buzzer, and shows a warning icon on the Quarky LED matrix.
  3. Using Cheat Sheet → Generates an alert and voice warning.
  4. Exam Malpractice → Triggers the highest-level warning with buzzer and LED indication.

Verify that the AI accurately recognizes each activity and responds in real time. If necessary, retrain the model with additional images to improve its accuracy.

Conclusion

The AI Smart Exam Invigilator successfully monitors students during examinations using Artificial Intelligence and Computer Vision. It detects normal and suspicious exam activities in real time, provides instant voice and buzzer alerts, and displays warning messages through Quarky. This project demonstrates how AI can help create a fair and secure examination environment.