This repository has been archived on 2025-01-28. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
DatasetGenerator/README.md
2024-11-25 15:52:05 +01:00

610 B

OCR Dataset Generator

Python script that generates datasets for the recognition of text written in different fonts. The images generated are in 13x13 format and are all arranged in alphabetical order.

How to use this script

Install required library

pip install -r requirements.txt

Execute the script

python main.py <number-of-letter> <google-font-api-key>

nubmer-of-letter: the number of different font for each letter to be generated google-font-api-key: Your Google Font API key. Can be generated from here: https://developers.google.com/fonts/docs/developer_api