Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alexgenovese/cog-background-remover

Grounding Dino + SAM + InPaintingXL
https://github.com/alexgenovese/cog-background-remover

Last synced: about 20 hours ago
JSON representation

Grounding Dino + SAM + InPaintingXL

Awesome Lists containing this project

README

        

# COG Implementation of Background Remover
GroundingDino, Segment Anything, Inpainting SDXL and Controlnet Canny

This is an implementation of a blend of technologies in a Cog model, it works on Mac (M1, M2, M3) and CUDA machines.

[![Replicate demo and cloud API](https://replicate.com/alexgenovese/bg-remover/badge)](https://replicate.com/alexgenovese/bg-remover)

# Test it on Replicate
Go to replicate to test this endpoint [clicking here](https://replicate.com/alexgenovese/bg-remover)

# How it works

1. Identify the object with Grounding Dino and Segment Anything help to create a mask

![Step 1 - Background Remover](grounding-dino-step1.png "Identification and Mask")

2. Run the inference with a custom prompt

![Step 2 - Run the inference](inference-step2.png "Run the inference")