Skip to content
tkdyun.xyz

AI Outfit Recommend System

Clothing recognition model and outfit recommendation system

Computer Vision

Year
2025
Role
Team • Lead • 6 Members
Stack
YOLOv8 · ResNet50 · Flask · PyTorch
View on GitHub

Overview

I built a GUI web application that recommends outfits based on a user's clothes. To train the YOLO model that classifies clothing types and the outfit recommendation model, I crawled data from “Musinsa (musinsa.com)”. I collected 300 images for each category — tops (long sleeve/short sleeve), bottoms (long pants/shorts/skirt), outerwear, and shoes — and for the outfit recommendation model, I used data built by professional stylists on “Musinsa Snap,” a style recommendation service, obtained through crawling.

I fine-tuned a YOLOv8 model to classify clothing types using images crawled from Musinsa.
The outfit recommendation model is based on ResNet50 — it embeds the top and bottom images into 2048 dimensions each, then concatenates them into 4096 dimensions. It scores every clothing combination in the user's closet, then recommends the highest-scoring outfit.

Preview

Pipeline — architecture

High-Level Architecture

The system operates as a web application where users upload images of their clothes. The backend processes these images to detect, classify, and extract color attributes. It then uses a recommendation model to suggest the optimal outfit (“cody”) combination, factoring in weather conditions as well.

Core Components

  1. Web Interface (Flask): Handles user interactions, image uploads, and result visualization.
  2. Object Detection (YOLOv8): Detects and crops clothing items from uploaded images.
  3. Feature Extraction: Analyzes color properties of the detected items.
  4. Recommendation Engine (ResNet + MLP): Scores the compatibility between different clothing items.
  5. Context Provider (Weather API): Fetches real-time weather data to influence recommendations.

Outfit Recommendation

The system iterates through all combinations of available top and bottom items. Each pair is passed through the ImageRelationClassifier. Pairs are ranked by their compatibility score. The highest-scoring pair is selected.

The recommendation model uses a Siamese-style network: ResNet50 as the feature embedder, and an MLP classifier that takes the concatenated embeddings of two items as input. Weights file:

Search the site

Choose a destination, or type to search.