DeepCreamPy/README.md

66 lines
3.5 KiB
Markdown
Raw Normal View History

2018-10-20 04:30:35 +00:00
# DeepCreamPy
2018-10-21 05:39:49 +00:00
*Decensoring Hentai with Deep Neural Networks. Formerly named DeepMindBreak.*
2018-10-20 04:00:04 +00:00
2018-10-30 11:39:08 +00:00
A deep learning-based tool to automatically replace censored artwork in hentai with plausible reconstructions.
2018-10-30 08:30:27 +00:00
2018-10-30 11:39:08 +00:00
The user specifies the censored regions in each image by coloring those regions green in a separate image editing program like GIMP or Photoshop. A neural network handles the hard part of filling in the censored regions.
2018-10-30 08:30:27 +00:00
DeepCreamPy has a pre-built binary for Windows 64-bit. DeepCreamPy works on Windows, Mac, and Linux.
2018-10-20 04:00:04 +00:00
![Censored, decensored](/readme_images/mermaid_collage.png)
2018-10-25 22:35:49 +00:00
## What's New?
2018-10-20 04:00:04 +00:00
- Decensoring images of ANY size
2018-10-21 05:51:58 +00:00
- Decensoring censors of ANY shape (e.g. bunch of black lines, pink hearts, etc.)
2018-10-20 04:00:04 +00:00
- Higher quality decensors
2018-10-27 07:08:51 +00:00
- Support for mosaic decensors (still a WIP and not very usable)
2018-10-30 08:30:27 +00:00
- User interface (not usable)
2018-10-20 04:00:04 +00:00
2018-10-25 22:35:49 +00:00
## Limitations
2018-10-25 22:34:02 +00:00
The decensorship is intended to work on color hentai images that have minor to moderate censorship of the penis or vagina. If a vagina or penis is completely censored out, decensoring will be ineffective.
2018-10-20 22:12:38 +00:00
2018-10-20 04:00:04 +00:00
It does NOT work with:
2018-10-25 22:34:02 +00:00
- Black and white/Monochrome image
2018-10-20 04:00:04 +00:00
- Hentai containing screentones (e.g. printed hentai)
- Real life porn
- Censorship of nipples
- Censorship of anus
- Animated gifs/videos
2018-11-02 09:22:11 +00:00
## Table of Contents
Setup:
* [Installation](INSTALLATION.md)
2018-10-20 04:42:48 +00:00
2018-11-02 09:22:11 +00:00
Usage:
2018-11-02 09:29:09 +00:00
* [Decensoring Tutorial](USAGE.md)
2018-11-02 09:22:11 +00:00
* [Troubleshooting for poor quality decensors](TROUBLESHOOTING.md).
2018-10-20 07:17:33 +00:00
2018-11-02 09:22:11 +00:00
Miscellaneous:
* [FAQ](FAQ.md)
2018-10-25 22:34:02 +00:00
2018-10-25 22:35:49 +00:00
## To do
2018-10-30 08:30:27 +00:00
- Finish the user interface (sometime in November)
- Update model with better quality data (sometime in November)
2018-10-25 17:41:13 +00:00
- Add support for black and white images
2018-10-30 08:30:27 +00:00
- Add error log
2018-10-20 04:00:04 +00:00
Contributions are welcome! Special thanks to StartleStars for contributing code for mosaic decensorship and SoftArmpit for greatly simplifying decensoring!
2018-10-25 22:35:49 +00:00
## License
2018-10-31 04:44:17 +00:00
This project is licensed under GNU Affero General Public License v3.0.
See [LICENSE.txt](LICENSE.txt) for more information about the license.
2018-10-22 22:25:59 +00:00
2018-10-25 22:35:49 +00:00
## Acknowledgements
2018-10-22 02:30:04 +00:00
Example mermaid image by Shurajo & AVALANCHE Game Studio under [CC BY 3.0 License](https://creativecommons.org/licenses/by/3.0/). The example image is modified from the original, which can be found [here](https://opengameart.org/content/mermaid).
2018-10-20 04:43:56 +00:00
2018-10-22 02:30:04 +00:00
Neural network code is modified from MathiasGruber's project [Partial Convolutions for Image Inpainting using Keras](https://github.com/MathiasGruber/PConv-Keras), which is an unofficial implementation of the paper [Image Inpainting for Irregular Holes Using Partial Convolutions](https://arxiv.org/abs/1804.07723). [Partial Convolutions for Image Inpainting using Keras](https://github.com/MathiasGruber/PConv-Keras) is licensed under the MIT license.
2018-10-20 04:00:04 +00:00
2018-10-22 02:30:04 +00:00
User interface code is modified from Packt's project [Tkinter GUI Application Development Blueprints - Second Edition](https://github.com/PacktPublishing/Tkinter-GUI-Application-Development-Blueprints-Second-Edition). [Tkinter GUI Application Development Blueprints - Second Edition](https://github.com/PacktPublishing/Tkinter-GUI-Application-Development-Blueprints-Second-Edition) is licensed under the MIT license.
2018-10-20 04:00:04 +00:00
2018-10-30 01:04:07 +00:00
Data is modified from gwern's project [Danbooru2017: A Large-Scale Crowdsourced and Tagged Anime Illustration Dataset](https://www.gwern.net/Danbooru2017).
See [ACKNOWLEDGEMENTS.md](ACKNOWLEDGEMENTS.md) for full license text of these projects.
2018-10-28 07:10:58 +00:00
## Donations
If you like the work I do, you can donate to me via Paypal: [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=SAM6C6DQRDBAE)