Skip to content

Training script fonts are different from fonts used in training dataset #1037

Discussion options

You must be logged in to vote

Hi @khawar-islam you need to pass the list of fonts you want to use as arg to the training script (be aware that the fonts are supported by the vocab characters)

parser.add_argument(
        "--font", type=str, default="FreeMono.ttf,FreeSans.ttf,FreeSerif.ttf", help="Font family to be used"
    )

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by frgfm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
ext: references Related to references folder topic: text recognition Related to the task of text recognition
2 participants