Код: Выделить всё
erg = pytesseract.image_to_string(img)
Код: Выделить всё
ÔAU OPTRONICS CORPORATION
() Preliminary Specification
(V) Final Specification
Module 18.5" Color TFT-LCD
Model Name (G18SHANOT.O
Customer Date ÔApproved by Date
Crystal Hsieh 2016/06/29
Approved by Propared by
Код: Выделить всё
workString =f'-c tessedit\_char\_whitelist={string.digits}(){string.ascii\_letters}'
erg = pytesseract.image\_to\_string(img, config=workString)
AUOPTRONICSCORPORATION
Код: Выделить всё
()ProliminarySpecification
(V)FinalSpecification
Module 185ColorTFTLCD
ModelName (G18SHANOTO
Customer Date Approvedby Date
CrstalHsieh 2016(06)29
Approvedby Proparedby
Подробнее здесь: https://stackoverflow.com/questions/781 ... its-spaces