Skip to content

DragnEmperor/Electrothon_3.0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction - Project Efface

Image Inpainting is a classical problem in computer vision and graphics.

The objective is to fill semantic and reasonable contents in the corruptions and voids and generate an image. Humans can fill the missing regions using empirical knowledge of the diverse object structures present in real world.

Nevertheless, it is not easy for machines to learn a wide variety of structures in natural images and predict what to fill in unknown missing-data regions in images. Thus, it is crucial to know how to learn an image transformation from a corrupted image with missing data to a completed image.

The current prototype is based on the following Research Paper:

🛠  Tech Stack

Tensorflow  Python  Numpy 

Object Removal using cGANs

This project tries to achieve object removal from images and get the base image reconstructed using surrounding pixels and pretrained model using conditional Generative Adversarial Networks (cGANs).

🔭 Working Protoytpe Snapshots

  • Working of this Project: The black regions on the left side represent the objects/elements that we wish to remove.


  • Code Example


How to Use:

  • Step 1: Install all the required dependencies. Use the following command to install the dependencies.

    pip3 install -r requirements.txt

  • Step 2: Open the MainFile.py file and execute it.

  • Step 3: Use the following Hot Keys to navigate through the UI:

    • [A] Key : Move to next Image.

    • [D] Key : Move to previous Image.

    • [Esc] Key : Close the Windowed Application.

  • Step 4: Use the slider present at the bottom to increase or decrease the pen size. Then select the part of image you wish to remove by dragging the mouse over them, just like a brush!

  • Step 5: Then use the following hot keys as per the requirement:

    • [F] or [Enter] Key : Starts the reconstruction process, removes the selected elements and displays the resulting image on right panel.

    • [R] Key : Resets the masked Image to Original(undo all the masking).

    • [S] Key : Save the resulting image in Result directory.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •