Skip to content

It is the code for converting the pdf into image then recognising the scanned document with the help of Pytesseract.

Notifications You must be signed in to change notification settings

ItshMoh/Pdf_to_image_ocr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Pdf_to_image_ocr

It is the code for converting the pdf into image then recognising the scanned document with the help of Pytesseract. It will work on both hindi and english text. You can choose the languages as you want. Visit the tesseract docs. The tech stack used here.

  1. Pytesseract
  2. Pymupdf Here first you have to download tesseract ocr. You have to specify the path of tesseract ocr. I have opened the pdf with the help of Pymupdf and converting each page into image with the help of pixmap. Then reading the image with the help of tesseract ocr.

About

It is the code for converting the pdf into image then recognising the scanned document with the help of Pytesseract.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published