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

https://github.com/lucataco/cog-bg-remover

Cog wrapper for Carve/tracer_b7
https://github.com/lucataco/cog-bg-remover

cog

Last synced: 4 months ago
JSON representation

Cog wrapper for Carve/tracer_b7

Awesome Lists containing this project

README

          

# Carve/tracer_b7Cog model

[![Try a demo on Replicate](https://replicate.com/lucataco/remove-bg/badge)](https://replicate.com/lucataco/remove-bg)

This is an implementation of the [Carve/tracer_b7](https://huggingface.co/Carve/tracer_b7) as a Cog model. [Cog packages machine learning models as standard containers.](https://github.com/replicate/cog)

First, download the pre-trained weights:

cog run script/download-weights

Then, you can run predictions:

cog predict -i image=@shoe.jpg

## Example

Input shoe image

![alt text](shoe.jpg)

Output shoe image with background removed

![alt text](output.png)