Decoding Technical Diagrams: A Survey of AI Methods for Image Content Extraction and Understanding
Abstract
1. Introduction
2. Survey Methodology
2.1. Eligibility Criteria
2.2. Information Sources and Search Strategy
2.3. Selection Process
2.4. Data Extraction and Quality Assessment
2.5. Synthesis Methods and Bibliometric Analysis
3. Background
3.1. Early Image Content Extraction Approaches
- 1.
- Preprocessing involves noise reduction, binarization, and skew correction to enhance image quality.
- 2.
- Segmentation separates text regions from non-text elements, and individual characters or words are isolated.
- 3.
- Feature Extraction identifies key characteristics of each symbol, such as edges, corners, and stroke widths.
- 4.
- Classification and Recognition compares the features to already trained character models to output machine-readable text.
- 5.
- Post-Processing is often utilized by modern OCR systems to correct recognition errors using language models.
- Edge Detection or Contour Extraction is utilized to identify shape boundaries.
- Shape Description computes area, perimeter, or moments.
- Feature Matching uses template matching or feature descriptor techniques.
- Classification maps the detected shapes to predefined categories.
- Convolutional layers apply a series of learnable filters or kernels that perform convolutional operations over the input image. These filters detect edges, textures, and color gradients.
- Pooling layers perform a down-sampling operation on the feature maps, reducing their spatial dimensions while retaining the significant information.
- Fully Connected (FC) layers operate after the feature maps are flattened into a one-dimensional feature vector. Flattening converts the multidimensional feature maps into a single continuous vector. These layers integrate the extracted features and compute the final prediction.
3.2. Existing Evaluation Approaches for Content Extraction Methods
4. Diagram Analysis
4.1. Analysis Overview
- 1.
- Inspiration, which covers the foundational ideas that influenced the study;
- 2.
- Techniques, where we explore specific methods and tools used in the research, along with their results; as well as
- 3.
- Future directions, which outline the areas the authors wish to enhance or explore further.
4.2. Common Pipeline Architecture Across Diagram Types
- 1.
- Image Preprocessing—Grayscale conversion, noise reduction, binarization, morphological operations (dilation, erosion), and image enhancement techniques such as Gaussian sharpening.
- 2.
- Object/Shape Detection—Identification of diagram components using CNNs, YOLO variants, Faster R-CNN, or traditional computer vision methods.
- 3.
- Text Extraction—OCR-based text recognition using Tesseract, EasyOCR, PaddleOCR, CRAFT, or TrOCR.
- 4.
- Relationship/Semantic Integration—Analysis of spatial relationships, connection detection (lines, arrows), graph construction, and semantic interpretation.
- 5.
- Output Generation—Conversion to structured representations (graphs, netlists, pseudocode, PlantUML, or natural language descriptions).

4.3. Flowchart Analysis
4.3.1. Review of Identified Papers

4.3.2. Flowchart Review Summary
4.4. Block Diagram Analysis and UML Diagram Analysis
4.4.1. Review of Identified Block Diagram Papers
4.4.2. Block Diagram Review Summary
4.4.3. Review of Identified UML Diagram Papers
4.4.4. UML Diagram Review Summary
4.5. Electrical Circuit Diagram Analysis
4.5.1. Review of Identified Papers

