Skip to content

haruheero/Text-to-Handwriting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text to Handwriting

Text to handwriting is an innovative app that can convert the text in uploaded document to handwriting format. The file can be uploaded in the format of pdf, txt or docx. The text inside the file is then converted into handwriting using text_to_handwriting function of pywhatkit. The converted text is then returned inside an image format by the pywhatkit library. The converted text image is displayed on the app.

Screenshot (569)

Usage

To use the app the user should click on the upload your files here button. User will then be prompted to upload a file from their local machine.

image

After successful upload File Uploaded will be displayed inside the box.

Screenshot (571)

The by clicking on the Submit button the user can convert the text to handwriting. After the conversion and display the users are given 2 options:

  • They can download the png format.
  • They can download the pdf format.

Screenshot (572)

The file can be downloaded by clicking on the respective buttons given below the displayed image.

Screenshot (573)

Features

  • Available in dark mode
  • Responsive
  • Download file in png or pdf
  • Upload in any of the 3 formats (docx, txt, pdf)

Dark mode

Full page ss

Responsive

Working and technologies used

  • Flask
  • HTML
  • CSS
  • JavaScript
  • Pywhatkit
  • Docx
  • PyPDF2

Text to Handwriting makes use of flask, pywhatkit, PyPDF2, docx, PIL, werkzeug, os as main libraries of python. The file is first uploaded and then stored in the uploads folder. Then the file is read. The extension of the file is extracted then it is passed to the respective block to be further used. The file is then read by the filereaders and converted to string and passed to pywhatkit text to handwriting library. The image is then returned and displayed on website via the flask operation.

The frontend of the website is made using HTML, CSS and JavaScript. The navbar contains links for home, about, features and contact and a toggle button for switching between light theme and dark theme. Flask has been used to effectively upload and download converted and original documents.

Demo

Text.to.Handwriting.Converter.-.Google.Chrome.2022-01-15.15-36-47.mp4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published