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

Microsoft’s friendly new A.I wants to figure out what you want — before you ask

Move over Siri and Alexa! Microsoft wants to build a new type of virtual assistant that wants to be your friend. Already making waves in Asia, could this be the future of A.I. BFFs?
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.
Emerging Tech

Hotter than the sun: Chinese fusion reactor claims breakthrough

China’s “artificial sun” has reached a temperature of 180 million ºF with a heating power of 10 megawatts -- six times hotter than the center of the sun. The achievement could mark progress towards fusion as a clean energy source.
Product Review

Airselfie 2 may as well be a GoPro stapled to a drunk hummingbird

On paper, the Airselfie 2 is marketed as flying photographer that fits in your pocket and snaps selfies from the sky. Unfortunately it’s more like a HandiCam controlled by a swarm of intoxicated bumblebees
Emerging Tech

Awesome Tech You Can’t Buy Yet: A.I. selfie drones, ‘invisible’ wireless chargers

Check out our roundup of the best new crowdfunding projects and product announcements that hit the web this week. You may not be able to buy this stuff yet, but it sure is fun to gawk!
Emerging Tech

Warm up or cool down with the press of a button on the wrist-worn Embr

We review the Embr Wave, a personal heating and cooling wearable designed by a team of MIT engineers that’s now on Kickstarter. Our thoughts? It’s a little bit addictive.
Emerging Tech

Hope it doesn’t melt! Rocket to ISS carries vital supplies — including ice cream

A rocket has launched over Virginia's eastern shore, carrying supplies to the International Space Station (ISS). Inside the spacecraft are supplies for the ISS itself and the crew onboard, such as scientific equipment and food.
Emerging Tech

‘Super-Earth’ discovered orbiting nearby star

Astronomers have discovered a large planet circling a sun nearby to Earth called Barnard's Star. The potential new planet is thought to be cold and icy and has a size of around 3.2 times the Earth.
Emerging Tech

OSIRIS-REx spacecraft successfully tests its asteroid-sampling arm

The OSIRIS-REx spacecraft, launched in September 2016, is closing in on its target of the Bennu asteroid. The craft has now unfurled its robotic arm, called the Touch-and-Go Sample Acquisition Mechanism (TAGSAM), and tested it successfully.
Product Review

DJI has always been the king of drones, and the new Mavics are almost perfect

After flying both the Mavic 2 Pro and Mavic 2 Zoom for over a week, we’re convinced that these are two of the best drones that DJI has ever made.

Cyber Monday 2018: When it takes place and where to find the best deals

Cyber Monday is still a ways off, but it's never too early to start planning ahead. With so many different deals to choose from during one of the biggest shopping holidays of the year, going in with a little know-how makes all the…
Emerging Tech

Smarter cities need smarter addresses. And you just need 3 words

To make really smart transportation choices, more precise location data will have to be integrated with citywide transportation data. Here’s how one company is mapping the world by using just three words.