File size: 503 Bytes
7987245 |
1 2 3 4 5 6 7 8 9 10 11 |
# number of images to generate per font
IMAGES_PER_FONT = 50
# allowlist of fonts to use
FONT_ALLOWLIST = ["Arial", "Avenir", "Courier", "Helvetica", "Georgia", "Tahoma", "Times New Roman", "Verdana"]
# directory where to store the generated images
GEN_IMAGES_DIR = './generated_images'
# images organized into train and test directories
TRAIN_TEST_IMAGES_DIR = './train_test_images'
# where to grab the font files from
FONT_FILE_DIRS = ['/System/Library/Fonts/', '/System/Library/Fonts/Supplemental/']
|