OMR Automated Grading
OMR Automated Grading
Sanjay Kulkarni (RN20IS138)1; Sanket B Patil (1RN20IS139)2; Shashank M (1RN20IS145)3; Shashanka UN (1RN20IS147)4
Abstract:- The paper highlights the necessity for a aiming to democratize access to automated grading processes
technologically advanced system capable of efficiently while reducing costs. By capturing and processing images of
grading multiple-choice question (MCQ) exams through answer sheets using content filtration and image processing
webcam-based evaluation. MCQ-style assessments have algorithms, the system aims to revolutionize assessment
gained widespread use in educational and organizational methods, ensuring efficiency and accuracy without using
settings due to their effectiveness and time-saving expensive hardware or software. Additionally, the system's
advantages. However, manually grading these exams algorithm is made to find standardized answer sheet formats,
presents significant challenges. Managing a large number ensuring compatibility across various exam layouts and
of answer sheets in a timely manner is labor-intensive and educational settings.
error-prone, potentially leading to scoring discrepancies.
Additionally, the logistical burden of storing and handling Moreover, OMR grading technology is expected to
physical answer sheets is cumbersome, with risks such as alleviate the inefficiencies and inaccuracies of manual grading,
damage from environmental factors like fire or moisture. enhancing the educational assessment ecosystem. By
While larger institutions may utilize specialized Optical automating the recognition and interpretation of marked
Mark Recognition (OMR) technology for grading, smaller responses, educators can redirect their focus towards refining
educational entities often lack access to such costly instructional methodologies, engaging with students, and
equipment. To address these challenges, the paper proposes pursuing professional development opportunities. Additionally,
an innovative solution: leveraging webcam technology to the system's scalability ensures seamless handling of diverse
automate the grading process. By capturing images of question formats and extensive surveys or examinations,
answer sheets and employing sophisticated content-filtering catering to the evolving demands of educational institutions
and image processing algorithms facilitated by the OpenCV worldwide.
library, the system can accurately interpret and evaluate
marked answers. Overall, the proposed system represents a The scalability of the proposed system extends beyond
significant advancement in exam grading methodology, volume management to encompass quicker turnaround times in
providing a practical and cost-effective solution to the the grading cycle, facilitating timely feedback to students and
longstanding challenges associated with manual grading of supporting their academic growth by promptly addressing any
MCQ-based assessments. By integrating webcam misconceptions or knowledge gaps. Furthermore, the addition
technology into the grading process, the system aims to of OMR technology fosters a standardized and consistent
enhance efficiency and accuracy while catering to the needs grading approach, minimizing variations that may arise in
of various educational and organizational assessments. manual grading and promoting fairness and impartiality in
evaluations. The automation of response processing not only
I. INTRODUCTION optimizes workflow efficiencies but also contributes to the
establishment of a reliable and transparent evaluation system.
The introduction highlights the widespread use of
multiple-choice question (MCQ) exams worldwide and their Educators stand to gain significantly from embracing
significance in evaluating students' academic abilities. It OMR technology, benefiting from reduced errors and increased
emphasizes the prevalence of MCQ formats in prominent scalability. Overall, OMR technology signifies a notable
exams such as K-CET, NEET, and also in international advancement in educational assessment methods, transforming
assessments like TOEFL, GRE, and GMAT, owing to their grading practices and promoting a more effective, fair, and
time-saving nature and streamlined evaluation processes. student-centered learning environment. The paper stresses the
However, traditional grading methods facing challenges mainly importance of innovative solutions to overcome from the
in such institutions which have lack access to advanced problems associated with traditional grading methods and
scanning equipment, leading to time-consuming manual highlights the proposed system's capability to simplify grading
grading processes, particularly with large numbers of test- procedures while reducing expenses and resource demands.
takers. To address these challenges, the paper proposes a novel Through sophisticated content filtration and image processing
solution utilizing the built-in webcams of laptops for OMR, algorithms, the system accurately captures and assesses
responses from MCQ answer sheets, catering to diverse C. Identify Marked OMR Option:
institutional requirements worldwide. The software analyzes the scanned image to identify
marked responses made by the student. It detects darkened
The paper emphasizes the critical necessity for creative bubbles or checkboxes corresponding to selected options on the
solutions to address the challenges linked with conventional OMR sheet.
grading methodologies. Through the implementation of
sophisticated content filtration and image processing D. Storing the Identified Data:
algorithms, the system ensures the accurate capture and Store the recognized data, comprising student
assessment of responses from multiple-choice question (MCQ) identification particulars and chosen responses for each query.
answer sheets. This capability makes the system adaptable to The retention of this data enables analysis, reporting, and
diverse institutional requirements worldwide, catering to feedback generation centered on student performance.
various exam formats and educational contexts.
E. Validate the Chosen Option:
Compare the student's responses with correct answers
from the answer key. Validated responses contribute to the
student's score, while discrepancies are flagged for review. This
step is used to ensuring fairness and accuracy in grading, as it
helps identify and rectify any errors or inconsistencies in the
evaluation process.
F. Evaluate Score:
Based on validation, calculate the student's OMR test scores.
Correct answers add to final score, while incorrect responses
may result in deductions.
objects or details within images, paving the way for deeper and is widely used in applications like image segmentation
analysis and interpretation. and object detection.
Complementation of the Image: The complement of an Canny Edge Detection Algorithm: The Canny edge
image alters its brightness by reversing the intensity values detection algorithm stands as a foundational tool in
of each pixel. Dark color portion of the image become computer vision and image processing, renowned for its
lighter, while light areas become darker. This conversion precision and effectiveness in edge detection. Conceived by
plays a vital role in adjusting the image's contrast and John F. Canny in 1986, the algorithm begins by converting
dynamic range, thereby improving its visual appeal and the image from RGB to grayscale, streamlining the edge
simplifying subsequent image processing tasks. Through detection process. It employs various methods such as
intensity value inversion, the complement operation reveals Gaussian smoothing to diminish noise, computes gradients
obscured details caused by extreme brightness or darkness to determine edge strength and orientation, and performs
in the original image, enhancing its clarity and overall non-maximum suppression to refine detected edges.
quality.
Thresholding: Thresholding simplifies images by and hysteresis thresholding to link adjacent edge pixels.
converting them into binary form using a specified threshold By combining these techniques, the Canny algorithm can
value. Pixels above the threshold are categorized as one accurately detect and localize edges while minimizing false
type, while those below it are categorized differently. This detections and noise artifacts, making it a vital tool in various
method aids in focusing on specific details within the image image analysis and computer vision applications.
Scan OMR Sheet: The OMR sheet, filled out by the student, Find Edges: Algorithms for edge detection are utilized on
is scanned using an optical scanner or imaging device. This the grayscale image to outline the boundaries of circles
process converts the physical sheet into a image file. marked on the OMR sheet, denoting the areas filled by the
Grayscale Conversion: The scanned image is converted student.
from color to grayscale. Grayscale images represent pixel Defining Boxes: Using the identified edges, bounding
intensities using shades of gray, simplifying subsequent boxes are established around each marked circle to isolate
image processing steps while retaining essential information and concentrate on these specific regions, aiding in further
for analysis. analysis.
Thresholding: Employing a thresholding technique on the Check Student Answered: The system checks whether the
grayscale image converts it into binary form, categorizing student has answered any questions on the sheet. If
pixels as black or white based on a defined threshold. This questions are marked, the system compares the marked
step segregates marked circles from background elements array with the original array to identify which questions
or shadows, enhancing clarity. have been answered.
Split Rows: The binary image is segmented into distinct Compare: The marked responses on the sheet undergo
rows, representing different sections or questions on the comparison with the corresponding answers from the
answer sheet. This segmentation organizes the data for answer key, establishing the correctness of each student-
focused processing, allowing examination of individual selected answer.
rows sequentially. Calculate Score: Using the comparison outcomes, the
Find Marked Circles: Each row in the binary image system calculates the student's score by tallying the number
undergoes analysis to identify marked circles, indicating the of correct answers and assigning points accordingly.
student's selected answers. This detection process involves Display Score: The system displays the student's score,
pinpointing filled circles within the previously established providing feedback on their performance by showcasing the
bounding boxes. total correct answers and the resulting overall score. Lastly,
the student's answer sheet and score are saved as a file for
archival and future analysis. This storage enables ongoing
tracking and referencing of student progress and
performance trends.
III. RESULT
Fig 3: Result
Original: This image represents the original input image Canny: Canny edge detection is then applied to the blurred
loaded from a file. image, identifying edges as regions with significant
Gray: After capturing the original image, it's converted to intensity changes, crucial for object outline identification.
grayscale. Grayscale images have only shades of gray, Contours: The outlines of objects detected in the Canny
which simplifies the subsequent image processing steps. edge-detected image are represented as contours, visualized
Blur: The grayscale image is then subjected to Gaussian on the original image.
blurring, which helps in reducing noise and unwanted Biggest Contour: The largest contour, usually representing
details. the main object of interest, is identified among all detected
contours for next process.
Wrapped: The largest contour, likely containing the main streamlined and equitable assessment process in educational and
rectangular region with multiple-choice questions, organizational settings.
undergoes a transformation to a rectangular shape for
alignment. V. FUTURE WORKS
Threshold: The warped image is then threshold to segment
regions corresponding to filled bubbles in multiple-choice In future developments of the automated grading system,
questions, simplifying object identification. several enhancements are proposed to enhance its functionality and
Result: The final result image displays the processed input usefulness for educators and students alike. Firstly, expanding the
along with detected answers and grading. system to support grading in multiple languages would
Img Raw Drawing: This image likely shows intermediate accommodate diverse student populations, ensuring fair and
processing steps or debugging information, such as accurate grading for all regardless of their language proficiency.
drawings on a blank canvas. This addition would contribute to inclusivity and accessibility in
Inv Wrap: The inverse warped image is the result of the assessment process.
reversing the perspective transformation for overlaying
detected answers and grading back onto the original input Secondly, implementing a feature for instant feedback
image. students on their performance would promote continuous
Final: The final image combines the original input with learning and improvement. This feature could analyze students
detected answers and grading, providing a complete view of responses and provide personalized feedback, helping them
analysis results. identify strengths and areas for improvement promptly.