Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/thirdparty/tesseract/doc/mftraining.1.asc @ 2:b50eed0cc0ef upstream
ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4.
The directory name has changed: no version number in the expanded directory now.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 15 Sep 2025 11:43:07 +0200 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 1:1d09e1dec1d9 | 2:b50eed0cc0ef |
|---|---|
| 1 MFTRAINING(1) | |
| 2 ============= | |
| 3 :doctype: manpage | |
| 4 | |
| 5 NAME | |
| 6 ---- | |
| 7 mftraining - feature training for Tesseract | |
| 8 | |
| 9 SYNOPSIS | |
| 10 -------- | |
| 11 mftraining -U 'unicharset' -O 'lang.unicharset' 'FILE'... | |
| 12 | |
| 13 DESCRIPTION | |
| 14 ----------- | |
| 15 mftraining takes a list of .tr files, from which it generates the | |
| 16 files *inttemp* (the shape prototypes), *shapetable*, and *pffmtable* | |
| 17 (the number of expected features for each character). (A fourth file | |
| 18 called Microfeat is also written by this program, but it is not used.) | |
| 19 | |
| 20 OPTIONS | |
| 21 ------- | |
| 22 -U 'FILE':: | |
| 23 (Input) The unicharset generated by unicharset_extractor(1) | |
| 24 | |
| 25 -F 'font_properties_file':: | |
| 26 (Input) font properties file, each line is of the following form, where each field other than the font name is 0 or 1: | |
| 27 | |
| 28 *font_name* *italic* *bold* *fixed_pitch* *serif* *fraktur* | |
| 29 | |
| 30 -X 'xheights_file':: | |
| 31 (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? ] | |
| 32 | |
| 33 *font_name* *xheight* | |
| 34 | |
| 35 -D 'dir':: | |
| 36 Directory to write output files to. | |
| 37 | |
| 38 -O 'FILE':: | |
| 39 (Output) The output unicharset that will be given to combine_tessdata(1) | |
| 40 | |
| 41 SEE ALSO | |
| 42 -------- | |
| 43 tesseract(1), cntraining(1), unicharset_extractor(1), combine_tessdata(1), | |
| 44 shapeclustering(1), unicharset(5) | |
| 45 | |
| 46 <https://tesseract-ocr.github.io/tessdoc/Training-Tesseract.html> | |
| 47 | |
| 48 COPYING | |
| 49 ------- | |
| 50 Copyright \(C) Hewlett-Packard Company, 1988 | |
| 51 Licensed under the Apache License, Version 2.0 | |
| 52 | |
| 53 AUTHOR | |
| 54 ------ | |
| 55 The Tesseract OCR engine was written by Ray Smith and his research groups | |
| 56 at Hewlett Packard (1985-1995) and Google (2006-2018). |
