Skip to content

Error on OCRopus tests in setup.py test #9

@sonofmun

Description

@sonofmun

The problem was with the test_file_outpath_tiff test. Error message:

ERROR: test_file_outpath_tiff (tests.test_ocropus.OcropusTests)
Test that ocropus creates hocr outpath for tiffs.

Traceback (most recent call last):
File "/home/mmunson/Ben_Iris/tests/test_ocropus.py", line 52, in test_file_outpath_tiff
ocr = ocropus.ocr(tiffpath, outpath, modelpath)
File "/home/mmunson/Ben_Iris/iris/ocropus.py", line 46, in ocr
raise IrisOcropusException(err)
IrisOcropusException: 'usage: apply an RNN recognizer [-h] [-n] [-e] [-l HEIGHT] [-m MODEL] [-p PAD]\n [-N] [--llocs] [--alocs] [-r] [-c ESTCONF]\n [-C COMPARE] [--context CONTEXT] [-s SHOW]\n [-S SAVE] [-q] [-Q PARALLEL]\n files [files ...]\napply an RNN recognizer: error: too few arguments\n'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions