News for hackers. Stuff that matters.

Show HN: PyInpaint, a lightweight image inpainting tool written in Python

https://github.com/aGIToz/PyInpaint

- A simple and effective tool to remove scratches, bruises and small holes on images.

- Basically it does the job by doing Dirichlet interpolation on a non-local graph created using images.

- Could be easy integrated at the backend for fask or django projects related to image processing.

( 3 comments | 20 points | on HN )
Re:Show HN: PyInpaint, a lightweight image inpainting tool w... by skanga on Wednesday April 20, 2022 @06:27PM (#31103894)
It would be nice if the description included the definition of "inpainting" for those who don't know ...
Re:Show HN: PyInpaint, a lightweight image inpainting tool w... by skanga on Wednesday April 20, 2022 @06:34PM (#31103955)
Re:Show HN: PyInpaint, a lightweight image inpainting tool w... by amitoz_azad on Thursday April 21, 2022 @12:26AM (#31106034)
Inpainting is a process of image restoration, the idea is to fill the damage, deteriorated or missing part of an image to present a complete image. It can also be used to remove unwanted parts in an image.

Deep learning based approaches use GANs to inpaint. This requires significant amount of training. The proposed tool quickly inpaints by solving a PDE on graphs.