Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/alexgenovese/cog-background-remover
- Owner: alexgenovese
- License: apache-2.0
- Created: 2023-12-03T18:06:59.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-05-16T10:26:17.000Z (6 months ago)
- Last Synced: 2024-05-17T11:27:25.381Z (6 months ago)
- Language: Python
- Size: 5.5 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# COG Implementation of Background Remover
GroundingDino, Segment Anything, Inpainting SDXL and Controlnet CannyThis 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")