Skip to main content

Neural network algorithm turns video into Prisma-style animated paintings

NYC FLOW
Last week, filmmakers wowed the Internet with their hand-built time-lapse video that used Prisma to make it look like an animation rather than a series of photographs. Turns out, you don’t need to spend hours working with single photos, one at a time inside Prisma to achieve this effect — though you will need a powerful computer. Danil Krivoruchko, a digital artist, ran an iPhone video through a neural network algorithm that automatically painted over every frame, and the result is simply stunning.

The video, titled NYC Flow, was shot at 240 frames per second, producing a slow motion output that already gave it a dreamy feel to begin with. From there, Krivoruchko ran it through the algorithm, which completely transformed it into a living painting.

The algorithm itself comes from Manuel Ruder and his team, who published it in a paper at the University of Freiburg in Germany. It is able to copy a style from an input source, like a painting, and apply it to a video. It is, in fact, very similar technology to what’s employed by Prisma, except that the app doesn’t handle video yet.

Should you be interested in trying out this technique, head on over to Ruder’s GitHub where the open source code can be downloaded. Take heed, however, as you will need a powerful computer running Ubuntu with a hefty graphics card. Four gigabytes of video memory are required just to output a video with a resolution of 450 x 350 pixels.

The purpose for building the algorithm was to create automated rotoscoping to replace the time-intensive tasks of having human artists hand-paint every frame to turn it into an animation. Rotoscoping is an old technique, with perhaps its most notable use being in the film A Scanner Darkly.

NYC Flow is part of Krivoruchko’s Deep Slow Flow project on Instagram, which explores the idea of using neural network code in filmmaking.

Editors' Recommendations

Daven Mathies
Former Digital Trends Contributor
Daven is a contributing writer to the photography section. He has been with Digital Trends since 2016 and has been writing…
How to remove location data from your iPhone photos
How to transfer photos from an iPhone to an iPhone

We all love making memories, and a great way to collect those memories is to take a quick snap of a gorgeous landscape, a party in full swing, or a particularly incredible meal. The Apple iPhone now also adds a location to your pictures, meaning it can collate those images together into a location-themed album, or show you all the shots you've taken in a specific location. It's a fun little addition, and it's one that adds a lot of personality to the Photos app.

Read more
‘Photoshopped’ royal photo causes a stir
The Princess of Wales with her children.

[UPDATE: In a message posted on social media on Monday morning, Princess Kate said that she herself edited the image, and apologized for the fuss that the picture had caused. “Like many amateur photographers, I do occasionally experiment with editing," she wrote, adding, "I wanted to express my apologies for any confusion the family photograph we shared yesterday caused."]

Major press agencies have pulled a photo of the U.K.’s Princess of Wales and her children amid concerns that it has been digitally manipulated.

Read more
Nikon sale: Get up to $700 off select Nikon cameras and lenses
nikon d780 review product  1

Crutchfield has a huge sale on many different Nikon cameras with some of the best camera deals that we’ve seen in a while. With nearly 30 different items in the sale, the best thing that avid photographers can do is take a look for themselves. However, if you want a little insight before you dive in, take a look at what we have to suggest below.

What to shop for in the Nikon sale
Nikon makes some of the best DSLR cameras around with our overall favorite -- the -- available for $2,197 reduced from $2,297. The camera is perfect for both photographers and videographers with a 24.5-megapixel full-frame image sensor. Its rugged magnesium-alloy body is weather-sealed against dust, dirt, and moisture so it’s great for all occasions. The Nikon EXPEED 6 image processor is optimized for low-light performance while maintaining long battery life with an autofocus sensor module with support for 51 focus points. You just need to add a lens to reap the benefits with features like the 273-point phase-detection AF system detecting and tracking subjects throughout the entire frame.

Read more