๐ AI Fashion Classifier with Smart Color Detection
Background Removal + K-Means Clustering for Accurate Colors
Model: Fashion-CLIP
Color Detection: K-Means Clustering
Background Removal: ๐ก Standard (GrabCut)
โจ How it works:
- ๐ผ๏ธ Upload your fashion item image
- ๐ Background is automatically removed
- ๐จ K-means finds the dominant color from clothing only
- ๐ Fashion-CLIP classifies the item type
๐ก Tips:
- Clear, well-lit photos work best
- Single clothing item preferred
- Background will be auto-removed
๐ฆ For Best Results:
pip install rembg scikit-learn
๐ Example Queries
| Type | Example Categories |
|---|---|
| Indian | red saree, green lehenga, blue kurta |
| Western | black jeans, white shirt, blue dress |
| Formal | black suit, white shirt, navy blazer |
| Footwear | white sneakers, black boots, brown sandals |
๐ Powered by:
- Fashion-CLIP (patrickjohncyh/fashion-clip)
- K-Means Clustering for dominant colors
- rembg/GrabCut for background removal