Advertisement
Guest User

Hops - PyTesserract error

a guest
Dec 26th, 2022
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.92 KB | Software | 0 0
  1. Traceback (most recent call last):
  2.    File "./core/factory.py", line 977, in image_handler
  3.      text = " ".join([text, pytesseract.image_to_string(img, timeout=3)])
  4.    File "/usr/local/lib/python3.8/site-packages/pytesseract/pytesseract.py", line 409, in image_to_string
  5.      return {
  6.    File "/usr/local/lib/python3.8/site-packages/pytesseract/pytesseract.py", line 412, in <lambda>
  7.      Output.STRING: lambda: run_and_get_output(*args),
  8.    File "/usr/local/lib/python3.8/site-packages/pytesseract/pytesseract.py", line 287, in run_and_get_output
  9.      run_tesseract(**kwargs)
  10.    File "/usr/local/lib/python3.8/site-packages/pytesseract/pytesseract.py", line 263, in run_tesseract
  11.      raise TesseractError(proc.returncode, get_errors(error_string))
  12.  pytesseract.pytesseract.TesseractError: (-15, 'Tesseract Open Source OCR Engine v4.0.0 with Leptonica Warning: Invalid resolution 0 dpi. Using 70 instead. Estimating resolution as 120')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement