Skip to content

Missing testdata files for unittests #13

@Shreeshrii

Description

@Shreeshrii

testdata/lstm_training.txt is required for building training data for lstm_test

https://github.com/tesseract-ocr/tesseract/blob/master/unittest/lstm_test.cc#L6

// Generating the training data:
// If the format of the lstmf (ImageData) file changes, the training data will
// have to be regenerated as follows:

// ./tesseract/text2image --xsize=800 --font=Arial
// --text=tesseract/testdata/lstm_training.txt --leading=32
// --outputbase=tesseract/testdata/lstm_training.arial
// ./tesseract tesseract/testdata/lstm_training.arial.tif
// tesseract/testdata/lstm_training.arial lstm.train
// --pageseg_mode=6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions