[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ Skip to main content

Advertisement

Log in

Hand-Drawn Electrical Circuit Recognition Using Object Detection and Node Recognition

  • Original Research
  • Published:
SN Computer Science Aims and scope Submit manuscript

Abstract

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
£29.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price includes VAT (United Kingdom)

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8

Similar content being viewed by others

Data Availability

A web deployment of the proposed approach is freely available at: https://share.streamlit.io/rohithreddy0087/project/main/webapp.py.

References

  1. Dey M, Mia SM, Sarkar N, Bhattacharya A, Roy S, Malakar S, Sarkar R. A two-stage CNN-based hand-drawn electrical and electronic circuit component recognition system. Neural Comput Appl. 2021. https://doi.org/10.1007/s00521-021-05964-1.

    Article  Google Scholar 

  2. Roy S, Bhattacharya A, Sarkar N, Malakar S, Sarkar R. Offline hand-drawn circuit component recognition using texture and shape-based features. Multimed Tools Appl. 2020. https://doi.org/10.1007/s11042-020-09570-6.

    Article  Google Scholar 

  3. Dewangan A. KNN based hand drawn electrical circuit recognition. Int J Res Appl Sci Eng Technol. 2018. https://doi.org/10.22214/ijraset.2018.6164.

    Article  Google Scholar 

  4. Lakshman Naika R, Dinesh R, Prabhanjan S. Handwritten electric circuit diagram recognition: an approach based on finite state machine. Int J Mach Learn Comput. 2019. https://doi.org/10.18178/ijmlc.2019.9.3.813.

    Article  Google Scholar 

  5. Sala P. A recognition system for symbols of electronic components in hand-written circuit diagrams. CSC 2515-Machine Learning Project Report. (2004). http://www.cs.toronto.edu/~psala/ML/ML-Project.pdf. Accessed 25 Apr 2022.

  6. Rabbani M, Khoshkangini R, Nagendraswamy HS, Conti M. Hand drawn optical circuit recognition. Procedia Comput Sci. 2016. https://doi.org/10.1016/j.procs.2016.04.064.

    Article  Google Scholar 

  7. Moetesum M, Waqar Younus S, Ali Warsi M, Siddiqi I. Segmentation and recognition of electronic components in hand-drawn circuit diagrams. ICST Trans Scalable Inform Syst. 2018. https://doi.org/10.4108/eai.13-4-2018.154478.

    Article  Google Scholar 

  8. Feng G, Viard-Gaudin C, Sun Z. On-line hand-drawn electric circuit diagram recognition using 2D dynamic programming. Pattern Recognit. 2009. https://doi.org/10.1016/j.patcog.2009.01.031.

    Article  MATH  Google Scholar 

  9. Edwards B, Chandran V, Machine recognition of hand-drawn circuit diagrams. In: ICASSP, IEEE International Conference on Acoustics, Speech and Signal Processing-Proceedings. (2000). https://doi.org/10.1109/ICASSP.2000.860185.

  10. Sridar S, Subramanian K, Circuit recognition using netlist. In: 2013 IEEE 2nd International Conference on Image Information Processing, IEEE ICIIP 2013. (2013). https://doi.org/10.1109/ICIIP.2013.6707591.

  11. Jocher G, Nishimura K, Mineeva T, Vilariño R, YOLOv5 (2020). https://github.com/ultralytics/yolov5. Last accessed 10 Oct 2020.

  12. Redmon J, Divvala S, Girshick R, Farhadi A, You only look once: Unified, real-time object detection. In: Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition. (2016). https://doi.org/10.1109/CVPR.2016.91.

  13. Redmon J, Farhadi A, YOLOv3: An incremental improvement. (2018). arXiv:1804.02767. Accessed 25 Apr 2022.

  14. He K, Zhang X, Ren S, Sun J, Deep residual learning for image recognition. In: Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition. (2016). https://doi.org/10.1109/CVPR.2016.90.

  15. Redmon J, Darknet: Open source neural networks in c. http://pjreddie.com/darknet/. Last accessed 25 Apr 2022

  16. Wang CY, Mark Liao HY, Wu YH, Chen PY, Hsieh JW, Yeh IH, CSPNet: a new backbone that can enhance learning capability of CNN. In: IEEE Computer Society Conference on Computer Vision and Pattern Recognition Workshops. (2020). https://doi.org/10.1109/CVPRW50498.2020.00203.

  17. Wang K, Liew JH, Zou Y, Zhou D, Feng J, PANet: few-shot image semantic segmentation with prototype alignment. In: Proceedings of the IEEE International Conference on Computer Vision. (2019). https://doi.org/10.1109/ICCV.2019.00929.

  18. Liu W, Anguelov D, Erhan D, Szegedy C, Reed S, Fu CY, Berg AC, SSD: single shot multibox detector. In: Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics). (2016). https://doi.org/10.1007/978-3-319-46448-0_2.

  19. Simonyan K, Zisserman A, Very deep convolutional networks for large-scale image recognition. In: 3rd International Conference on Learning Representations, ICLR 2015-Conference Track Proceedings. (2015).

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Mahesh Raveendranatha Panicker.

Ethics declarations

Conflict of Interest

The authors declare that they have no conflict of interest.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Rachala, R.R., Panicker, M.R. Hand-Drawn Electrical Circuit Recognition Using Object Detection and Node Recognition. SN COMPUT. SCI. 3, 244 (2022). https://doi.org/10.1007/s42979-022-01159-0

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s42979-022-01159-0

Keywords

Navigation