Text Translator from English to Hindi from a Given Input Image. OpenCV and Tesseract is used to extract text from image and Google API and Python is used to Translate the text.
Tesseract — is an optical character recognition engine with open-source code, this is the most popular and qualitative OCR-library. OCR uses artificial intelligence for text search and its recognition on images.
Tesseract, originally developed by Hewlett Packard in the 1980s, was open-sourced in 2005. Later, in 2006, Google adopted the project and has been a sponsor ever since.
Follow here to download and use tesseract.
Googletrans is a free and unlimited python library that implemented Google Translate API. This uses the Google Translate Ajax API to make calls to such methods as detect and translate.
To install Googletrans :
$ pip install googletrans