Skip to content

Files

Latest commit

00427a2 · Apr 6, 2020

History

History
This branch is 1337 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 6, 2020
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

AI Courses by OpenCV

Want to become an expert in AI? AI Courses by OpenCV is a great place to start.