Originally Posted On: https://medium.com/building-a-simple-text-correction-tool/basic-ocr-with-tesseract-and-opencv-34fae6ab3400 You have probably been in a situation where you had a picture with some text you needed and you were too lazy to write or type out all the text in it. I have too, that’s why I decided to write an application to extract text from images. To do this, I used the Tesseract OCR library and OpenCV and wrote the application in C++.