text = pytesseract.image_to_string(image, lang='chi_sim+eng')
content = text
except Exception as e:
- content = "OCR失败"
+ content = "OCR Error"
print("To use OCR, You need to install Tesseract-OCR and add it to the environment variable PATH: https://tesseract-ocr.github.io/tessdoc/Installation.html")