How abhijith-utla/stylemaxx works
StyleMax is a Flask web app for authenticated face-color analysis and outfit matching. The implemented workflow accepts an item image and type at /chef_up, matches it against paired apparel features, uses a KNN model to find similar complementary items, and returns suggestions for display. A separate upload route analyzes facial features and stores palette results in the session. The README describes React and Firebase capabilities, but those implementations are not in the supplied tree or excerpts; the shown server configures Auth0. Those documented integrations are marked as unverified.
Main entry points: outfit_matcher.py Outfit matcher · app.py Flask routes · index.html Style interface · facerec.py Face analysis
Components 17
Web application
- Flask routes
app.py - Auth0 login
app.py - Style interface
templates/index.html - Session results
app.py
Style analysis
- Face analysis
facerec.py - Color palette
facerec.py
Outfit matching
- Outfit matcher
outfit_matcher.py - ORB features
outfit_matcher.py - Paired apparel data
outfit_matcher.py - ResNet features
outfit_matcher.py - KNN neighbor search
outfit_matcher.py - KNN model files
men_bottoms_knn.joblib - Apparel images
outfit_matcher.py
External services
- Auth0
- Firebase services
Other components
- User
- Image URL source
Connections 20
- User → Flask routes: submits image
README.md - User → Auth0 login: signs in
README.md - Auth0 login → Auth0: authorizes
app.py - Auth0 login → Flask routes: sets profile
app.py - Flask routes → Face analysis: analyzes upload
app.py - Face analysis → Color palette: generates palette
facerec.py - Flask routes → Session results: stores results
app.py - Flask routes → Outfit matcher: calls matching
app.py - Outfit matcher → ORB features: extracts features
outfit_matcher.py - Outfit matcher → Paired apparel data: loads pairs
outfit_matcher.py - Image URL source → ORB features: provides image
outfit_matcher.py - Paired apparel data → Outfit matcher: selects pair
outfit_matcher.py - Outfit matcher → ResNet features: extracts features
outfit_matcher.py - Outfit matcher → KNN neighbor search: searches neighbors
outfit_matcher.py - KNN neighbor search → KNN model files: loads model
outfit_matcher.py - KNN neighbor search → Apparel images: indexes images
outfit_matcher.py - Outfit matcher → Session results: returns suggestions
app.py - Flask routes → Style interface: renders results
app.py - User → Firebase services: uses documented services
README.md - Style interface → Firebase services: documented integration
README.md