GithubHelp home page GithubHelp logo

ssfd / general-deep-image-completion Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chingweitseng/general-deep-image-completion

0.0 1.0 0.0 5.63 MB

A Deep Image Completion Model for Recovering Various Corrupted Images

Python 100.00%

general-deep-image-completion's Introduction

General Deep Image Completion with Lightweight cGANs

These are the implementations and simple demo system of my bmvc'17 paper: General Deep Image Completion with Lightweight Conditional Generative Adversarial Network. [PDF][SUP]

The main goal of our paper is to build deep image completion models for recovering various corrupted images, including

  • General Image Completion

The objective of this model is to complete images with differnet types of corrupted masks like scribbles, lines, dots and texts.

general image completion

  • Face Completion

This is an extension of our general image completion model that not only tackles the face completion task but also aiming on recovering faces with arbitrary missing regions. We apply a differnet but stronger deep autoencoder structure in this model.

face completion

Training

TBA

Demo System

We build a simple interactive demonstration of image completion based on Python, OpenCV and TensorFlow on Windows

Videos (Youtube Links)

General Image Completion

Face Completion

Setups

  • Install Visual Studio Code: A source code editor (Optional, but highly recommended)
  • Follow the guidelines from TensorFlow to install Python 3.5.2 and TensorFlow on Windows
  • Install libraries numpy and opencv-python through pip
  • Download face-completion-model and general-completion-model. Put them into corresponding folders
  • Run demo.py in general-image-completion or face-completion folder

If you fail to import tensorflow, please refer to this article for possible solutions.

Controls

  • Moving mouse to draw scribbles on given images
  • Key c: convert corrupted images to completed images
  • Key r: resume any scribbles
  • Key n: next image

Citation

@inproceedings{tseng17general-deep,
 author = {Ching-Wei Tseng and Hung-Jin Lin and Shang-Hong Lai},
 booktitle = {Proceedings of the British Machine Vision Conference ({BMVC})},
 title = {General Deep Image Completion with Lightweight Conditional Generative Adversarial Networks},
 year = {2017}
}

general-deep-image-completion's People

Contributors

chingweitseng avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.