• Stars
    star
    106
  • Rank 325,871 (Top 7 %)
  • Language
    Python
  • License
    Apache License 2.0
  • Created about 6 years ago
  • Updated about 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Using cGANs to remove objects from a photo

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

More Repositories

1

ModiScript

Acche din aa gaye
Python
1,039
star
2

hotdog-or-not-hotdog

Implementation of Hot Dog or not app from Silicon Valley (CNN to identify if the given picture is a hot dog or not)
Python
65
star
3

Meme-Classifier

Deep Learning model to predict the template of the given meme
Python
42
star
4

Image-Unfogging

PyTorch network to remove fog/smog/haze from pictures.
Python
19
star
5

Deep-Learning-Models

Deep Learning Models implemented in python.
Python
17
star
6

PyLLaMa-CPU

Fast LLaMa inference on CPU using llama.cpp for Python
C
8
star
7

Style-Transfer

A deep learning model using keras to transfer the style of a texture or a famous painter to a base image
Jupyter Notebook
6
star
8

whisper-websockets

Websockets implementation with OpenAI whisper for real time speech recognition
Python
4
star
9

Wikipedia-Game

The Wikipedia game of 'Clicks to Hitler'
Python
3
star
10

Banking-Project-cpp-Graphics

Bank management project using c++ graphics.h library. HDFC bank logo is copyrighted by HDFC Bank Ltd.
C++
2
star
11

Comic-Downloader

The script downloads all oatmeal comics from thoatmeal.com
Python
2
star
12

What-If

Answers to your arbitraty history shower thoughts about alternate history
Python
2
star
13

Audio-based-train-debugging

Debugging or analyzing neural network training by generating audio samples wrt model gradients
Python
2
star
14

Self-Driving-Car

A Program for the implementation of Udacity's nano degree on self driving cars
Python
1
star
15

Data-Analytics-Lab

Project for finding semantic similarity between 2 sentences using nltk wordnets
Jupyter Notebook
1
star
16

Django-Projects

This Project has 3 standalone Django projects that work separately.
Python
1
star
17

Batman-Curve

A simple timepass project based on batman equation
Python
1
star
18

Dynamic-Facial-Recognition

Dynamic facial and eye recognition using webcam input using Haar Cascade in OpenCV
Python
1
star
19

vpanjeta.github.io

visit https://vpanjeta.github.io
HTML
1
star