Skip to content
Research Article Open access CC BY 4.0

Analysis of Detection and Distance Measurement of Screw Hole Using SGBM Stereo Vision Algorithm with YOLOv5

Heng Jinru

Journal of Engineering Research and Reports · pp. 344–355 · Published 23 Jan 2026

10.9734/jerr/2026/v28i11781

Abstract

To address the current issues of insufficient automation and low efficiency caused by manual operations in the screw tightening process at the top of transformers in factories, this paper proposes a stereo vision-based object detection and 3D ranging method utilizing YOLOv5. First, a high-precision detection model tailored for screw holes is trained using the pre-trained YOLOv5 model combined with a custom dataset collected from actual production environments. Subsequently, integrating a stereo vision system with the SGBM stereo matching algorithm enables precise 3D localization and distance measurement of target screw holes. By establishing an integrated experimental platform and implementing real-time data exchange between PLC and PC via host-to-host communication mechanisms, the feasibility and stability of this method in practical applications are validated. This approach enables automatic recognition and precise localization of screw holes, making it effectively applicable for automating upgrades in transformer assembly production lines. It significantly enhances operational efficiency and assembly quality.

YOLOv5 stereo vision object recognition Modbus communication PLC

Cited by 0

No indexed citations yet.

Article metrics

Real usage data collected on this platform.

0

Page views

0

PDF downloads

0

Outbound clicks

0

Citations

Views by country

Approximate, from request IP at view time — not citizenship or institution. Countries with fewer than 5 views are grouped as "Other".

No views recorded yet.

Traffic sources

Referring site, by host.

No traffic recorded yet.

Views and downloads exclude known bots/crawlers. Citations combines this platform's own DOI-resolved index with each external source's own reported total — see Cited by above for individually listed citing works. Last refreshed 0 seconds ago.