This project is the Clothes Detection Example AI web application. It uses AI to detect and classify clothing in uploaded photos!
· View Demo · Report Bug / Request Feature ·
This project is a modern AI-powered web app for detecting and classifying clothing in images. It leverages TensorFlow.js and pre-trained models (COCO-SSD, MobileNet) to analyze photos directly in the browser. The interface is clean, responsive, and user-friendly.
To provide a simple, accessible tool for clothing detection and classification using AI, all running client-side in the browser. Great for demos, learning, and experimentation with computer vision.
| TensorFlow.js | Machine learning in the browser |
| COCO-SSD | Object detection model for clothing and accessories |
| MobileNet | Image classification model |
| HTML5 | Markup and structure |
| CSS3 | Modern, responsive styling |
| JavaScript | Client-side logic |
- 🖼️ Image Upload: Upload and analyze your own photos
- 🤖 AI Detection: Detects clothing, accessories, and people
- 📊 Detailed Results: Shows detected items, confidence, and bounding boxes
- 📱 Responsive UI: Works on desktop and mobile
- 📝 No Backend: All processing is done in the browser
- Modern web browser (Chrome, Firefox, Edge, Safari)
- No installation required for demo
Just open index.html in your browser. No build step needed.
Note: You cannot simply double-click
index.htmlto run this app because browser security restrictions will prevent the AI models from loading locally. You must serve the project with a local or remote web server.
- Install the Live Server extension.
- Right-click
index.htmland select "Open with Live Server". - The app will open in your browser and models will load correctly.
- Right-click
index.htmland choose "Open in Browser" (JetBrains IDEs automatically serve files over HTTP). - Alternatively, use the built-in web server feature.
- Python 3 (cross-platform):
python -m http.server 8000 # Then open http://localhost:8000 in your browser - Node.js (http-server):
npx http-server . # Then open the shown URL (usually http://localhost:8080)
- PHP (if installed):
php -S localhost:8000 # Then open http://localhost:8000
Do not use the
file://protocol (double-clicking the file) — models will not load!
- Fast, client-side AI detection
- Modern and clean UI
- No data leaves your device
- Supports JPG, PNG, GIF images (up to 10MB)
- Visualizes detection results with bounding boxes and labels
MIT License © 2025 Yasin Ateş
See LICENSE for more information.
✨ This README was generated by markdown-manager.
