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.

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 photograph April’s solar eclipse, according to NASA
A total solar eclipse.

How to Photograph a Total Solar Eclipse

Nikon recently shared some tips on photographing April’s total solar eclipse, and NASA is also offering its own ideas.

Read more
The best free photo-editing software for 2024
Side view of a laptop on a desk.

Professional photo-editing applications aren't cheap, nor are they easy to master without formal training. That's why we're taking a look at the best free photo-editing software on the market.
Our top pick is GIMP, an open-source photo editing software available for the big three operating systems. It offers a huge workspace and a wide variety of professional editing tools.
We provide thousands of how-to articles, news articles, and best-of lists to help you build your photography skills, choose the best gear for your photography needs, and make the most out of your photo equipment. And if our top pick isn’t for you, check out the other options on this list. There are great choices for conventional desktop software, mobile apps, and even web-based solutions that don't require installing software.

GIMP

Read more
The best photo printers you can buy in 2024
Alan compares draft, standard, and high-quality photos from Epson's EcoTank ET-8500.

A comparison of draft, standard, and high-quality photos from Epson's EcoTank ET-8500. Tracey Truly / Digital Trends

If you love sharing photo prints or building physical photo albums, you might want to upgrade to a photo printer. When manufacturers optimize printers for pictures, the results can match or exceed that of the best printers available.

Read more