Skip to content

Style Guru takes your selfie and give your style or clothing recommendations

License

Notifications You must be signed in to change notification settings

Ipseeta/style-guru

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Style Genius 👔👗

An AI-powered fashion recommendation system that provides personalized style suggestions based on your selfie and chosen occasion.

✨ Features

📸 Image Analysis

  • Take a selfie through your browser
  • Upload an existing photo
  • Real-time camera integration

🎯 Personalized Analysis

  • Age range estimation
  • Gender detection
  • Hair color analysis
  • Skin tone detection with hex color matching
  • Custom color palette recommendations

👚 Style Recommendations

  • Occasion-based outfit suggestions
    • Casual
    • Formal
    • Date
    • Party
  • AI-generated outfit visualizations
  • Personalized clothing combinations

⚡ Fast Response

  • Immediate style analysis results
  • Background loading of AI-generated outfits
  • Responsive user interface

🛠️ Tech Stack

  • Frontend: HTML, CSS, JavaScript
  • Backend: Python, Flask
  • AI/ML:
    • OpenAI GPT-4 Vision (image analysis)
    • DALL-E 3 (outfit visualization)

🚀 Getting Started

Prerequisites

  • Python 3.8+
  • OpenAI API key
  • Web browser with camera access (for selfie feature)

Installation

  1. Clone the repository
git clone https://github.com/yourusername/style-guru.git
cd style-guru
  1. Install dependencies
pip install -r requirements.txt
  1. Set up environment variables
# Create .env file and add your OpenAI API key, Azure OpenAI Endpoint, and API Version
echo "AZURE_OPENAI_ENDPOINT=https://your-resource-name.openai.azure.com" >> .env
echo "AZURE_OPENAI_KEY=your-azure-api-key" >> .env
echo "AZURE_OPENAI_API_VERSION=2024-02-15-preview" >> .env
  1. Run the application
python3 api/index.py
  1. Open your browser and navigate to http://localhost:5000

📝 Usage

  1. Start the App

    • Open the application in your web browser
    • Allow camera access if you plan to take a selfie
  2. Capture Image

    • Click "Take Selfie" to use your camera
    • Or use "Choose file" to upload an existing photo
  3. Select Occasion

    • Choose from the dropdown menu:
      • Casual
      • Formal
      • Date
      • Party
  4. Get Recommendations

    • Click "Style Me" to receive your analysis
    • View immediate style results
    • Wait for AI-generated outfit visualizations

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the project
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgments

  • OpenAI for GPT-4 Vision and DALL-E 3 APIs
  • Flask team for the web framework
  • Tailwind CSS for color system inspiration
  • Google Fonts for Playfair Display font

Made with ❤️ by Ipseeta

About

Style Guru takes your selfie and give your style or clothing recommendations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published