I have a problem that I get only the number 2201 from my image. I have tried all configurations for pytesseract but no result. Maybe somebody here has a solution for me? When I cut the image into two pieces and run the OCR it works perfectly.
text = pytesseract.image_to_string(img, lang = 'deu', config='-psm 4') print(text) that was my configuration