imagetotxt written with the assitance of google and other Social Platform articles. Read image with opencv Convert to gray Apply dilation and erosion to remove some noise Write image after removed noise Write the image after apply opencv to do some Recognize text with tesseract for python