Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
0 answers
6k views

how to resolve this error in Tesseract : (2, 'Usage: pytesseract [-l lang] input_file') [closed]

pytesseract.pytesseract.tesseract_cmd = r'/usr/local/bin/pytesseract' img = Image.open("/content/drive/My Drive/abc.jpg") print(pytesseract.image_to_string(img)) ...