Rohanpudasaini / Arabic_PDF_To_English_CSV

Final product of the project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Philipp_Project_Python

Final product of the project.

How to Run the Script?

  • Download the sample file.
  • Run all commands from Commands_to_run.txt
  • Import all the PDFs in Documents folder inside Sample folder
  • Run main.py
  • All informations will be appended in Book-v2.csv

What Do this Script DO?

This script use poppler-utils to convert a pdf into image and after that use tesseract-ocr and arabic tesdata to extract the text.we run the ocr 2 times as the arabic ocr can't accurately extract numeric values. Finally we use python`s inbuild library csv to append the csv and also write name of extracted pdfs into a text file for future refrence to reduce redudency.

About

Final product of the project.