/Vernaculator

A python application to extracts text from images and translate the text to english

Primary LanguagePython

Vernaculator

A python application to extracts text from images and translate the text to english

Requirements:

->Python 3.7 with the following packages installed

      -imutils 
-googletrans
-pillow
-OpenCV2(cv2)
-numpy
-pytesseract

->Tesseract-OCR: Tesseract OCR Mannhiem

     
     Do ensure that you download the list of language package you need. 
Add a path in the system environment variable for access.

->EAST Text Detector Model: Download

    Download this for text detection(Link given). It is a pre-trained model to detect text from image. 

How To Run the program:

Step 1:

      Download all the files specified in the requirement and install in properly.

Step 2:

      Run the db.py file first and then Beta_2.1 using command prompt or anaconda command prompt(prefered).

Step 3:

      The GUI would pop up if all the files were installed properly.

Step 4:

      Enter the language to be detected.

Step 5:

      Import the model.pb file.

Step 6:

      Upload the image.

Step 7:

      Keep pressing enter to move the detection box to the words which need to be translated.