DeepCreamPy/README.md

83 lines
4.6 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.*
2019-03-01 09:00:48 +00:00
2019-08-06 21:28:56 +00:00
## DeepCreamPyV2--a major upgrade over DeepCreamPyV1--is under construction.
2019-08-06 21:25:54 +00:00
2019-08-06 21:28:56 +00:00
## Please bear with me. Many, many things will be broken.*
2018-11-11 01:53:48 +00:00
2019-08-06 21:25:54 +00:00
## All available binaries are outdated. Wait for the next release.
2018-11-11 01:53:48 +00:00
[![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:09:36 +00:00
[![Project license](https://img.shields.io/github/license/deeppomf/DeepCreamPy.svg)](https://raw.githubusercontent.com/deeppomf/DeepCreamPy/master/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
2019-03-01 09:00:17 +00:00
DeepCreamPy has a pre-built binary for Windows 64-bit available [here](https://github.com/deeppomf/DeepCreamPy/releases/latest). DeepCreamPy's code works on Windows, Mac, and Linux.
2018-10-20 04:00:04 +00:00
2019-03-01 09:00:17 +00:00
Please before you open a new issue check [closed issues](https://github.com/deeppomf/DeepCreamPy/issues?q=is%3Aissue+is%3Aclosed) and check the [table of contents](https://github.com/deeppomf/DeepCreamPy#table-of-contents).
2018-12-21 20:22:45 +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
2019-08-06 21:28:56 +00:00
- Support for mosaic decensors
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
2019-03-01 09:00:17 +00:00
- Resolve all Tensorflow compatibility problems
- Finish the user interface
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
2019-05-10 15:05:59 +00:00
Follow me on Twitter [@deeppomf](https://twitter.com/deeppomf) (NSFW Tweets) for project updates.
2018-11-05 13:32:34 +00:00
2019-05-07 13:16:08 +00:00
Contributions are welcome! Special thanks to ccppoo, 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-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
2019-08-06 21:39:40 +00:00
Neural network code is modified from Forty-lock's project [PEPSI](https://github.com/Forty-lock/PEPSI), which is the official implementation of the paper [PEPSI : Fast Image Inpainting With Parallel Decoding Network](http://openaccess.thecvf.com/content_CVPR_2019/html/Sagong_PEPSI__Fast_Image_Inpainting_With_Parallel_Decoding_Network_CVPR_2019_paper.html). [PEPSI](https://github.com/Forty-lock/PEPSI) is licensed under the MIT license.
2018-10-20 04:00:04 +00:00
2019-08-06 21:39:40 +00:00
Training 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)