mgagvani / minecraft_texture_upscaler

Minecraft Texture Upscaler automatically processes low-resolution Minecraft texture packs and increases their resolution. It is almost as good as native, (paid), high-resolution texture packs.
4 stars 0 forks source link

Minecraft Texture Upscaler

Have you ever wanted to try a cool texture pack you saw on the Net? And then realized that the high-res one they use is stuck behind a paywall? This program can take a lower-res texture pack and scale it up. It produces textures indistinguishable from the originals.

Left Right
32x Texture 128x Upscaled texture

gold_ore gold_ore

redstone_ore redstone_ore

Usage

Minecraft Texture Upscaler is built on Python and OpenCV's contrib module.

  1. Install Python 3.7 or later.
  2. Install OpenCV with pip install opencv
  3. Install OpenCV Contrib Modules with pip install opencv-contrib-python
  4. Install Pillow: pip install pillow
  5. Put the code(just texturepack.py for now) where your textures are stored.
  6. Download the Super Resolution models here and put it in the same folder.
  7. Run texturepack.py, put in the required information, and enjoy!

Notes:

Contributing

Don't hesitate to submit an issue with an questions or concerns, or PRs with new functionality! Contributing is welcomed and appreciated!

References

Deep Learning based Super Resolution with OpenCV

OpenCV - Upscaling images: single-output