Skip to content

Files

Latest commit

320a0d8 · Apr 3, 2019

History

History
This branch is 1792 commits behind spmallick/learnopencv:master.

Image-Inpainting

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Apr 2, 2019
Apr 2, 2019
Apr 2, 2019
Apr 2, 2019
Apr 3, 2019
Apr 2, 2019
Apr 2, 2019
Apr 2, 2019
Apr 3, 2019
Apr 2, 2019
Apr 2, 2019
Apr 2, 2019
Apr 2, 2019
Apr 2, 2019

Image Inpainting

Usage

Python

python3 inpaint.py sample.jpeg

C++

g++ inpaint.cpp `pkg-config opencv --cflags --libs` -o inpaint
./inpaint sample.jpeg

You can also cmake as follows:

mkdir build && cd build
cmake ..
cmake --build . --config Release

The built code can then be used as follows:

./build/inpaint sample.jpeg

Performance Comparison

Time: FMM = 194445.94073295593 ms
Time: NS = 179731.82344436646 ms