/ImageAIEnhancer

A python AI powered desktop application to enhance images

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Image AI Enhancer

An open source application made in Python and Glade (GUI). Allows you to enhance a grayscaled image with artificial intelligence.


ImageIAEnhancer.Cover


Builds

Latest release Latest development build
Noto Noto

Contents


1. Introduction

Image AI Enhancer is a open source application made in Python and Glade (GUI). The program allows you to select a .png or .jpg image file, convert it, and view both the original image and the enhanced image next to each other. The conversion process uses the DeepAI API where four processes take place:

  1. Colorization
  2. Super Resolution
  3. Neural Talk
  4. Waifu2x

The output file can then be saved in the desired directory with a filename of user's choice.


2. Building the application

2.1 Building prerequisites

You need python for either operative system. Get it from https://www.python.org/downloads/

Windows

  1. Clone the repository
  2. Go to http://www.msys2.org/ and download the x86_64 installer
  3. Follow the instructions on the page for setting up the basic environment
  4. Run C:\msys64\mingw64.exe - a terminal window should pop up
  5. Execute pacman -Suy
  6. The console will close after finishing step 5. Repeat step 4 and 5, then continue with step 7
  7. Execute pacman -S mingw-w64-x86_64-gtk3 mingw-w64-x86_64-python3 mingw-w64-x86_64-python3-gobject
  8. Execute pacman -S mingw-w64-x86_64-python-requests
  9. Use cd command to go to the local path folder where you cloned the repository, i.e, "cd C:/Users/MyUser/Documents/ImageAIEnhancer"
  10. Execute python main.py

GNU/Linux

  1. Clone the repository

2.2 Compiling and running

Windows

  1. Run C:\msys64\mingw64.exe - a terminal window should pop up
  2. Use cd command to go to the local path folder where you cloned the repository
  3. Execute python main.py

GNU/Linux

  1. Open a terminal in the local path folder where you cloned the repository
  2. Execute python main.py

3. Contributing

Image AI Enhancer uses the gitflow workflow. If you are implementing a new feature or logic from the original game, please branch off and perform pull requests to develop. If you are fixing a bug for the next release, please branch off and perform pull requests to the correct release branch. master only contains tagged releases, you should never branch off this.


4. Licence

Image AI Enhancer is licensed under the GNU General Public License version 3.