Skip to main content
Question

Python interpreter

  • May 22, 2023
  • 1 reply
  • 100 views

Eslam242

I created python code to extract text from scanned PDF, and its extracted text well but not the layur so i need to extract the text with the same layout  as the PDF, including tables, margins, alignment, and indentation.

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Otis32
  • New
  • May 22, 2023

I created python code to extract text from scanned PDF, and its extracted link well but not the layur so i need to extract the text with the same layout  as the PDF, including tables, margins, alignment, and indentation.

Use an OCR library or tool specifically designed for scanned PDFs. OCR technology recognizes and extracts text from images or scanned documents, retaining the layout information. Tesseract is a popular open-source OCR engine that can be integrated with Python.