Teaching Reform through Automated Grading for Machine-Vision Defect Inspection Labs

Authors

  • Jing Li Department of Information and Intelligent Engineering, Shanghai Publishing and Printing College, Shanghai, China Author
  • Wanying Fu Department of Information and Intelligent Engineering, Shanghai Publishing and Printing College, Shanghai, China Author

DOI:

https://doi.org/10.63313/IJED.9055

Keywords:

Teaching Reform, Machine Vision Course, Print Defect Inspection, Automated Assessment

Abstract

This paper proposes an engineering-oriented teaching reform for a vocational AI Machine Vision course, targeting industrial-style print defect inspection (stain and scratch) on a reproducible synthetic defect dataset. Guided by outcome-based education (OBE), we design a project-based task chain covering data specification, synthetic defect generation, preprocessing, classical machine vision baselines (thresholding, morphology, connected components, and line-structure detection), and engineering delivery of a command-line inspection tool with standardized outputs. To support formative assessment at scale and reduce subjective grading, we implement an automated assessment pipeline that verifies input/output (I/O) contract compliance, evaluates functional correctness via unit tests (pytest), measures code quality via static analysis (pylint/flake8), and validates robustness using a perturbation suite and boundary-case tests quantified by performance degradation ΔF1. Demonstration results using representative submissions show that the proposed pipeline provides consistent, transparent grading and promotes engineering deliverables and robust behavior, providing a reusable blueprint for machine vision education aligned with industrial inspection requirements.

References

[1] M. Mahrishi, S. Ramakrishna, S. Hosseini, et al., “A systematic literature review of the global trends of outcome-based education (OBE) in higher education with an SDG perspective related to engineering education,” Discover Sustainability, vol. 6, art. no. 620, 2025.

[2] M. Ramírez de Dampierre, M. C. Gaya-López, and P. J. Lara-Bercial, “Evaluation of the implementation of project-based-learning in engineering programs: A review of the literature,” Education Sciences, vol. 14, no. 10, art. no. 1107, 2024.

[3] B. Pereira Cipriano, N. Fachada, and P. Alves, “Drop Project: An automatic assessment tool for programming assignments,” SoftwareX, vol. 19, art. no. 101079, 2022.

[4] Deepshikha, “A comprehensive review of AI-powered grading and tailored feedback in universities,” Discover Artificial Intelligence, vol. 5, art. no. 251, 2025.

[5] Z. Ren, F. Fang, N. Yan, and Y. Wu, “State of the Art in Defect Detection Based on Machine Vision,” International Journal of Precision Engineering and Manufacturing-Green Technology, vol. 9, pp. 661–691, 2022.

[6] Y. Chen, Y. Ding, F. Zhao, E. Zhang, Z. Wu, and L. Shao, “Surface Defect Detection Methods for Industrial Products: A Review,” Applied Sciences, vol. 11, no. 16, art. no. 7657, 2021.

[7] P. Maruschak, I. Konovalenko, Y. Osadtsa, V. Medvid, O. Shovkun, D. Baran, H. Kozbur, and R. Mykhailyshyn, “Surface Illumination as a Factor Influencing the Efficacy of Defect Recognition on a Rolled Metal Surface Using a Deep Neural Network,” Applied Sciences, vol. 14, no. 6, art. no. 2591, 2024.

[8] R. Bhagwat and A. Kulkarni, “Integrating project-based learning for enhancing higher education within an outcome-based education framework,” International Journal of Evaluation and Research in Education, vol. 14, no. 5, pp. 4099–4108, Oct. 2025.

[9] A. L. C. Barczak, A. Mathrani, B. Han, and N. H. Reyes, “Automated assessment system for programming courses: a case study for teaching data structures and algorithms,” Educational Technology Research and Development, 2023.

Downloads

Published

2026-04-10

Issue

Section

Articles

How to Cite

Teaching Reform through Automated Grading for Machine-Vision Defect Inspection Labs. (2026). International Journal of Educational Development, 3(1), 26-33. https://doi.org/10.63313/IJED.9055