mftraining.1.asc 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. MFTRAINING(1)
  2. =============
  3. :doctype: manpage
  4. NAME
  5. ----
  6. mftraining - feature training for Tesseract
  7. SYNOPSIS
  8. --------
  9. mftraining -U 'unicharset' -O 'lang.unicharset' 'FILE'...
  10. DESCRIPTION
  11. -----------
  12. mftraining takes a list of .tr files, from which it generates the
  13. files *inttemp* (the shape prototypes), *shapetable*, and *pffmtable*
  14. (the number of expected features for each character). (A fourth file
  15. called Microfeat is also written by this program, but it is not used.)
  16. OPTIONS
  17. -------
  18. -U 'FILE'::
  19. (Input) The unicharset generated by unicharset_extractor(1)
  20. -F 'font_properties_file'::
  21. (Input) font properties file, each line is of the following form, where each field other than the font name is 0 or 1:
  22. *font_name* *italic* *bold* *fixed_pitch* *serif* *fraktur*
  23. -X 'xheights_file'::
  24. (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? ]
  25. *font_name* *xheight*
  26. -D 'dir'::
  27. Directory to write output files to.
  28. -O 'FILE'::
  29. (Output) The output unicharset that will be given to combine_tessdata(1)
  30. SEE ALSO
  31. --------
  32. tesseract(1), cntraining(1), unicharset_extractor(1), combine_tessdata(1),
  33. shapeclustering(1), unicharset(5)
  34. <https://tesseract-ocr.github.io/tessdoc/Training-Tesseract.html>
  35. COPYING
  36. -------
  37. Copyright \(C) Hewlett-Packard Company, 1988
  38. Licensed under the Apache License, Version 2.0
  39. AUTHOR
  40. ------
  41. The Tesseract OCR engine was written by Ray Smith and his research groups
  42. at Hewlett Packard (1985-1995) and Google (2006-2018).