Skip to content

lstm can not be generate by --psm 6 lstm.train #4443

@fareign

Description

@fareign

Current Behavior

Image

pic1

Image

pic2

tesseract znzd.normal.exp0.tif znzd.normal.exp0 -l eng --psm 6 lstm.train

pic1 can not recognize , so it have no box message.
I edit box message by jTessBoxeditor,but cant generate lstm file with --psm 6.but can generate --psm 8 13 or other.
pic2 have no problem.

I train via --psm 13 or 8 lstm. the tessdata have on effect.

lstmtraining --model_output E:\jTessBoxEditor\png\output --continue_from E:\jTessBoxEditor\tesseract-ocr\tessdata\eng.lstm --traineddata E:\jTessBoxEditor\tesseract-ocr\tessdata\eng.traineddata --train_listfile E:\jTessBoxEditor\png\aa.txt --debug_interval -1 --max_iterations 1800

lstmtraining --stop_training --continue_from="E:\jTessBoxEditor\png\output_checkpoint" --traineddata="E:\jTessBoxEditor\tesseract-ocr\tessdata\eng.traineddata" --model_output="E:\jTessBoxEditor\png\output\num.traineddata"

so what wrong with it.

Expected Behavior

No response

Suggested Fix

No response

tesseract -v

No response

Operating System

No response

Other Operating System

No response

uname -a

No response

Compiler

No response

CPU

No response

Virtualization / Containers

No response

Other Information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions