How to extract the table from engineering drawings using python scripts?

Hi All,

How to extract the table contents from engineering drawings using Python script?
Does anyone have a python script to extract the data in engineering drawings so that we can use it in " Load Python Script "

@balupad @Devarajan_Sundaresan @Victor_Bautista @ThomasStocker
image

Thanks in Advance :slight_smile:

Hey @Selva_murugan

Hope you’re well.

Is this table embedded into an image or is it a table (text accessible) within the PDF?

yes this table embedded into an image

Is there a specific reason why you’d want to do this in Python instead of using UiPath Read PDF with OCR.

This is Engineering drawing it’s a huge image i have attached a part of the image
and the images are not clear as well. So that the python script will do the preprocessing and gives the image and extracted table

Okay I see, have you tried using OpenCV in Python to extract the table from the image?

My thinking is:

  1. Extract the image from PDF (https://pypi.org/project/minecart/)
  2. Write table from image to dataframe (https://github.com/summererror/extract-table-from-image-opencv)