All Projects β†’ nixers-projects β†’ Urnn

nixers-projects / Urnn

A neural network to smartly create coherent terminal colorschemes based on an image.

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Urnn

Plash
πŸ’¦ Make any website your Mac desktop wallpaper
Stars: ✭ 1,206 (+806.77%)
Mutual labels:  wallpaper
Reddit Wallpaper Changer
Reddit Wallpaper Changer
Stars: ✭ 96 (-27.82%)
Mutual labels:  wallpaper
Backgrounds
A set of default and supplemental wallpapers for Fedora 33
Stars: ✭ 110 (-17.29%)
Mutual labels:  wallpaper
Himawari Bg
🌏 Set the latest image from Himawari 8 as your desktop background.
Stars: ✭ 81 (-39.1%)
Mutual labels:  wallpaper
Autowall
Live wallpapers on Windows 10 using open-source wallpaper engine 🌌
Stars: ✭ 85 (-36.09%)
Mutual labels:  wallpaper
Com.nerdyweekly.animated
Animated GIF wallpaper for KDE Plasma 5
Stars: ✭ 105 (-21.05%)
Mutual labels:  wallpaper
Redpaper
A tool to download and set desktop wallpapers from Reddit
Stars: ✭ 64 (-51.88%)
Mutual labels:  wallpaper
Quickwall
Set latest wallpapers from Unsplash from the commandline
Stars: ✭ 131 (-1.5%)
Mutual labels:  wallpaper
Iconshowcase
Full-of-features, easy-to-customize, free and open source, Material Design dashboard for icon packs.
Stars: ✭ 91 (-31.58%)
Mutual labels:  wallpaper
Wincustomdesktop
θ‡ͺη»˜ζ‘Œι’ζ‘†ζžΆοΌŒη”¨δ½ ηš„δ»£η η»˜εˆΆζ‘Œι’
Stars: ✭ 109 (-18.05%)
Mutual labels:  wallpaper
Google Trend Wallpaper
A python and shell script to set the wallpaper to a wordcloud of the most trending google searches.
Stars: ✭ 83 (-37.59%)
Mutual labels:  wallpaper
Wallset
A wallpaper manager that makes it possible to put videos as wallpaper
Stars: ✭ 86 (-35.34%)
Mutual labels:  wallpaper
Bingpaper
Use Bing daily photo as your wallpaper for macOS.
Stars: ✭ 105 (-21.05%)
Mutual labels:  wallpaper
Pixivformuzei3
Best Pixiv plugin for Muzei 3
Stars: ✭ 81 (-39.1%)
Mutual labels:  wallpaper
Plasma5 Wallpapers Dynamic
Dynamic wallpaper plugin for KDE Plasma
Stars: ✭ 122 (-8.27%)
Mutual labels:  wallpaper
Screenplay
READONLY MIRROR (https://gitlab.com/kelteseth/screenplay) - Modern, Cross Plattform, Live Wallpaper & Widgets ! Free on Steam : https://store.steampowered.com/app/672870/ScreenPlay/
Stars: ✭ 70 (-47.37%)
Mutual labels:  wallpaper
Tiles And Such
Archives of tilelable images/wallpapers
Stars: ✭ 101 (-24.06%)
Mutual labels:  wallpaper
Livewallpaperengine
Windows 10 Dynamic Wallpaper Engine API without UI. Support video, HTML, EXE, IMG wallpaper. | ε·¨εΊ”εŠ¨ζ€ε£ηΊΈεΌ•ζ“Ž
Stars: ✭ 132 (-0.75%)
Mutual labels:  wallpaper
Wallpaper
πŸ§›πŸ»β€β™‚οΈ Dark wallpapers for Dracula
Stars: ✭ 130 (-2.26%)
Mutual labels:  wallpaper
Dotfiles
β–’ rice β–‘β–‘ custom linux config files
Stars: ✭ 1,514 (+1038.35%)
Mutual labels:  wallpaper

urnn (unix ricing neural network)

A neural network to smartly create coherent terminal colorschemes based on an image.

Examples (Colors generated from wallpapers):

1 2
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18

How do I use this?

This project depends on libfann and libpng. After you have those and clone:

./urnn colors <some file.png>
       \____/  \___________/
          |          |
          |          \- The wallpaper you want to have your terminal
          |             colors fit with.
          |
          \- The colors command will print to STDOUT, in an Xresources
             format the colors that resulted after passing through the
             neural network. If the colors are bad you can retrain the
             network (see the help for more commands)

Repo layout

Folder Contents
colors Programs for extracting colors from png images in different ways.
scripts Scripts for misc tasks(using the color extractors, parsing .Xresources files, ...)
network Folder containing the meat of this project, programs and scripts to train and use the neural network, as well as extract data and put it in the correct form to use.
inputs Git submodule that points to the urnnputs, containing images and resources file to extract data from to use to train the neural network.
dataset The extracted data from the inputs folder in a form suitable used to train urnn(explained below)

Dataset contents(color representation)

Colors are converted to a value that is between 0 and 1, for speed/use with fann.

for example, say we have a pixel with the rgb value of (255, 120, 70). to display this information in a format that the neural network can understand, we have to convert it to 3 floats. each consist of the color/255 (max value).

255/255 = 1.00000000
120/255 = 0.47058823
70/255  = 0.27450980

so there you have it. our pixel is represented by 1.00000000 0.47058823 0.27450980

TODO

  • [x] Turn the input of the network between [-1, 1] so that the training is faster
  • [ ] Get more data for the training
  • [ ] Test multiple color extracters and parameters for the training
  • [ ] Easy wrappers for all the mini-tools written

How To Contribute

Have inputs(pairs of xresources and walls) that you want to add? If you just want to submit them for addition to the inputs, see https://github.com/nixers-projects/urnnputs#contributing

If you want to test one or more here to see what kind of effect you can have on the network:

$ urnn add /some/image.png /test/.Xresouces
$ urnn add /some/other/image.png /second/.Xresouces
$ urnn refresh
$ urnn retrain

You will then have a trained set including your inputs, and could test out the urnn colors command and see that kind of effect you had. If any of the outputs are desirable, consider submitting a pull request with them ;)

Related links

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].