All Projects β†’ dreamnettech β†’ Dreampower

dreamnettech / Dreampower

Licence: gpl-3.0
DeepNude with DreamNet improvements.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Dreampower

Gallery shell
πŸ“· Bash Script to generate static responsive image web galleries.
Stars: ✭ 198 (-31.01%)
Mutual labels:  photos, photo
Torchelie
TorchΓ©lie is a set of utility functions, layers, losses, models, trainers and other things for PyTorch.
Stars: ✭ 98 (-65.85%)
Mutual labels:  gan, torch
Exiftool Vendored.js
Fast, cross-platform Node.js access to ExifTool
Stars: ✭ 200 (-30.31%)
Mutual labels:  photos, photo
Lpalbum
an albums that can preview, multiple-choice
Stars: ✭ 17 (-94.08%)
Mutual labels:  photos, photo
photos
"Fx Fotos" is an opensource gallery app in react native with the same smoothness and features of Google Photos and Apple Photos. It is backend gnostic and connects to decentralized backends like "box", "Dfinity", "Filecoin" and "Crust".
Stars: ✭ 620 (+116.03%)
Mutual labels:  photos, photo
Imageselector
图片选择器, ζ”―ζŒε€šε›Ύι€‰ζ‹©ε’Œε›Ύη‰‡ι’„θ§ˆ
Stars: ✭ 62 (-78.4%)
Mutual labels:  photos, photo
Colorizer
Add colors to black and white images with neural networks (GANs).
Stars: ✭ 69 (-75.96%)
Mutual labels:  gan, torch
Cat Generator
Generate cat images with neural networks
Stars: ✭ 354 (+23.34%)
Mutual labels:  gan, torch
Pixeldtgan
A torch implementation of "Pixel-Level Domain Transfer"
Stars: ✭ 248 (-13.59%)
Mutual labels:  gan, torch
Cyclegan
Software that can generate photos from paintings, turn horses into zebras, perform style transfer, and more.
Stars: ✭ 10,933 (+3709.41%)
Mutual labels:  gan, torch
Face Generator
Generate human faces with neural networks
Stars: ✭ 266 (-7.32%)
Mutual labels:  gan, torch
PhotosApp
React Native Photos App: AWS Amplify, AWS S3, Mobile Analytics with Pinpoint
Stars: ✭ 21 (-92.68%)
Mutual labels:  photos, photo
Imagestore
Open source google photos alternative!
Stars: ✭ 429 (+49.48%)
Mutual labels:  photos, photo
Photostructure For Servers
PhotoStructure for Servers
Stars: ✭ 98 (-65.85%)
Mutual labels:  photos, photo
Flutter photo manager
Provide flutter with the ability to manage photos.
Stars: ✭ 294 (+2.44%)
Mutual labels:  photos, photo
Deepnudecli
DeepNude Command Line Version With Watermark Removed
Stars: ✭ 112 (-60.98%)
Mutual labels:  gan, torch
GWLPhotoSelector
η›Έε†Œη…§η‰‡ε€šεΌ ι€‰ζ‹©ζŽ§δ»Ά
Stars: ✭ 50 (-82.58%)
Mutual labels:  photos, photo
Flutter photo
Pick image/video from album by flutter. Support ios and android. UI by flutter, no native.
Stars: ✭ 285 (-0.7%)
Mutual labels:  photos, photo
Pytorch Lesson Zh
pytorch εŒ…ζ•™δΈεŒ…δΌš
Stars: ✭ 279 (-2.79%)
Mutual labels:  gan
Attentionwalk
A PyTorch Implementation of "Watch Your Step: Learning Node Embeddings via Graph Attention" (NeurIPS 2018).
Stars: ✭ 266 (-7.32%)
Mutual labels:  torch
DreamPower

DreamPower

Available for Windows, Linux and Mac.

PRs Welcome

Download

GitHub All Releases

About

DreamPower is a fork of the DeepNude algorithm that generates better fake nudes and puts at your disposal a command line interface.

It consists of several algorithms that together create a fake nude from a photo.

If you don't have experience using command line applications you can download DreamTime which offers you a friendly user interface.

Features

DreamPower DeepNude
Multiplatform βœ”οΈ ❌
Command-line interface βœ”οΈ ❌
NVIDIA GPU Support βœ”οΈ ❌
Multithreading βœ”οΈ ❌
Automatic Scale βœ”οΈ ❌
GIF Support βœ”οΈ ❌
Video Support βœ”οΈ ❌
Body Customization βœ”οΈ ❌
Daemon βœ”οΈ ❌
Custom Masks βœ”οΈ ❌
Active Development βœ”οΈ ❌

Requirements

  • 64 bits operating system:
    • Windows 7 or superior.
    • Ubuntu 16.04+
    • macOS Catalina or superior.
  • 12 GB of RAM.

GPU (Optional)

Usage

In the command line terminal run:

dreampower run --help

This will print out help on the parameters the algorithm accepts.

The input image should be 512px * 512px in size (parameters are provided to auto resize/scale your input).

Community

Supporting

DreamPower is an open-source project that will be free forever. The project is kept in development thanks to the support of our incredible backers, you can also help keep the project alive in different ways:


How does DreamPower work?

DreamPower uses an interesting method to solve a typical AI problem, so it could be useful for researchers and developers working in other fields such as fashion, cinema and visual effects.

The algorithm uses a slightly modified version of the pix2pixHD GAN architecture. If you are interested in the details of the network you can study this amazing project provided by NVIDIA.

A GAN network can be trained using both paired and unpaired dataset. Paired datasets get better results and are the only choice if you want to get photorealistic results, but there are cases in which these datasets do not exist and they are impossible to create. A database in which a person appears both naked and dressed, in the same position, is extremely difficult to achieve, if not impossible.

We overcome the problem using a divide-et-impera approach. Instead of relying on a single network, we divided the problem into 3 simpler sub-problems:

    1. Generation of a mask that selects clothes
    1. Generation of a abstract representation of anatomical attributes
    1. Generation of the fake nude photo

Original problem:

Dress To Nude

Divide-et-impera problem:

Dress To Mask Mask To MaskDet MaskDeto To Nude

This approach makes the construction of the sub-datasets accessible and feasible. Web scrapers can download thousands of images from the web, dressed and nude, and through photoshop you can apply the appropriate masks and details to build the dataset that solve a particular sub problem. Working on stylized and abstract graphic fields the construction of these datasets becomes a mere problem of hours working on photoshop to mask photos and apply geometric elements. Although it is possible to use some automations, the creation of these datasets still require great and repetitive manual effort.

Computer Vision Optimization

To optimize the result, simple computer vision transformations are performed before each GAN phase, using OpenCV. The nature and meaning of these transformations are not very important, and have been discovered after numerous trial and error attempts.

Considering these additional transformations, the phases of the algorithm are the following:

  • dress -> correct [OPENCV]
  • correct -> mask [GAN]
  • mask -> maskref [OPENCV]
  • maskref -> maskdet [GAN]
  • maskdet -> maskfin [OPENCV]
  • maskfin -> nude [GAN]

Transformations

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].