Skip to content

Sedighe-Raeisi/Persian_digit_recognizer_pytesseract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Persian Digit Recognizer Pytesseract

Pytesseract is recognized as a tool that can recognize the text objects in a given image and can translate them to their corresponding strings.

  • in the first part, I installed it on my collab.
  • I loaded the Pytesseract for the Persian language in the second part.
  • Then, I made a function which prob the images for objects that pytesseract consider tham similar to special charachters (Persian digits in this case). ['1','2','3','4','5','6','7','8','9','0','٠','١','٢','٣','٤','۴','٥','۵','٦','۶','٧','٨','٩']
  • Then, I used the coordinates of these objects in Pytesseract and applied a rectangle to the image in those coordinates.
  • I show the image with drawn rectangles.

You can see an example of using this method in the bellow image:

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published