• Stars
    star
    246
  • Rank 164,110 (Top 4 %)
  • Language
    Lua
  • License
    MIT License
  • Created about 9 years ago
  • Updated over 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Implementing neural art on video

neural-animation

Implementing neural art on video. Transform video in the artistic style of Van Gogh, Munch, or any other image using CNNs based on A Neural Algorithm of Artistic Style by Leon A. Gatys, Alexander S. Ecker, and Matthias Bethge using a recent Torch implemenation.

Example

Given an image of Edvard Munch's The Scream

and a clip from 2001: A Space Odyssey

We can generate that same clip from 2001: A Space Odyssey in the artistic style of Edvard Munch's The Scream

Use

Generate frames from mp4

./movie2frames.sh ffmpeg [source_video] [directory_of_original_frames] jpg

Paint a new video

python paint.py -i [directory_of_original_frames] -o [directory_of_processed_frames] -s [style_image]

Optional parameters -sf and -ef for start and end frames to 'paint' on.

Generate mp4 or gif from processed frames

With the correct parameters, run frames2gif.sh or frames2movie.sh, or upload to imageflip.

Setup

Dependencies:

  • torch7
  • loadcaffe
  • cutorch
  • CUDA 6.5+
  • cudnn.torch
  • ffmpeg

Acknowledgments

Thanks jcjohnson for providing the Lua/Torch implementation and graphix for frame manipulation.

More Repositories

1

deep-simplification

Text simplification using RNNs
Python
56
star
2

docker-char-rnn

Docker container for use with Multi-layer Recurrent Neural Networks (LSTM, GRU, RNN) for character-level language models in Torch
9
star
3

docker-neuralart

Docker container to generate neural art
8
star
4

dockerfiles

Compilation of Dockerfiles with automated builds enabled on Docker Hub.
6
star
5

docker-ner

Docker container for Stanford Named Entity Recognizer (NER)
6
star
6

NLP-portfolio

misc natural language processing proof-of-concept code
Erlang
5
star
7

theia

See the world
Shell
5
star
8

blobfs

FUSE-based file system backed by Microsoft Azure's blob storage
Python
5
star
9

restful-alpr

RESTful API wrapper for Automatic License Plate Recognition
Python
5
star
10

patentprocessing

Process USPTO patent data
Scala
4
star
11

vagrant-torch7

Vagrant for torch7
Shell
3
star
12

RT-Classification

Movie review classification using an SVM
Shell
3
star
13

SRSE

SRSE (Spanish Readability Search Engine)
Python
3
star
14

REtweets

Find rheumatoid arthritis (RE) patients on twitter
Scala
3
star
15

tAlign

Text alignment for OCR using FFTs
Python
3
star
16

frequency-fun

Fun with frequencies
MATLAB
2
star
17

docker-matlab

Docker container for running compiled matlab applications
2
star
18

easy-smt

Docker for Moses (SMT)
2
star
19

heart-attack

Heartbleed pentest tool
Python
2
star
20

docker-facedetection-demo

Openface demo
1
star
21

docker-ruby-maintenance

Docker container for site maintenance
1
star
22

docker-neuraltalk

Docker container for NeuralTalk, a Python project for learning Multimodal Recurrent Neural Networks that describe images with sentences.
1
star
23

fascov

Detect the location of keypoints on face images using CNNs
1
star
24

docker-deepdream

1
star
25

media

misc media-related scripts
Python
1
star