-1

like which language is used in an input image (english, hindi, arabic, persian etc).Does OCR provide us the information about it or not?

I tried to find answer to my question but i didn't get anything relevant so I'm asking this question here hoping that I will get answer to my question.

Dan Mašek
  • 17,852
  • 6
  • 57
  • 85
Afreen.
  • 1
  • 1
  • I don't think OCR directly provides that information but you can use the `langdetect` library to recognize the language from the text in your input image. Follow this [pytesseract solution](https://stackoverflow.com/questions/70198974/how-to-detect-language-or-script-from-an-input-image-using-python-or-tesseract-o) to extract the text and then use [langdetect](https://stackoverflow.com/questions/64401843/detect-language-script-from-pdf-with-python/64402156#64402156) to recognize the language. – Ro.oT Aug 14 '23 at 18:53

0 Answers0