Vision-Based Reconstruction of Electrical Schematics from Printed Circuit Board Photographs

Reverse engineering of printed circuit boards is still largely manual when original computer-aided design documentation is unavailable. This paper presents a semi-automatic vision-based pipeline that prepares an editable KiCad schematic draft for use in an Electronic Design Automation (EDA) workflow from paired TOP and BOTTOM board images. The method combines color-profile estimation, pad and through-hole detection, trace segmentation, optical character recognition, component inference, an explicit evidence graph and schematic export with drawn wires. A separate readability step aligns symbols to a grid and reroutes the reconstructed nets with orthogonal wires; it does not change the reconstructed netlist. The primary quantitative evaluation used twelve synthetic KiCad fixtures and three solver configurations: the default sequential pipeline, an opt-in global component solver and an opt-in probabilistic contact solver. These fixtures provide controlled regression cases and are complemented by a small exploratory acquisition trial on real photographed boards. All configurations completed all runs and passed the export round-trip validation without falling back to label-only connectivity. This round-trip check confirms consistency between the internal reconstruction and the exported schematic, but it is reported separately from electrical correctness against the KiCad reference design. The stricter reconstruction-quality criterion still failed on four stress cases involving repeated component chains, long meandering variable-width traces, circular distractors near pads and two-sided transistor layouts. The probabilistic contact solver was therefore kept as an opt-in diagnostic mode rather than enabled by default; it reduced the global pin-to-pin netlist edit distance from 642 to 525 while preserving schematic export checks. The real-board trial indicates that pad and hole detection can transfer to simple photographs, with trace extraction remaining sensitive to uncontrolled illumination and weak copper contrast. The results support the use of the system as a human-in-the-loop reconstruction assistant and identify component grouping, trace-contact reasoning, real-photograph benchmarking and safe missing-edge activation as the main remaining research problems.

Authors

Institutions

Publication Details

Journal
Electronics
Published
2026-07-15
DOI
https://doi.org/10.3390/electronics15143125
Primary Topic
Industrial Vision Systems and Defect Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Vision-Based Reconstruction of Electrical Schematics from Printed Circuit Board Photographs

Kamil Maliński, Krzysztof Okarma
Electronics
Industrial Vision Systems and Defect Detection
article

Vision-Based Reconstruction of Electrical Schematics from Printed Circuit Board Photographs

Kamil Maliński, Krzysztof Okarma
article en

Abstract

Reverse engineering of printed circuit boards is still largely manual when original computer-aided design documentation is unavailable. This paper presents a semi-automatic vision-based pipeline that prepares an editable KiCad schematic draft for use in an Electronic Design Automation (EDA) workflow from paired TOP and BOTTOM board images. The method combines color-profile estimation, pad and through-hole detection, trace segmentation, optical character recognition, component inference, an explicit evidence graph and schematic export with drawn wires. A separate readability step aligns symbols to a grid and reroutes the reconstructed nets with orthogonal wires; it does not change the reconstructed netlist. The primary quantitative evaluation used twelve synthetic KiCad fixtures and three solver configurations: the default sequential pipeline, an opt-in global component solver and an opt-in probabilistic contact solver. These fixtures provide controlled regression cases and are complemented by a small exploratory acquisition trial on real photographed boards. All configurations completed all runs and passed the export round-trip validation without falling back to label-only connectivity. This round-trip check confirms consistency between the internal reconstruction and the exported schematic, but it is reported separately from electrical correctness against the KiCad reference design. The stricter reconstruction-quality criterion still failed on four stress cases involving repeated component chains, long meandering variable-width traces, circular distractors near pads and two-sided transistor layouts. The probabilistic contact solver was therefore kept as an opt-in diagnostic mode rather than enabled by default; it reduced the global pin-to-pin netlist edit distance from 642 to 525 while preserving schematic export checks. The real-board trial indicates that pad and hole detection can transfer to simple photographs, with trace extraction remaining sensitive to uncontrolled illumination and weak copper contrast. The results support the use of the system as a human-in-the-loop reconstruction assistant and identify component grouping, trace-contact reasoning, real-photograph benchmarking and safe missing-edge activation as the main remaining research problems.

ElectronicsVol. 15(14)
West Pomeranian University of Technology in Szczecin (PL)
Industry, innovation and infrastructure
Openalex Percentile: Top 8%
Industrial Vision Systems and Defect Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.