Skip to content
3 changes: 2 additions & 1 deletion ImageProcessingScripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ image processing can be used for more serious applications, for example, to enha

## Projects Contributed

- [Watermark Inserter GUI](https://github.com/rivelez65/Awesome_Python_Scripts/tree/ImageProcessingScripts/ImageProcessingScripts/Watermark%20Inserter%20GUI)
- [Watermark Inserter GUI](https://github.com/Iamtripathisatyam/Awesome_Python_Scripts/tree/main/ImageProcessingScripts/Watermark%20Inserter%20GUI)
- [Text Image to Handwritten Text Image](https://github.com/Iamtripathisatyam/Awesome_Python_Scripts/tree/main/ImageProcessingScripts/Text%20to%20HandWritten)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions ImageProcessingScripts/Text to HandWritten/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
![](http://ForTheBadge.com/images/badges/made-with-python.svg)
![](https://forthebadge.com/images/badges/built-by-developers.svg)</br>
[![Prettier](https://img.shields.io/badge/Code%20Style-Prettier-red.svg)](https://github.com/prettier/prettier)
![License](https://img.shields.io/badge/License-MIT-red.svg)</br>

## Description:
Let's [**see**](https://github.com/Iamtripathisatyam/Awesome_Python_Scripts/blob/main/ImageProcessingScripts/Text%20to%20HandWritten/Text_to_Handwritten_Text.py) a Python script that will convert Text to Handwritten Text.

**Pytesseract**, sometimes known as Python-tesseract, is a Python-based optical character recognition (**OCR**) program. It can read and recognize text in photos, license plates, and other documents. To interpret the words from the provided image, we'll utilize the tesseract software.

**Pywhatkit** is a library that may be used for a variety of things, including sending WhatsApp messages, watching YouTube videos, searching Google, and writing handwritten text.

## Procedure to follow:
- pip install **pytesseract**
- pip install **Pillow**
- pip install **pywhatkit**
- Visit and Install [**Tesseract**](https://github.com/UB-Mannheim/tesseract/wiki); scroll down to find the latest installers for **32-bit** and **64-bit** systems; download them as needed.
- Load the image you want to convert.

## Sample Output:
<p align="center"><img src="https://github.com/Iamtripathisatyam/Awesome_Python_Scripts/blob/main/ImageProcessingScripts/Text%20to%20HandWritten/Converted_Image.png"></p>

For any queries please contact?
- [**LinkedIn**](https://www.linkedin.com/in/git-satyam/)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Import the following modules
import pytesseract
from PIL import Image
import os
import pywhatkit as kit
# Change the directory to the location where image is present
os.chdir(r"C:\Users\Dell\Downloads")
# Set the Path of Tesseract
pytesseract.pytesseract.tesseract_cmd = r"C:\Users\Dell\AppData\Local\Tesseract-OCR\tesseract.exe"
img = Image.open("Text.png") # Load the Image
text = pytesseract.image_to_string(img) # Convert Image to Text
# Convert Text to Hand Written Text
kit.text_to_handwriting(text, rgb=[0, 0, 250])