deeppomf's DeepCreamPy + some updates
Go to file
2024-11-22 18:06:52 +03:00
.github/ISSUE_TEMPLATE Update issue templates 2018-11-04 11:24:46 +00:00
decensor_input Added .gitignores to avoid accidentally commiting test files 2019-01-29 11:01:58 +01:00
decensor_input_original Added .gitignores to avoid accidentally commiting test files 2019-01-29 11:01:58 +01:00
decensor_output Added .gitignores to avoid accidentally commiting test files 2019-01-29 11:01:58 +01:00
docs Update INSTALLATION_BINARY.md 2024-11-22 04:10:34 +03:00
libs Add DCPv2 files 2019-08-07 04:04:56 -04:00
models added ignore in models and changes argument names not to confuse 2019-08-10 13:07:32 +09:00
readme_images [ImgBot] Optimize images 2018-10-31 13:36:06 +00:00
.gitignore added ignore in models and changes argument names not to confuse 2019-08-10 13:07:32 +09:00
cleardcp.py Create cleardcp.py 2024-09-25 14:29:08 +03:00
config.py feat: checkbox for cleaning input dirs (#7) 2024-11-14 21:43:30 +02:00
decensor.py feat: checkbox for cleaning input dirs (#7) 2024-11-14 21:43:30 +02:00
Dockerfile add dockerfile 2022-09-09 04:12:06 +03:00
file.py Add variations feature 2019-09-29 17:38:21 -04:00
LICENSE.md Switch to AGPL License 2020-04-21 22:10:11 -04:00
main.py feat: checkbox for cleaning input dirs (#7) 2024-11-14 21:43:30 +02:00
model.py check missing file for non-binary users 2020-01-01 15:59:10 +09:00
module.py Add DCPv2 files 2019-08-07 04:04:56 -04:00
ops.py Add DCPv2 files 2019-08-07 04:04:56 -04:00
README.md Update README.md 2024-11-22 18:06:52 +03:00
requirements-cpu.txt downgrade tensorflow to version compatible with python3.7 2022-09-09 03:56:13 +03:00
requirements-gpu.txt Fix requirements-gpu.txt 2024-05-10 21:27:03 +02:00
signals.py feat: checkbox for cleaning input dirs (#7) 2024-11-14 21:43:30 +02:00

DeepCreamPy

Plausibly Reconstruct Anime-style Artworks with Deep Neural Networks.

GitHub release GitHub downloads GitHub downloads GitHub issues

A deep learning-based tool to automatically replace parts of artworks with plausible reconstructions.

Before using DeepCreamPy, the user must mark regions in the artwork using green color with an image editing program (e.g., GIMP, Photoshop). DeepCreamPy takes the images with green colored regions as input, and a neural network automatically fills in the highlighted regions.

You can download the latest release for Windows 64-bit here.

For users interested in compiling DeepCreamPy themselves, DeepCreamPy can run on Windows, Mac, and Linux.

Before opening a new issue, please check closed issues and refer to the table of contents.

Features

  • Reconstructing images of any size
  • Reconstruction of ANY shaped censor (e.g. black lines, pink hearts, etc.)
  • Decensoring of mosaic censors
  • Limited support for black-and-white/monochrome images
  • Generate multiple variations of reconstructions from the same image

Limitations

The reconstruction is mainly for anime-style human-like figures that have minor to moderate redactions. If an organ (e.g. arms, legs) is completely deleted, reconstruction will fail.

It does NOT work with:

  • Screentones (e.g. printed material)
  • Real life photos
  • Animated gifs and videos

Table of Contents

Setup:

Usage:

Miscellaneous:

To do

  • Moving to PyTorch or newer versions of TensorFlow
  • Improving UI
  • Error logging

Contributions

We welcome contributions as long as they comply with the GNU Affero General Public License v3.0. Be advised of GitHub's inbound=outbound rule.

Previously, contributors had to sign a Contributor License Agreement (the "CLA"). This requirement is currently no longer in place.

This project was initially created by deeppomf and all credit goes to them. Special thanks to ccppoo, IAmTheRedSpy, 0xb8, deniszh, Smethan, harjitmoe, itsVale, StartleStars, SoftArmpit and everyone else for their contributions!

License

Source code and official releases/binaries are distributed under the GNU Affero General Public License v3.0.

Acknowledgements

Example mermaid image by Shurajo & AVALANCHE Game Studio under CC BY 3.0 License. The example image is modified from the original, which can be found here.

Neural network code is modified from Forty-lock's project PEPSI, which is the official implementation of the paper PEPSI : Fast Image Inpainting With Parallel Decoding Network. PEPSI is licensed under the MIT license.

Training data is modified from gwern's project Danbooru2017: A Large-Scale Crowdsourced and Tagged Anime Illustration Dataset and other sources.

See ACKNOWLEDGEMENTS.md for full license text of these projects.