Research Article Open Access

Automatic Digitization of Engineering Diagrams using Intelligent Algorithms

Premanand Ghadekar1, Shaunak Joshi1, Debabrata Swain2, Biswaranjan Acharya3, Manas Ranjan Pradhan4 and Pramoda Patro5
  • 1 Vishwakarma Institute of Technology, India
  • 2 Pandit Deendayal Energy University, India
  • 3 KIIT University, India
  • 4 Skyline University College, United Arab Emirates
  • 5 Amrutvahini college of engineering, India


At present usage of computational intelligence became the ultimate need of the heavy engineering industries. Digitization can be achieved in these sectors by scanning the hard copy images. When older documents are digitized are not of very high fidelity and therefore the accuracy, reliability of the estimates of components such as equipment and materials after digitization are remarkably low since (Piping and Instrumentation Diagrams) P&IDs come in various shapes and sizes, with varying levels of quality along with myriad smaller challenges such as low resolution of images, high intra project diagram variation along with no standardization in the engineering sector for diagram representation to name a few, digitizing P&IDs remains a challenging problem. In this study an end to end pipeline is proposed for automatically digitizing engineering diagrams which would involve automatic recognition, classification and extraction of diagram components from images and scans of engineering drawings such as P&IDs and automatically generating digitized drawings automatically from this obtained data. This would be done using image processing algorithms such as template matching, canny edge detection and the sliding window method. Then the lines would be obtained from the P&ID using canny edge detection and sliding window approach, the text would be recognized using an aspect ratio calculation. Finally, all the extracted components of the P&ID are associated with the closest texts present and the components mapped to each other. By the way of using such pipelines as proposed the diagrams are consistently of high quality, other smaller problems such as mis-spelling and valuable time churn are solved or minimized to large extent and paving the way for application of big data technologies such as machine learning analytics on these diagrams resulting in further efficiencies in operational processes.

Journal of Computer Science
Volume 17 No. 9, 2021, 848-854


Submitted On: 16 May 2021 Published On: 28 September 2021

How to Cite: Ghadekar, P., Joshi, S., Swain, D., Acharya, B., Pradhan, M. R. & Patro, P. (2021). Automatic Digitization of Engineering Diagrams using Intelligent Algorithms. Journal of Computer Science, 17(9), 848-854.

  • 1 Citations



  • P&ID Sheets
  • Computer Vision
  • Industrial Automation
  • Image Processing
  • Tree Search