Skip to content

07Codex07/Reel2Retail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Flicked Fashion AI πŸ‘—πŸŽ¬

From viral reels to virtual carts.

Flicked Fashion AI is a smart computer vision pipeline that analyzes Instagram-style short videos, detects fashion items worn by people, matches them to a product catalog, and classifies the outfit's overall aesthetic vibe.


πŸš€ Features

  • 🎯 YOLOv8n β€” detects fashion products (tops, trousers, dresses) frame by frame
  • 🧠 CLIP (ViT-B/32) β€” embeds both catalog images and detected crops into 512-d vectors
  • ⚑ FAISS β€” finds exact/similar matches from the catalog at scale
  • 🎨 NLP Vibe Classifier β€” assigns fashion aesthetics like Y2K, Clean Girl, Streetwear from product metadata
  • πŸ“¦ Structured JSON output β€” production-ready for ecommerce, tagging, or marketing pipelines

πŸ”„ Pipeline

Video β†’ Frame Extraction β†’ YOLOv8 Detection β†’ CLIP Embedding β†’ FAISS Matching β†’ JSON Output β†’ Vibe Classification

  1. Frame Extraction β€” OpenCV extracts 1 frame/sec from each reel in /videos/reel/
  2. Fashion Detection β€” YOLOv8n detects and crops items β†’ saved to data/cropped_items/
  3. Catalog Embedding β€” CLIP encodes catalog images from catalog.csv β†’ FAISS index built once and reused
  4. Matching β€” Each crop is embedded and compared to catalog; top-1 match selected if similarity > 0.75
  5. Per-Video Output β€” Items grouped by reel β†’ saved as /outputs/reel_XXX.json image
  6. Vibe Classification β€” Keywords extracted from title/description/tags β†’ matched to vibes_list.json

βš™οΈ Setup

git clone cd submission/ pip install -r requirements.txt python embed_catalog.py python detect_and_crop.py python match_with_catalog.py python classify_vibes.py


πŸ“ Project Structure

image


πŸ’‘ Why This Stands Out

  • Catalog embeddings are built once and reused β€” no redundant computation
  • Vibe classifier uses natural language from real product data, not just class labels
  • JSON outputs are production-ready for downstream ecommerce or marketing use
  • Designed for scalability with plans for a product-level REST API

πŸ”­ Vision

  • Browser extension / Instagram plug-in β€” tap any outfit in a reel β†’ get buy links
  • Upload 2–3 photos β†’ get smart outfit suggestions with vibes + live ecommerce results
  • Brand analytics β€” analyze UGC trends in real time

Built by Vinayak

About

AI pipeline that detects fashion items in short videos, matches them to a product catalog using CLIP + FAISS, and classifies outfit vibes.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors