Realistic computer-generated handwriting
calligrapher.ai
calligrapher.ai
Let me tell you: the training data did not contain that many X to begin with :D
The Xs at best look like Ts, at worst like malformed Os.
Always funny to find the blind spots of some piece of tech.
[EDITED to add:] Ah, oops, I see. You were talking specifically about _capital_ X. You are right and I was wrong: the model produces disastrous capital Xs even at high legibility settings.
as usual, the errors are at least as interesting as the successes on new tech!
The same settings but with min speed got caught at the z, creating what looked like repeating waves then a few letters that I couldn't place from the phrase.
Also amusing are the loops that get the tops cropped even though other letters extend higher.
> My first name is: XXX ZZZ JJJ
(max speed, max legibility, default stroke)
To be fair, I kind of remember handwriting X (and x) as totally counter-intuitive in school.
alphabet = [ '\x00', ' ', '!', '"', '#', "'", '(', ')', ',', '-', '.', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', ':', ';', '?', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'R', 'S', 'T', 'U', 'V', 'W', 'Y', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z' ]
That seems to explain why it fails on capital X/Q and doesn't fail on lowercase x/q.
Seems like these characters were not present in training data
It may take a few tries but at some point, you may get some weird results (about 1/4 time for me). It may happen with other settings, but these work well for me.
It is described as "Realistic handwriting generator. Convert text to handwriting using an in-browser recurrent neural network", so, unlike GPT, it is not a transformer and it is small, so it most likely doesn't take the entire text input as once. Most likely, it simply overshoots the previous stroke and decides that a loop is the most appropriate way to continue, then it overshoots that loop, and again, and again, until by chance it stops overshooting and proceeds to the rest of the text. Cursive style like #2, the need for precise strokes (high legibility) and specific letter transitions seem to exacerbate the problem.
It also reproduces, but only some percentage of the time & on some styles, with only the string "III" (no quotes).
https://certik.github.io/slabikar-otf/
It correctly connects letters and it can do Czech and Slovak accents. It is based on a Metafont source (to be used in TeX) from Petr Olšák, I wrote Python code that reproduces Metafont's Bezier curves algorithm, generates curves as SVG, then calls Inkscape to convert the curve to its boundary, imports back into Python from SVG and then it generates OTF curves and the final font.
Å would be the same as ů but with an "a" as base.
Ö would be the same as ä but with an "o" as base.
Do you have a plotter? Send some videos and photos once you get it working!
If you did, and I missed it, could you let me know the issue number?
If not, please do --- it's amazing!
George gets married because of a typo into an AI handwritten letter service he sent to his girlfriend.
I don't know if it's a machine writing the notes or if that's what salespeople do when they aren't busy.
I noticed some similar letters several years ago and had a pretty negative response once I figured it out. But these might be enough better I wouldn't notice unless of course I see another one like you did.
https://www.audience.co/did-you-receive-a-fake-handwritten-n...
Most people, yes. A few will definitely notice and care. Faking this stuff is the fast way to get on my shit list, though I realize I'm in a minority here. I am very pro AI in general, but I am extremely anti-deception. If you send me a 'hand-written note' that really wasn't, why would I trust you about anything else?
However the more I think about it, I don't think that I'd be opposed to receive a card that was written with the help of an AI. Surely it's much more thoughtful of someone to input a couple of keywords that they associate with me and then pick the best one from a few generated cards, than a generic card with an even more generic phrase and picture on it.
Feels much less like deception to me and more like assisted writing.
One day my local pharmacist was in a chatty mood whilst filling my request and one topic that came up was doctor's handwriting.
The answer is yes, they do (did ?) receive training in handwriting recognition.
Basically it involves learning to recognise common abbreviations and mostly being very familiar with drug names and dosing.
As the pharmacist said, when he received his training it was "easy" because the formulary was "somewhat shorter" than it is today. As a result he said his junior trainees struggle and frequently come to him guidance until they've had sufficient exposure.
However with things moving to electronic prescriptions the days of deciphering will be relic of the past for many pharmacists.
Looking at the samples, it was pretty fascinating.
Since he undoubtedly read a lot of doctors' writing too, and since I personally know a doctor who abused their access to medication, I did wonder what questions this pharmacist would've had about local doctors...
And it definitely feels like something the creator could (and should?) make money off of.
Limit free usage to medium-resolution bitmaps and a subset of styles, but make paid downloads available for high-resolution SVG's and a wider variety of styles.
I can also imagine there's a market for ersatz "handwritten notes" from companies that genuinely appear to be handwritten, rather than using a handwriting font -- to license the software itself as some kind of mail-merge plugin or something. Combine it with an autopen or something, and nobody could tell the difference.
Yes, this is already A Thing in marketing, though as you say it currently uses fonts & printing. I hate it and am biased negatively against any company that does this, because their marketing materials lied o me by pretending to be a personal communication, to get my attention for their mass-produced marketing message.
And it definitely feels like something the creator could (and should?) make money off of.
No way! It should be reverse-engineered and reproduced so that nobody can make money by gatekeeping it. If we can automate the production of handwriting, we must be able to automate the production of automated handwriting generators.
Basically I want to take a pdf, turn it into fake scan image (add noise, some inkjet smear lines, random skew etc procedurally), then generate signature image to paste over that. Zero dead trees and screaming at printers involved.
I think you can make it look decent. Haven't tried it though.
Legally I'm pretty sure you could also just draw an X on there and you'd be fine.
A case for polish: „Zażółć gęślą jaźń” - fails in many gunny ways.
I also tried emojis - of course it failed, but now I’m super curious how would hand written emojis look like :D
Asking various stable diffusion implementations, it looks like it agrees with me at least a little. When anything close to what I want is generated it tends to actually contain kanji like fire and life.
I run it few times and some in some variants algorithm just gives up and produces some noodles similar to "szlaczki" - the patterns kids train before starting hand writing. Definitely the issue of diacritical mark presence - maybe the input should pick the closest "clean" Latin letter before algorithm becomes aware of accents?
To tell the truth, mostly I'm just envious of all the beautiful calligraphic scripts that are standard in other languages, whereas with English it seems we're stuck with sterile Helvetica clones. Maybe someday we can re-beautify everyday English.
(Thinking about this I do often wonder what a form of handwriting optimised for the ballpoint pen would look like… probably quite different to our current handwriting styles!)
[0] https://web.archive.org/web/20100403062849/http://guindo.pnt...
I wonder how it comes to be.
Input: 500mg of Amoxicillin, 3 times a day for 7 days. Lowest Speed, Lowest Legibility, Lowest Stroke Width, Style 6
Still, incredibly fun to play with, and something I could easily imagine being useful at least for small projects if it was generalized just a little bit more and trained on more diverse datasets. Really cool project.
I really like that you can play with speed using (roughly) the same style/legibility settings; it would be interesting to be able to simulate handwriting for a single "character" and subtly convey information visually about what state of mind the person was in whenever they were writing.
black farts - just generates squiggles 90% of the time https://i.imgur.com/znk9lj5.png
red farts - works all the time https://i.imgur.com/KeL5DtF.png
brown farts - works all the time https://i.imgur.com/IwwgQNM.png
Perhaps a slant (skew) slider would be a nice touch.
Also, none of the styles stroke their dots (dotted "i", etc.). I know it might be derisively called "cheerleader style" (but it's the way I dot my i's to give the dot more weight).
If I had written that software, I would have made an effort to support the complete Latin script, or at the very least shown an error or a warning for unsupported letters.
If you want to support a complete Latin script, you would have to generate a lot of training data yourself, preferably in multiple languages. Quite the effort indeed.
That's probably a lot to ask.
Has anybody got tips about interesting datasets in that space?
Can’t even fit the “Tears in Rain” soliloquy from Blade Runner :/
Anti-trick: Soon the teachers themselves will not be able to read cursive (or perhaps, recognize the spelling error).
日本
then, the char limit:
日本日本 日本 日本 日本 日本 日本 日本 日本 日本 日本 日本 日本 日本 日本 日本 日本
https://arstechnica.com/information-technology/2023/01/compu...
it should look like this in my book:
https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS3tT5h...
One interesting thing is if you show someone this for a random sentence and ask them want do they think. They always say how did it copy my writing. Everyone thinks it looks like their own writing. Likely because its the average of all peoples writing. Try it out
There is a similar paid API that does something like this https://handwriting.io (seems like they are down now though) I used to use it for print projects back in the day.
Often a hand-writing feel makes youtube math explainers and lectures much more absorbing.
But, at the same time, handwriting makes videos a pain to edit to correct the mistakes that all math lectures longer than a few minutes inevitably have.
Using <path>
It's a very cool prototype but missing a LOT.
1. Add a way to set the background color, and / or all the background to be transparent.
2. Add a way to download the animation of the writing as a movie clip
Calligraphy? Not quite. I'll still be paying someone to address my daughter's wedding invitations, I expect.
Unless she elopes, that is (one can hope).
Anyway, was curious if this was going to re-creating my handwriting based upon my providing some samples.
Really neat app! I like the differences in outcomes each time.
Love this
2) I wonder if I can train an ML to do my handwriting.
On the other hand, “AI” defaulting to a narrow and US-centric view of the world is not doing the discipline any favors.
Is it really that hard to find training data?
They don't owe anyone anything, and certainly don't deserve to be used as an example of what's wrong with an entire discipline.
It messes up all diacritics.
Looks like that broke it.
The UI is beautiful because it gets out of the way
The fact that you have a built in SVG export is chefs kiss
My only suggestion re the export is you should have it save as .svg, on my mac / chrome it just saved as an extension-less file.
Is there any way it could output line paths instead of shapes? I would love to be able to use this with my pen plotter but because of the output it effectively does tiny traces around each letter instead of natural strokes like a person does
Get back to me when it will knows at least something like this:
https://qph.cf2.quoracdn.net/main-qimg-5d1b0e1d28c12813e1255...
or here especially 1st and 3rd line https://d50-a.sdn.cz/d_50/c_img_E_C/3VfFjd.jpeg
Then we can talk about REALISTIC handwriting.
There is no such thing as "normal cursive". Cursive as a general style is primarily defined by joined characters, which this generator definitely does, in contrast to print writing which has separated characters.
Even formal cursive writing systems vary wildly in style and construction, and I'd venture a guess that vast majority of people do in practice have pretty sloppy style.
http://enwp.org/Teaching_script
There exist handwriting styles that have been standardised by their national ministry of education or similar, and millions of school children each year learn it. It is true that quite soon the individual's styles diverge from the normal form.