Add Tesseract.
This commit is contained in:
1 parent
3235acfa07
commit
a18099f248
60 files changed
+7889
No files matched your search
@@ -0,0 +1,46 @@
|
||||
'\" t
|
||||
.\" Title: ambiguous_words
|
||||
.\" Author: [see the "AUTHOR" section]
|
||||
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
|
||||
.\" Date: 02/09/2012
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "AMBIGUOUS_WORDS" "1" "02/09/2012" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * 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"
|
||||
ambiguous_words \- generate sets of words Tesseract is likely to find ambiguous
|
||||
.SH "SYNOPSIS"
|
||||
.sp
|
||||
\fBambiguous_words\fR [\-l lang] \fITESSDATADIR\fR \fIWORDLIST\fR \fIAMBIGUOUSFILE\fR
|
||||
.SH "DESCRIPTION"
|
||||
.sp
|
||||
ambiguous_words(1) runs Tesseract in a special mode, and for each word in word list, produces a set of words which Tesseract thinks might be ambiguous with it\&. \fITESSDATADIR\fR must be set to the absolute path of a directory containing \fItessdata/lang\&.traineddata\fR\&.
|
||||
.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\-present)\&.
|
||||
@@ -0,0 +1,54 @@
|
||||
'\" t
|
||||
.\" Title: cntraining
|
||||
.\" Author: [see the "AUTHOR" section]
|
||||
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
|
||||
.\" Date: 02/09/2012
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "CNTRAINING" "1" "02/09/2012" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * 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"
|
||||
cntraining \- character normalization training for Tesseract
|
||||
.SH "SYNOPSIS"
|
||||
.sp
|
||||
\fBcntraining\fR [\-D \fIdir\fR] \fIFILE\fR\&...
|
||||
.SH "DESCRIPTION"
|
||||
.sp
|
||||
cntraining takes a list of \&.tr files, from which it generates the \fBnormproto\fR data file (the character normalization sensitivity prototypes)\&.
|
||||
.SH "OPTIONS"
|
||||
.PP
|
||||
\-D \fIdir\fR
|
||||
.RS 4
|
||||
Directory to write output files to\&.
|
||||
.RE
|
||||
.SH "SEE ALSO"
|
||||
.sp
|
||||
tesseract(1), shapeclustering(1), mftraining(1)
|
||||
.sp
|
||||
\m[blue]\fBhttp://code\&.google\&.com/p/tesseract\-ocr/wiki/TrainingTesseract3\fR\m[]
|
||||
.SH "COPYING"
|
||||
.sp
|
||||
Copyright (c) Hewlett\-Packard Company, 1988 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\-present)\&.
|
||||
@@ -0,0 +1,215 @@
|
||||
'\" t
|
||||
.\" Title: combine_tessdata
|
||||
.\" Author: [see the "AUTHOR" section]
|
||||
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
|
||||
.\" Date: 02/09/2012
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "COMBINE_TESSDATA" "1" "02/09/2012" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * 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"
|
||||
combine_tessdata \- combine/extract/overwrite Tesseract data
|
||||
.SH "SYNOPSIS"
|
||||
.sp
|
||||
\fBcombine_tessdata\fR [\fIOPTION\fR] \fIFILE\fR\&...
|
||||
.SH "DESCRIPTION"
|
||||
.sp
|
||||
combine_tessdata(1) is the main program to combine/extract/overwrite tessdata components in [lang]\&.traineddata files\&.
|
||||
.sp
|
||||
To combine all the individual tessdata components (unicharset, DAWGs, classifier templates, ambiguities, language configs) located at, say, /home/$USER/temp/eng\&.* run:
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
combine_tessdata /home/$USER/temp/eng\&.
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.sp
|
||||
The result will be a combined tessdata file /home/$USER/temp/eng\&.traineddata
|
||||
.sp
|
||||
Specify option \-e if you would like to extract individual components from a combined traineddata file\&. For example, to extract language config file and the unicharset from tessdata/eng\&.traineddata run:
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
combine_tessdata \-e tessdata/eng\&.traineddata \e
|
||||
/home/$USER/temp/eng\&.config /home/$USER/temp/eng\&.unicharset
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.sp
|
||||
The desired config file and unicharset will be written to /home/$USER/temp/eng\&.config /home/$USER/temp/eng\&.unicharset
|
||||
.sp
|
||||
Specify option \-o to overwrite individual components of the given [lang]\&.traineddata file\&. For example, to overwrite language config and unichar ambiguities files in tessdata/eng\&.traineddata use:
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
combine_tessdata \-o tessdata/eng\&.traineddata \e
|
||||
/home/$USER/temp/eng\&.config /home/$USER/temp/eng\&.unicharambigs
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.sp
|
||||
As a result, tessdata/eng\&.traineddata will contain the new language config and unichar ambigs, plus all the original DAWGs, classifier templates, etc\&.
|
||||
.sp
|
||||
Note: the file names of the files to extract to and to overwrite from should have the appropriate file suffixes (extensions) indicating their tessdata component type (\&.unicharset for the unicharset, \&.unicharambigs for unichar ambigs, etc)\&. See k*FileSuffix variable in ccutil/tessdatamanager\&.h\&.
|
||||
.sp
|
||||
Specify option \-u to unpack all the components to the specified path:
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
combine_tessdata \-u tessdata/eng\&.traineddata /home/$USER/temp/eng\&.
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.sp
|
||||
This will create /home/$USER/temp/eng\&.* files with individual tessdata components from tessdata/eng\&.traineddata\&.
|
||||
.SH "OPTIONS"
|
||||
.sp
|
||||
\fB\-e\fR \fI\&.traineddata\fR \fIFILE\fR\&...: Extracts the specified components from the \&.traineddata file
|
||||
.sp
|
||||
\fB\-o\fR \fI\&.traineddata\fR \fIFILE\fR\&...: Overwrites the specified components of the \&.traineddata file with those provided on the comand line\&.
|
||||
.sp
|
||||
\fB\-u\fR \fI\&.traineddata\fR \fIPATHPREFIX\fR Unpacks the \&.traineddata using the provided prefix\&.
|
||||
.SH "CAVEATS"
|
||||
.sp
|
||||
\fIPrefix\fR refers to the full file prefix, including period (\&.)
|
||||
.SH "COMPONENTS"
|
||||
.sp
|
||||
The components in a Tesseract lang\&.traineddata file as of Tesseract 3\&.02 are briefly described below; For more information on many of these files, see \m[blue]\fBhttp://code\&.google\&.com/p/tesseract\-ocr/wiki/TrainingTesseract3\fR\m[]
|
||||
.PP
|
||||
lang\&.config
|
||||
.RS 4
|
||||
(Optional) Language\-specific overrides to default config variables\&.
|
||||
.RE
|
||||
.PP
|
||||
lang\&.unicharset
|
||||
.RS 4
|
||||
(Required) The list of symbols that Tesseract recognizes, with properties\&. See unicharset(5)\&.
|
||||
.RE
|
||||
.PP
|
||||
lang\&.unicharambigs
|
||||
.RS 4
|
||||
(Optional) This file contains information on pairs of recognized symbols which are often confused\&. For example,
|
||||
\fIrn\fR
|
||||
and
|
||||
\fIm\fR\&.
|
||||
.RE
|
||||
.PP
|
||||
lang\&.inttemp
|
||||
.RS 4
|
||||
(Required) Character shape templates for each unichar\&. Produced by mftraining(1)\&.
|
||||
.RE
|
||||
.PP
|
||||
lang\&.pffmtable
|
||||
.RS 4
|
||||
(Required) The number of features expected for each unichar\&. Produced by mftraining(1) from
|
||||
\fB\&.tr\fR
|
||||
files\&.
|
||||
.RE
|
||||
.PP
|
||||
lang\&.normproto
|
||||
.RS 4
|
||||
(Required) Character normalization prototypes generated by cntraining(1) from
|
||||
\fB\&.tr\fR
|
||||
files\&.
|
||||
.RE
|
||||
.PP
|
||||
lang\&.punc\-dawg
|
||||
.RS 4
|
||||
(Optional) A dawg made from punctuation patterns found around words\&. The "word" part is replaced by a single space\&.
|
||||
.RE
|
||||
.PP
|
||||
lang\&.word\-dawg
|
||||
.RS 4
|
||||
(Optional) A dawg made from dictionary words from the language\&.
|
||||
.RE
|
||||
.PP
|
||||
lang\&.number\-dawg
|
||||
.RS 4
|
||||
(Optional) A dawg made from tokens which originally contained digits\&. Each digit is replaced by a space character\&.
|
||||
.RE
|
||||
.PP
|
||||
lang\&.freq\-dawg
|
||||
.RS 4
|
||||
(Optional) A dawg made from the most frequent words which would have gone into word\-dawg\&.
|
||||
.RE
|
||||
.PP
|
||||
lang\&.fixed\-length\-dawgs
|
||||
.RS 4
|
||||
(Optional) Several dawgs of different fixed lengths \(em useful for languages like Chinese\&.
|
||||
.RE
|
||||
.PP
|
||||
lang\&.cube\-unicharset
|
||||
.RS 4
|
||||
(Optional) A unicharset for cube, if cube was trained on a different set of symbols\&.
|
||||
.RE
|
||||
.PP
|
||||
lang\&.cube\-word\-dawg
|
||||
.RS 4
|
||||
(Optional) A word dawg for cube\(cqs alternate unicharset\&. Not needed if Cube was trained with Tesseract\(cqs unicharset\&.
|
||||
.RE
|
||||
.PP
|
||||
lang\&.shapetable
|
||||
.RS 4
|
||||
(Optional) When present, a shapetable is an extra layer between the character classifier and the word recognizer that allows the character classifier to return a collection of unichar ids and fonts instead of a single unichar\-id and font\&.
|
||||
.RE
|
||||
.PP
|
||||
lang\&.bigram\-dawg
|
||||
.RS 4
|
||||
(Optional) A dawg of word bigrams where the words are separated by a space and each digit is replaced by a
|
||||
\fI?\fR\&.
|
||||
.RE
|
||||
.PP
|
||||
lang\&.unambig\-dawg
|
||||
.RS 4
|
||||
(Optional) TODO: Describe\&.
|
||||
.RE
|
||||
.PP
|
||||
lang\&.params\-training\-model
|
||||
.RS 4
|
||||
(Optional) TODO: Describe\&.
|
||||
.RE
|
||||
.SH "HISTORY"
|
||||
.sp
|
||||
combine_tessdata(1) first appeared in version 3\&.00 of Tesseract
|
||||
.SH "SEE ALSO"
|
||||
.sp
|
||||
tesseract(1), wordlist2dawg(1), cntraining(1), mftraining(1), unicharset(5), unicharambigs(5)
|
||||
.SH "COPYING"
|
||||
.sp
|
||||
Copyright (C) 2009, 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\-present)\&.
|
||||
@@ -0,0 +1,55 @@
|
||||
'\" t
|
||||
.\" Title: dawg2wordlist
|
||||
.\" Author: [see the "AUTHOR" section]
|
||||
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
|
||||
.\" Date: 02/09/2012
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "DAWG2WORDLIST" "1" "02/09/2012" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * 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"
|
||||
dawg2wordlist \- convert a Tesseract DAWG to a wordlist
|
||||
.SH "SYNOPSIS"
|
||||
.sp
|
||||
\fBdawg2wordlist\fR \fIUNICHARSET\fR \fIDAWG\fR \fIWORDLIST\fR
|
||||
.SH "DESCRIPTION"
|
||||
.sp
|
||||
dawg2wordlist(1) converts a Tesseract Directed Acyclic Word Graph (DAWG) to a list of words using a unicharset as key\&.
|
||||
.SH "OPTIONS"
|
||||
.sp
|
||||
\fIUNICHARSET\fR The unicharset of the language\&. This is the unicharset generated by mftraining(1)\&.
|
||||
.sp
|
||||
\fIDAWG\fR The input DAWG, created by wordlist2dawg(1)
|
||||
.sp
|
||||
\fIWORDLIST\fR Plain text (output) file in UTF\-8, one word per line
|
||||
.SH "SEE ALSO"
|
||||
.sp
|
||||
tesseract(1), mftraining(1), wordlist2dawg(1), unicharset(5), combine_tessdata(1)
|
||||
.sp
|
||||
\m[blue]\fBhttp://code\&.google\&.com/p/tesseract\-ocr/wiki/TrainingTesseract3\fR\m[]
|
||||
.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\-present)\&.
|
||||
@@ -0,0 +1,94 @@
|
||||
'\" t
|
||||
.\" Title: mftraining
|
||||
.\" Author: [see the "AUTHOR" section]
|
||||
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
|
||||
.\" Date: 02/09/2012
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "MFTRAINING" "1" "02/09/2012" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * 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"
|
||||
mftraining \- feature training for Tesseract
|
||||
.SH "SYNOPSIS"
|
||||
.sp
|
||||
mftraining \-U \fIunicharset\fR \-O \fIlang\&.unicharset\fR \fIFILE\fR\&...
|
||||
.SH "DESCRIPTION"
|
||||
.sp
|
||||
mftraining takes a list of \&.tr files, from which it generates the files \fBinttemp\fR (the shape prototypes), \fBshapetable\fR, and \fBpffmtable\fR (the number of expected features for each character)\&. (A fourth file called Microfeat is also written by this program, but it is not used\&.)
|
||||
.SH "OPTIONS"
|
||||
.PP
|
||||
\-U \fIFILE\fR
|
||||
.RS 4
|
||||
(Input) The unicharset generated by unicharset_extractor(1)
|
||||
.RE
|
||||
.PP
|
||||
\-F \fIfont_properties_file\fR
|
||||
.RS 4
|
||||
(Input) font properties file, each line is of the following form, where each field other than the font name is 0 or 1:
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
*font_name* *italic* *bold* *fixed_pitch* *serif* *fraktur*
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.RE
|
||||
.PP
|
||||
\-X \fIxheights_file\fR
|
||||
.RS 4
|
||||
(Input) x heights file, each line is of the following form, where xheight is calculated as the pixel x height of a character drawn at 32pt on 300 dpi\&. [ That is, if base x height + ascenders + descenders = 133, how much is x height? ]
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
*font_name* *xheight*
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.RE
|
||||
.PP
|
||||
\-D \fIdir\fR
|
||||
.RS 4
|
||||
Directory to write output files to\&.
|
||||
.RE
|
||||
.PP
|
||||
\-O \fIFILE\fR
|
||||
.RS 4
|
||||
(Output) The output unicharset that will be given to combine_tessdata(1)
|
||||
.RE
|
||||
.SH "SEE ALSO"
|
||||
.sp
|
||||
tesseract(1), cntraining(1), unicharset_extractor(1), combine_tessdata(1), shapeclustering(1), unicharset(5)
|
||||
.sp
|
||||
\m[blue]\fBhttp://code\&.google\&.com/p/tesseract\-ocr/wiki/TrainingTesseract3\fR\m[]
|
||||
.SH "COPYING"
|
||||
.sp
|
||||
Copyright (C) Hewlett\-Packard Company, 1988 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\-present)\&.
|
||||
@@ -0,0 +1,94 @@
|
||||
'\" t
|
||||
.\" Title: shapeclustering
|
||||
.\" Author: [see the "AUTHOR" section]
|
||||
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
|
||||
.\" Date: 02/09/2012
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "SHAPECLUSTERING" "1" "02/09/2012" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * 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"
|
||||
shapeclustering \- shape clustering training for Tesseract
|
||||
.SH "SYNOPSIS"
|
||||
.sp
|
||||
shapeclustering \-D \fIoutput_dir\fR \-U \fIunicharset\fR \-O \fImfunicharset\fR \-F \fIfont_props\fR \-X \fIxheights\fR \fIFILE\fR\&...
|
||||
.SH "DESCRIPTION"
|
||||
.sp
|
||||
shapeclustering(1) takes extracted feature \&.tr files (generated by tesseract(1) run in a special mode from box files) and produces a file \fBshapetable\fR and an enhanced unicharset\&. This program is still experimental, and is not required (yet) for training Tesseract\&.
|
||||
.SH "OPTIONS"
|
||||
.PP
|
||||
\-U \fIFILE\fR
|
||||
.RS 4
|
||||
The unicharset generated by unicharset_extractor(1)\&.
|
||||
.RE
|
||||
.PP
|
||||
\-D \fIdir\fR
|
||||
.RS 4
|
||||
Directory to write output files to\&.
|
||||
.RE
|
||||
.PP
|
||||
\-F \fIfont_properties_file\fR
|
||||
.RS 4
|
||||
(Input) font properties file, where each line is of the following form, where each field other than the font name is 0 or 1:
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\*(Aqfont_name\*(Aq \*(Aqitalic\*(Aq \*(Aqbold\*(Aq \*(Aqfixed_pitch\*(Aq \*(Aqserif\*(Aq \*(Aqfraktur\*(Aq
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.RE
|
||||
.PP
|
||||
\-X \fIxheights_file\fR
|
||||
.RS 4
|
||||
(Input) x heights file, each line is of the following form, where xheight is calculated as the pixel x height of a character drawn at 32pt on 300 dpi\&. [ That is, if base x height + ascenders + descenders = 133, how much is x height? ]
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\*(Aqfont_name\*(Aq \*(Aqxheight\*(Aq
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.RE
|
||||
.PP
|
||||
\-O \fIFILE\fR
|
||||
.RS 4
|
||||
The output unicharset that will be given to combine_tessdata(1)\&.
|
||||
.RE
|
||||
.SH "SEE ALSO"
|
||||
.sp
|
||||
tesseract(1), cntraining(1), unicharset_extractor(1), combine_tessdata(1), unicharset(5)
|
||||
.sp
|
||||
\m[blue]\fBhttp://code\&.google\&.com/p/tesseract\-ocr/wiki/TrainingTesseract3\fR\m[]
|
||||
.SH "COPYING"
|
||||
.sp
|
||||
Copyright (C) Google, 2011 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\-present)\&.
|
||||
@@ -0,0 +1,194 @@
|
||||
'\" t
|
||||
.\" Title: tesseract
|
||||
.\" Author: [see the "AUTHOR" section]
|
||||
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
|
||||
.\" Date: 04/09/2012
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "TESSERACT" "1" "04/09/2012" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * 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"
|
||||
tesseract \- command\-line OCR engine
|
||||
.SH "SYNOPSIS"
|
||||
.sp
|
||||
\fBtesseract\fR \fIimagename\fR \fIoutbase\fR [\fI\-l lang\fR] [\fI\-psm N\fR] [\fIconfigfile\fR \&...]
|
||||
.SH "DESCRIPTION"
|
||||
.sp
|
||||
tesseract(1) is a commercial quality OCR engine originally developed at HP between 1985 and 1995\&. In 1995, this engine was among the top 3 evaluated by UNLV\&. It was open\-sourced by HP and UNLV in 2005, and has been developed at Google since then\&.
|
||||
.SH "OPTIONS"
|
||||
.PP
|
||||
\fIimagename\fR
|
||||
.RS 4
|
||||
The name of the input image\&. Most image file formats (anything readable by Leptonica) are supported\&.
|
||||
.RE
|
||||
.PP
|
||||
\fIoutbase\fR
|
||||
.RS 4
|
||||
The basename of the output file (to which the appropriate extension will be appended)\&. By default the output will be named
|
||||
\fIoutbase\&.txt\fR\&.
|
||||
.RE
|
||||
.PP
|
||||
\fI\-l lang\fR
|
||||
.RS 4
|
||||
The language to use\&. If none is specified, English is assumed\&. Multiple languages may be specified, separated by plus characters\&. Tesseract uses 3\-character ISO 639\-2 language codes\&. (See LANGUAGES)
|
||||
.RE
|
||||
.PP
|
||||
\fI\-psm N\fR
|
||||
.RS 4
|
||||
Set Tesseract to only run a subset of layout analysis and assume a certain form of image\&. The options for
|
||||
\fBN\fR
|
||||
are:
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
0 = Orientation and script detection (OSD) only\&.
|
||||
1 = Automatic page segmentation with OSD\&.
|
||||
2 = Automatic page segmentation, but no OSD, or OCR\&.
|
||||
3 = Fully automatic page segmentation, but no OSD\&. (Default)
|
||||
4 = Assume a single column of text of variable sizes\&.
|
||||
5 = Assume a single uniform block of vertically aligned text\&.
|
||||
6 = Assume a single uniform block of text\&.
|
||||
7 = Treat the image as a single text line\&.
|
||||
8 = Treat the image as a single word\&.
|
||||
9 = Treat the image as a single word in a circle\&.
|
||||
10 = Treat the image as a single character\&.
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.RE
|
||||
.PP
|
||||
\fI\-v\fR
|
||||
.RS 4
|
||||
Returns the current version of the tesseract(1) executable\&.
|
||||
.RE
|
||||
.PP
|
||||
\fIconfigfile\fR
|
||||
.RS 4
|
||||
The name of a config to use\&. A config is a plaintext file which contains a list of variables and their values, one per line, with a space separating variable from value\&. Interesting config files include:
|
||||
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
\h'-04'\(bu\h'+03'\c
|
||||
.\}
|
||||
.el \{\
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
hocr \- Output in hOCR format instead of as a text file\&.
|
||||
.RE
|
||||
.RE
|
||||
.sp
|
||||
\fBNota Bene:\fR The options \fI\-l lang\fR and \fI\-psm N\fR must occur before any \fIconfigfile\fR\&.
|
||||
.SH "LANGUAGES"
|
||||
.sp
|
||||
There are currently language packs available for the following languages:
|
||||
.sp
|
||||
\fBara\fR (Arabic), \fBaze\fR (Azerbauijani), \fBbul\fR (Bulgarian), \fBcat\fR (Catalan), \fBces\fR (Czech), \fBchi_sim\fR (Simplified Chinese), \fBchi_tra\fR (Traditional Chinese), \fBchr\fR (Cherokee), \fBdan\fR (Danish), \fBdan\-frak\fR (Danish (Fraktur)), \fBdeu\fR (German), \fBell\fR (Greek), \fBeng\fR (English), \fBenm\fR (Old English), \fBepo\fR (Esperanto), \fBest\fR (Estonian), \fBfin\fR (Finnish), \fBfra\fR (French), \fBfrm\fR (Old French), \fBglg\fR (Galician), \fBheb\fR (Hebrew), \fBhin\fR (Hindi), \fBhrv\fR (Croation), \fBhun\fR (Hungarian), \fBind\fR (Indonesian), \fBita\fR (Italian), \fBjpn\fR (Japanese), \fBkor\fR (Korean), \fBlav\fR (Latvian), \fBlit\fR (Lithuanian), \fBnld\fR (Dutch), \fBnor\fR (Norwegian), \fBpol\fR (Polish), \fBpor\fR (Portuguese), \fBron\fR (Romanian), \fBrus\fR (Russian), \fBslk\fR (Slovakian), \fBslv\fR (Slovenian), \fBsqi\fR (Albanian), \fBspa\fR (Spanish), \fBsrp\fR (Serbian), \fBswe\fR (Swedish), \fBtam\fR (Tamil), \fBtel\fR (Telugu), \fBtgl\fR (Tagalog), \fBtha\fR (Thai), \fBtur\fR (Turkish), \fBukr\fR (Ukrainian), \fBvie\fR (Vietnamese)
|
||||
.sp
|
||||
To use a non\-standard language pack named \fBfoo\&.traineddata\fR, set the \fBTESSDATA_PREFIX\fR environment variable so the file can be found at \fBTESSDATA_PREFIX\fR/tessdata/\fBfoo\fR\&.traineddata and give Tesseract the argument \fI\-l foo\fR\&.
|
||||
.SH "CONFIG FILES AND AUGMENTING WITH USER DATA"
|
||||
.sp
|
||||
Tesseract config files consist of lines with variable\-value pairs (space separated)\&. The variables are documented as flags in the source code like the following one in tesseractclass\&.h:
|
||||
.sp
|
||||
STRING_VAR_H(tessedit_char_blacklist, "", "Blacklist of chars not to recognize");
|
||||
.sp
|
||||
These variables may enable or disable various features of the engine, and may cause it to load (or not load) various data\&. For instance, let\(cqs suppose you want to OCR in English, but suppress the normal dictionary and load an alternative word list and an alternative list of patterns \(em these two files are the most commonly used extra data files\&.
|
||||
.sp
|
||||
If your language pack is in /path/to/eng\&.traineddata and the hocr config is in /path/to/configs/hocr then create three new files:
|
||||
.sp
|
||||
/path/to/eng\&.user\-words:
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
the
|
||||
quick
|
||||
brown
|
||||
fox
|
||||
jumped
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.sp
|
||||
/path/to/eng\&.user\-patterns:
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
1\-\ed\ed\ed\-GOOG\-411
|
||||
www\&.\en\e\e\e*\&.com
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.sp
|
||||
/path/to/configs/bazaar:
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
load_system_dawg F
|
||||
load_freq_dawg F
|
||||
user_words_suffix user\-words
|
||||
user_patterns_suffix user\-patterns
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.sp
|
||||
Now, if you pass the word \fIbazaar\fR as a trailing command line parameter to Tesseract, Tesseract will not bother loading the system dictionary nor the dictionary of frequent words and will load and use the eng\&.user\-words and eng\&.user\-patterns files you provided\&. The former is a simple word list, one per line\&. The format of the latter is documented in dict/trie\&.h on read_pattern_list()\&.
|
||||
.SH "HISTORY"
|
||||
.sp
|
||||
The engine was developed at Hewlett Packard Laboratories Bristol and at Hewlett Packard Co, Greeley Colorado between 1985 and 1994, with some more changes made in 1996 to port to Windows, and some C++izing in 1998\&. A lot of the code was written in C, and then some more was written in C++\&. The C\e++ code makes heavy use of a list system using macros\&. This predates stl, was portable before stl, and is more efficient than stl lists, but has the big negative that if you do get a segmentation violation, it is hard to debug\&.
|
||||
.sp
|
||||
Version 2\&.00 brought Unicode (UTF\-8) support, six languages, and the ability to train Tesseract\&.
|
||||
.sp
|
||||
Tesseract was included in UNLV\(cqs Fourth Annual Test of OCR Accuracy\&. See \m[blue]\fBhttp://www\&.isri\&.unlv\&.edu/downloads/AT\-1995\&.pdf\fR\m[]\&. With Tesseract 2\&.00, scripts are now included to allow anyone to reproduce some of these tests\&. See \m[blue]\fBhttp://code\&.google\&.com/p/tesseract\-ocr/wiki/TestingTesseract\fR\m[] for more details\&.
|
||||
.sp
|
||||
Tesseract 3\&.00 adds a number of new languages, including Chinese, Japanese, and Korean\&. It also introduces a new, single\-file based system of managing language data\&.
|
||||
.sp
|
||||
Tesseract 3\&.02 adds BiDirectional text support, the ability to recognize multiple languages in a single image, and improved layout analysis\&.
|
||||
.sp
|
||||
For further details, see the file ReleaseNotes included with the distribution\&.
|
||||
.SH "RESOURCES"
|
||||
.sp
|
||||
Main web site: \m[blue]\fBhttp://code\&.google\&.com/p/tesseract\-ocr/\fR\m[] Information on training: \m[blue]\fBhttp://code\&.google\&.com/p/tesseract\-ocr/wiki/TrainingTesseract3\fR\m[]
|
||||
.SH "SEE ALSO"
|
||||
.sp
|
||||
ambiguous_words(1), cntraining(1), combine_tessdata(1), dawg2wordlist(1), shape_training(1), mftraining(1), unicharambigs(5), unicharset(5), unicharset_extractor(1), wordlist2dawg(1)
|
||||
.SH "AUTHOR"
|
||||
.sp
|
||||
Tesseract development was led at Hewlett\-Packard and Google by Ray Smith\&. The development team has included:
|
||||
.sp
|
||||
Ahmad Abdulkader, Chris Newton, Dan Johnson, Dar\-Shyang Lee, David Eger, Eric Wiseblatt, Faisal Shafait, Hiroshi Takenaka, Joe Liu, Joern Wanke, Mark Seaman, Mickey Namiki, Nicholas Beato, Oded Fuhrmann, Phil Cheatle, Pingping Xiu, Pong Eksombatchai (Chantat), Ranjith Unnikrishnan, Raquel Romano, Ray Smith, Rika Antonova, Robert Moss, Samuel Charron, Sheelagh Lloyd, Shobhit Saxena, and Thomas Kielbus\&.
|
||||
.SH "COPYING"
|
||||
.sp
|
||||
Licensed under the Apache License, Version 2\&.0
|
||||
@@ -0,0 +1,69 @@
|
||||
'\" t
|
||||
.\" Title: unicharset_extractor
|
||||
.\" Author: [see the "AUTHOR" section]
|
||||
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
|
||||
.\" Date: 02/09/2012
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "UNICHARSET_EXTRACTOR" "1" "02/09/2012" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * 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"
|
||||
unicharset_extractor \- extract unicharset from Tesseract boxfiles
|
||||
.SH "SYNOPSIS"
|
||||
.sp
|
||||
\fBunicharset_extractor\fR \fI[\-D dir]\fR \fIFILE\fR\&...
|
||||
.SH "DESCRIPTION"
|
||||
.sp
|
||||
Tesseract needs to know the set of possible characters it can output\&. To generate the unicharset data file, use the unicharset_extractor program on the same training pages bounding box files as used for clustering:
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
unicharset_extractor fontfile_1\&.box fontfile_2\&.box \&.\&.\&.
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.sp
|
||||
The unicharset will be put into the file \fIdir/unicharset\fR, or simply \fI\&./unicharset\fR if no output directory is provided\&.
|
||||
.sp
|
||||
Tesseract also needs to have access to character properties isalpha, isdigit, isupper, islower, ispunctuation\&. all of this auxilury data and more is encoded in this file\&. (See unicharset(5))
|
||||
.sp
|
||||
If your system supports the wctype functions, these values will be set automatically by unicharset_extractor and there is no need to edit the unicharset file\&. On some older systems (eg Windows 95), the unicharset file must be edited by hand to add these property description codes\&.
|
||||
.sp
|
||||
\fBNOTE\fR The unicharset file must be regenerated whenever inttemp, normproto and pffmtable are generated (i\&.e\&. they must all be recreated when the box file is changed) as they have to be in sync\&. This is made easier than in previous versions by running unicharset_extractor before mftraining and cntraining, and giving the unicharset to mftraining\&.
|
||||
.SH "SEE ALSO"
|
||||
.sp
|
||||
tesseract(1), unicharset(5)
|
||||
.sp
|
||||
\m[blue]\fBhttp://code\&.google\&.com/p/tesseract\-ocr/wiki/TrainingTesseract3\fR\m[]
|
||||
.SH "HISTORY"
|
||||
.sp
|
||||
unicharset_extractor first appeared in Tesseract 2\&.00\&.
|
||||
.SH "COPYING"
|
||||
.sp
|
||||
Copyright (C) 2006, 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\-present)\&.
|
||||
@@ -0,0 +1,72 @@
|
||||
'\" t
|
||||
.\" Title: wordlist2dawg
|
||||
.\" Author: [see the "AUTHOR" section]
|
||||
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
|
||||
.\" Date: 02/09/2012
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "WORDLIST2DAWG" "1" "02/09/2012" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * 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"
|
||||
wordlist2dawg \- convert a wordlist to a DAWG for Tesseract
|
||||
.SH "SYNOPSIS"
|
||||
.sp
|
||||
\fBwordlist2dawg\fR \fIWORDLIST\fR \fIDAWG\fR \fIlang\&.unicharset\fR
|
||||
.sp
|
||||
\fBwordlist2dawg\fR \-t \fIWORDLIST\fR \fIDAWG\fR \fIlang\&.unicharset\fR
|
||||
.sp
|
||||
\fBwordlist2dawg\fR \-r 1 \fIWORDLIST\fR \fIDAWG\fR \fIlang\&.unicharset\fR
|
||||
.sp
|
||||
\fBwordlist2dawg\fR \-r 2 \fIWORDLIST\fR \fIDAWG\fR \fIlang\&.unicharset\fR
|
||||
.sp
|
||||
\fBwordlist2dawg\fR \-l <short> <long> \fIWORDLIST\fR \fIDAWG\fR \fIlang\&.unicharset\fR
|
||||
.SH "DESCRIPTION"
|
||||
.sp
|
||||
wordlist2dawg(1) converts a wordlist to a Directed Acyclic Word Graph (DAWG) for use with Tesseract\&. A DAWG is a compressed, space and time efficient representation of a word list\&.
|
||||
.SH "OPTIONS"
|
||||
.sp
|
||||
\-t Verify that a given dawg file is equivalent to a given wordlist\&.
|
||||
.sp
|
||||
\-r 1 Reverse a word if it contains an RTL character\&.
|
||||
.sp
|
||||
\-r 2 Reverse all words\&.
|
||||
.sp
|
||||
\-l <short> <long> Produce a file with several dawgs in it, one each for words of length <short>, <short+1>,\&... <long>
|
||||
.SH "ARGUMENTS"
|
||||
.sp
|
||||
\fIWORDLIST\fR A plain text file in UTF\-8, one word per line\&.
|
||||
.sp
|
||||
\fIDAWG\fR The output DAWG to write\&.
|
||||
.sp
|
||||
\fIlang\&.unicharset\fR The unicharset of the language\&. This is the unicharset generated by mftraining(1)\&.
|
||||
.SH "SEE ALSO"
|
||||
.sp
|
||||
tesseract(1), combine_tessdata(1), dawg2wordlist(1)
|
||||
.sp
|
||||
\m[blue]\fBhttp://code\&.google\&.com/p/tesseract\-ocr/wiki/TrainingTesseract3\fR\m[]
|
||||
.SH "COPYING"
|
||||
.sp
|
||||
Copyright (C) 2006 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\-present)\&.
|
||||
@@ -0,0 +1,120 @@
|
||||
'\" t
|
||||
.\" Title: unicharambigs
|
||||
.\" Author: [see the "AUTHOR" section]
|
||||
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
|
||||
.\" Date: 02/09/2012
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "UNICHARAMBIGS" "5" "02/09/2012" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * 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"
|
||||
unicharambigs \- Tesseract unicharset ambiguities
|
||||
.SH "DESCRIPTION"
|
||||
.sp
|
||||
The unicharambigs file (a component of traineddata, see combine_tessdata(1) ) is used by Tesseract to represent possible ambiguities between characters, or groups of characters\&.
|
||||
.sp
|
||||
The file contains a number of lines, laid out as follow:
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
[num] <TAB> [char(s)] <TAB> [num] <TAB> [char(s)] <TAB> [num]
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.sp
|
||||
.TS
|
||||
tab(:);
|
||||
lt lt
|
||||
lt lt
|
||||
lt lt
|
||||
lt lt
|
||||
lt lt.
|
||||
T{
|
||||
.sp
|
||||
Field one
|
||||
T}:T{
|
||||
.sp
|
||||
the number of characters contained in field two
|
||||
T}
|
||||
T{
|
||||
.sp
|
||||
Field two
|
||||
T}:T{
|
||||
.sp
|
||||
the character sequence to be replaced
|
||||
T}
|
||||
T{
|
||||
.sp
|
||||
Field three
|
||||
T}:T{
|
||||
.sp
|
||||
the number of characters contained in field four
|
||||
T}
|
||||
T{
|
||||
.sp
|
||||
Field four
|
||||
T}:T{
|
||||
.sp
|
||||
the character sequence used to replace field two
|
||||
T}
|
||||
T{
|
||||
.sp
|
||||
Field five
|
||||
T}:T{
|
||||
.sp
|
||||
contains either 1 or 0\&. 1 denotes a mandatory replacement, 0 denotes an optional replacement\&.
|
||||
T}
|
||||
.TE
|
||||
.sp 1
|
||||
.sp
|
||||
Characters appearing in fields two and four should appear in unicharset\&. The numbers in fields one and three refer to the number of unichars (not bytes)\&.
|
||||
.SH "EXAMPLE"
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
2 \*(Aq \*(Aq 1 " 1
|
||||
1 m 2 r n 0
|
||||
3 i i i 1 m 0
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.sp
|
||||
In this example, all instances of the \fI2\fR character sequence \fI\*(Aq\fR\*(Aq will \fBalways\fR be replaced by the \fI1\fR character sequence \fI"\fR; a \fI1\fR character sequence \fIm\fR \fBmay\fR be replaced by the \fI2\fR character sequence \fIrn\fR, and the \fI3\fR character sequence \fBmay\fR be replaced by the \fI1\fR character sequence \fIm\fR\&.
|
||||
.SH "HISTORY"
|
||||
.sp
|
||||
The unicharambigs file first appeared in Tesseract 3\&.00; prior to that, a similar format, called DangAmbigs (\fIdangerous ambiguities\fR) was used: the format was almost identical, except only mandatory replacements could be specified, and field 5 was absent\&.
|
||||
.SH "BUGS"
|
||||
.sp
|
||||
This is a documentation "bug": it\(cqs not currently clear what should be done in the case of ligatures (such as \fIfi\fR) which may also appear as regular letters in the unicharset\&.
|
||||
.SH "SEE ALSO"
|
||||
.sp
|
||||
tesseract(1), unicharset(5)
|
||||
.SH "AUTHOR"
|
||||
.sp
|
||||
The Tesseract OCR engine was written by Ray Smith and his research groups at Hewlett Packard (1985\-1995) and Google (2006\-present)\&.
|
||||
@@ -0,0 +1,220 @@
|
||||
'\" t
|
||||
.\" Title: unicharset
|
||||
.\" Author: [see the "AUTHOR" section]
|
||||
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
|
||||
.\" Date: 02/09/2012
|
||||
.\" Manual: \ \&
|
||||
.\" Source: \ \&
|
||||
.\" Language: English
|
||||
.\"
|
||||
.TH "UNICHARSET" "5" "02/09/2012" "\ \&" "\ \&"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * 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"
|
||||
unicharset \- character properties file used by tesseract(1)
|
||||
.SH "DESCRIPTION"
|
||||
.sp
|
||||
Tesseract\(cqs unicharset file contains information on each symbol (unichar) the Tesseract OCR engine is trained to recognize\&.
|
||||
.sp
|
||||
A unicharset file (i\&.e\&. \fIeng\&.unicharset\fR) is distributed as part of a Tesseract language pack (i\&.e\&. \fIeng\&.traineddata\fR)\&. For information on extracting the unicharset file, see combine_tessdata(1)\&.
|
||||
.sp
|
||||
The first line of a unicharset file contains the number of unichars in the file\&. After this line, each subsequent line provides information for a single unichar\&. The first such line contains a placeholder reserved for the space character\&. Each unichar is referred to within Tesseract by its Unichar ID, which is the line number (minus 1) within the unicharset file\&. Therefore, space gets unichar 0\&.
|
||||
.sp
|
||||
Each unichar line in the unicharset file (v2+) may have four space\-separated fields:
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\*(Aqcharacter\*(Aq \*(Aqproperties\*(Aq \*(Aqscript\*(Aq \*(Aqid\*(Aq
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.sp
|
||||
Starting with Tesseract v3\&.02, more information may be given for each unichar:
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
\*(Aqcharacter\*(Aq \*(Aqproperties\*(Aq \*(Aqglyph_metrics\*(Aq \*(Aqscript\*(Aq \*(Aqother_case\*(Aq \*(Aqdirection\*(Aq \*(Aqmirror\*(Aq \*(Aqnormed_form\*(Aq
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.sp
|
||||
Entries:
|
||||
.PP
|
||||
\fIcharacter\fR
|
||||
.RS 4
|
||||
The UTF\-8 encoded string to be produced for this unichar\&.
|
||||
.RE
|
||||
.PP
|
||||
\fIproperties\fR
|
||||
.RS 4
|
||||
An integer mask of character properties, one per bit\&. From least to most significant bit, these are: isalpha, islower, isupper, isdigit, ispunctuation\&.
|
||||
.RE
|
||||
.PP
|
||||
\fIglyph_metrics\fR
|
||||
.RS 4
|
||||
Ten comma\-separated integers representing various standards for where this glyph is to be found within a baseline\-normalized coordinate system where 128 is normalized to x\-height\&.
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
\h'-04'\(bu\h'+03'\c
|
||||
.\}
|
||||
.el \{\
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
min_bottom, max_bottom: the ranges where the bottom of the character can be found\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
\h'-04'\(bu\h'+03'\c
|
||||
.\}
|
||||
.el \{\
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
min_top, max_top: the ranges where the top of the character may be found\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
\h'-04'\(bu\h'+03'\c
|
||||
.\}
|
||||
.el \{\
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
min_width, max_width: horizontal width of the character\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
\h'-04'\(bu\h'+03'\c
|
||||
.\}
|
||||
.el \{\
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
min_bearing, max_bearing: how far from the usual start position does the leftmost part of the character begin\&.
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
.ie n \{\
|
||||
\h'-04'\(bu\h'+03'\c
|
||||
.\}
|
||||
.el \{\
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
min_advance, max_advance: how far from the printer\(cqs cell left do we advance to begin the next character\&.
|
||||
.RE
|
||||
.RE
|
||||
.PP
|
||||
\fIscript\fR
|
||||
.RS 4
|
||||
Name of the script (Latin, Common, Greek, Cyrillic, Han, null)\&.
|
||||
.RE
|
||||
.PP
|
||||
\fIother_case\fR
|
||||
.RS 4
|
||||
The Unichar ID of the other case version of this character (upper or lower)\&.
|
||||
.RE
|
||||
.PP
|
||||
\fIdirection\fR
|
||||
.RS 4
|
||||
The Unicode BiDi direction of this character, as defined by ICU\(cqs enum UCharDirection\&. (0 = Left to Right, 1 = Right to Left, 2 = European Number\&...)
|
||||
.RE
|
||||
.PP
|
||||
\fImirror\fR
|
||||
.RS 4
|
||||
The Unichar ID of the BiDirectional mirror of this character\&. For example the mirror of open paren is close paren, but Latin Capital C has no mirror, so it remains a Latin Capital C\&.
|
||||
.RE
|
||||
.PP
|
||||
\fInormed_form\fR
|
||||
.RS 4
|
||||
The UTF\-8 representation of a "normalized form" of this unichar for the purpose of blaming a module for errors given ground truth text\&. For instance, a left or right single quote may normalize to an ASCII quote\&.
|
||||
.RE
|
||||
.SH "EXAMPLE (V2)"
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
; 10 Common 46
|
||||
b 3 Latin 59
|
||||
W 5 Latin 40
|
||||
7 8 Common 66
|
||||
= 0 Common 93
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.sp
|
||||
";" is a punctuation character\&. Its properties are thus represented by the binary number 10000 (10 in hexadecimal)\&.
|
||||
.sp
|
||||
"b" is an alphabetic character and a lower case character\&. Its properties are thus represented by the binary number 00011 (3 in hexadecimal)\&.
|
||||
.sp
|
||||
"W" is an alphabetic character and an upper case character\&. Its properties are thus represented by the binary number 00101 (5 in hexadecimal)\&.
|
||||
.sp
|
||||
"7" is just a digit\&. Its properties are thus represented by the binary number 01000 (8 in hexadecimal)\&.
|
||||
.sp
|
||||
"=" is not punctuation nor a digit nor an alphabetic character\&. Its properties are thus represented by the binary number 00000 (0 in hexadecimal)\&.
|
||||
.sp
|
||||
Japanese or Chinese alphabetic character properties are represented by the binary number 00001 (1 in hexadecimal): they are alphabetic, but neither upper nor lower case\&.
|
||||
.SH "EXAMPLE (V3.02)"
|
||||
.sp
|
||||
.if n \{\
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
110
|
||||
NULL 0 NULL 0
|
||||
N 5 59,68,216,255,87,236,0,27,104,227 Latin 11 0 1 N
|
||||
Y 5 59,68,216,255,91,205,0,47,91,223 Latin 33 0 2 Y
|
||||
1 8 59,69,203,255,45,128,0,66,74,173 Common 3 2 3 1
|
||||
9 8 18,66,203,255,89,156,0,39,104,173 Common 4 2 4 9
|
||||
a 3 58,65,186,198,85,164,0,26,97,185 Latin 56 0 5 a
|
||||
\&. \&. \&.
|
||||
.fi
|
||||
.if n \{\
|
||||
.RE
|
||||
.\}
|
||||
.SH "CAVEATS"
|
||||
.sp
|
||||
Although the unicharset reader maintains the ability to read unicharsets of older formats and will assign default values to missing fields, the accuracy will be degraded\&.
|
||||
.sp
|
||||
Further, most other data files are indexed by the unicharset file, so changing it without re\-generating the others is likely to have dire consequences\&.
|
||||
.SH "HISTORY"
|
||||
.sp
|
||||
The unicharset format first appeared with Tesseract 2\&.00, which was the first version to support languages other than English\&. The unicharset file contained only the first two fields, and the "ispunctuation" property was absent (punctuation was regarded as "0", as "=" is in the above example\&.
|
||||
.SH "SEE ALSO"
|
||||
.sp
|
||||
tesseract(1), combine_tessdata(1), unicharset_extractor(1)
|
||||
.sp
|
||||
\m[blue]\fBhttp://code\&.google\&.com/p/tesseract\-ocr/wiki/TrainingTesseract3\fR\m[]
|
||||
.SH "AUTHOR"
|
||||
.sp
|
||||
The Tesseract OCR engine was written by Ray Smith and his research groups at Hewlett Packard (1985\-1995) and Google (2006\-present)\&.
|
||||
@@ -0,0 +1,7 @@
|
||||
tessedit_ambigs_training 1
|
||||
load_freq_dawg 0
|
||||
load_punc_dawg 0
|
||||
load_system_dawg 0
|
||||
load_number_dawg 0
|
||||
ambigs_debug_level 3
|
||||
load_fixed_length_dawgs 0
|
||||
@@ -0,0 +1 @@
|
||||
tessedit_zero_rejection T
|
||||
@@ -0,0 +1,14 @@
|
||||
disable_character_fragments T
|
||||
file_type .bl
|
||||
textord_fast_pitch_test T
|
||||
tessedit_single_match 0
|
||||
tessedit_zero_rejection T
|
||||
tessedit_minimal_rejection F
|
||||
tessedit_write_rep_codes F
|
||||
il1_adaption_test 1
|
||||
edges_children_fix F
|
||||
edges_childarea 0.65
|
||||
edges_boxarea 0.9
|
||||
tessedit_resegment_from_boxes T
|
||||
tessedit_train_from_boxes T
|
||||
textord_no_rejects T
|
||||
@@ -0,0 +1,15 @@
|
||||
file_type .bl
|
||||
#tessedit_use_nn F
|
||||
textord_fast_pitch_test T
|
||||
tessedit_single_match 0
|
||||
tessedit_zero_rejection T
|
||||
tessedit_minimal_rejection F
|
||||
tessedit_write_rep_codes F
|
||||
il1_adaption_test 1
|
||||
edges_children_fix F
|
||||
edges_childarea 0.65
|
||||
edges_boxarea 0.9
|
||||
tessedit_resegment_from_boxes T
|
||||
tessedit_train_from_boxes T
|
||||
#textord_repeat_extraction F
|
||||
textord_no_rejects T
|
||||
@@ -0,0 +1 @@
|
||||
tessedit_char_whitelist 0123456789-.
|
||||
@@ -0,0 +1 @@
|
||||
tessedit_create_hocr 1
|
||||
@@ -0,0 +1,2 @@
|
||||
interactive_display_mode T
|
||||
tessedit_display_outwords T
|
||||
@@ -0,0 +1,4 @@
|
||||
textord_skewsmooth_offset 8
|
||||
textord_skewsmooth_offset2 8
|
||||
textord_merge_desc 0.5
|
||||
textord_no_rejects 1
|
||||
@@ -0,0 +1,2 @@
|
||||
tessedit_resegment_from_line_boxes 1
|
||||
tessedit_make_boxes_from_boxes 1
|
||||
@@ -0,0 +1 @@
|
||||
debug_file tesseract.log
|
||||
@@ -0,0 +1 @@
|
||||
tessedit_create_boxfile 1
|
||||
@@ -0,0 +1 @@
|
||||
debug_file /dev/null
|
||||
@@ -0,0 +1,2 @@
|
||||
tessedit_resegment_from_boxes 1
|
||||
tessedit_make_boxes_from_boxes 1
|
||||
@@ -0,0 +1,12 @@
|
||||
textord_show_blobs 0
|
||||
textord_debug_tabfind 3
|
||||
textord_tabfind_show_partitions 1
|
||||
textord_tabfind_show_initial_partitions 1
|
||||
textord_tabfind_show_columns 1
|
||||
textord_tabfind_show_blocks 1
|
||||
textord_tabfind_show_initialtabs 1
|
||||
textord_tabfind_show_finaltabs 1
|
||||
textord_tabfind_show_strokewidths 1
|
||||
textord_tabfind_show_vlines 0
|
||||
textord_tabfind_show_images 1
|
||||
tessedit_dump_pageseg_images 0
|
||||
@@ -0,0 +1,2 @@
|
||||
tessedit_write_unlv 1
|
||||
tessedit_pageseg_mode 6
|
||||
Binary file not shown.
@@ -0,0 +1,2 @@
|
||||
# No content needed as all defaults are correct.
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
chop_enable 0
|
||||
wordrec_enable_assoc 0
|
||||
@@ -0,0 +1,7 @@
|
||||
#################################################
|
||||
# Adaptive Matcher Using PreAdapted Templates
|
||||
#################################################
|
||||
|
||||
classify_enable_adaptive_debugger 1
|
||||
matcher_debug_flags 6
|
||||
matcher_debug_level 1
|
||||
@@ -0,0 +1,13 @@
|
||||
#################################################
|
||||
# Adaptive Matcher Using PreAdapted Templates
|
||||
#################################################
|
||||
|
||||
classify_enable_adaptive_debugger 1
|
||||
matcher_debug_flags 6
|
||||
matcher_debug_level 1
|
||||
|
||||
wordrec_display_splits 0
|
||||
wordrec_display_all_words 1
|
||||
wordrec_display_all_blobs 1
|
||||
wordrec_display_segmentations 2
|
||||
classify_debug_level 1
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
#################################################
|
||||
# Adaptive Matcher Using PreAdapted Templates
|
||||
#################################################
|
||||
|
||||
wordrec_display_splits 0
|
||||
wordrec_display_all_words 1
|
||||
wordrec_display_all_blobs 1
|
||||
wordrec_display_segmentations 2
|
||||
classify_debug_level 1
|
||||
stopper_debug_level 1
|
||||
Reference in new issue
Block a user