An open API service indexing awesome lists of open source software.

https://github.com/progamergov/neural-display

Displays your styled outputs alongside their content and style image(s)
https://github.com/progamergov/neural-display

artistic neural-style style style-transfer transfer

Last synced: over 1 year ago
JSON representation

Displays your styled outputs alongside their content and style image(s)

Awesome Lists containing this project

README

          

# Neural-Display
Display your styled outputs alongside their content and style image(s), in a single image.

---

#Requirements

[Neural-Style](https://github.com/jcjohnson/neural-style) or a [similar style transfer system](https://github.com/jcjohnson/neural-style/wiki/Similar-to-Neural-Style).

ImageMagick can be installed on Ubuntu with:

`sudo apt-get install imagemagick`

---

#Usage:

For a horizontal comparison:

`./neural-display-h.sh `

For a vertical comparison:

`./neural-display-v.sh `

The style images should be separated with a comma like they are in [Neural-Style](https://github.com/jcjohnson/neural-style) commands:
`style1.png,style2.png,style3.png`

If you end up with [a white background showing/the images not filling the space correctly](https://i.imgur.com/nmbJ9nZ.jpg), change the `size_factor` value in the applicable script to a larger value.

---

#Example Outputs:

![](https://i.imgur.com/FAAxmpSl.jpg)

![](https://i.imgur.com/GAmJUpHl.jpg)

![](https://i.imgur.com/zQNKB9El.jpg)

![](https://i.imgur.com/mLSixxsl.jpg)

![](https://i.imgur.com/yBxYqMvl.jpg)

---

#Troubleshooting

If you face a permission error, try using chmod to fix the issue:

`chmod u+x ./neural-display-h.sh`

Or:

`chmod u+x ./neural-display-v.sh`

You can also try adding sudo bash like:

`sudo bash ./neural-display-h.sh`
Or:
`sudo bash ./neural-display-v.sh`

---