This tool will help you convert your text to handwriting xD

Overview

Text-to-handwriting title image
https://saurabhdaware.github.io/text-to-handwriting/

NPM Version Contributions Welcome
GitHub License MIT Twitter Follow

I hate writing assignments so I made this tool that converts text to an image that looks like handwriting πŸ˜›

Note: This project is now archived. Read the announcement at https://github.com/saurabhdaware/text-to-handwriting/issues/138

🌠 Output

Sample image of output

πŸ€— Contributing

Checkout Contribution Guide for local setup and contribution guide.

πŸ“š Libraries used


Buy me a Coffee Button   Buy me a Coffee Button

Bye! Have fun πŸ¦„

Comments
  • Fixes Page Scroll Issue

    Fixes Page Scroll Issue

    Fixes #81 Fixes #82

    In this PR I've tried to solve issue #81 and #82 by making the whole layout of pages discrete rather than continuous ones. It has several advantages in terms of performance as well as user interaction.

    opened by CaptainDredge 16
  • Adding some other languages

    Adding some other languages

    Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] { I think it will be more helpful if we can provide support in other languages specially hindi. It will help a lot of students ! } Describe the solution you'd like A clear and concise description of what you want to happen. { Well in too short I want to help my younger brother who has hindi as subject. Its just an extension of languages you provide sir. More languages mean more help as your application will have than a much broader audience. } Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

    Additional context Add any other context or screenshots about the feature request here.

    In development 
    opened by Himanshunitrr 12
  • Camscanner output

    Camscanner output

    Most people use the Camscanner app to scan paper. It has a filter which makes the image black & white-ish & increase contrast or something. The output is very distinguishable.

    Adding that filter to this output will help pass the output more as our assignment.

    enhancement css 
    opened by subins2000 9
  • Allow custom pages with college logos and different format

    Allow custom pages with college logos and different format

    Certainly what you are doing is way too much for us, but as the greed increases for perfection can you add the option to add our assignment pages as it includes the logo of our college and would look a little more closer to legitness .. thanks btw :)

    opened by annaxds1202 8
  • Curved paper lines

    Curved paper lines

    Currently, the lines on paper are straight. However usually when you scan a paper, the paper has folds and curves so it hardly looks exactly straight.

    This is what it should look like instead (did this in photoshop) sample image with curved lines on paper

    If anyone knows how can we achieve this using CSS, do let me know!

    enhancement help wanted css 
    opened by saurabhdaware 8
  • drawing canvas not working properly

    drawing canvas not working properly

    Description of the bug the canvas is not fully usable. the space on top is not usable but instead the downwards part of the canvas is being drawn on but not being displayed.

    To Reproduce Steps to reproduce the behavior:

    1. Click on the draw button.
    2. try to draw over the first like 100px of the drawing canvas.
    3. we cannot draw

    Expected behavior we should be able to draw over that part of the canvas and not be able to draw over the bottom part of the canvas (the part that is not being displayed)

    Desktop (please complete the following information):

    • OS: Windows 7
    • Browser chrome
    • Version 83.0.4103.116
    bug 
    opened by HarshitJoshi9152 7
  •  Load web fonts to avoid performance issues and speed up page loading

    Load web fonts to avoid performance issues and speed up page loading

    Describe the bug Adding More fonts are causing problems like page loading and affecting performance

    To Reproduce Steps to reproduce the behavior:

    1. Use the correct font format
    2. Preload fonts
    3. Avoid invisible text during font loading.
    4. Use the correct font-face declaration

    Expected behavior I will prefer Correct font-face declaration. Declaring a font-face family is very simple but we must take care with certain things when we do it. We can use optimised fonts and we tell the browser to load only the required glyphs range (from U+000 to U+5FF),

    opened by Ritwik880 7
  • Feat: Draw Diagrams

    Feat: Draw Diagrams

    • Added Draw Diagrams feature to draw diagrams and add them to paper.
    • HTML Made a little semantic (Idk why I mixed it with this branch but this is how it is now :c )
    • Refactored to use modules.
    enhancement 
    opened by saurabhdaware 7
  • Added two scripts for converting text to handwriting using the command line

    Added two scripts for converting text to handwriting using the command line

    One script converts a hard coded line of text to handwriting. Another takes a text file as input and converts all the lines to handwriting, each line being separated by a new-line character. Selenium web automation is used to achieve this. Furthermore, the chrome browser used has been made hidden, i.e., the script runs the tasks in the background, and hence gives the illusion of a feel of using the command line to get the desired result. Further improvements to the script are welcome, as only a few of the options have been scripted.

    opened by Ak-Shaw 6
  • Dark Mode Please?

    Dark Mode Please?

    Is your feature request related to a problem? Please describe. My eyes are burning xD

    Describe the solution you'd like A well developed dark mode with #000 and not #999

    css In development 
    opened by ForceGT 6
  • Resize the image and move in around the page.

    Resize the image and move in around the page.

    Is your feature request related to a problem? Please describe. I am having issue putting the image on the page as I can't resize the image or move it around and place it as per my choice.

    enhancement javascript Unclaimed 
    opened by imrishabh18 6
  • Bump glob-parent from 5.1.1 to 5.1.2

    Bump glob-parent from 5.1.1 to 5.1.2

    Bumps glob-parent from 5.1.1 to 5.1.2.

    Release notes

    Sourced from glob-parent's releases.

    v5.1.2

    Bug Fixes

    Changelog

    Sourced from glob-parent's changelog.

    5.1.2 (2021-03-06)

    Bug Fixes

    6.0.0 (2021-05-03)

    ⚠ BREAKING CHANGES

    • Correct mishandled escaped path separators (#34)
    • upgrade scaffold, dropping node <10 support

    Bug Fixes

    • Correct mishandled escaped path separators (#34) (32f6d52), closes #32

    Miscellaneous Chores

    • upgrade scaffold, dropping node <10 support (e83d0c5)
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 1
  • Another side of paper

    Another side of paper

    A suggestion to create another side of the sheet of paper, I need this suggestion so they don't notice to look like I'm skipping the side of the sheet

    Add to Margin & Line Options

    opened by ThiagoMaia2007 0
  • Add Negative Values For Letter Spacing

    Add Negative Values For Letter Spacing

    Is your feature request related to a problem? Please describe. Adding negative values to letter word spacing will be more realistic

    Describe the solution you'd like Add negative values for letter and word spacing atleast till -2

    opened by AthX23 0
  • Text on Margin isn't synchronizing with text on body.

    Text on Margin isn't synchronizing with text on body.

    Text on Margin isn't synchronizing with the text of body after generation of image it's looking fine while writing but when we generate image it showing like if we want to write ques and answer on margin and definition of question and answer on the body of the page. Margin side text is not going along with the text on the body side.

    Steps to reproduce the behavior:

    1. Go to 'https://saurabhdaware.github.io/text-to-handwriting/'
    2. Write a ques 1 and Ans on margin side and define the ques and ans on body repeat it for multiple questions
    3. After Generated Image
    4. See Error Image1 Image2
    opened by anagh9 0
  • Text-to-Handwriting is now a read-only project

    Text-to-Handwriting is now a read-only project

    Hey everyone! I want to Thank you for all the support on this project.

    Text to Handwriting started as a joke and never thought it will receive the popularity it is receiving today. As much as I love the popularity it is getting, This also increases the issues and PRs on the repository, emails of people asking for features, bug reports, etc. This eventually needs my attention. Even if I decide to stop actually committing and just focus on reviewing the PRs and replying to issues, that still is a lot for me.

    Building tools to improve the development experience is something that I truly enjoy and thus most of my other projects are focused on DX. Text-to-handwriting is not that and to be honest, I don't enjoy working on this as much as I do with Abell or other projects. As already mentioned, text-to-handwriting was just supposed to be a joke, I never really considered maintaining this for so long.

    Nowadays, I am mostly focused on Abell, my job, and taking the necessary breaks to chill and spend time with people offline. For the last few months working on this project is a compromise on my offline time.

    I know there are so many cool features that you all requested but it just won't be possible to have them all because

    1. Time limitation as I mentioned
    2. Trying to push the limits to make it 100% same as a handwritten image won't really be possible as we hit the implementation limitations in some cases. For example, we can't have randomized words since the text is actually a font, We can't get it all right in the page effects since the effects are CSS and doing anything in that part is difficult and time-consuming, you can't use it for maths assignments because of all the limitations on the computer text that does not allow you to have the math-related symbols.

    Thus I feel whatever could be done with this project, is already done. The things that remain are either extremely complicated to implement or simply not possible.

    Thus, I've taken the decision to archive this project.

    What does this mean?

    • There won't be any updates to the tool. No features or bug fixes.
    • The tool will always be hosted on https://saurabhdaware.github.io/text-to-handwriting/ and it is not going anywhere.
    • You can't create issues, PRs etc.
    • if you still want any particular feature, you can take a fork and maintain the feature in the fork

    Text-to-handwriting became a reason for a lot of my wins. From being the first google search result for "Text to Handwriting", becoming a trending repository on GitHub, getting a shoutout in so many amazing articles, lots of kind emails and messages on my social media, and a shoutout from the Dan Abramov.

    And beyond the numbers, some of my favorite wins were-

    • when someone reached out to me on Twitter with a screenshot of their college WhatsApp group where they were freaking out about the tool!
    • There was a teacher who showed this tool to her students!
    • A parent, helping their kid with the assignment that needed urgent submission
    • Anddd a whole lot of messages about how their teachers couldn't figure out the difference and gave them full marks xD

    Definitely looking forward to more of these! Thank you, everyone!

    Here's to normalizing making decisions for mental health 🌻

    ~ Saurabh

    Announcement! 
    opened by saurabhdaware 1
  • Multiple Drawings not displaying in the generate image multiple pages

    Multiple Drawings not displaying in the generate image multiple pages

    Describe the bug When adding multiple drawings through the button, the display(generate image) only shows the image contained on page-1 and not the rest. When generating pdf, only one-page images(drawing) are displayed and in other places, this code is displayed -> (321.px;>)

    To Reproduce Steps to reproduce the behavior:

    1. Go to 'Draw', draw, and place multiple images on multiple pages
    2. Click on 'generate image'
    3. Scroll down to the 'output' section
    4. See error -> only one of the pages has images displayed when making it multiple pages.

    Expected behavior All the images(drawings) loaded should be displayed in the respective places they're placed on.

    Screenshots If applicable, add screenshots to help explain your problem.

    Desktop (please complete the following information):

    • OS: [e.g. iOS]
    • Browser [e.g. chrome, safari]
    • Version [e.g. 22]

    Smartphone (please complete the following information):

    • Device: [e.g. iPhone6]
    • OS: [e.g. iOS8.1]
    • Browser [e.g. stock browser, safari]
    • Version [e.g. 22]

    Additional context Add any other context about the problem here.

    opened by priyalweb 0
Owner
Saurabh Daware
Frontend @razorpay || Building @abelljs, a static site generator
Saurabh Daware
This repository lets you train neural networks models for performing end-to-end full-page handwriting recognition using the Apache MXNet deep learning frameworks on the IAM Dataset.

Handwritten Text Recognition (OCR) with MXNet Gluon These notebooks have been created by Jonathan Chung, as part of his internship as Applied Scientis

Amazon Web Services - Labs 422 Jan 3, 2023
Handwriting Recognition System based on a deep Convolutional Recurrent Neural Network architecture

Handwriting Recognition System This repository is the Tensorflow implementation of the Handwriting Recognition System described in Handwriting Recogni

Edgard Chammas 346 Jan 7, 2023
ISI's Optical Character Recognition (OCR) software for machine-print and handwriting data

VistaOCR ISI's Optical Character Recognition (OCR) software for machine-print and handwriting data Publications "How to Efficiently Increase Resolutio

ISI Center for Vision, Image, Speech, and Text Analytics 21 Dec 8, 2021
Python package for handwriting and sketching in Jupyter cells

ipysketch A Python package for handwriting and sketching in Jupyter notebooks. Usage A movie is worth a thousand pictures is worth a million words...

Matthias Baer 16 Jan 5, 2023
This is a passport scanning web service to help you scan, identify and validate your passport created with a simple and flexible design and ready to be integrated right into your system!

Passport-Recogniton-System This is a passport scanning web service to help you scan, identify and validate your passport created with a simple and fle

Mo'men Ashraf Muhamed 7 Jan 4, 2023
This can be use to convert text in a file to handwritten text.

TextToHandwriting This can be used to convert text to handwriting. Clone this project or download the code. Run TextToImage.py give the filename of th

Ashutosh Mahapatra 2 Feb 6, 2022
Deskew is a command line tool for deskewing scanned text documents. It uses Hough transform to detect "text lines" in the image. As an output, you get an image rotated so that the lines are horizontal.

Deskew by Marek Mauder https://galfar.vevb.net/deskew https://github.com/galfar/deskew v1.30 2019-06-07 Overview Deskew is a command line tool for des

Marek Mauder 127 Dec 3, 2022
Code related to "Have Your Text and Use It Too! End-to-End Neural Data-to-Text Generation with Semantic Fidelity" paper

DataTuner You have just found the DataTuner. This repository provides tools for fine-tuning language models for a task. See LICENSE.txt for license de

null 81 Jan 1, 2023
Tool which allow you to detect and translate text.

Text detection and recognition This repository contains tool which allow to detect region with text and translate it one by one. Description Two pretr

Damian Panek 176 Nov 28, 2022
This repo contains a script that allows us to find range of colors in images using openCV, and then convert them into geo vectors.

Vectorizing color range This repo contains a script that allows us to find range of colors in images using openCV, and then convert them into geo vect

Development Seed 9 Jul 27, 2022
This is used to convert a string to an Image with Handwritten Characters.

Text-to-Handwriting-using-python This is used to convert a string to an Image with Handwritten Characters. text_to_handwriting(string: str, save_to: s

Akashdeep Mahata 3 Aug 15, 2022
MeshToGeotiff - A fast Python algorithm to convert a 3D mesh into a GeoTIFF

MeshToGeotiff - A fast Python algorithm to convert a 3D mesh into a GeoTIFF Python class for converting (very fast) 3D Meshes/Surfaces to Raster DEMs

null 8 Sep 10, 2022
Convert PDF/Image to TXT using EasyOcr - the best OCR engine available!

PDFImage2TXT - DOWNLOAD INSTALLER HERE What can you do with it? Convert scanned PDFs to TXT. Convert scanned Documents to TXT. No coding required!! In

Hans AlemΓ£o 2 Feb 22, 2022
An Implementation of the alogrithm in paper IncepText: A New Inception-Text Module with Deformable PSROI Pooling for Multi-Oriented Scene Text Detection

InceptText-Tensorflow An Implementation of the alogrithm in paper IncepText: A New Inception-Text Module with Deformable PSROI Pooling for Multi-Orien

GeorgeJoe 115 Dec 12, 2022
Code for the paper STN-OCR: A single Neural Network for Text Detection and Text Recognition

STN-OCR: A single Neural Network for Text Detection and Text Recognition This repository contains the code for the paper: STN-OCR: A single Neural Net

Christian Bartz 496 Jan 5, 2023
text detection mainly based on ctpn model in tensorflow, id card detect, connectionist text proposal network

text-detection-ctpn Scene text detection based on ctpn (connectionist text proposal network). It is implemented in tensorflow. The origin paper can be

Shaohui Ruan 3.3k Dec 30, 2022