'\" t .\" Title: lstmeval .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 11/11/2024 .\" Manual: \ \& .\" Source: \ \& .\" Language: English .\" .TH "LSTMEVAL" "1" "11/11/2024" "\ \&" "\ \&" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" lstmeval \- Evaluation program for LSTM\-based networks\&. .SH "SYNOPSIS" .sp \fBlstmeval\fR \-\-model \fIlang\&.lstm|modelname_checkpoint|modelname_N\&.NN_NN_NN\&.checkpoint\fR [\-\-traineddata lang/lang\&.traineddata] \-\-eval_listfile \fIlang\&.eval_files\&.txt\fR [\-\-verbosity N] [\-\-max_image_MB NNNN] .SH "DESCRIPTION" .sp lstmeval(1) evaluates LSTM\-based networks\&. Either a recognition model or a training checkpoint can be given as input for evaluation along with a list of lstmf files\&. If evaluating a training checkpoint, \fI\-\-traineddata\fR should also be specified\&. Intermediate training checkpoints can also be used\&. .SH "OPTIONS" .PP \fI\-\-model FILE\fR .RS 4 Name of model file (training or recognition) (type:string default:) .RE .PP \fI\-\-traineddata FILE\fR .RS 4 If model is a training checkpoint, then traineddata must be the traineddata file that was given to the trainer (type:string default:) .RE .PP \fI\-\-eval_listfile FILE\fR .RS 4 File listing sample files in lstmf training format\&. (type:string default:) .RE .PP \fI\-\-max_image_MB INT\fR .RS 4 Max memory to use for images\&. (type:int default:2000) .RE .PP \fI\-\-verbosity INT\fR .RS 4 Amount of diagnosting information to output (0\-2)\&. (type:int default:1) .RE .SH "HISTORY" .sp lstmeval(1) was first made available for tesseract4\&.00\&.00alpha\&. .SH "RESOURCES" .sp Main web site: \m[blue]\fBhttps://github\&.com/tesseract\-ocr\fR\m[] Information on training tesseract LSTM: \m[blue]\fBhttps://tesseract\-ocr\&.github\&.io/tessdoc/TrainingTesseract\-4\&.00\&.html\fR\m[] .SH "SEE ALSO" .sp tesseract(1) .SH "COPYING" .sp Copyright (C) 2012 Google, Inc\&. Licensed under the Apache License, Version 2\&.0 .SH "AUTHOR" .sp The Tesseract OCR engine was written by Ray Smith and his research groups at Hewlett Packard (1985\-1995) and Google (2006\-2018)\&.