Inspiration

FashionAI was inspired by my poor fashion sense. Being indecisive and not being able to match my clothes together caused tardiness in some aspects of my daily life which included work and social gatherings. I decided to solve for this with a technical approach, hence, FashionAI.

What it does

FashionAI helps users create cohesive outfits by analyzing images of their clothing items and accessories. Users can describe an event or occasion, and the app generates outfit suggestions based on current fashion trends, color coordination, and style compatibility. The app ensures that the recommendations are suitable for the specified event, providing a complete and stylish look.

How we built it

FashionAI was built using a combination of Swift for the iOS app and various backend services:

  • SwiftUI: For building the user interface, allowing users to input event descriptions and select images of their clothing.
  • Firebase Storage: To store and retrieve images uploaded by users.
  • OpenAI's API: To analyze the images and event descriptions, generating fashion recommendations using advanced AI models.
  • ChatVisionProvider: An observable class that manages the chat interactions with the AI model, handling user inputs and displaying the AI's responses in real-time.

Challenges I ran into

  • Image Processing: Ensuring that images uploaded by users are correctly processed and analyzed by the AI model.
  • Real-time Updates: Managing the real-time interaction between the user interface and the backend services to provide seamless and responsive feedback.
  • State Management: Handling the state changes in SwiftUI, especially managing the loading states and ensuring the UI reflects the current processing status accurately.

Accomplishments that I'm proud of

  • Successfully integrating Firebase Storage and OpenAI's API to create a seamless flow from image upload to fashion recommendation.
  • Building a responsive and user-friendly interface using SwiftUI.
  • Developing a robust state management system that ensures real-time updates and feedback, enhancing the user experience.

What I learned

  • The importance of effective state management in SwiftUI to handle asynchronous operations and real-time updates.
  • Techniques for integrating various backend services (like Firebase and OpenAI) into a cohesive application.
  • Best practices for processing and analyzing images in an AI-driven application.

What's next for FashionAI

  • Expand the Recommendation Engine: Incorporate more advanced AI models to provide even more personalized and accurate fashion recommendations.
  • User Feedback Integration: Allow users to provide feedback on the recommendations, using this data to improve the AI model.
  • Enhanced User Interface: Continuously improve the UI to make it more intuitive and engaging.
  • Social Sharing Features: Enable users to share their outfits and recommendations on social media platforms.
  • Outfit Tracking: Allow users to track their outfits and receive suggestions for future events based on past preferences and trends.

Built With

Share this project:

Updates