Gusb3ll / Tsuki

Manga uncensoring scripts using DeepCreamPy & HentAI combined with custom scripts
MIT License
89 stars 9 forks source link
anime decensoring deepcreampy hent-ai python pytorch tensorflow

Tsuki

Manga/picture uncensoring script based on

Demo

Right now the program only works with bar censoring, mosaic and video uncensoring will be implemented later

Google colab version

If you want to use the google colab version, make a copy of this in your own google drive and download the models from the section below

Installiation

System requirements

Notes

Automatic installation

.\init.bat

Manual installation (Not recommended)

cd tsuki
cd modules
virtualenv env --python=3.9.7
pip install -r requirements.txt

Download the models

DeepCreamPy

HentAI

Usage (Automatic)

If you ran "init.bat" already, there should be "INPUT" and "OUTPUT" folder at the root of the project

For black & white manga/picture

Put the images in "INPUT" folder (Both PNG & JPG are acceptable)

.\run-blackwhite.bat

For colored manga/picture

Put the images in "INPUT" folder (Both PNG & JPG are acceptable)

.\run-color.bat

Usage (Manual)

Make sure you are using the correct environment when using each modules

  1. Activate HentAI environment then put the image in the "png" format into the "input" folder you just created
  2. Move the result from "output" folder from HentAI to "decensor_input" in DeepCreamPy folder
  3. Run DeepCreamPy and done! you have your uncensored image