Untitled
unknown
plain_text
3 years ago
309 B
2
Indexable
Never
import tesserocr from tesserocr import PyTessBaseAPI def main(): print(tesserocr.tesseract_version()) with PyTessBaseAPI(path="tessdata_fast\\") as api: api.SetImageFile('testolino.jpeg') print(api.GetUTF8Text()) print("ciao") if __name__ == '__main__': main()