4.5.2. Electrical Circuit Diagram Review Summary
4.6. Timing Diagram Analysis
4.6.1. Review of Identified Papers
4.6.2. Timing Diagram Review Summary
4.7. Comparative Observations and Summary Across Illustration Types
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Arslan, M.; Ghanem, H.; Munawar, S.; Cruz, C. A Survey on RAG with LLMs. Procedia Comput. Sci. 2024, 246, 3781–3790. [Google Scholar] [CrossRef] [Scilit]
- Haddaway, N.R.; Page, M.J.; Pritchard, C.C.; McGuinness, L.A. PRISMA2020: An R package and Shiny app for producing PRISMA 2020-compliant flow diagrams, with interactivity for optimised digital transparency and Open Synthesis. Campbell Syst. Rev. 2022, 18, e1230. [Google Scholar] [CrossRef] [Scilit]
- Jamieson, L.; Moreno-García, C.F.; Elyan, E. A review of deep learning methods for digitisation of complex documents and engineering diagrams. Artif. Intell. Rev. 2024, 57, 136. [Google Scholar] [CrossRef] [Scilit]
- Mittal, R.; Garg, A. Text extraction using OCR: A Systematic Review. In Proceedings of the 2020 Second International Conference on Inventive Research in Computing Applications (ICIRCA), Coimbatore, India, 15–17 July 2020; pp. 357–362. [Google Scholar] [CrossRef] [Scilit]
- Kumar, G.; Bhatia, P.K. A Detailed Review of Feature Extraction in Image Processing Systems. In Proceedings of the 2014 Fourth International Conference on Advanced Computing & Communication Technologies, Rohtak, India, 8–9 February 2014; pp. 5–12. [Google Scholar] [CrossRef] [Scilit]
- Yamashita, R.; Nishio, M.; Do, R.K.G.; Togashi, K. Convolutional neural networks: An overview and application in radiology. Insights Imaging 2018, 9, 611–629. [Google Scholar] [PubMed]
- Sherstinsky, A. Fundamentals of recurrent neural network (RNN) and long short-term memory (LSTM) network. Phys. D Nonlinear Phenom. 2020, 404, 132306. [Google Scholar] [CrossRef] [Scilit]
- Demiss, B.A.; Elsaigh, W.A. Application of novel hybrid deep learning architectures combining convolutional neural networks (CNN) and recurrent neural networks (RNN): Construction duration estimates prediction considering preconstruction uncertainties. Eng. Res. Express 2024, 6, 032102. [Google Scholar] [CrossRef] [Scilit]
- Han, K.; Wang, Y.; Chen, H.; Chen, X.; Guo, J.; Liu, Z.; Tang, Y.; Xiao, A.; Xu, C.; Xu, Y.; et al. A Survey on Vision Transformer. IEEE Trans. Pattern Anal. Mach. Intell. 2023, 45, 87–110. [Google Scholar] [CrossRef] [Scilit]
- Li, M.; Lv, T.; Chen, J.; Cui, L.; Lu, Y.; Florencio, D.; Zhang, C.; Li, Z.; Wei, F. Trocr: Transformer-based optical character recognition with pre-trained models. In Proceedings of the AAAI Conference on Artificial Intelligence, Washington, DC, USA, 7–14 February 2023; Volume 37, pp. 13094–13102. [Google Scholar]
- Shao, T.; Guo, Y.; Chen, H.; Hao, Z. Transformer-based neural network for answer selection in question answering. IEEE Access 2019, 7, 26146–26156. [Google Scholar] [CrossRef] [Scilit]
- Lin, C.Y. Rouge: A package for automatic evaluation of summaries. In Text Summarization Branches Out; Association for Computational Linguistics: Barcelona, Spain, 2004; pp. 74–81. [Google Scholar]
- Saadany, H.; Orasan, C. BLEU, METEOR, BERTScore: Evaluation of metrics performance in assessing critical translation errors in sentiment-oriented text. arXiv 2021, arXiv:2109.14250. [Google Scholar] [CrossRef] [Scilit]
- Reiter, E. A structured review of the validity of BLEU. Comput. Linguist. 2018, 44, 393–401. [Google Scholar] [CrossRef] [Scilit]
- Ren, S.; Guo, D.; Lu, S.; Zhou, L.; Liu, S.; Tang, D.; Sundaresan, N.; Zhou, M.; Blanco, A.; Ma, S. Codebleu: A method for automatic evaluation of code synthesis. arXiv 2020, arXiv:2009.10297. [Google Scholar] [CrossRef] [Scilit]
- Sellam, T.; Das, D.; Parikh, A.P. BLEURT: Learning robust metrics for text generation. arXiv 2020, arXiv:2004.04696. [Google Scholar] [CrossRef] [Scilit]
- Yang, M.; Zhu, J.; Li, J.; Wang, L.; Qi, H.; Li, S.; Daxin, L. Extending BLEU Evaluation Method with Linguistic Weight. In Proceedings of the 2008 The 9th International Conference for Young Computer Scientists, Zhang Jia Jie, China, 18–21 November 2008; pp. 1683–1688. [Google Scholar] [CrossRef] [Scilit]
- Henderson, P.; Ferrari, V. End-to-end training of object class detectors for mean average precision. In Proceedings of the Asian Conference on Computer Vision; Springer: Berlin/Heidelberg, Germany, 2016; pp. 198–213. [Google Scholar]
- Hicks, S.A.; Strümke, I.; Thambawita, V.; Hammou, M.; Riegler, M.A.; Halvorsen, P.; Parasa, S. On evaluation metrics for medical applications of artificial intelligence. Sci. Rep. 2022, 12, 5979. [Google Scholar] [CrossRef] [Scilit]
- Rezatofighi, H.; Tsoi, N.; Gwak, J.; Sadeghian, A.; Reid, I.; Savarese, S. Generalized intersection over union: A metric and a loss for bounding box regression. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA, 15–20 June 2019; pp. 658–666. [Google Scholar]
- Leena, C.; Ganesh, M. Generating Graph from 2D Flowchart using Region-Based Segmentation. In Proceedings of the 2020 IEEE International Students’ Conference on Electrical, Electronics and Computer Science (SCEECS), Bhopal, India, 22–23 February 2020; pp. 1–5. [Google Scholar] [CrossRef] [Scilit]
- Vasudevan, B.G.; Dhanapanichkul, S.; Balakrishnan, R. Flowchart knowledge extraction on image processing. In Proceedings of the 2008 IEEE International Joint Conference on Neural Networks (IEEE World Congress on Computational Intelligence), Hong Kong, China, 1–8 June 2008; pp. 4075–4082. [Google Scholar] [CrossRef] [Scilit]
- Herrera-Camara, J.I.; Hammond, T. Flow2Code: From hand-drawn flowcharts to code execution. In Proceedings of the Symposium on Sketch-Based Interfaces and Modeling, Angeles, CA, USA, 29–30 June 2017; pp. 1–13. [Google Scholar]
- Bangare, S.L.; Dubal, A.; Bangare, P.S.; Patil, S. Reviewing Otsu’s method for image thresholding. Int. J. Appl. Eng. Res. 2015, 10, 21777–21783. [Google Scholar] [CrossRef] [Scilit]
- Gould, S.; Gao, T.; Koller, D. Region-based segmentation and object detection. In Advances in Neural Information Processing Systems; Bengio, Y., Schuurmans, D., Lafferty, J., Williams, C.K.I., Culotta, A., Eds.; Curran Associates, Inc.: Red Hook, NY, USA, 2009; Volume 22, pp. 655–663. [Google Scholar]
- Mohamad, M.; Saman, M.Y.M.; Hitam, M.S.; Telipot, M. A review on OpenCV. Teren. Univ. Malays. Teren. 2015, 3, 1. [Google Scholar]
- Cheng, L.; Yang, Z. GRCNN: Graph Recognition Convolutional Neural Network for synthesizing programs from flow charts. arXiv 2020, arXiv:2011.05980. [Google Scholar] [CrossRef] [Scilit]
- Gulwani, S. Automating string processing in spreadsheets using input-output examples. ACM Sigplan Not. 2011, 46, 317–330. [Google Scholar] [CrossRef] [Scilit]
- Gansner, E.R. Drawing Graphs with Graphviz; Technical Report; AT&T Bell Laboratories: Murray, Murray Hill, NJ, USA, 2009. [Google Scholar]
- Chakraborty, S.; Paul, S.; Masudul Ahsan, S.M. A Novel Approach to Rapidly Generate Document from Hand Drawn Flowcharts. In Proceedings of the 2020 IEEE Region 10 Symposium (TENSYMP), Dhaka, Bangladesh, 5–7 June 2020; pp. 702–705. [Google Scholar] [CrossRef] [Scilit]
- Vogel, M.; Warnecke, T.; Bartelt, C.; Rausch, A. Scribbler—Drawing models in a creative and collaborative environment: From hand-drawn sketches to domain specific models and vice versa. In Proceedings of the Fifteenth Australasian User Interface Conference-Volume 150, Auckland, New Zealand, 20–23 January 2014; pp. 93–94. [Google Scholar]
- Meng, W.K. Development of Program Flowchart Drawing Tool; Technical Report; Universiti Tunku Abdul Rahman: Kampar, Malaysia, 2016. [Google Scholar]
- Douglas, D.H.; Peucker, T.K. Algorithms for the reduction of the number of points required to represent a digitized line or its caricature. Ramer-douglas-peucker algorithm. Cartogr. Int. J. Geogr. Inf. Geovisualization 1973, 10, 112–122. [Google Scholar]
- Scheidl, H.; Fiel, S.; Sablatnig, R. Word beam search: A connectionist temporal classification decoding algorithm. In Proceedings of the 2018 16th International Conference on Frontiers in Handwriting Recognition (ICFHR), Niagara Falls, NY, USA, 5–8 August 2018; pp. 253–258. [Google Scholar]
- Chakraborti, A.; Naik, A.; Pansare, A.; Pant, U. Extracting Flowchart Features into a Structured Representation; Technical Report; Mukesh Patel School of Technology Management and Engineering: Mumbai, India, 2020. [Google Scholar]
- Chen, Q.; Shi, D.; Feng, G.; Zhao, X.; Luo, B. On-line handwritten flowchart recognition based on logical structure and graph grammar. In Proceedings of the 2015 5th International Conference on Information Science and Technology (ICIST), Changsha, China, 24–26 April 2015; pp. 424–429. [Google Scholar] [CrossRef] [Scilit]
- Supaartagorn, C. Web application for automatic code generator using a structured flowchart. In Proceedings of the 2017 8th IEEE International Conference on Software Engineering and Service Science (ICSESS), Beijing, China, 24–26 November 2017; pp. 114–117. [Google Scholar]
- Adarsh, P.; Rathi, P.; Kumar, M. YOLO v3-Tiny: Object Detection and Recognition using one stage improved model. In Proceedings of the 2020 6th International Conference on Advanced Computing and Communication Systems (ICACCS), Coimbatore, India, 6–7 March 2020; pp. 687–694. [Google Scholar] [CrossRef] [Scilit]
- Omar, Z.M.; Ibrahim, J. An overview of Darknet, rise and challenges and its assumptions. Int. J. Comput. Sci. Inf. Technol. 2020, 8, 110–116. [Google Scholar]
- Pebrianto, W.; Mudjirahardjo, P.; Pramono, S.H.; Setyawan, R.A. YOLOv3 with spatial pyramid pooling for object detection with unmanned aerial vehicles. arXiv 2023, arXiv:2305.12344. [Google Scholar] [CrossRef] [Scilit]
- Liu, Z.; Hu, X.; Zhou, D.; Li, L.; Zhang, X.; Xiang, Y. Code generation from flowcharts with texts: A benchmark dataset and an approach. In Proceedings of the Findings of the Association for Computational Linguistics: EMNLP 2022, Abu Dhabi, United Arab Emirates, 7–11 December 2022; pp. 6069–6077. [Google Scholar]
- Carlisle, M.C.; Wilson, T.A.; Humphries, J.W.; Hadfield, S.M. Raptor: Introducing programming to non-majors with flowcharts. J. Comput. Sci. Coll. 2004, 19, 52–60. [Google Scholar]
- Alizadegan, H.; Rashidi Malki, B.; Radmehr, A.; Karimi, H.; Ilani, M.A. Comparative study of long short-term memory (LSTM), bidirectional LSTM, and traditional machine learning approaches for energy consumption prediction. Energy Explor. Exploit. 2025, 43, 281–301. [Google Scholar] [CrossRef] [Scilit]
- Vrahatis, A.G.; Lazaros, K.; Kotsiantis, S. Graph attention networks: A comprehensive review of methods and applications. Future Internet 2024, 16, 318. [Google Scholar] [CrossRef] [Scilit]
- Yin, P.; Neubig, G. TRANX: A transition-based neural abstract syntax parser for semantic parsing and code generation. arXiv 2018, arXiv:1810.02720. [Google Scholar] [CrossRef] [Scilit]
- Khan, S.; Naseer, M.; Hayat, M.; Zamir, S.W.; Khan, F.S.; Shah, M. Transformers in vision: A survey. ACM Comput. Surv. (CSUR) 2022, 54, 1–41. [Google Scholar] [CrossRef] [Scilit]
- Shukla, S.; Gatti, P.; Kumar, Y.; Yadav, V.; Mishra, A. Towards making flowchart images machine interpretable. In Proceedings of the International Conference on Document Analysis and Recognition; Springer: Berlin/Heidelberg, Germany, 2023; pp. 505–521. [Google Scholar]
- Tannert, S.; Feighelstein, M.G.; Bogojeska, J.; Shtok, J.; Arbelle, A.; Staar, P.W.; Schumann, A.; Kuhn, J.; Karlinsky, L. FlowchartQA: The first large-scale benchmark for reasoning over flowcharts. In Proceedings of the 1st Workshop on Linguistic Insights from and for Multimodal Language Processing; Association for Computational Lingustics: Ingolstadt, Germany, 2023; pp. 34–46. [Google Scholar]
- Devlin, J.; Chang, M.W.; Lee, K.; Toutanova, K. Bert: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), Minneapolis, MN, USA, 2–7 June 2019; pp. 4171–4186. [Google Scholar]
- Montellano, C.D.B.; Garcia, C.; Leija, R.O.C. Recognition of handwritten flowcharts using convolutional neural networks. Int. J. Comput. Appl. 2022, 184, 37–41. [Google Scholar] [CrossRef] [Scilit]
- Mukhopadhyay, P.; Chaudhuri, B.B. A survey of Hough Transform. Pattern Recognit. 2015, 48, 993–1010. [Google Scholar] [CrossRef] [Scilit]
- Wang, Y.; Wang, W.; Joty, S.; Hoi, S.C. Codet5: Identifier-aware unified pre-trained encoder-decoder models for code understanding and generation. arXiv 2021, arXiv:2109.00859. [Google Scholar]
- Baek, Y.; Lee, B.; Han, D.; Yun, S.; Lee, H. Character region awareness for text detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA, 15–20 June 2019; pp. 9365–9374. [Google Scholar]
- Darda, A.; Jain, R. Code Generation from Flowchart using Optical Character Recognition & Large Language Model. Authorea Prepr. 2024. [Google Scholar] [CrossRef] [Scilit]
- Ghosh, S.; Pratihar, S.; Chatterji, S.; Basu, A. Matching of hand-drawn flowchart, pseudocode, and english description using transfer learning. Multimed. Tools Appl. 2023, 82, 27027–27055. [Google Scholar] [CrossRef] [Scilit]
- Ray, S.; Herrera-Cámara, J.I.; Runyon, M.; Hammond, T. Flow2code: Transforming hand-drawn flowcharts into executable code to enhance learning. In Inspiring Students with Digital Ink: Impact of Pen and Touch on Education; Springer: Berlin/Heidelberg, Germany, 2019; pp. 79–103. [Google Scholar]
- Touvron, H.; Martin, L.; Stone, K.; Albert, P.; Almahairi, A.; Babaei, Y.; Bashlykov, N.; Batra, S.; Bhargava, P.; Bhosale, S.; et al. Llama 2: Open foundation and fine-tuned chat models. arXiv 2023, arXiv:2307.09288. [Google Scholar] [CrossRef] [Scilit]
- Reimers, N.; Gurevych, I. Sentence-bert: Sentence embeddings using siamese bert-networks. arXiv 2019, arXiv:1908.10084. [Google Scholar] [CrossRef] [Scilit]
- Sanh, V.; Debut, L.; Chaumond, J.; Wolf, T. DistilBERT, a distilled version of BERT: Smaller, faster, cheaper and lighter. arXiv 2019, arXiv:1910.01108. [Google Scholar]
- Miyao, H.; Maruyama, R. On-Line Handwritten flowchart Recognition, Beautification and Editing System. In Proceedings of the 2012 International Conference on Frontiers in Handwriting Recognition, Bari, Italy, 18–20 September 2012; pp. 83–88. [Google Scholar] [CrossRef] [Scilit]
- Yun, X.L.; Zhang, Y.M.; Yin, F.; Liu, C.L. Instance GNN: A Learning Framework for Joint Symbol Segmentation and Recognition in Online Handwritten Diagrams. IEEE Trans. Multimed. 2022, 24, 2580–2594. [Google Scholar] [CrossRef] [Scilit]
- Ye, J.; Dash, A.; Yin, W.; Wang, G. Beyond end-to-end vlms: Leveraging intermediate text representations for superior flowchart understanding. In Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), Albuquerque, NM, USA, 29 April–4 May 2025; pp. 3534–3548. [Google Scholar]
- Omasa, T.; Koshihara, R.; Morishige, M. Arrow-Guided VLM: Enhancing Flowchart Understanding via Arrow Direction Encoding. arXiv 2025, arXiv:2505.07864. [Google Scholar] [CrossRef] [Scilit]
- Soman, S.; Ranjani, H.; Roychowdhury, S.; Sastry, V.D.S.N.; Jain, A.; Gangrade, P.; Khan, A. A Graph-based Approach for Multi-Modal Question Answering from Flowcharts in Telecom Documents. arXiv 2025, arXiv:2507.22938. [Google Scholar]
- Pan, H.; Zhang, Q.; Caragea, C.; Dragut, E.; Latecki, L.J. Flowlearn: Evaluating large vision-language models on flowchart understanding. arXiv 2024, arXiv:2407.05183. [Google Scholar]
- Singh, S.; Chaurasia, P.; Varun, Y.; Pandya, P.; Gupta, V.; Gupta, V.; Roth, D. FlowVQA: Mapping multimodal logic in visual question answering with flowcharts. arXiv 2024, arXiv:2406.19237. [Google Scholar] [CrossRef] [Scilit]
- Anthropic. Introducing Claude 3.5 Sonnet. 2024. Available online: https://www.anthropic.com/news/claude-3-5-sonnet (accessed on 16 October 2024).
- OpenAI. Hello GPT-4o. 2024. Available online: https://openai.com/index/hello-gpt-4o/ (accessed on 16 October 2024).
- Wang, P.; Bai, S.; Tan, S.; Wang, S.; Fan, Z.; Bai, J.; Chen, K.; Liu, X.; Wang, J.; Ge, W.; et al. Qwen2-vl: Enhancing vision-language model’s perception of the world at any resolution. arXiv 2024, arXiv:2409.12191. [Google Scholar]
- Arbaz, A.; Fan, H.; Ding, J.; Qiu, M.; Feng, Y. GenFlowchart: Parsing and understanding flowchart using generative AI. In Proceedings of the International Conference on Knowledge Science, Engineering and Management; Springer: Berlin/Heidelberg, Germany, 2024; pp. 99–111. [Google Scholar]
- Wu, X.H.; Qu, M.C.; Liu, Z.Q.; Li, J.Z. A code automatic generation algorithm based on structured flowchart. Appl. Math. 2012, 6, 1S–8S. [Google Scholar]
- Raghu, D.; Agarwal, S.; Joshi, S.; Mausam. End-to-end learning of flowchart grounded task-oriented dialogs. arXiv 2021, arXiv:2109.07263. [Google Scholar]
- Kirillov, A.; Mintun, E.; Ravi, N.; Mao, H.; Rolland, C.; Gustafson, L.; Xiao, T.; Whitehead, S.; Berg, A.C.; Lo, W.Y.; et al. Segment anything. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Paris, France, 1–6 October 2023; pp. 4015–4026. [Google Scholar]
- Mikolov, T.; Sutskever, I.; Chen, K.; Corrado, G.S.; Dean, J. Distributed representations of words and phrases and their compositionality. In Advances in Neural Information Processing Systems; Burges, C.J., Bottou, L., Welling, M., Ghahramani, Z., Weinberger, K.Q., Eds.; Curran Associates, Inc.: Red Hook, NY, USA, 2013; Volume 26. [Google Scholar]
- Sun, L.; Du, H.; Hou, T. FR-DETR: End-to-End Flowchart Recognition With Precision and Robustness. IEEE Access 2022, 10, 64292–64301. [Google Scholar] [CrossRef] [Scilit]
- Carion, N.; Massa, F.; Synnaeve, G.; Usunier, N.; Kirillov, A.; Zagoruyko, S. End-to-end object detection with transformers. In Proceedings of the European Conference on Computer Vision; Springer: Berlin/Heidelberg, Germany, 2020; pp. 213–229. [Google Scholar]
- Xu, Y.; Xu, W.; Cheung, D.; Tu, Z. Line segment detection using transformers without edges. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Nashville, TN, USA, 20–25 June 2021; pp. 4257–4266. [Google Scholar]
- Bresler, M.; Prua, D.; Hlavác, V. Modeling flowchart structure recognition as a max-sum problem. In Proceedings of the 2013 12th International Conference on Document Analysis and Recognition, Washington, DC, USA, 25–28 August 2013; pp. 1215–1219. [Google Scholar]
- He, K.; Zhang, X.; Ren, S.; Sun, J. Deep residual learning for image recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA, 27–30 June 2016; pp. 770–778. [Google Scholar]
- Awal, A.M.; Feng, G.; Mouchere, H.; Viard-Gaudin, C. First experiments on a new online handwritten flowchart database. In Proceedings of the Document Recognition and Retrieval XVIII, San Francisco, CA, USA, 23–27 January 2011; Volume 7874, pp. 81–90. [Google Scholar]
- Bresler, M.; Průša, D.; Hlaváč, V. Online recognition of sketched arrow-connected diagrams. Int. J. Doc. Anal. Recognit. (IJDAR) 2016, 19, 253–267. [Google Scholar] [CrossRef] [Scilit]
- Bresler, M.; Van Phan, T.; Prusa, D.; Nakagawa, M. Recognition system for on-line sketched diagrams. In Proceedings of the 2014 14th International Conference on Frontiers in Handwriting Recognition, Crete, Greece, 1–4 September 2014; pp. 563–568. [Google Scholar]
- Wang, H.; Gao, S.; Zhang, X. A method for analyzing handwritten program flowchart based on detection transformer and logic rules. Int. J. Doc. Anal. Recognit. (IJDAR) 2025, 28, 487–504. [Google Scholar] [CrossRef] [Scilit]
- Bresler, M.; Průša, D.; Hlaváč, V. Recognizing Off-Line Flowcharts by Reconstructing Strokes and Using On-Line Recognition Techniques. In Proceedings of the 2016 15th International Conference on Frontiers in Handwriting Recognition (ICFHR), Shenzhen, China, 23–26 October 2016; pp. 48–53. [Google Scholar] [CrossRef] [Scilit]
- Ye, M.; Zhang, J.; Zhao, S.; Liu, J.; Du, B.; Tao, D. Dptext-detr: Towards better scene text detection with dynamic points in transformer. In Proceedings of the AAAI Conference on Artificial Intelligence, Washington, DC, USA, 7–14 February 2023; Volume 37, pp. 3241–3249. [Google Scholar]
- Johri, A.; Sharma, S.; Chaudhary, V.; Raj, G.; Khurana, S. Analysis & Modeling of Deep Learning Techniques for Flowchart to Code Generation. In Proceedings of the 2025 International Conference on Networks and Cryptology (NETCRYPT), New Delhi, India, 29–31 May 2025; pp. 578–583. [Google Scholar] [CrossRef] [Scilit]
- Otto, B.; Aidarkhan, A.; Ristin, M.; Braunisch, N.; Diedrich, C.; van de Venn, H.W.; Wollschlaeger, M. Code and Test Generation for I4.0 State Machines with LLM-based Diagram Recognition. In Proceedings of the 2025 IEEE 21st International Conference on Factory Communication Systems (WFCS), Rostock, Germany, 10–13 June 2025; pp. 1–8. [Google Scholar] [CrossRef] [Scilit]
- Carton, C.; Lemaitre, A.; Coüasnon, B. Fusion of statistical and structural information for flowchart recognition. In Proceedings of the 2013 12th International Conference on Document Analysis and Recognition, Washington, DC, USA, 25–28 August 2013; pp. 1210–1214. [Google Scholar]
- Lemaitre, A.; Mouchere, H.; Camillerapp, J.; Coüasnon, B. Interest of syntactic knowledge for on-line flowchart recognition. In International Workshop on Graphics Recognition; Springer: Berlin/Heidelberg, Germany, 2011; pp. 89–98. [Google Scholar]
- Suri, M.; Mathur, P.; Lipka, N.; Dernoncourt, F.; Rossi, R.A.; Gupta, V.; Manocha, D. Follow the Flow: Fine-grained Flowchart Attribution with Neurosymbolic Agents. arXiv 2025, arXiv:2506.01344. [Google Scholar] [CrossRef] [Scilit]
- Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, Ł.; Polosukhin, I. Attention is all you need. In Advances in Neural Information Processing Systems; Guyon, I., Von Luxburg, U., Bengio, S., Wallach, H., Fergus, R., Vishwanathan, S., Garnett, R., Eds.; Curran Associates, Inc.: Red Hook, NY, USA, 2017; Volume 30. [Google Scholar]
- Schäfer, B.; Keuper, M.; Stuckenschmidt, H. Arrow R-CNN for handwritten diagram recognition. Int. J. Doc. Anal. Recognit. 2021, 24, 3–17. [Google Scholar] [CrossRef] [Scilit]
- Xu, X.; Jiang, Y.; Chen, W.; Huang, Y.; Zhang, Y.; Sun, X. Damo-yolo: A report on real-time object detection design. arXiv 2022, arXiv:2211.15444. [Google Scholar]
- Lewis, D.; Agam, G.; Argamon, S.; Frieder, O.; Grossman, D.; Heard, J. Building a test collection for complex document information processing. In Proceedings of the 29th Annual International ACM SIGIR Conference on Research and Development in Information Retrieval, Seattle, WA, USA, 6–11 August 2006; pp. 665–666. [Google Scholar]
- Abu-Aisheh, Z.; Raveaux, R.; Ramel, J.Y.; Martineau, P. An exact graph edit distance algorithm for solving pattern recognition problems. In Proceedings of the 4th International Conference on Pattern Recognition Applications and Methods 2015, Lisbon, Portugal, 10–12 January 2015. [Google Scholar]
- Holm, H. Bidirectional Encoder Representations from Transformers (Bert) for Question Answering in the Telecom Domain: Adapting a Bert-like Language Model to the Telecom Domain Using the Electra Pre-Training Approach. Master’s Thesis, KTH Royal Institute of Technology, Stockholm, Sweden, 2021. Available online: https://urn.kb.se/resolve?urn=urn:nbn:se:kth:diva-301313 (accessed on 16 November 2025).
- Xiao, S.; Liu, Z.; Zhang, P.; Muennighoff, N.; Lian, D.; Nie, J.Y. C-pack: Packed resources for general chinese embeddings. In Proceedings of the 47th International ACM SIGIR Conference on Research and Development in Information Retrieval, Washington DC, USA, 14–18 July 2024; pp. 641–649. [Google Scholar]
- Guernsey, G. Harnessing Large Language Models for Automated Software Diagram Generation. Master’s Thesis, University of Cincinnati, Cincinnati, OH, USA, 2025. [Google Scholar]
- Fill, H.G.; Fettke, P.; Köpke, J. Conceptual modeling and large language models: Impressions from first experiments with ChatGPT. Enterp. Model. Inf. Syst. Archit. (EMISAJ) 2023, 18, 1–15. [Google Scholar]
- Conrardy, A.; Cabot, J. From image to uml: First results of image based uml diagram generation using llms. arXiv 2024, arXiv:2404.11376. [Google Scholar] [CrossRef] [Scilit]
- Thomas, R.; Webb, B. Architectural views, 2023. In Lecture Notes in Software Engineering; University of Queensland: Brisbane, Australia, 2023; Last updated 21 February 2025. [Google Scholar]
- Yan, X.; Liu, Y.; Chen, Z.; Wang, J. Challenges and advancements in recurrent neural networks for sequential data modeling. J. Mach. Learn. Res. 2023, 42, 123–145. [Google Scholar]
- Mann, B.; Ryder, N.; Subbiah, M.; Kaplan, J.; Dhariwal, P.; Neelakantan, A.; Shyam, P.; Sastry, G.; Askell, A.; Agarwal, S.; et al. Language models are few-shot learners. arXiv 2020, arXiv:2005.14165. [Google Scholar]
- Pawar, S.S. Automated Code Generation from Flowcharts: A Multimodal Deep Learning Framework for Accurate Translation and Debugging. Master’s Thesis, Texas Tech University, Lubbock, TX, USA, 2025. [Google Scholar]
- Yuan, Z.; Pan, H.; Zhang, L. A novel pen-based flowchart recognition system for programming teaching. In Proceedings of the Workshop on Blended Learning; Springer: Berlin/Heidelberg, Germany, 2008; pp. 55–64. [Google Scholar]
- Hussein, B.M.; Salah, A. A Framework for Model-Based Code Generation from a Flowchart. Int. J. Comput. Acad. Res. 2013, 2, 167–181. [Google Scholar]
- Bhushan, S.; Lee, M. Block diagram-to-text: Understanding block diagram images by generating natural language descriptors. In Proceedings of the Findings of the Association for Computational Linguistics: AACL-IJCNLP 2022, Taipei, Taiwan, 20–23 November 2022; pp. 153–168. [Google Scholar]
- Balaji, A.; Ramanathan, T.; Sonathi, V. Chart-text: A fully automated chart image descriptor. arXiv 2018, arXiv:1812.10636. [Google Scholar] [CrossRef] [Scilit]
- Lin, T.Y.; Dollár, P.; Girshick, R.; He, K.; Hariharan, B.; Belongie, S. Feature pyramid networks for object detection. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA, 21–26 July 2017; pp. 2117–2125. [Google Scholar]
- Szegedy, C.; Ioffe, S.; Vanhoucke, V.; Alemi, A. Inception-v4, inception-resnet and the impact of residual connections on learning. In Proceedings of the AAAI Conference on Artificial Intelligence, San Francisco, CA, USA, 4–9 February 2017; Volume 31. [Google Scholar]
- Raffel, C.; Shazeer, N.; Roberts, A.; Lee, K.; Narang, S.; Matena, M.; Zhou, Y.; Li, W.; Liu, P.J. Exploring the limits of transfer learning with a unified text-to-text transformer. J. Mach. Learn. Res. 2020, 21, 1–67. [Google Scholar]
- Gardent, C.; Shimorina, A.; Narayan, S.; Perez-Beltrachini, L. The WebNLG challenge: Generating text from RDF data. In Proceedings of the 10th International Conference on Natural Language Generation. ACL Anthology, Santiago de Compostela, Spain, 4–7 September 2017; pp. 124–133. [Google Scholar]
- Bhushan, S.; Jung, E.S.; Lee, M. Unveiling the Power of Integration: Block Diagram Summarization through Local-Global Fusion. In Findings of the Association for Computational Linguistics ACL 2024; Ku, L.W., Martins, A., Srikumar, V., Eds.; Association for Computational Linguistics: Bangkok, Thailand, 2024; pp. 13837–13856. [Google Scholar] [CrossRef] [Scilit]
- Liu, Z.; Lin, Y.; Cao, Y.; Hu, H.; Wei, Y.; Zhang, Z.; Lin, S.; Guo, B. Swin transformer: Hierarchical vision transformer using shifted windows. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Montreal, QC, Canada, 11–17 October 2021; pp. 10012–10022. [Google Scholar]
- Chen, F.; Zhang, L.; Lian, X.; Niu, N. Automatically recognizing the semantic elements from UML class diagram images. J. Syst. Softw. 2022, 193, 111431. [Google Scholar] [CrossRef] [Scilit]
- Karasneh, B.; Chaudron, M.R. Extracting UML models from images. In Proceedings of the 2013 5th International Conference on Computer Science and Information Technology, Amman, Jordan, 27–28 March 2013; pp. 169–178. [Google Scholar]
- Ho-Quang, T.; Chaudron, M.R.; Samúelsson, I.; Hjaltason, J.; Karasneh, B.; Osman, H. Automatic classification of UML class diagrams from images. In Proceedings of the 2014 21st Asia-Pacific Software Engineering Conference, Jeju, South Korea, 1–4 December 2014; Volume 1, pp. 399–406. [Google Scholar]
- El-Salamony, M.; Guaily, A. Enhanced modified-polygon method for point-in-polygon problem. In Proceedings of the Recent Advances in Engineering Mathematics and Physics: Proceedings of the International Conference RAEMP 2019; Springer: Berlin/Heidelberg, Germany, 2020; pp. 47–61. [Google Scholar]
- Weerasinghe, D.; Thiwanka, K.; Jayasith, H.; Natalie, P.O.; Rajapaksha, U.S.; Karunasena, A. Smart UML-Assignment Management Tool for UML Diagrams. In Proceedings of the 2022 4th International Conference on Advancements in Computing (ICAC), Colombo, Sri Lanka, 9–10 December 2022; pp. 114–119. [Google Scholar]
- Elallaoui, M.; Nafil, K.; Touahni, R. Automatic generation of UML sequence diagrams from user stories in Scrum process. In Proceedings of the 2015 10th International Conference on Intelligent Systems: Theories and Applications (SITA), Rabat, Morocco, 20–21 October 2015; pp. 1–6. [Google Scholar]
- Gulia, S.; Choudhury, T. An efficient automated design to generate UML diagram from Natural Language Specifications. In Proceedings of the 2016 6th International Conference-Cloud System and Big Data Engineering (Confluence), Noida, India, 14–15 January 2016; pp. 641–648. [Google Scholar]
- Fauzan, R.; Siahaan, D.; Rochimah, S.; Triandini, E. Class diagram similarity measurement: A different approach. In Proceedings of the 2018 3rd International Conference on Information Technology, Information System and Electrical Engineering (ICITISEE), Yogyakarta, Indonesia, 13–14 November 2018; pp. 215–219. [Google Scholar]
- Qiu, D.; Li, H.; Sun, J. Measuring software similarity based on structure and property of class diagram. In Proceedings of the 2013 Sixth International Conference on Advanced Computational Intelligence (ICACI), Hangzhou, China, 19–21 October 2013; pp. 75–80. [Google Scholar]
- Wang, K.; Liu, W.; Mu, Y.; Gao, S. Automatic extraction of sequence diagram semantic information. In Proceedings of the 2023 5th International Conference on Machine Learning, Big Data and Business Intelligence (MLBDBI), Hangzhou, China, 15–17 December 2023; pp. 315–318. [Google Scholar]
- Bates, A.; Vavricka, R.; Carleton, S.; Shao, R.; Pan, C. Unified modeling language code generation from diagram images using multimodal large language models. Mach. Learn. Appl. 2025, 20, 100660. [Google Scholar] [CrossRef] [Scilit]
- Liu, H.; Li, C.; Wu, Q.; Lee, Y.J. Visual instruction tuning. Adv. Neural Inf. Process. Syst. 2023, 36, 34892–34916. [Google Scholar]
- Hu, E.J.; Shen, Y.; Wallis, P.; Allen-Zhu, Z.; Li, Y.; Wang, S.; Wang, L.; Chen, W. Lora: Low-rank adaptation of large language models. ICLR 2022, 1, 3. [Google Scholar]
- Wang, Z.; Bovik, A.C.; Sheikh, H.R.; Simoncelli, E.P. Image quality assessment: From error visibility to structural similarity. IEEE Trans. Image Process. 2004, 13, 600–612. [Google Scholar] [CrossRef] [Scilit]
- Bhattacharya, A.; Roy, S.; Sarkar, N.; Malakar, S.; Sarkar, R. Circuit component detection in offline handdrawn electrical/electronic circuit diagram. In Proceedings of the 2020 IEEE Calcutta Conference (CALCON), Kolkata, India, 28–29 February 2020; pp. 80–84. [Google Scholar]
- Okazaki, A.; Kondo, T.; Mori, K.; Tsunekawa, S.; Kawamoto, E. An automatic circuit diagram reader with loop-structure-based symbol recognition. IEEE Trans. Pattern Anal. Mach. Intell. 1988, 10, 331–341. [Google Scholar] [CrossRef]
- De Jesus, E.O.; Lotufo, R.D.A. ECIR-an electronic circuit diagram image recognizer. In Proceedings of the Proceedings SIBGRAPI’98. International Symposium on Computer Graphics, Image Processing, and Vision (Cat. No. 98EX237), Rio de Janeiro, Brazil, 20–23 October 1998; pp. 254–260. [Google Scholar]
- Malakar, S.; Halder, S.; Sarkar, R.; Das, N.; Basu, S.; Nasipuri, M. Text line extraction from handwritten document pages using spiral run length smearing algorithm. In Proceedings of the 2012 International Conference on Communications, Devices and Intelligent Systems (CODIS), Kolkata, West Bengal, India, 28–29 December 2012; pp. 616–619. [Google Scholar]
- Sertdemir, A.E.; Besenk, M.; Dalyan, T.; Gokdel, Y.D.; Afacan, E. From Image to Simulation: An ANN-based Automatic Circuit Netlist Generator (Img2Sim). In Proceedings of the 2022 18th International Conference on Synthesis, Modeling, Analysis and Simulation Methods and Applications to Circuit Design (SMACD), Villasimius, Italy, 12–15 June 2022; pp. 1–4. [Google Scholar] [CrossRef] [Scilit]
- Zupan, J. Introduction to artificial neural network (ANN) methods: What they are and how to use them. Acta Chim. Slov. 1994, 41, 327. [Google Scholar]
- Wang, H.; Pan, T.; Ahsan, M.K. Hand-drawn electronic component recognition using deep learning algorithm. Int. J. Comput. Appl. Technol. 2020, 62, 13–19. [Google Scholar] [CrossRef] [Scilit]
- Rabbani, M.; Khoshkangini, R.; Nagendraswamy, H.; Conti, M. Hand drawn optical circuit recognition. Procedia Comput. Sci. 2016, 84, 41–48. [Google Scholar] [CrossRef] [Scilit]
- Günay, M.; Köseoğlu, M.; Yıldırım, Ö. Classification of hand-drawn basic circuit components using convolutional neural networks. In Proceedings of the 2020 International Congress on Human-Computer Interaction, Optimization and Robotic Applications (HORA), Ankara, Turkey, 25–27 June 2020; pp. 1–5. [Google Scholar]
- Rachala, R.R.; Panicker, M.R. Hand-drawn electrical circuit recognition using object detection and node recognition. SN Comput. Sci. 2022, 3, 244. [Google Scholar] [CrossRef] [Scilit]
- 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, 79, 31353–31373. [Google Scholar] [CrossRef] [Scilit]
- Dey, M.; Mia, S.M.; 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, 33, 13367–13390. [Google Scholar] [CrossRef] [Scilit]
- 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, 9, 374–380. [Google Scholar] [CrossRef] [Scilit]
- Alhalabi, M.; Ghazal, M.; Haneefa, F.; Yousaf, J.; El-Baz, A. Smartphone handwritten circuits solver using augmented reality and capsule deep networks for engineering education. Educ. Sci. 2021, 11, 661. [Google Scholar] [CrossRef] [Scilit]
- Liu, Y.; Xiao, Y. Circuit Sketch Recognition; Department of Electrical Engineering Stanford University: Stanford, CA, USA, 2013. [Google Scholar]
- Patare, M.D.; Joshi, M.S. Hand-drawn digital logic circuit component recognition using svm. Int. J. Comput. Appl. 2016, 143, 24–28. [Google Scholar] [CrossRef] [Scilit]
- Sabour, S.; Frosst, N.; Hinton, G.E. Dynamic routing between capsules. In Advances in Neural Information Processing Systems; Guyon, I., Von Luxburg, U., Bengio, S., Wallach, H., Fergus, R., Vishwanathan, S., Garnett, R., Eds.; Curran Associates, Inc.: Red Hook, NY, USA, 2017; Volume 30. [Google Scholar]
- Bohara, B.; Krishnamoorthy, H.S. Computer Vision based Framework for Power Converter Identification and Analysis. In Proceedings of the 2022 IEEE International Conference on Power Electronics, Drives and Energy Systems (PEDES), Jaipur, India, 14–17 December 2022; pp. 1–6. [Google Scholar] [CrossRef] [Scilit]
- Bayer, J.; Turabi, S.H.; Dengel, A. Text extraction for handwritten circuit diagram images. In Proceedings of the International Conference on Document Analysis and Recognition; Springer: Berlin/Heidelberg, Germany, 2023; pp. 192–198. [Google Scholar]
- Bayer, J.; Roy, A.K.; Dengel, A. Instance segmentation based graph extraction for handwritten circuit diagram images. arXiv 2023, arXiv:2301.03155. [Google Scholar] [CrossRef] [Scilit]
- Gao, M.; Qiu, R.; Chang, Z.H.; Zhang, K.; Wei, H.; Chen, H.C. Circuit Diagram Retrieval Based on Hierarchical Circuit Graph Representation. arXiv 2025, arXiv:2503.11658. [Google Scholar]
- Mohan, A.; Mohan, A.; Indushree, B.; Malavikaa, M.; Narendra, C. Generation of Netlist from a Hand drawn Circuit through Image Processing and Machine Learning. In Proceedings of the 2022 2nd International Conference on Artificial Intelligence and Signal Processing (AISP), Vijayawada, India, 12–14 February 2022; pp. 1–4. [Google Scholar]
- Wang, C.Y.; Yeh, I.H.; Liao, H.Y.M. You only learn one representation: Unified network for multiple tasks. arXiv 2021, arXiv:2105.04206. [Google Scholar] [CrossRef] [Scilit]
- Likas, A.; Vlassis, N.; Verbeek, J.J. The global k-means clustering algorithm. Pattern Recognit. 2003, 36, 451–461. [Google Scholar] [CrossRef] [Scilit]
- Komoot, N.; Mruetusatorn, S. An Analysis of Electronic Circuits Diagram Using Computer Vision Techniques. In Proceedings of the 2024 9th International Conference on Business and Industrial Research (ICBIR), Bangkok, Thailand, 23–24 May 2024; pp. 1581–1586. [Google Scholar] [CrossRef] [Scilit]
- Pavithra, S.; Shreyashwini, N.; Bhavana, H.; Nikhitha, G.; Kavitha, T. Hand-drawn electronic component recognition using orb. Procedia Comput. Sci. 2023, 218, 504–513. [Google Scholar] [CrossRef] [Scilit]
- Hemker, D.; Maalouly, J.; Mathis, H.; Klos, R.; Ravanan, E. From Schematics to Netlists–Electrical Circuit Analysis Using Deep-Learning Methods. Adv. Radio Sci. 2024, 22, 61–75. [Google Scholar] [CrossRef] [Scilit]
- Kelly, C.R.; Cole, J.M. Digitizing images of electrical-circuit schematics. APL Mach. Learn. 2024, 2, 016109. [Google Scholar] [CrossRef] [Scilit]
- Arun, A.; Patil, S.S.; Poduval, G.M.; Shah, A.; Patil, R.P. Hand-Drawn Electronic Component Detection and Simulation Using Deep Learning and Flask. Cureus J. 2025, 2, es44389-025-03676-4. [Google Scholar] [CrossRef] [Scilit]
- Cao, W.; Chen, Z.; Wu, C.; Li, T. A Layered Framework for Universal Extraction and Recognition of Electrical Diagrams. Electronics 2025, 14, 833. [Google Scholar] [CrossRef] [Scilit]
- Shi, C.; Beltran-Velez, N.; Nazaret, A.; Zheng, C.; Garriga-Alonso, A.; Jesson, A.; Makar, M.; Blei, D.M. Hypothesis testing the circuit hypothesis in LLMs. In Advances in Neural Information Processing Systems; Curran Associates, Inc.: Red Hook, NY, USA, 2024; Volume 37, pp. 94539–94567. [Google Scholar]
- Vasudeva Reddy, T.; Nareshkumar, B.; Anirudh Reddy, R.; Kavitha Reddy, P. Design of implantable cardioverter defibrillator using low power subthreshold digital circuit. In IOP Conference Series: Materials Science and Engineering; IOP Publishing: Bristol, UK, 2021; Volume 1074, p. 012029. [Google Scholar]
- Dieste-Velasco, M. Application of a Pattern-Recognition Neural Network for Detecting Analog Electronic Circuit Faults. Mathematics 2021, 9, 3247. [Google Scholar] [CrossRef] [Scilit]
- Zhou, Y.; Qi, H.; Ma, Y. End-to-end wireframe parsing. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Seoul, Republic of Korea, 27–28 October 2019; pp. 962–971. [Google Scholar]
- Mishra, D.; Vinayak, C. Image based Circuit Simulation. In Proceedings of the 2013 International Conference on Control, Automation, Robotics and Embedded Systems (CARE), Jabalpur, India, 16–18 December 2013; pp. 1–4. [Google Scholar] [CrossRef] [Scilit]
- Matasyx, J.; Kittlery, C.G.J. Progressive probabilistic hough transform. In Proceedings of the British Machine Vision Conference, Southampton, UK, 14–17 September 1998; pp. 14–17. [Google Scholar]
- Neuner, M.; Abel, I.; Graeb, H. Library-free Structure Recognition for Analog Circuits. In Proceedings of the 2021 Design, Automation & Test in Europe Conference & Exhibition (DATE), Grenoble, France, 1–5 February 2021; pp. 1366–1371. [Google Scholar] [CrossRef] [Scilit]
- Vasudevan, S.K.; Venkatachalam, K.; Sundaram, R. A novel mobile application for circuit component identification and recognition through machine learning and image processing techniques. Int. J. Intell. Syst. Technol. Appl. 2017, 16, 342–358. [Google Scholar] [CrossRef] [Scilit]
- Pan, L.; Xue, Z.; Zhang, K. GAML-YOLO: A Precise Detection Algorithm for Extracting Key Features from Complex Environments. Electronics 2025, 14, 2523. [Google Scholar] [CrossRef] [Scilit]
- Sanfeliu, A.; Fu, K.S. A distance measure between attributed relational graphs for pattern recognition. IEEE Trans. Syst. Man Cybern. 2012, 3, 353–362. [Google Scholar]
- Gody, M. Hand-Drawn Electric Circuit Schematic Components. 2022. Available online: https://www.kaggle.com/datasets/moodrammer/handdrawn-circuit-schematic-components (accessed on 14 October 2022).
- Uzair, W.; Chai, D.; Rassau, A. ElectroNet: An Enhanced Model for Small-Scale Object Detection in Electrical Schematic Diagrams. Res. Sq. 2023. [Google Scholar] [CrossRef] [Scilit]
- Cui, C.; Sun, T.; Lin, M.; Gao, T.; Zhang, Y.; Liu, J.; Wang, X.; Zhang, Z.; Zhou, C.; Liu, H.; et al. Paddleocr 3.0 technical report. arXiv 2025, arXiv:2507.05595. [Google Scholar] [CrossRef] [Scilit]
- Bi, R.; Xu, T.; Xu, M.; Chen, E. Paddlepaddle: A production-oriented deep learning platform facilitating the competency of enterprises. In Proceedings of the 2022 IEEE 24th Int Conf on High Performance Computing & Communications; 8th Int Conf on Data Science & Systems; 20th Int Conf on Smart City; 8th Int Conf on Dependability in Sensor, Cloud & Big Data Systems & Application (HPCC/DSS/SmartCity/DependSys), Chengdu, China, 18–20 December 2022; pp. 92–99. [Google Scholar]
- He, J.; Ničković, D.; Bartocci, E.; Grosu, R. TD-Magic: From Pictures of Timing Diagrams To Formal Specifications. In Proceedings of the 2023 60th ACM/IEEE Design Automation Conference (DAC), Francisco, CA, USA, 9–13 July 2023; pp. 1–6. [Google Scholar] [CrossRef] [Scilit]
- Li, Y.; Qu, Q.; Wang, M.; Yu, L.; Wang, J.; Shen, L.; He, K. Deep learning for digitizing highly noisy paper-based ECG records. Comput. Biol. Med. 2020, 127, 104077. [Google Scholar] [CrossRef] [Scilit]
- He, J.; Kenbeek, V.T.W.; Yang, Z.; Qu, M.; Bartocci, E.; Ničković, D.; Grosu, R. TD-Interpreter: Enhancing the Understanding of Timing Diagrams with Visual-Language Learning. arXiv 2025, arXiv:2507.16844. [Google Scholar]
- Farag, M.M. Design and analysis of convolutional neural layers: A signal processing perspective. IEEE Access 2023, 11, 27641–27661. [Google Scholar] [CrossRef] [Scilit]
- Xiao, Z.; Xu, X.; Xing, H.; Luo, S.; Dai, P.; Zhan, D. RTFN: A robust temporal feature network for time series classification. Inf. Sci. 2021, 571, 65–86. [Google Scholar] [CrossRef] [Scilit]
- Cabrera, D.; Sancho, F.; Cerrada, M.; Sanchez, R.V.; Li, C. Knowledge extraction from deep convolutional neural networks applied to cyclo-stationary time-series classification. Inf. Sci. 2020, 524, 1–14. [Google Scholar] [CrossRef] [Scilit]
- Yin, C.; Zhang, S.; Wang, J.; Xiong, N.N. Anomaly detection based on convolutional recurrent autoencoder for IoT time series. IEEE Trans. Syst. Man Cybern. Syst. 2020, 52, 112–122. [Google Scholar] [CrossRef] [Scilit]
- Tuli, S.; Casale, G.; Jennings, N.R. Tranad: Deep transformer networks for anomaly detection in multivariate time series data. arXiv 2022, arXiv:2201.07284. [Google Scholar] [CrossRef] [Scilit]
- Wen, M.; Chen, Z.; Xiong, Y.; Zhang, Y. LGAT: A novel model for multivariate time series anomaly detection with improved anomaly transformer and learning graph structures. Neurocomputing 2025, 617, 129024. [Google Scholar] [CrossRef] [Scilit]







