Edge Impulse Experts / Clothing Color Classifier 👕🎨 Public

Clothing Color Classifier 👕🎨

Object detection

About this project

👕🎨 Clothing Color Classifier

A TinyML Object Detection model that identifies clothing colors in real time — trained and deployed entirely through Edge Impulse Studio. Screenshot 2026-09-19 at 01-41-10 Mobile client - Edge Impulse.png

Overview

Can a small edge AI model learn to recognize colors on clothing items just from a webcam feed — with no cloud, no heavy hardware, and a small custom dataset? Clothing Color Classifier answers that question with a resounding yes.

This project uses Edge Impulse Studio to train an Object Detection model that locates a clothing item's colored area and classifies its color into one of four categories: Red, Magenta, Pink, and Sky Blue. The final model reached a 94.7% F1 score, with real-time detection tested live through a browser webcam — no software installation required.

Hardware & Tools

Gemini_Generated_Image_6crbu06crbu06crb.jpg

  • USB Webcam connected to a laptop
  • Edge Impulse Studio (data labeling, training, live classification)
  • No microcontroller deployment required — runs entirely in-browser

Dataset

  • 146 images total (120 training / 26 test)
  • 4 balanced classes: Magenta (30), Pink (37), Red (30), Sky Blue (37)
  • Images captured with varied angles, distances, and contrasting dark backgrounds

Model

Block Configuration
Input Image, 170×170, RGB
Processing Image (raw pixel features)
Learning Object Detection — FOMO (MobileNetV2 0.35)

Training configuration: 100 cycles, learning rate 0.001, data augmentation enabled, CPU processor.

Results

F1 Score: 94.7%

Class Accuracy
Magenta 100%
Pink 91.7%
Red 83.3%
Sky Blue 85.7%

Live Demo

Tested directly in-browser via Edge Impulse's Live Classification — no downloads, no firmware flashing.

🔗 Try the live model

Key Takeaways

  • Bounding box precision has a sweet spot — too loose or too tight both hurt accuracy
  • FOMO is a strong choice for small, custom Object Detection datasets
  • A full Edge AI pipeline is achievable entirely through the browser

Future Work

  • Deploy to an edge device for offline detection
  • Expand to real fabric/clothing items
  • Explore outfit-matching recommendations
  • Use printable paper templates (hand-colored) to expand color variety in the dataset
magenta.72nbcd9g
sky_blue.72na5gi6
red.72nfdqe1
sky_blue.72mo4anv
magenta.72mq0ed7
red.72mmqkre
magenta.72nc90rd
pink.72mldffo

Run this model

Scan QR code or launch in browser

Dataset summary

Data collected
159 items
Labels
magenta, pink, red, sky_blue

Project info

Project ID 1116206
License 3-Clause BSD
No. of views 2,037
No. of clones 1