A tool that can convert your rgb images to nordtheme, gruvbox, catpuccin and many more palettes. Video included.
This repository is a python package.
You can find a demo on the website for testing out the package. The main repository of this whole project is ImageGoNord.
It's including an API layer, in case you'd like to set it up also for your project.
You can find the documentation into this repository and also on the website. If you have any questions, please reach us at [email protected]
We are in love with Nordtheme, that is why we created this repository.
Our goal is to make a shortcut to convert anything into any kind of themes, by starting from the images and going to videos.
An example could be an awesome wallpaper converted into the Nordtheme palette.
We checked the commnunity and we did not find anything similar or any project that can accomplish this task. So, here we are.
Of course, we resolved the issue for any kind of palette, theme and it's video supported.
You can convert any image into the nord palette (or others). Here are some examples:
Original
Processed with avg algorithm
Original
Processed with avg algorithm
We implemented the PaletteNet model with PyTorch based on this implementation. Inside that repository you could find the paper, in case you'd like to develop and train your model.
There is a lot of room for improvement as the shape of the input is reduced to only 6 colors.
Here are some results that you could compare with other. On our point of view, AI model it seems working great with wallpaper.
Original
AI processed - Aurora palette from Nordtheme
Original
AI processed - Nordtheme
Original
AI processed - Nordtheme
You can also convert videos into the nord palette (or others). Here is an example: Original
SampleVideo_720x480.mp4
Processed with algorithm
SampleVideo_720x480_converted.mp4
We are using the PIL because it is the most simple library and it is very useful when you need to manipulate some images.
Our goal is also to make this project open source and maintainable by the community. We would love to.
We believe in the open source community.
Getting it from PIP
pip install image-go-nord
Then you can use some example to getting started properly!
- Follow the contributor guidelines
- Follow the code style / requirements
- Format for commit messages