| Diagram Types | Papers | Percentage (%) |
|---|---|---|
| Core Technical Diagrams (42 papers) | ||
| Flowchart Diagram | 19 | 39.58 |
| Block and UML Diagram | 7 | 14.58 |
| Electrical Schematic Diagram | 14 | 29.17 |
| Timing Diagram | 2 | 4.17 |
| Related Work (6 papers) | ||
| Time Series Diagram | 6 | 12.50 |
| Total | 48 | 100.00 |
| Paper | Publication Year | Method | Dataset Size | Performance |
|---|---|---|---|---|
| [21] | 2020 | Otsu, ROI, OpenCV | 25 | (Accuracy) 90% |
| [27] | 2020 | GRCNN | 2490 | (Accuracy) 94.1% |
| [30] | 2020 | Otsu, Erosion, Dilation, Beam Search, RDP | 20 | (Accuracy) 86.52% |
| [35] | 2020 | OpenCV, Darknet, Tiny YOLOv3 Google Cloud Vision | 161 | (mAP) 99.82% |
| [41] | 2022 | Bi-LSTM, GAT, TranX | 50 | (BLEU) 55.68 |
| [61] | 2022 | InstGNN, DGL | 3245 | (Accuracy) 95.80% |
| [75] | 2022 | FR-DETR | 260 | (F1-Score) 98.4% |
| [47] | 2023 | HT, easyOCR, Code-T5 CRAFT, TrOCR | 1188 | (BLEU) 67.4 |
| [55] | 2023 | S-Distil-BERT | 50 | (Accuracy) 75.59% |
| [54] | 2024 | EasyOCR, OpenCV, Llama 2 | Unknown | (Success Rate) 75% |
| [70] | 2024 | SAM, GPT-3.5, OCR, PSM | 550 | (BERT-F1) 86.49% |
| [62] | 2025 | Claude 3.5, GPT-4o, Qwen2-VL | Unknown | (F1-Score) 88.23% |
| [83] | 2025 | LS-DETR | 885 | (mAP) 99.18% |
| [98] | 2025 | Tesseract, GPT-4o | 6 | (Accuracy) 100% |
| [86] | 2025 | GPT-4o, Claude 3.5 | Unknown | (Accuracy) 92% |
| [104] | 2025 | GNN, HT, RPN R-CNN, Keras OCR | 875 | (F1-Score) 95.8% |
| [63] | 2025 | OCR, DAMO-YOLO, GPT-4o | 30 | (Accuracy) 88.9% |
| [87] | 2025 | GPT-4o | 95 | (Accuracy) 63% |
| [64] | 2025 | Qwen2-VL, DIT, RAG | 105 | (Accuracy) 71.91% |
| Paper | Publication Year | Method | Dataset Size | Performance |
|---|---|---|---|---|
| [107] | 2022 | Faster R-CNN, T5 EasyOCR, HLT | 502 | (ROUGE-1) 81.29 |
| [113] | 2024 | YOLOv5, Pororo OCR BART, Swin, GPT-4V | 83,394 | (ROUGUE-1) 88.9 |
| Paper | Publication Year | Method | Dataset Size | Performance |
|---|---|---|---|---|
| [115] | 2022 | ReSECDI | 30 | (F1-Score) 91.63% |
| [119] | 2022 | Tesseract OCR, Keras-OCR Faster R-CNN, SSD | 100 | (Accuracy) 90% |
| [124] | 2023 | SDE | 50 | (F1-Score) 72% |
| [100] | 2024 | GPT-4V | 4 | (Accuracy) 100% |
| [125] | 2025 | LLaVA, LoRA | 59,998 | (BLEU) 77.9 |
| Paper | Publication Year | Method | Dataset | Performance |
|---|---|---|---|---|
| [129] | 2020 | Morpholigcal RLSA | 60 | (Accuracy) 91.28% |
| [142] | 2021 | CapsNet, Dilation, HT | 800 | (mAP) 93.64% |
| [138] | 2022 | YOLOv5, HT, K-Means | 388 | (mAP) 98.2% |
| [150] | 2022 | OpenCV, OCR, HOG, SVM | Unknown | (Accuracy) Unknown |
| [133] | 2022 | YOLOv5, OCR, HT | 330 | (Accuracy) 98% |
| [146] | 2022 | YOLOR, HT, K-Means | 176 | (mAP) 91.6% |
| [147] | 2023 | LSTM, Faster R-CNN, RegEx | 2304 | Unknown |
| [148] | 2023 | Keypoints, Mask R-CNN | 2208 | (Accuracy) 94% |
| [155] | 2024 | YOLOv7, EasyOCR, L-CNN, CRAFT | 164 | (mAP) 73% |
| [153] | 2024 | YOLOv8, CNN, OCR | 50 | (Accuracy) 84% |
| [156] | 2024 | Otsu, Tesseract OCR, PPHT | 15 | (Accuracy) 85.6% |
| [157] | 2025 | Custom CNN | 4800 | (Accuracy) 96% |
| [149] | 2025 | GAM-YOLO, GED | 227 | (Precision) 88.1% |
| [158] | 2025 | YOLOv7, PaddleClas, PaddleOCR | 5000 | (F1-Score) 99.6% |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Bray, N.; Hempel, M.; Boeding, M.; Sharif, H. Decoding Technical Diagrams: A Survey of AI Methods for Image Content Extraction and Understanding. Information 2026, 17, 165. https://doi.org/10.3390/info17020165
Bray N, Hempel M, Boeding M, Sharif H. Decoding Technical Diagrams: A Survey of AI Methods for Image Content Extraction and Understanding. Information. 2026; 17(2):165. https://doi.org/10.3390/info17020165
Chicago/Turabian StyleBray, Nick, Michael Hempel, Matthew Boeding, and Hamid Sharif. 2026. "Decoding Technical Diagrams: A Survey of AI Methods for Image Content Extraction and Understanding" Information 17, no. 2: 165. https://doi.org/10.3390/info17020165
APA StyleBray, N., Hempel, M., Boeding, M., & Sharif, H. (2026). Decoding Technical Diagrams: A Survey of AI Methods for Image Content Extraction and Understanding. Information, 17(2), 165. https://doi.org/10.3390/info17020165

