Implementasi Optical Mark Recognition dengan Pendekatan Template-Based untuk Koreksi Otomatis Lembar Jawaban Pilihan Ganda
DOI:
https://doi.org/10.47065/bulletincsr.v6i6.1356Keywords:
Optical Mark Recognition; Computer Vision; Computer Answer Sheet; Image Processing; Automatic CorrectionAbstract
Manual checking of multiple-choice answer sheets is time-consuming and labor-intensive, particularly when a large number of answer sheets need to be examined. Optical Mark Recognition (OMR) can be used to automate the image-based reading and correction of answer sheets. This study implements a computer vision-based OMR system that utilizes a blank answer sheet template as a reference for identifying mark changes in answer-choice areas. The system was developed using the Python programming language and the OpenCV library through several stages, including preprocessing, grayscale conversion, adaptive thresholding, contour detection, perspective correction, image alignment with the template, answer-area segmentation, answer identification, answer correction based on the answer key, and score calculation. The system was designed to recognize six output classes: A, B, C, D, E, and BLANK. Evaluation was conducted using 50 answer-sheet images, each containing 60 questions with five answer alternatives, resulting in 3,000 answer decisions and 15,000 answer-choice areas being analyzed. All 50 answer sheets were successfully processed during the validation stage. The evaluation results showed that 2,863 predictions were correctly identified and 137 predictions were incorrect, yielding an accuracy of 95.43%, macro precision of 95.62%, macro recall of 94.53%, and macro F1-score of 94.92%. Specific evaluation of the BLANK class achieved a precision of 100%, recall of 85.71%, and F1-score of 92.31%. These results indicate that the computer vision- and template-based OMR approach can be used to automatically read and correct answer sheets with good performance. Nevertheless, 18 answers that were actually blank were identified as one of the A–E options. This condition indicates that visual variations in answer areas can still affect the identification process; therefore, optimization of the template-comparison mechanism and testing under more diverse image conditions are required to improve the robustness of the system.
Downloads
References
S. Mondal, P. De, S. Malakar, and R. Sarkar, “OMRNet: A lightweight deep learning model for optical mark recognition,” Multimed. Tools Appl., vol. 83, no. 5, pp. 14011–14045, Jul. 2023, doi: 10.1007/s11042-023-15408-8.
Q. Hafeez, W. Aslam, M. Ikramullah Lali, S. Ahmad, M. Alqahtani, and M. Shafiq, “Fault Tolerant Optical Mark Recognition,” Computers, Materials & Continua, vol. 74, no. 2, pp. 3829–3847, 2023, doi: 10.32604/cmc.2023.026422.
M. Ali, S. Hammoud, and A. Esper, “Optical Mark Recognition Techniques for Multiple-Choice Tests: A Comprehensive Review,” IEEE Access, vol. 13, pp. 156407–156423, 2025, doi: 10.1109/ACCESS.2025.3600106.
Y. Sancar, “Detection of risk levels in optical mark recognition exams using categorical feature-based machine learning models,” Sci. Rep., vol. 15, no. 1, p. 44611, Dec. 2025, doi: 10.1038/s41598-025-32963-2.
Y. Hernández-Mier, M. A. Nuño-Maganda, S. Polanco-Martagón, G. Acosta-Villarreal, and R. Posada-Gómez, “Unsupervised Optical Mark Recognition on Answer Sheets for Massive Printed Multiple-Choice Tests,” J. Imaging, vol. 11, no. 9, p. 308, Sep. 2025, doi: 10.3390/jimaging11090308.
R. Rasmuin, “Does the policy regarding the role of the national examination in determining graduation affect student achievement?,” Jurnal Penelitian dan Evaluasi Pendidikan, vol. 26, no. 2, Dec. 2022, doi: 10.21831/pep.v26i2.54422.
E. R. Ali and N. M. Shati, “Evaluation System for Multiple-Choice Questions Using Optical Mark Recognition: A Survey,” Journal of Al-Qadisiyah for Computer Science and Mathematics, vol. 17, no. 1, pp. 202–213, Mar. 2025, doi: 10.29304/jqcsm.2025.17.11975.
M. Yusuf, A. Ihsan Pradana, and R. Susanto, “Computer Vision-Based Optical Mark Recognition (OMR) System for Automated Exam Answer Sheet Correction,” Journal of Artificial Intelligence and Software Engineering, vol. 5, no. 3, pp. 962–971, 2025, doi: 10.30811/jaise.v5i3.7142.
E. Osagie, W. Ji, and N. Helian, “Burnt-in Text Recognition from Medical Imaging Modalities?: Existing Machine Learning Practices,” Journal of Advanced Computational Intelligence and Intelligent Informatics, vol. 28, no. 1, pp. 103–110, 2024, doi: 10.20965/jaciii.2024.p0103.
R. C. Dharmik, S. Rangari, S. Jain, A. Nilawar, G. Deshmukh, and A. Yeole, “Optical Mark Recognition Evaluation System using Dual-Component Approach,” International Journal of Intelligent Systems and Applications in Engineering, vol. 12, no. 10s, pp. 349–353, 2024.
S. Mondal, P. De, S. Malakar, and R. Sarkar, “OMRNet: A lightweight deep learning model for optical mark recognition,” Multimed. Tools Appl., vol. 83, no. 5, pp. 14011–14045, 2024, doi: 10.1007/s11042-023-15408-8.
K. Tabassum and Z. Rahman, “Optical Mark Recognition with Object Detection and Clustering,” in 2024 6th International Conference on Electrical Engineering and Information & Communication Technology (ICEEICT), IEEE, May 2024, pp. 352–357. doi: 10.1109/ICEEICT62016.2024.10534561.
Sunardi, A. Fadlil, and N. Tristanti, “Comparative analysis of euclidean, manhattan, canberra, and squared chord methods in face recognition,” Revue d’Intelligence Artificielle, vol. 37, no. 3, pp. 593–599, 2023, doi: 10.18280/ria.370308.
Yaseen, O. J. Kwon, J. Kim, S. Jamil, J. Lee, and F. Ullah, “Next-Gen Dynamic Hand Gesture Recognition: MediaPipe, Inception-v3 and LSTM-Based Enhanced Deep Learning Model,” Electronics (Switzerland), vol. 13, no. 16, pp. 1–11, 2024, doi: 10.3390/electronics13163233.
M. N. Hermawan, “Deteksi Lembar Jawaban Komputer Menggunakan OMR ( Optical Mark Recognition ) Di MTS Nurul Iman,” Jurnal Teknik Informatika dan Sistem Informasi, vol. 8, no. 3, pp. 1361–1372, 2021, doi: 10.35957/jatisi.v8i3.1369.
F. Marpaung, F. Aulia, and R. C. Nabila, Computer Vision Dan Pengolahan Citra Digital. 2022.
F. E. Darmawan, S. K. Magfiroh, M. K. Hanifah, and M. Saman, “Menguji Keefektifan Metode Mask R-CNN, dan Metode Keypoint R-CNN dalam Deteksi Objek Citra.,” Jurnal Komputer Dan Teknologi Informasi, vol. 2, no. 2, pp. 84–93, 2024, doi: 10.26714/jkti.v2i2.14084.
S. Bao, H. Liu, L. Min, D. Xu, and G. Le, “Color-to-Gray Conversion Method Based on Chroma Difference,” Journal of Advanced Computational Intelligence and Intelligent Informatics, vol. 28, no. 3, pp. 655–667, May 2024, doi: 10.20965/jaciii.2024.p0655.
T. Wu, C. Eising, M. Glavin, and E. Jones, “An Efficient and Effective Image Decolorization Algorithm Based on Cumulative Distribution Function,” J. Imaging, vol. 10, no. 3, p. 51, Feb. 2024, doi: 10.3390/jimaging10030051.
N. Detsikas, N. Mitianoudis, and N. Papamarkos, “A Dilated MultiRes Visual Attention U-Net for historical document image binarization,” Signal Process. Image Commun., vol. 122, p. 117102, Mar. 2024, doi: 10.1016/j.image.2024.117102.
R. Ahila Priyadharshini and H. Shriram, “Historical Document Image Binarization Using Support Vector Machine and Adaptive Threshold Selection,” 2024, pp. 361–374. doi: 10.1007/978-981-97-5866-1_26.
S. K. Wen Hwooi and A. Q. Md Sabri, “INVESTIGATION OF IMAGE STITCHING REFINEMENT WITH ENHANCED CORRELATION COEFFICIENT,” Malaysian Journal of Computer Science, vol. 33, no. 1, pp. 22–34, Jan. 2020, doi: 10.22452/mjcs.vol33no1.2.
S. Szabó, I. J. Holb, V. É. Abriha-Molnár, G. Szatmári, S. K. Singh, and D. Abriha, “Classification Assessment Tool: A program to measure the uncertainty of classification models in terms of class-level metrics,” Appl. Soft Comput., vol. 155, p. 111468, Apr. 2024, doi: 10.1016/j.asoc.2024.111468.
O. Rainio, J. Teuho, and R. Klén, “Evaluation metrics and statistical tests for machine learning,” Sci. Rep., vol. 14, no. 1, p. 6086, Mar. 2024, doi: 10.1038/s41598-024-56706-x.
Bila bermanfaat silahkan share artikel ini
Berikan Komentar Anda terhadap artikel Implementasi Optical Mark Recognition dengan Pendekatan Template-Based untuk Koreksi Otomatis Lembar Jawaban Pilihan Ganda
ARTICLE HISTORY
How to Cite
Issue
Section
Copyright (c) 2026 Novi Tristanti, Oki Derajat Sudarmojo, Anang Susilo, Anny Muthmainah

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under Creative Commons Attribution 4.0 International License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (Refer to The Effect of Open Access).













