Automatic Paper Marking System

Nowadays, Multiple Choice Questions (MCQs) are inevitable part of almost all examinations. Even the admission tests of different schools, colleges, and universities a significant part of the question paper comprises of the MCQs. Checking the MCQs manually would have been a tiring and troublesome tas

2025-06-28 16:25:27 - Adil Khan

Project Title

Automatic Paper Marking System

Project Area of Specialization Artificial IntelligenceProject Summary

Nowadays, Multiple Choice Questions (MCQs) are inevitable part of almost all examinations. Even the admission tests of different schools, colleges, and universities a significant part of the question paper comprises of the MCQs. Checking the MCQs manually would have been a tiring and troublesome task for human-beings. Therefore, Optical Mark Recognition (OMR) sheets were invented. The OMR can be scanned and read by an OMR machine to find out the marks obtained by the students.  The OMR is being extensively used by various organizations, such as National Testing Service (NTS), Educational Testing & Evaluation Agency (ETEA), National Medical & Dental College Admission Test (NMCAT), and Graduate Assessment Test (GAT) etc. for marking OMR sheets. Nowadays, to mark the papers automatically, there are two methods mainly used, which are, (i) the OMR sheet is scanned and marked through predefined automated mechanism [1], [2] and (ii) mobile applications, which capture the image of the OMR sheet and then mark them [3].

Both methods are reliable and accurate. However, the OMR machine available in market are based on scanning technology that is the OMR sheet is scanned and then further processed to mark the OMR sheets. The cost of those OMR machines depends upon various factors, such as manufacturing brand, reliability, size, and the most importantly how many sheets the OMR machine can mark in one minute. Whilst this project will focus to develop an automatic paper marking machine using Raspberry-Pi, which will capture an image of the OMR sheet placed under Raspberry-Pi camera and the image is read, aligned, marked and saved in a database along with information, such as name of student, registration number, total marks, and obtained marks. Specifically, the proposed project aims to achieve high accuracy and robustness, in real-time.

Project Objectives

The aim of the project is to develop a user friendly, cost efficient, robust, mobile, and accurate paper marking machine using Raspberry-Pi. Specifically main objectives of the proposed project are as following.

Project Implementation Method

To begin this project, we will start from understanding the developing and working of image processing algorithms and will explore different libraries of Image processing, which could be possibly used in our algorithm. Along with it, we also will explore the feasibility of Raspberry-Pi in depth. The schematic design of the proposed algorithm is depicted in Fig.1.  After developing the algorithm, we will interface Raspberry-Pi camera and will perform testing of the algorithm. Then a hardware structure of machine will be designed and implemented which most likely will consist of a cubical shape with a tray on one side. We will place the OMR sheets inside our OMR machine and after marking it will roll to the other side of machine where the tray is installed. The supervisor and the project teammates are competent enough to perform all these tasks efficiently [4]-[8].

References

[1]. S. Hussmann and P. W. Deng, “A High-Speed Optical Mark Reader Hardware Implementation at Low Cost using Programmable Logic,” Real-Time Imaging, Vol. 11, No. 1, 2005, pp. 19–30.

[2]. A. Abbas, "An Automatic System to Grade Multiple Choice Question Paper Based Exams," Journal of Al-Anbar University for Pure Science, Vol. 3, No. 1, 2009, pp. 1–8.

[3]. A. A. Marakeby, “Multi-Core Processors for Camera based OMR,” International Journal of Computer Applications, Vol. 68, No. 13, 2013, pp. 1–5.

[4]. Z. Mahmood, K. Khan, U. Khan, S. H. Adil, S. S. A. Ali, and M. Shahzad, “Towards Automatic License Detection,” Sensors, Vol. 22, No. 3, 2022, pp. 1–19.  

[5]. S. N. Khan, K. Khan, N. Muhammad, and Z. Mahmood, “Efficient Prediction Mode Decisions for Low Complexity MV-HEVC,” IEEE Access, 2021, pp. 150234–150251.

[6]. K. Khan, A. Imran, H. Z. Rehman, A. Fazil, M. Zakwan, and Z. Mahmood, “Performance Enhancement Method for Multiple License Plate Recognition in Challenging Environments,” EURASIP Journal on Image and Video Processing, No. 30, 2021, pp. 1–23. 

Benefits of the Project

Due to the development of the proposed project, we have the following benefits.

References

[7]. N. Muhammad, N. Bibi, M. A. Shah, S. Zainab, I. Ullah, and Z. Mahmood,“An Entropy based Salient Edge Enhancement using Fusion Process,” Applied Mathematical Modelling, Vol. 93, 2021, pp. 426–442.

