File size: 1,075 Bytes
c3509c8
2dc21ea
 
 
 
c3509c8
2dc21ea
c3509c8
 
 
 
2dc21ea
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
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.