Hand-Drawn Electrical Circuit Recognition using Object Detection and Node Recognition
With the recent developments in neural networks, there has been a resurgence in algorithms for the automatic generation of simulation ready electronic circuits from hand-drawn circuits. However, most of the approaches in the literature were confined to classify different types of electrical components. Only a few of those methods have shown a way to rebuild the circuit schematic from the scanned image, which is extremely important for further automation of netlist generation. This paper proposes (1) a real-time algorithm for the automatic recognition of hand-drawn electronic circuits and (2) subsequently rebuild the circuit schematic based on object detection and circuit node recognition. The automatic recognition employs light weight and popular you only look once version 5 (YOLOv5) for detection of circuit components and a novel Hough transform-based approach for node recognition. Using YOLOv5 object detection algorithm, a mean average precision (mAP0.5) of 98.2% is achieved in detecting the components. The proposed method is also able to rebuild the circuit schematic with 80% accuracy with a near-real-time performance of 0.33 s per schematic generation.
|Journal||Data powered by TypesetComputer Science|
|Publisher||Data powered by TypesetSpringer Nature|