[8]. Z. Mahmood, N. Bibi, M. Usman, U. Khan, and N. Muhammad, “Mobile Cloud based Framework for Sports Applications,” Multidimensional Systems and Signal Processing, Vol. 30, No. 4, 2019, pp. 1991?2019. 

[9]. Ansari, M. Aquib, D. Kurchaniya, and M. Dixit. "A comprehensive analysis of image edge detection techniques," International Journal of Multimedia and Ubiquitous Engineering Vol. 12, No.11, 2017, pp. 1?12.

[10]. C. Wang, “Fast Method for Rectangle Detection,” International Conference on Machinery, Materials, Environment, Biotechnology and Computer, Vol. 6, 2016, pp. 864-867.

[11]. Chiang, M. Chao, and T. E. Boult, “The integrating resampler and efficient image warping,” Proceedings of the ARPA Image Understanding Workshop, 1996, pp. 843–849.

[12]. Rahman, Ziaur, Y. F. Pu, M. Amir, and F. Ullah, “A framework for fast automatic image cropping based on deep saliency map detection and gaussian filter,” International Journal of Computers and Applications, Vol. 41, No. 3, 2019, pp. 207-217.

Technical Details of Final Deliverable

The flow of the proposed automatic paper marking system is depicted in Fig. 1. The system will comprise of the following interconnected steps:

Step-1: Entering the Parameters: The very first step after placing the OMR sheet in our paper marking system is to enter the parameters of the sheet, which involves following.

Step-2: Image Acquisition: Once entered the aforedescribed parameters, the next step in expert systems involves the acquisition of the OMR sheet. When the OMR sheet is placed in our OMR machine, it will automatically be detected, and an image of OMR sheet is acquired either by an 8 mega-pixels camera embedded in Raspberry-pi.

Step-3: Pre-Processing: After image is captured, appropriate pre-processing techniques will be applied, which involves following steps.

Step-4: Warping, Cropping and Further Processing: On bases of contours of captured image, warping is applied, which is the process of digitally manipulating an image such that any shapes portrayed in the image have been significantly distorted. Later, the warped image is cropped and further processed, which involves following steps.

Step-5: Post-Processing: On those portions, the MCQs marking, and reg no. reading algorithm will be applied. Phenomenon involved in marking MCQs is based on Pixel counts and comparison to the ground truth, which in our case is entered answer key in the system.

Step-6: Save and Display Results: After completion of above steps, the marks obtained are printed on the OMR sheet and saved in the system, while all information including name, class, department, reg no. is stored in Excel sheet and displayed on LCD attached to the system.

Step-7: Rolling Sheet to the tray: Once the whole process is done, sheet is rolled to a tray installed on the other side of machine. This occurs due to the roller installed along stepper motor, which is programmed to turn on for a specific instance of time when once the OMR sheet is marked and data is saved. This whole process will repeat itself, whenever an OMR sheet is detected.

'Automatic Paper Marking System' _1659396390.png

Fig. 1: Architecture of proposed Automatic Paper Marking Machine

Final Deliverable of the Project HW/SW integrated systemCore Industry EducationOther Industries IT Core Technology Artificial Intelligence(AI)Other Technologies RoboticsSustainable Development Goals Industry, Innovation and InfrastructureRequired Resources
Item Name Type No. of Units Per Unit Cost (in Rs) Total (in Rs)
Total in (Rs) 72850
Raspberry Pi-4 Model b with 8GB Memory Equipment12200022000
Raspberry Pi Camera Module V2 8 Mega-pixels Equipment155005500
Raspberry Pi Official 7-Inch Capacitive Touch LCD Screen Equipment11460014600
DC Power Supply for Raspberry Pi 4, 5V 5A with USB Type C cable Equipment115001500
Micro HDMI to female HDMI converter Equipment1250250
San Disk Ultra Micro SD card 32 GB Class (10) Equipment115001500
Jumper Wires male to male Equipment1400400
Jumper Wires male to female Equipment1400400
Paper Slide Roller Equipment158005800
KH56KM2U071 Printer Servo Stepper Motor Equipment157005700
Carbon Fiber Box (16’'x15’'x10'') Equipment135003500
Casing Box for Raspberry-Pi Equipment1700700
Casing Box for LCD Panel Equipment110001000
IEEE Conference Publication Cost Miscellaneous 170007000
Thesis Costs Miscellaneous 310003000

More Posts