Auto-Lama combines object detection and image inpainting to automate object removals

Auto-Lama combines object detection and image inpainting to automate object removals. It is build on top of DE:TR from Facebook Research and Lama from Samsung Research. The entire process is extremely simple:
- Objects are detected using the detector.
- Masks are generated based on the bounding boxes drawn by the detector.
- The original image is sent to the inpainter along with the masks.
Demo
Masking
There are currently a few ways of generating masks:
- Masking objects with specified indices.
- Masking one main object at a time.
- Masking all other objects other than the main object.