2018-03-13 02:08:16 +08:00
CLASSIFIER_TESTER(1)
====================
NAME
----
classifier_tester - for *legacy tesseract* engine.
SYNOPSIS
--------
*classifier_tester* -U 'unicharset_file' -F 'font_properties_file' -X 'xheights_file' -classifier 'x' -lang 'lang' [-output_trainer trainer] *.tr
DESCRIPTION
-----------
2017-09-17 00:47:04 +08:00
classifier_tester(1) runs Tesseract in a special mode.
It takes a list of .tr files and tests a character classifier
on data as formatted for training,
2018-03-13 02:08:16 +08:00
but it doesn't have to be the same as the training data.
IN/OUT ARGUMENTS
----------------
a list of .tr files
OPTIONS
-------
-l 'lang'::
(Input) three character language code; default value 'eng'.
2017-09-17 00:47:04 +08:00
2018-03-13 02:08:16 +08:00
-classifier 'x'::
(Input) One of "pruner", "full".
2017-09-17 00:47:04 +08:00
2018-03-13 02:08:16 +08:00
-U 'unicharset'::
(Input) The unicharset for the language.
-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:
*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? ]
*font_name* *xheight*
2017-09-17 00:47:04 +08:00
2018-03-13 02:08:16 +08:00
-output_trainer 'trainer'::
(Output, Optional) Filename for output trainer.
SEE ALSO
--------
tesseract(1)
COPYING
-------
Copyright \(C) 2012 Google, Inc.
Licensed under the Apache License, Version 2.0
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).