/image_to_handwriting_az

This project allows you to convert image into Azerbaijani handwriting

Primary LanguagePython

Image to Azerbaijani handwriting converter

The Azerbaijani Image to Handwriting Converter is a versatile Python application that seamlessly transforms image into elegant Azerbaijani handwriting. This project employs Optical Character Recognition (OCR) for text recognition and subsequently generates visually appealing images of the text, emulating the artistry of handwritten Azerbaijani script.

Table of Contents


Prerequisites

To install the necessary Python packages, execute the following command:

pip install -r requirements.txt

Installation

Begin by cloning this repository to your local environment:

git clone https://github.com/NijatZeynalov/image-to-handwriting-az.git

Navigate to the project directory:

cd image-to-handwriting-az

Usage

To convert text to Azerbaijani handwriting, follow these steps:

Run the project with the following command, providing the text you wish to convert and specifying the output image file:

python src/text_to_handwriting.py --image 'images/tests/test_1.png'

The application will commence by conducting OCR on the input image, followed by the generation of a captivating image featuring the handwritten Azerbaijani script. The resulting image will be stored at the designated output location.

Examples:

Test image:

input_image

Result:

output_image

Contributing

I welcome contributions to this project from the community. Please don't hesitate to open issues or submit pull requests to enhance functionality or introduce new features. Together, we can improve this project and make it even more valuable.

License

This project is licensed under the MIT License. Feel free to adapt and use it as needed within the boundaries of this license.