Now computers can clone your handwriting with creepy accuracy

handwriting replication algorithm my text in your
Researchers at University College London have created an algorithm capable of taking a sample of hand-written text and imitating it, allowing a computer to write in the style of a real person. We’re not talking about a simple “handwritten” typeface, either. The text turned out by the algorithm created by Tom Haines and his fellow UCL researchers is authentic enough that human judges are unable to tell the difference.

“We’re very proud of the fact that when we ran a user study, in which we gave people samples of the same sentence in real handwriting and handwriting created by our system, they were unable to spot the fake,” Haines told Digital Trends, excitedly. “They were basically making random guesses.”

Called “My Text In Your Handwriting,” the new machine learning tool works by first marking up each letter and punctuation mark, looking in detail at how every letter (or “glyph”) is reproduced. It then allows users to type in a sentence, paragraph or even entire document and have the computer “handwrite” it in surprisingly authentic detail — complete with pen-line texture, color, and even the joining-up technique between letters.

And it’s not just capable of reproducing the handwriting of living people, either. “Provided we can find the necessary handwriting samples at a high enough resolution, we can recreate the handwriting of historical figures,” Haines said. So far, the team has created passable recreations of the handwriting of Sherlock Holmes creator Sir Arthur Conan Doyle, Mexican painter Frida Kahlo, and former President Abraham Lincoln.

As you might imagine, the problem being solved here isn’t a straightforward one. You only have to try and write out the same phrase 10 times in a row to appreciate how much our letters can vary; often depending on the letter which preceded them. Fortunately, irregularities like this are one of the things for which machine learning tools are well suited.

“You have to introduce a certain amount of randomness to hide the computer-generated aspect.”

The system even learns to mimic the spacing between words — another area that’s as characteristic as the way we form individual letters. “A surprising amount of effort goes on in the spacing of text,” Haines continued. “This turned out to be more important than the glyphs in some ways. For the spacing, we have a probability distribution from which we draw, so that it’s slightly different every time. We found that to be necessary. You have to introduce a certain amount of randomness to hide the computer-generated aspect.”

The randomness of lettering is crucially important. You may be familiar with the “uncanny valley” hypothesis, which states that human replicas which don’t quite appear human can create an eery sensation in onlookers. The concept was first suggested by the Japanese robotics professor Masahiro Mori, referring to the unintended creepiness of humanoid robots. As Haines noted, text recognition doesn’t quite come with the same uncanny valley as attempts to recreate human faces, but the brain is still keenly aware of discrepancies which highlight the would-be lifelike as artificial.


“It’s all about hiding the patterns from the human,” he said. “If you add enough randomness it’s okay. But the moment you have a pattern in there, the human brain can spot it immediately. Consistent spacing, letters that are too exactly similar to each other… that kind of thing ruins the illusion incredibly quickly.”

So what kind of applications does a tool like this have? Some are as frivolous as you might expect — although it’s easy to imagine them being used. For example, a service like Amazon or a flower delivery company could utilize the technology so that people could write gift cards in their own writing, rather than the standard banal Arial typeface. It could even be possible to use the handwriting of an historic figure: perhaps opening up a slew of intriguing licensing situations.

But other applications are more profound.

“It could be very useful for people with disabilities,” Haines continued. “Certain disabilities, such as strokes, can leave people unable to write by hand. Because of the highly personal value of handwriting, they may find significant value in being able to generate new letters in their own handwriting.”

As to the risk of potential forgeries, Haines told Digital Trends that it depends who the fake would be aimed at. “I can tell real from fake, and I believe that forensic document examiners will also be able to tell real from fake,” he said. “It might get past a forensic examiner if they were under time pressure, but I can’t be sure. [That] would need a proper experiment to determine … On the other hand, we demonstrated that it fools the untrained eye, so there is a risk of fooling ‘normal’ people.”

Emerging Tech

In a weighty decision, scientists prepare to redefine the kilogram

Metrologists are meeting at the General Conference on Weights and Measures in Versailles to vote on whether to redefine the kilogram as a constant that can be observed in the natural world.
Home Theater

The best movies on Netflix in November, from 'Buster Scruggs’ to ‘Dracula’

Save yourself from hours wasted scrolling through Netflix's massive library by checking out our picks for the streamer's best movies available right now, whether you're into explosive action, witty humor, or anything else.
Movies & TV

The best shows on Netflix, from 'The Haunting of Hill House’ to ‘The Good Place’

Looking for a new show to binge? Lucky for you, we've curated a list of the best shows on Netflix, whether you're a fan of outlandish anime, dramatic period pieces, or shows that leave you questioning what lies beyond.

The best free-to-play games you can play right now

Believe it or not, free-to-play games have evolved into engaging, enjoyable experiences. Here are a few of our favorites that you can play right now, including Warframe and the perennially-popular League of Legends.
Movies & TV

'Prime'-time TV: Here are the best shows on Amazon Prime right now

There's more to Amazon Prime than free two-day shipping, including access to a number of phenomenal shows at no extra cost. To make the sifting easier, here are our favorite shows currently streaming on Amazon Prime.

See the National Forests like never before in these awe-inspiring drone videos

What's the difference between a National Park and a National Forest? Drones. With no ban on drones in National Forests -- at least, not yet -- filmmakers have a way to capture the immensity of these locations with stunning results.
Emerging Tech

Google’s balloon internet is coming to Kenya in 2019

In order to bring the internet to those who lack it, a company called Loon is launching balloons into the stratosphere. From more than 12 miles up, these balloons beam connectivity over a large area on the ground.
Emerging Tech

Hikers missing on Mount Fuji could soon find a drone buzzing above their heads

Hikers who go missing while climbing Japan's highest mountain could soon find a drone buzzing above their head. A new system using the flying machines has been set up on Mount Fuji for future search-and-rescue missions.
Emerging Tech

Elon Musk receives FCC approval to launch over 7,500 satellites into space

Not surprisingly, SpaceX is thinking big with Starlink, its space-based global broadband network. This week, the company received FCC approval to launch 7,518 satellites into a low-Earth orbit for its satellite internet service.

The world’s first 3D-printed titanium wheels are so intricate they look fake

HRE Performance Wheels and GE Additive have teamed up to create the world's first 3D-printed titanium wheels. They are not only impressively durable, but extremely lightweight as well.
Emerging Tech

Of all the vape pens in the world, these 5 are the best

Vaping concentrates has become significantly more popular, especially among those that use cannabis for medicinal purposes. But don’t use just any vape pen: we found these five devices to be our favorites in 2018.
Emerging Tech

DJI Mavic 2 Pro vs Mavic 2 Zoom: What’s the real difference?

DJI's Mavic 2 series drones are ready to fly -- but which one is right for you? The Mavic 2 Pro and Mavic 2 Zoom are nearly identical save for their cameras. Here's what you need to know about these powerful new UAVs.
Emerging Tech

This startup will sequence your entire genome for free — but there’s a catch

Want to get your DNA sequenced but don’t want to shell out the hundred bucks or so to do so? A new startup called Nebula Genomics offers you the opportunity to have it done for free.
Emerging Tech

Here’s all the best tech gear and gadgetry that survived Shark Tank

The television show "Shark Tank" has churned out quite a few strange, interesting, and downright awesome products -- so we rounded up some of the best ones for your perusal. Enjoy!