A command line tool for preprocessing, manipulating and serializing font files for deep learning applications.
knead is a command line tool for preprocessing, manipulating and serializing
font files for deep learning applications.
Table of Contents
The latest release of
knead can be installed from PyPI:
pip install knead
knead --input INPUT_FORMAT --output OUTPUT_FORMAT --directory PATH/TO/DATA/
--outputflags must be one of:
.ttxXML format of the font. For more details, refer to the
.jsonformat of the font.
.pbserialized protobuf format of each glyph in each font.
.npyformat of samples from quadratic Bezier curves in each glyph in each font.
--directorymust have the following structure:
data └── ttf ├── Georgia.ttf └── ...
Refer to our quickstart for
more information on how to use
Please refer to our full documentation.
knead is licensed under the MIT
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.