Coder Social home page Coder Social logo

deep-object-removal's Introduction

Deep Object Removal

Image completion is a challenging problem because it requires a high-level recognition of scenes. This project tries to achieve object removal from images and get the base image reconstructed based on surrounding colours and objects using conditional GANs.

Overview

This project is an implementation of cGANs discussed in the paper for [General Image Completion]
The models are tweaked a little and implemented to remove objects from images and reconstruct the image without the object.

Example Usage

Hot Keys

[Esc]: To quit the windowed application.
[f]: To filter out the masked object.
[n]: To go to the next image.
[r]: To refresh and undo all the masking in the current image.

Description

Files

images/

The folder that contains the images to be used in the project. Currently the project requires images of dimensions 400 x 400 which can be changed in the main.py file.

model/

This folder contains the pretrained model that is trained on mscoco dataset and the model definition file which is written in tensorflow.

main.py

The main file to run the program. The code runs as an OpenCV windowed application.

requirements.txt

The requirements file for the project

Installation

To install the dependencies type

sudo pip3 install -r requirements.txt

Run

To run the application type

python3 main.py

This will run the demo as an OpenCV application

Dependencies

The project requires the following packages:

OpenCV and OpenCV_python 3.3.0.10
Tensorflow 1.10.1
Numpy 1.13.3

deep-object-removal's People

Contributors

vpanjeta 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.