Live data from Hacker News

Realistic computer-generated handwriting

calligrapher.ai

221–230 of 247 posts

Re: Realistic computer-generated handwriting

#221

My first name contains one of the fewest used letters of the alphabet and in first position nonetheless: Xavier 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.

Neat! Try "XxXxXxXxXx", max speed/legibility/width, style 2. The results are bonkers. It's just loops and scribbles. Interestingly, if you write your X's from top-right to bottom-left, top-left to bottom-right order, you can sort of see this in action. Grab a sheet of paper and try to write "xxxxxxxxx" really fast. You will see that loops are extremely common. I think this might be a coincidence, but it's possible it…

Try "*****", style 3 or 9. I got it to write backwards at one point.

Re: Realistic computer-generated handwriting

#222

My first name contains one of the fewest used letters of the alphabet and in first position nonetheless: Xavier 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.

i recommend trying the phrase "sphinx of black quartz, judge my vow!" on style 6, with legibility set to maximum. sometimes it looks roughly right, sometimes it opens with "sphnnneoooeoeoeoeoevorneroerof black quartz"

I had it rewriting in style 6 several times "consider the lobster" without changing any settings, to see how random it was. After the fourth time it spat out "consider the lobsteoeororororo"

Re: Realistic computer-generated handwriting

#224

Combine this with ChatGPT and a Pen Plotter and you can offer heartfelt hand-written letters as a service. (That are neither handwritten, nor heartfelt, but people won't notice, or care.)

I think all of the car dealers I've dealt with the past decade are doing something like this. I get "handwritten" notes from them a few times a year telling me the market is hot for my 5 year old Subaru and I'd be a fool not to trade it in. I don't know if it's a machine writing the notes or if that's what salespeople do when they aren't busy.

Do you own a 5 year old Subaru? The universe thinks I own a 2011 Dodge Durango. Never owned a 2011. Never owned a Dodge. Nevertheless I get about one junk mailing a week asserting that I do. All are addressed to the same esoteric spelling of my given name (that I do not use) and my actual correctly spelled family name.

Re: Realistic computer-generated handwriting

#226
post #174

On the one hand, the fact that anything outside of ASCII is a failure mode is good for a laugh. 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?

Someone created this really neat toy for us all to enjoy for free. 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.

Fair criticism and downvote, I apologize for my grumpy tone and unhelpful comment.

Re: Realistic computer-generated handwriting

#227

If anyone's interested, I think this is the github url of this project (had to dig a bit since it's not mentioned in the page): https://github.com/sjvasquez/handwriting-synthesis

Hmm, it looks like some ASCII characters are missing from the hard-coded alphabet here: https://github.com/sjvasquez/handwriting-synthesis/blob/mast... 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…

https://github.com/sjvasquez/handwriting-synthesis/issues/11

Seems like these characters were not present in training data

Re: Realistic computer-generated handwriting

#229
post #102

I created this cursive handwriting OTF font that you can test in a browser (or any other program): 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 i…

Did you write this up as an article in TUGboat?

If you did, and I missed it, could you let me know the issue number?

If not, please do --- it's amazing!

Re: Realistic computer-generated handwriting

#230

My first name contains one of the fewest used letters of the alphabet and in first position nonetheless: Xavier 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.

Another great exception : 7z7z7z7z77zz
Post reply on HN