Skip to content
Projets

À propos

Experiment on combining CLIP with SAM to do open-vocabulary image segmentation.

Design et médias

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

CLIP-SAM

Small experiment on combining CLIP with SAM to do open-vocabulary image segmentation.

The approach is to first identify all the parts of an image using SAM, and then use CLIP to find the ones that best match a specific description.

Usage

  1. Download weights and place them in this repos root.

  2. Install dependencies:

    pip install torch opencv-python Pillow
    pip install git+https://github.com/openai/CLIP.git
    pip install git+https://github.com/facebookresearch/segment-anything.git
  1. Run Notebook main.ipynb

Example

Example output for prompt "kiwi"

Image with segmentation

Example Image Source

Explorer des projets similaires

Chargement…