'Tessarect can't detect this image? (grading background and text close with each other)

enter image description here

enter image description here

pytesseract.tesseract_cmd = r"C:\Tesseract-OCR\tesseract.exe"
img     = Image.open("the_image.jpg")
output  = pytesseract.image_to_string(img)

Is there anyway to improve the detection capability? i'm kinda newbie with tessaract. The numbers seems to be close with each other and the background gradient seems to confuse the detection capability.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source