Skip to content

Latest commit

 

History

History
52 lines (41 loc) · 2.49 KB

File metadata and controls

52 lines (41 loc) · 2.49 KB

HandwrittenTextFromInput

Introduction

HandwrittenTextFromInput is a Python-based tool that transforms typed English text into images that simulate handwritten script. This project utilizes a dataset from Kaggle, which includes images of handwritten characters and digits. By mapping the ASCII values of input characters to specific images in the dataset, the tool assembles these images to create a seamless handwritten representation of the input text.

Features

  • Convert English alphanumeric text to handwritten images: Supports both uppercase and lowercase letters, as well as digits.
  • Utilizes a comprehensive Kaggle dataset: Ensures realistic and diverse handwritten styles.
  • Customizable output (planned): Allow adjustments such as the spacing between characters and choice of handwriting style, subject to dataset availability. (This feature is currently not implemented)

Potential Use Cases

  • Educational Materials: Ideal for creating materials that require handwritten notes, such as worksheets or instructional guides.
  • Digital Art Projects: Can be used to generate artistic representations of text for use in digital art.
  • User Interface Design: Enhances interfaces by adding a personal touch with handwritten aesthetics, potentially improving user engagement.

Getting Started

Follow these instructions to set up and run English-to-Handwritten-Generator on your local machine.

Prerequisites

Before running this project, ensure you have the following installed:

  • Python 3.x
  • Pandas
  • OpenCV
  • NumPy
  • Matplotlib

Installation

  1. Clone the repository to your local machine:
    git clone https://github.com/kushalpatel0265/English-to-Handwritten-Generator.git
    

Usage

  1. To use this program, run the following command in the terminal:
    python handwritten_generator.py
    
  2. Enter the text when prompted, and the program will generate an image file with the handwritten representation of the input text.

Example

Input:
Enter a string: Hello
Output:
An image file Random.png will be generated in the project directory, showing "Hello World" in handwritten format.

Contributing

Contributions to this project are welcome! Please fork the repository and submit a pull request with your features or corrections.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact