Coders Packet

Text to Handwriting Converter in Python

By Srikalpa Sankeerth

Convert a text document (.txt file) into both JPEG and PDF files with the text content handwritten using Python.

We always wondered if homework would be so much easier if it can be submitted as a soft copy.
It's time for your laptop to write assignments for you! Generate handwritten homework for the given text.

We will be using Python to convert .txt files, convert to handwriting, and output to both JPEG and PDF files. 

Prerequisites

 Python 3.5 or 3.6
 Dependencies Pillow and fpdf

Install and Use

Download zip folder
Install dependencies : pip install -r requirements.txt OR pip3 install -r requirements.txt
After installing the dependencies paste the desired text you wish to convert to handwriting and save the sample.txt
Run and Use: python txttohandwriting.py

Each image is opened and converted to pdf and then they are appended to PDF

Download project

Reviews Report

Submitted by Srikalpa Sankeerth (Kalp0811)

Download packets of source code on Coders Packet