An open API service indexing awesome lists of open source software.

https://github.com/daniel-mehta/fitcheck.ai

๐Ÿ‘” FitCheck.AI is your personal AI stylist. Upload outfits for savage critiques, auto-tag your wardrobe, and generate smart outfit recommendations - powered by Streamlit, LangChain, and CLIP.
https://github.com/daniel-mehta/fitcheck.ai

fashion-ai image-tagging langchain outfit-recommendation streamlit

Last synced: about 2 months ago
JSON representation

๐Ÿ‘” FitCheck.AI is your personal AI stylist. Upload outfits for savage critiques, auto-tag your wardrobe, and generate smart outfit recommendations - powered by Streamlit, LangChain, and CLIP.

Awesome Lists containing this project

README

          

# ๐Ÿ‘” FitCheck.AI

**Your closet-aware fashion critic.**
FitCheckAI is a personal AI stylist that tags your clothes, roasts your fits, and builds outfits - all through an interactive Streamlit UI.

๐ŸŽฅ **Demo Video:** [https://youtu.be/s57yTOkLLwY](https://youtu.be/s57yTOkLLwY)

---

## ๐Ÿš€ Features

### ๐Ÿง  1. Outfit Analyzer (LangChain + Qwen)
Upload a photo of your outfit and get a brutally honest AI critique, including:
- Style breakdown
- Score out of 100
- Savage one-liner

All results are saved to MongoDB and de-duplicated using perceptual hashing.

### ๐Ÿงบ 2. Smart Closet Tagging (CLIP)
Upload individual clothing items - the AI classifies:
- Item type (`shirt`, `shoes`, etc.)
- Color (`black`, `white`, etc.)
- Setting (`indoor/outdoor`)
- Formality
- Gender style

Saved in a consistent JSON format and stored in `/Closet`.

### ๐Ÿงฉ 3. Outfit Generator
Generates full outfit recommendations based on:
- Location (indoor/outdoor)
- Formality (casual/formal)
- Gender
- Preferred color

Color compatibility rules are applied (e.g. blue pairs with beige, white, brown, etc).

---

## ๐Ÿ› ๏ธ Tech Stack

| Component | Tool / Library |
|------------------|----------------------------------------|
| UI | Streamlit |
| Fashion Critique | LangChain + Qwen2.5 VL (3B, quantized) |
| Image Tagging | CLIP (`openai/clip-vit-base-patch32`) |
| Database | MongoDB Atlas |
| Data Format | JSON / `.jsonl` |

---

## ๐Ÿ—‚๏ธ Project Structure

```
.
โ”œโ”€โ”€ fitcheck/
โ”‚ โ”œโ”€โ”€ Fashion AI Advisor.py # Main Streamlit app
โ”‚ โ”œโ”€โ”€ analyze_outfit.py # Outfit critic logic
โ”‚ โ”œโ”€โ”€ tagging.py # Tagging with CLIP
โ”‚ โ”œโ”€โ”€ tag_closet_items.py # Bulk closet tagger
โ”‚ โ”œโ”€โ”€ test_Analyze_Outfit.py # Unit test for LangChain outfit critique
โ”‚ โ”œโ”€โ”€ test_tag.py # Unit test for tagging module
โ”‚ โ”œโ”€โ”€ testmongoconnection.py # MongoDB connection test
โ”‚ โ””โ”€โ”€ pages/
โ”‚ โ”œโ”€โ”€ 1_Add_to_Inventory.py # Upload and tag closet items
โ”‚ โ””โ”€โ”€ 2_Get_Outfit_Suggestion.py# Outfit recommender (rule-based)
โ”œโ”€โ”€ Closet/ # JSON-tagged clothing items
โ”œโ”€โ”€ Images/ # Outfit photos
โ”œโ”€โ”€ designs/ # Wireframes + mockups
โ”œโ”€โ”€ requirements.txt
โ”œโ”€โ”€ run_app.bat
โ””โ”€โ”€ vlm_tagging_test.ipynb # Prototype testing
```

---

## ๐Ÿงช Example Output

### **Critique Output**

![Outfit Critique](https://miro.medium.com/v2/resize:fit:810/0*nXX6k09Q9bobDelr.jpg)

**Style:** The outfit features a casual yet trendy ensemble consisting of a black beanie hat, a white scarf wrapped around the neck, a striped long-sleeve shirt under a black vest over jeans. The combination suggests an urban, laid-back vibe but lacks depth due to its simplicity.

**Rating:** 35/100

**Comment:** "This outfit might as well have been designed by a robot; it's so formulaic."

### **Closet JSON Schema**
```json
{
"image_id": "abc123",
"item_type": "Jacket",
"color": "Black",
"indoor_outdoor": "Outdoor",
"formality": "Casual",
"gender": "Men's",
"path": "Closet/jacket.jpg",
"folder": "Closet"
}
```

### **Outfit Recommender**
![Outfit Recommender](https://media.discordapp.net/attachments/1373125490034085984/1385256072763281418/image.png?ex=685567c0&is=68541640&hm=ca284b58e8b7f9c212f2c691194d3450ddd4c56a81677956c02b0738a629089b&=&format=webp&quality=lossless)

---
## ๐Ÿ–ผ๏ธ UI Concept Designs

These were mockups used to guide layout and flow.




Landing Page




Upload Interface




LeCritique Display

---

## โš™๏ธ Usage

Install dependencies:
```
pip install -r requirements.txt
```

Then launch the app:
```
streamlit run "fitcheck/Fashion AI Advisor.py"
```

---

## ๐Ÿ‘ฅ Team

- **Daniel Mehta**
- **George Fotabong**
- **Dylan Higuchi**
- **Jacob DeAbreu**

---

## ๐Ÿงฉ Notes
- MongoDB URI is hardcoded for now (demo only - no sensitive data).

---

## ๐Ÿ“„ License

This code is free to use, modify, and share for non-commercial purposes.
Commercial use requires prior written permission. All rights reserved.