Skip to main navigation Skip to search Skip to main content

Advancing workpiece dimension measurement: Integrating AI-based edge detection with machine vision and coordinate measuring systems

  • Yazid Saif*
  • , Anika Zafiah M. Rus*
  • , Yusri Yusof
  • , Yeong Hyeon Gu*
  • , Mohammed A. Al-Masni
  • , Shehab Abdulhabib Alzaeemi
  • , Osamah Al-Qershi
  • , Yahya M. Altharan
  • , Sami Al-Alimi
  • *Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

Abstract

Image preprocessing and edge detection are critical in industrial machine vision for workpiece dimension measurement. Challenges arise from interference regions on workpiece surfaces, complicating edge detection and roundness assessment. This paper investigates the application of AI-based detection methods within the industrial image analysis framework of coordinate measuring machines. Initially, two models with varying hole sizes and counts were designed in SolidWorks, fabricated using a Prolight 3-axis CNC milling machine, and analyzed. A transfer learning approach mitigated overfitting on the limited dataset of model surface features. The study employed a Convolutional Neural Network (CNN) to identify interference regions and predict circularity, enhancing measurement accuracy. Validated with a testing dataset, the CNN achieved 100% classification accuracy, confirmed by a Confusion Matrix. Fine-tuning of the CNN with specific training data leveraged image preprocessing to enhance features via multi-layer convolution, pooling, and detailed analysis through fully connected layers. Comparative diameter analysis across Models 1–2 showed all methods maintained ≤0.05 mm deviation from actual values, with CNN exhibiting minor variations at Model 1’s points 3,7,9 while matching CMM precision (r = 1.000) and outperforming vision systems in Model 2’s multi-hole measurements, supported by ANOVA-confirmed discrimination (F = 34,514,683, p < .001) and cross-material scalability to Drelin via 200-image retraining. The results underscore the effectiveness of integrating deep learning techniques into industrial inspection, contributing a standardized methodology for precise workpiece dimension measurement. This research highlights the potential of combining machine vision, deep learning, and coordinate measuring systems to advance industrial measurement processes.

Original languageEnglish
Article numbere0342797
JournalPLoS ONE
Volume21
Issue number3 March
DOIs
StatePublished - Mar 2026

Bibliographical note

Publisher Copyright:
© 2026 Saif et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.

ASJC Scopus subject areas

  • General

Fingerprint

Dive into the research topics of 'Advancing workpiece dimension measurement: Integrating AI-based edge detection with machine vision and coordinate measuring systems'. Together they form a unique fingerprint.

Cite this