Skip to content

Error when trying to create TSV file #103

@Gurey

Description

@Gurey

Trying to create a TSV gives me an error.

endpoint: localhost:9292/ocr

with payload:

{
  "img_url": "http://bit.ly/ocrimage",
  "engine": "tesseract",
  "engine_args": {
    "config_vars": {
		"tessedit_create_tsv": "1",
		"tessedit_pageseg_mode": "1"
    }
  }
}

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions