Coder Social home page Coder Social logo

tea_image_inpainting's Introduction

Image inpainting using OpenCV & DeepFillv2 (places2, celebahq) on Streamlit

The project was created to demonstrate tools for restoring voids in an image (not generating)

Created for my friend.

Example

By default, the app prompts you to upload your image or use your webcam.

Uploading an image

Next you create a mask by drawing on the image.

Снимок экрана 2024-04-17 в 15.52.02

Click the "Fill the blanks" button and get the result.

Снимок экрана 2024-04-17 в 15.52.23 Снимок экрана 2024-04-17 в 15.52.31

You can also see the values of the following metrics: PNSR, MSE, SSIM.

Снимок экрана 2024-04-17 в 15.52.39

Run app

Clone the repository

git clone https://github.com/Mariama4/tea_image_inpainting.git

Install dependencies

pip install -r requirements.txt

Start the application

streamlit run main_page.py

Links

  1. https://streamlit.io/

  2. https://www.olivier-augereau.com/docs/2004JGraphToolsTelea.pdf

  3. https://www.researchgate.net/publication/3940597_Navier-Stokes_fluid_dynamics_and_image_and_video_inpainting

  4. https://github.com/nipponjo/deepfillv2-pytorch

tea_image_inpainting's People

Contributors

mariama4 avatar

Watchers

Kostas Georgiou avatar  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.