Cero72
Add garment segmentation application files
2dc21ea
---
title: Garment-based Segmentation
emoji: πŸ‘•
colorFrom: green
colorTo: blue
sdk: gradio
sdk_version: 3.19.0
app_file: app.py
pinned: false
---
# Garment-based Segmentation with SegFormer and Fashion-CLIP
This application uses AI models to segment specific clothing items in images by matching a garment to a person.
## Features
- **Targeted Garment Segmentation**: Segment only the specific garment type that matches a reference image
- **Interactive Interface**: User-friendly interface with clear sections for person and garment images
- **Visualization Options**: View original images, segmentation maps, and overlays
## How to Use
1. Upload an image of a person wearing clothes
2. Upload a reference image of a garment (e.g., a t-shirt, pants, dress)
3. Click "Process Images" to generate the targeted segmentation
4. View the results in the gallery
## Technical Details
This application combines SegFormer for image segmentation with Fashion-CLIP for garment classification to create a system that can identify and segment specific garment types in images.