Skip to content
#edge computing Review Open access

Open-Source 2D Vision-Based Dimensional and Strain Measurement of Mechanical Components: A Practical Review and Experimental Validation Using Python OpenCV and MATLAB NCORR

Oct 2026 · International Journal of Electrical and Electronics Engineering · 0 citations · 20 references
Optical measurement and interference techniques

Abstract

Accurate dimensional and deformation measurement of mechanical components is central to manufacturing quality control and experimental mechanics. Contact-based instruments such as Vernier calipers, micrometers, and coordinate measuring machines (CMMs) are widely used but introduce measurement loading and cannot simultaneously capture multi-point displacements. Commercial optical alternatives, such as Vic-2D and GOM Aramis for Digital Image Correlation (DIC) and HALCON for machine vision, provide high accuracy but carry license costs that restrict adoption in academic laboratories and small engineering workshops. This review examines two freely available, open-source platforms that together provide comprehensive non-contact 2D measurement of planar mechanical components: Python OpenCV, which enables camera calibration, homography-based planar reconstruction, adaptive Gaussian thresholding for metallic surfaces, and sub-pixel edge detection; and MATLAB NCORR, an open-source Digital Image Correlation (DIC) package that computes full-field displacement and strain maps from random speckle patterns. The review is directed at general planar mechanical components as: flat rectangular parts, cylindrical fasteners, threaded screws, gears, and beam specimens.Experimental results obtained using a mobile phone camera and the Python-OpenCV pipeline demonstrate dimensional measurement errors below 1.5% relative to Vernier caliper measurements for a flat rectangular component (scientific calculator) and below 1% for length and outer diameter of a metallic machine screw, confirming sub-millimetre accuracy for components in the 10–200 mm size range. Thread pitch measurement via horizontal edge projection is reported as a specific limitation at standard mobile phone image magnification, with error exceeding 89%, and a Hough Transform solution is proposed. An integrated two-tool workflow combining OpenCV discrete-point tracking with NCORR full-field DIC strain mapping is proposed for comprehensive mechanical component characterization at near-zero software cost. Keywords: Python; DIC; MATLAB; OpenCV; machine vision; NCORR; digital image correlation; dimensional measurement; strain measurement; adaptive Gaussian thresholding; open-source metrology; non-contact measurement

Read PDF

Similar papers

#computer vision Review Sep 2017

Agile Software Development Methods: Review and Analysis

This publication proposes a definition and a classification of agile software development approaches and analyses ten software development methods that can be characterized as being "agile" against the defined criterion.

P. Abrahamsson, O. Salo, Jussi Ronkainen et al. · 727 citations · ⚡54
#computer vision Jun 2008

The impact of agile practices on communication in software development

The study shows that agile practices improve both informal and formal communication, but indicates that, in larger development situations involving multiple external stakeholders, a mismatch of adequate communication mechanisms can sometimes even hinder the communication.

M. Pikkarainen, Jukka Haikara, O. Salo et al. · 401 citations · ⚡48
#machine learning Review Open access Oct 2014

Software development in startup companies: A systematic mapping study

The results indicate that software engineering work practices are chosen opportunistically, adapted and configured to provide value under the constrains imposed by the startup context.

Nicolò Paternoster, Carmine Giardino, M. Unterkalmsteiner et al. · 394 citations · ⚡54

Related blog posts

Microsoft Research Blog Oct 6, 2026

What AI gets wrong and what failure teaches us

Jennifer Neville did not want to go into computer science—but that’s exactly where she landed. Neville discusses the starts and stops that led to her professional sweet spot and her work identifying “surprising failures” making it hard for AI to handle complexity.  The post What AI gets wrong and what failure teaches us appeared first on Microsoft Research.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.