It is possible that you get beeter results with black numbers over a white background, see Why can't Pytesseract recognize plain white text on black? and image processing to improve tesseract OCR accuracy