Computer Vision News - November 2019
3 Summary Tesseract OCR with Python 25 Next, we install the wrapper. The installation of Tesseract-Ocr is a bit tricky on Windows. Hence, I recommend downloading a compiled version of it and install it with a wizard. Moreover, we need to add the path to the python environment. Download the Tesseract-Ocr from this link . Follow the instruction of the installation. Add the below line of code to your script in order to define the variable path: Now everything is set and we ready to start writing our OCR application. OCR Implementation I have made a short sentence and saved it as an image, so we have a test case for our OCR system. To test the capabilities of the character recognition, we use this simple image: We begin from the end, below is a short function that uses Tesseract to perform the characters recognition and returns a string object in Python.
Made with FlippingBook
RkJQdWJsaXNoZXIy NTc3NzU=