MODLI commited on
Commit
7c7b2fc
·
verified ·
1 Parent(s): 7c16bfe

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +15 -5
README.md CHANGED
@@ -1,12 +1,22 @@
1
  ---
2
- title: Detectionotfit22222
3
- emoji: 🏆
4
- colorFrom: red
5
- colorTo: indigo
6
  sdk: gradio
7
  sdk_version: 5.45.0
8
  app_file: app.py
9
  pinned: false
10
  ---
11
 
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: Fashion Category Classifier
3
+ emoji:
4
+ colorFrom: pink
5
+ colorTo: blue
6
  sdk: gradio
7
  sdk_version: 5.45.0
8
  app_file: app.py
9
  pinned: false
10
  ---
11
 
12
+ # 👗 Fashion Category Classifier
13
+
14
+ A Hugging Face Space that uses specialized AI models to accurately classify clothing items from images. It first isolates the garment using segmentation to avoid background noise, then performs fine-grained classification using a model trained on fashion data.
15
+
16
+ ## How it Works
17
+
18
+ 1. **Segmentation**: The image is processed by a `SegFormer` model fine-tuned on clothing segmentation (`mattmdjaga/segformer_b2_clothes`). This model identifies and creates a precise mask around the main clothing item.
19
+ 2. **Isolation**: The image is cropped to this mask, removing any distracting background.
20
+ 3. **Classification**: The isolated garment is analyzed by a FashionCLIP model (`edwardjross/fashion-clip`), which compares it to a detailed list of fashion categories to find the best match.
21
+
22
+ This two-step process significantly reduces "hallucinations" and improves accuracy.