Skip to content

csaishih/photo-acne-remover-image-inpainting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Inpainting

Image inpainting can remove objects in a photo and replace them with believable textures.
The research behind the algorithm can be found here

Visualization of the algorithm

The red square depicts the patch of the image that the algorithm is currently filling.
The green square depicts the patch that will be used to fill the red square.
alt text

Running the script

Dependencies
Basic usage

python run.py -s [path to source image] -m [path to mask image] -o [path to output image] -r [patch radius]

Example usage

python run.py -s test_images/test2/source.png -m test_images/test2/mask.png -o test_images/test2/out.png -r 4

Results

Test 2 source

alt text

Test 2 mask

alt text

Test 2 result with r = 4

alt text

Test 5 source

alt text

Test 5 mask

alt text

Test 5 result with r = 4

alt text

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages