-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when trying to create TSV file #103
Comments
Does it work if you remove the "config_vars"? The relevant code is here: Lines 233 to 248 in eb6a931
I wonder if tesseract is writing to a file extension that OpenOCR isn't expecting.. looks like OpenOCR looks for |
Hi! these 2 requests works fine:
I just tried to run tesseract in my terminal with the command |
Ok I think the fix is pretty easy, it just needs to look for files with |
Trying to create a TSV gives me an error.
endpoint:
localhost:9292/ocr
with payload:
Gives me:
Error processing image url: . Error: Could not find outfile. Basename: /tmp/785ad93e-2721-4fd1-7892-b78ffc442ae0 Extensions: [txt hocr]
tesseract official TSV config:
https://github.com/tesseract-ocr/tesseract/blob/master/tessdata/configs/tsv
The text was updated successfully, but these errors were encountered: