2010-09-30 10:06:29 +08:00
MFTRAINING(1)
=============
2012-02-10 06:55:47 +08:00
:doctype: manpage
2010-09-30 10:06:29 +08:00
NAME
----
mftraining - feature training for Tesseract
SYNOPSIS
--------
mftraining -U 'unicharset' -O 'lang.unicharset' 'FILE'...
DESCRIPTION
-----------
mftraining takes a list of .tr files, from which it generates the
2012-02-10 06:55:47 +08:00
files *inttemp* (the shape prototypes), *shapetable*, and *pffmtable*
(the number of expected features for each character). (A fourth file
called Microfeat is also written by this program, but it is not used.)
2010-09-30 10:06:29 +08:00
OPTIONS
-------
2012-02-10 06:55:47 +08:00
-U 'FILE'::
(Input) The unicharset generated by unicharset_extractor(1)
2010-09-30 10:06:29 +08:00
2012-02-10 06:55:47 +08:00
-F 'font_properties_file'::
(Input) font properties file, each line is of the following form, where each field other than the font name is 0 or 1:
2016-12-05 03:41:37 +08:00
2012-02-10 06:55:47 +08:00
*font_name* *italic* *bold* *fixed_pitch* *serif* *fraktur*
-X 'xheights_file'::
(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? ]
2016-12-05 03:41:37 +08:00
2012-02-10 06:55:47 +08:00
*font_name* *xheight*
-D 'dir'::
Directory to write output files to.
-O 'FILE'::
(Output) The output unicharset that will be given to combine_tessdata(1)
2010-09-30 10:06:29 +08:00
SEE ALSO
--------
2012-02-10 06:55:47 +08:00
tesseract(1), cntraining(1), unicharset_extractor(1), combine_tessdata(1),
shapeclustering(1), unicharset(5)
2020-02-03 18:37:41 +08:00
<https://tesseract-ocr.github.io/tessdoc/Training-Tesseract.html>
2010-09-30 10:06:29 +08:00
COPYING
-------
2012-02-10 06:55:47 +08:00
Copyright \(C) Hewlett-Packard Company, 1988
2010-09-30 10:06:29 +08:00
Licensed under the Apache License, Version 2.0
2012-02-10 06:55:47 +08:00
AUTHOR
------
The Tesseract OCR engine was written by Ray Smith and his research groups
2024-05-03 21:44:03 +08:00
at Hewlett Packard (1985-1995) and Google (2006-2018).