All Projects → ProGamerGov → Neural-Zoom

ProGamerGov / Neural-Zoom

Licence: MIT License
Infinite Zoom For Style Transfer

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Neural-Zoom

Neural-Zoom-Legacy
Infinite Zoom For Style Transfer
Stars: ✭ 14 (-58.82%)
Mutual labels:  infinite, zoom, neural-style, neural, neural-zoom
Torch Models
Stars: ✭ 65 (+91.18%)
Mutual labels:  torch, neural-style, neural
Neural Tools
Tools made for usage alongside artistic style transfer projects
Stars: ✭ 150 (+341.18%)
Mutual labels:  neural-style, neural
Fast Neural Doodle
Faster neural doodle
Stars: ✭ 339 (+897.06%)
Mutual labels:  torch, neural-style
Torch2coreml
Torch7 -> CoreML
Stars: ✭ 363 (+967.65%)
Mutual labels:  torch, neural-style
Texture nets
Code for "Texture Networks: Feed-forward Synthesis of Textures and Stylized Images" paper.
Stars: ✭ 1,147 (+3273.53%)
Mutual labels:  torch, neural-style
MeuralPaint
TensorFlow implementation of CNN fast neural style transfer ⚡️ 🎨 🌌
Stars: ✭ 19 (-44.12%)
Mutual labels:  neural-style, fast-neural-style
Pytorch Beam Search Decoding
PyTorch implementation of beam search decoding for seq2seq models
Stars: ✭ 204 (+500%)
Mutual labels:  torch, neural
Online Neural Doodle
Feedforward neural doodle
Stars: ✭ 183 (+438.24%)
Mutual labels:  torch, neural-style
Neural Style Audio Torch
Torch implementation for audio neural style.
Stars: ✭ 130 (+282.35%)
Mutual labels:  torch, neural-style
Neural-Tile
A better tiling script for Neural-Style
Stars: ✭ 35 (+2.94%)
Mutual labels:  neural-style, neural
Keras-Style-Transfer
An implementation of "A Neural Algorithm of Artistic Style" in Keras
Stars: ✭ 36 (+5.88%)
Mutual labels:  neural-style, neural-style-transfer
torchlib
Data structures, algorithms, and ML/NLP tools in Lua.
Stars: ✭ 22 (-35.29%)
Mutual labels:  torch
Neural-Style-MMD
MXNet Code For Demystifying Neural Style Transfer (IJCAI 2017)
Stars: ✭ 82 (+141.18%)
Mutual labels:  neural-style
MLExp
arxiv.org/abs/1801.07710v2
Stars: ✭ 32 (-5.88%)
Mutual labels:  neural
DeepCD
[ICCV17] DeepCD: Learning Deep Complementary Descriptors for Patch Representations
Stars: ✭ 39 (+14.71%)
Mutual labels:  torch
react-quick-pinch-zoom
A react component that providing multi-touch gestures for zooming and dragging on any DOM element.
Stars: ✭ 124 (+264.71%)
Mutual labels:  zoom
infinite
🤪 The database that can store the Internet
Stars: ✭ 25 (-26.47%)
Mutual labels:  infinite
Cross-View-Gait-Based-Human-Identification-with-Deep-CNNs
Code for 2016 TPAMI(IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE) A Comprehensive Study on Cross-View Gait Based Human Identification with Deep CNNs
Stars: ✭ 21 (-38.24%)
Mutual labels:  torch
ng-mat-select-infinite-scroll
Infinite Scroll directive for angular material select component
Stars: ✭ 39 (+14.71%)
Mutual labels:  infinite

neural-zoom

Neural-Zoom works by cropping the output from a style transfer script, and then using the cropped output as either a content image, or an initialization image for the next frame.

If you are looking for the old version of Neural-Zoom, it can be found here.

Different Crop (Zoom) Values

By changing the crop value, you can control the "speed" at which the zoom will be.

Different X And Y Axis Crop Values

You can control the "zoom" for the x axis and y axis separately.

From the left: "The Scream", and "The Starry Night" + "Picasso Self-Portrait"

Parameters:

In addition to all the parameters from your chosen style transfer script, neural-zoom has it's own parameters:

Basic Options:

Zoom Options:

  • -crop: How much to crop each frame from all sides. Default is 64. If both the -crop_height and -crop_width parameters are greater than zero, this parameter will be ignored.
  • -crop_width: How much to crop the left and right sides of each frame.
  • -crop_height: How much to crop the top and bottom sides of each frame.

Starting Options:

  • -starting_image: Optionally skip creating frame zero, and use your own image instead.
  • -start_num: The number to start counting from for frame names. Default is 0.

Output options:

  • -num_zeros: How many zeros to use for the number portion of each frame name. Default is 0000.
  • -num_mode: Whether to use trailing or leading numbers in frame names. If you set this to 0, leading numbers will be used instead of trailing numbers.
  • -output_dir: Name of the output image directory. Default is output_dir.
  • -verbose: If this flag is present, then the full set of style transfer parameters used, will be printed for each frame.

Setup

  • Something to convert your frames into the desired media format, like FFMPEG, or Imagemagick.

  • A supported style transfer project.

You can download Neural-Zoom directly to a style transfer project directory, with:

wget -c https://raw.githubusercontent.com/ProGamerGov/Neural-Zoom/master/neural_zoom.py

Usage

The Neural-Zoom specific parameters will remain the same with each style transfer script, but each script will have it's own different required parameters.

Below are some basic examples of how to use Neural-Zoom (with either Python 2.7 or Python 3):

Neural-Style:

python neural_zoom.py -script neural_style.lua -style_image <image.jpg> -content_image <image.jpg> -model_file models/VGG_ILSVRC_19_layers.caffemodel -proto_file models/VGG_ILSVRC_19_layers_deploy.prototxt

Fast-Neural-Style:

neural_zoom.py -script fast_neural_style.lua -model <model.t7> -input_image <image.jpg>

Neural-Style-PT:

python neural_zoom.py -script neural_style.py -style_image <image.jpg> -content_image <image.jpg> -model_file models/models/vgg19-d01eb7cb.pth

From the left, the style transfer project used is Neural-Style, Fast-Neural-Style, and Neural-Style-PT.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].