我有pytesseract的一些问题.我需要将Tesseract配置为配置为接受单个数字,同时也只能接受数字,因为数字零通常与"O"混淆.
像这样:
target = pytesseract.image_to_string(im,config='-psm 7',config='outputbase digits')
非常感谢,
尼尔
python ocr tesseract
ocr ×1
python ×1
tesseract ×1