DeepCreamPy/README.md

81 lines
4.8 KiB
Markdown
Raw Normal View History

2018-10-20 04:30:35 +00:00
# DeepCreamPy
2018-11-11 01:53:48 +00:00
*Decensoring Hentai with Deep Neural Networks.*
[![GitHub release](https://img.shields.io/github/release/deeppomf/DeepCreamPy.svg)](https://github.com/deeppomf/DeepCreamPy/releases/latest)
2018-11-11 01:54:50 +00:00
[![GitHub downloads](https://img.shields.io/github/downloads/deeppomf/DeepCreamPy/latest/total.svg)](https://github.com/deeppomf/DeepCreamPy/releases/latest)
[![GitHub downloads](https://img.shields.io/github/downloads/deeppomf/DeepCreamPy/total.svg)](https://github.com/deeppomf/DeepCreamPy/releases)
2018-11-11 01:59:41 +00:00
[![GitHub issues](https://img.shields.io/github/issues/deeppomf/DeepCreamPy.svg)](https://github.com/deeppomf/DeepCreamPy/issues)
[![Donate with PayPal](https://img.shields.io/badge/paypal-donate-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=SAM6C6DQRDBAE)
2018-12-03 22:08:35 +00:00
[![Project license](https://img.shields.io/github/license/deeppomf/DeepCreamPy.svg)](https://raw.githubusercontent.com/deeppomf/DeepCreamPy/LICENSE.txt)
2018-11-11 03:29:06 +00:00
[![Twitter Follow](https://img.shields.io/twitter/follow/deeppomf.svg?label=Follow&style=social)](https://twitter.com/deeppomf/)
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-11-08 08:31:16 +00:00
The user colors censored regions green in an image editing program like GIMP or Photoshop. A neural network fills in the censored regions.
2018-10-30 08:30:27 +00:00
2018-11-02 09:53:12 +00:00
DeepCreamPy has a pre-built binary for Windows 64-bit available [here](https://github.com/deeppomf/DeepCreamPy/releases/latest). DeepCreamPy works on Windows, Mac, and Linux.
2018-10-20 04:00:04 +00:00
2018-11-11 02:40:46 +00:00
<p align="center">
<img src="https://github.com/deeppomf/DeepCreamPy/blob/master/readme_images/mermaid_collage.png" width="800">
</p>
2018-10-20 04:00:04 +00:00
2018-11-02 09:53:12 +00:00
## Features
2018-10-20 04:00:04 +00:00
- Decensoring images of ANY size
2018-11-05 05:20:52 +00:00
- Decensoring of ANY shaped censor (e.g. black lines, pink hearts, etc.)
2018-10-20 04:00:04 +00:00
- Higher quality decensors
2018-11-05 05:20:52 +00:00
- Support for mosaic decensors (WIP)
- User interface (WIP)
2018-10-20 04:00:04 +00:00
2018-10-25 22:35:49 +00:00
## Limitations
2018-11-05 05:20:52 +00:00
The decensorship is for 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-11-05 05:20:52 +00:00
- Hentai with screentones (e.g. printed hentai)
2018-10-20 04:00:04 +00:00
- Real life porn
- Censorship of nipples
- Censorship of anus
- Animated gifs/videos
2018-11-02 09:22:11 +00:00
## Table of Contents
Setup:
2018-11-13 07:21:09 +00:00
* [Running latest Window 64-bit release](docs/INSTALLATION_BINARY.md)
* [Running code yourself](docs/INSTALLATION.md)
2018-10-20 04:42:48 +00:00
2018-11-02 09:22:11 +00:00
Usage:
2018-11-13 07:21:09 +00:00
* [Decensoring tutorial](docs/USAGE.md)
* [Troubleshooting for installing](docs/TROUBLESHOOTING.md)
* [Troubleshooting for poor quality decensors](docs/TROUBLESHOOTING_DECENSORS.md)
2018-10-20 07:17:33 +00:00
2018-11-02 09:22:11 +00:00
Miscellaneous:
2018-11-13 07:21:09 +00:00
* [FAQ](docs/FAQ.md)
2018-10-25 22:34:02 +00:00
2018-10-25 22:35:49 +00:00
## To do
2018-12-01 23:19:28 +00:00
- Finish the user interface (estimated ???)
2018-11-13 07:04:31 +00:00
- ~~Update model with better quality data (estimated 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
2018-11-05 13:32:34 +00:00
Follow me on Twitter [@deeppomf](https://twitter.com/deeppomf) for project updates.
2018-11-05 13:28:45 +00:00
Contributions are welcome! Special thanks to IAmTheRedSpy, 0xb8, deniszh, Smethan, mrmajik45, harjitmoe, itsVale, StartleStars, and SoftArmpit!
2018-10-20 04:00:04 +00:00
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-11-13 07:21:09 +00:00
Data is modified from gwern's project [Danbooru2017: A Large-Scale Crowdsourced and Tagged Anime Illustration Dataset](https://www.gwern.net/Danbooru2017) and other sources.
2018-10-30 01:04:07 +00:00
2018-11-13 07:21:09 +00:00
See [ACKNOWLEDGEMENTS.md](docs/ACKNOWLEDGEMENTS.md) for full license text of these projects.
2018-10-28 07:10:58 +00:00
## Donations
2018-11-13 07:04:31 +00:00
If you like the work I do, you can donate to me via Paypal. The funds will mainly go towards purchasing better GPUs to accelerate training. [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=SAM6C6DQRDBAE)