Skip to main content

Neural network algorithm turns video into Prisma-style animated paintings

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.

Recommended Videos

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.

Please enable Javascript to view this content

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…
Phone cameras are so good, they’ve finally replaced my camera for work
Close up of the camera on the iPhone 16 Pro and Pixel 9 Pro.

For almost two decades, I’ve carried more than twenty pounds of electronics in my backpack for the slightest chance of needing to capture content for my professional life. My backpack usually contained my MacBook, a full-frame camera with a big lens, a tripod, and an assortment of video and audio gear that I always deemed essential.

As it turns out, over the past two years, many of these items were rendered obsolete, as many companies launched new products that were quickly able to replace technology that I previously considered irreplaceable.

Read more
This is what happens ‘when you get two uber-geeks in space at the same time’
NASA's Don Pettit on the space station.



During NASA’s first-ever Twitch livestream from the International Space Station (ISS) on Wednesday, current station inhabitant Don Pettit and recent returnee Matthew Dominick talked about what it’s like to live and work in a satellite 250 miles up.

Read more
The GoPro Hero 13 Creator Edition is $100 off, but not for long
A person holding the GoPro HERO13 Creator Edition in front of the ocean.

Outdoor enthusiasts who want to buy a new action camera should go for the brand that popularized the product and look for GoPro deals. Best Buy has an offer that's going to be hard to refuse, as it features the GoPro Hero 13 Creator Edition. From its original price of $600, it's down to just $500 as part of the retailer's Presidents' Day Sale. There are still a few days remaining before the $100 discount ends on February 17, but we highly recommend completing your purchase as soon as possible because stocks may run out before then.

Why you should buy the GoPro Hero 13 Creator Edition
The star of the GoPro Hero 13 Creator Edition is the GoPro Hero 13 Black, which is the latest version of the brand's popular line of action cameras. It's capable of recording video at up to 5.3K resolution, and you can grab photos of up to 24.7MP from your footage using the GoPro Quick app. The GoPro Hero 13 Black can also take videos that are slowed down by 13 times the normal speed, and it can last more than 5 hours on a single charge. The front and rear LCD screens will let you frame your shots perfectly, and the built-in buttons enable easy controls for lengthy sessions.

Read more