Downloads · 30 days
0
opencv/inpainting_lama
inpainting_lama is a machine learning model from opencv. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
LaMa is a very lightweight yet powerful image inpainting model.
Downloads · 30 days
0
Access
Public
Updated Jun 20, 2025
Repo size
92.7 MB
Likes
10
Public
Click a slice to open those files.
.onnx92.6 MB · 100%
From the Hugging Face model README
LaMa is a very lightweight yet powerful image inpainting model.
Notes:
Install latest OpenCV >=5.0.0 and CMake >= 3.22.1 to get started with.
Run the following command to try the demo:
# usage
python demo.py --input /path/to/image
# get help regarding various parameters
python demo.py --help
# A typical and default installation path of OpenCV is /usr/local
cmake -B build -D OPENCV_INSTALLATION_PATH=/path/to/opencv/installation .
cmake --build build
# usage
./build/demo --input=/path/to/image
# get help messages
./build/demo -h

All files in this directory are licensed under Apache License.