StyleXfer

Adaptive Neural Style Transfer Using AdaIN

{{ form.hidden_tag() }}
Content Source
{% if content_image %} Content Image {% else %} Select Content Image {% endif %}
{{ form.content(class="form-control", onchange="previewFile(this, 'contentPreview')") }}
Style Reference
{% if style_image %} Style Image {% else %} Select Style Image {% endif %}
{{ form.style(class="form-control", onchange="previewFile(this, 'stylePreview')") }}
1.0
{{ form.alpha(class="form-control-range", id="alphaRange", type="range", min="0", max="1", step="0.1") }}
{{ form.submit(class="btn btn-primary shadow-lg btn-glow") }}
{% if result_image %}
Stylized Result
Stylized Image
{% endif %} {% if error %} {% endif %}
Examples

Each example shows the content image, the style below it, and the final output beside them.

Content Image
Brad Pitt Content
Style Image
Sketch Style
->
Output
Brad Pitt Sketch Result
Content Image
Brad Pitt Content
Style Image
Picasso Seated Nude Style
->
Output
Brad Pitt Picasso Result