为什么 tesseract 无法识别此图像中的文本?

Why tesseract is not recognising text from this image?

我正在尝试从这些图像中获取文本。当我 运行 代码在下面时,在第一张图片中识别出“Legendary x”,但第二张图片无法识别任何东西。我不明白哪里出了问题

def get_text(image, coord):
   im = Image.open(image)
   image_cropped = crop_text(im, coord)
   text = pytesseract.image_to_string(image_cropped, config='--psm 6')
   return text.replace('\n', '').replace('\f', '')

First picture Second picture

请阅读 tesseract 文档: https://github.com/tesseract-ocr/tessdoc/blob/main/ImproveQuality.md