Skin Sync is an Android application that helps users decide what to wear for photoshoots based on their skin, lip, and eye colors. By analyzing these features and the colors of a specific location, the app provides outfit recommendations to ensure the user looks their best in every photo. It also scrapes clothing suggestions online, including prices and purchase links, making the experience seamless and efficient.
- Skin Color Analysis: Analyze skin, lips, and eye colors using Google’s Mediapipe and TensorFlow.
- Location-Based Recommendations: Use Google GenAI to suggest the best colors to wear based on the user’s features and location.
- Clothing Suggestions: Retrieve outfit ideas with prices and links using SerpApi.
- Profile Management: Save and update user details such as name, age, gender, and extracted colors.
-
API Keys:
- Google Gemini API: Obtain from Google AI Studio.
- SerpApi: Obtain from SerpApi.
-
Android Studio:
- Download and install Android Studio for development.
-
Dependencies:
- Kotlin
- TensorFlow
- Mediapipe
- Retrofit for API calls
git clone https://github.com/your-repo/skin-sync.git
cd skin-sync
- Open the
MainActivity.kt
file. - Replace the placeholders with your actual API keys:
val GEMINI_API_KEY = "your_gemini_api_key_here" val SERP_API_KEY = "your_serp_api_key_here"
- Open the project in Android Studio.
- Sync the Gradle files.
- Build and run the application on an Android device or emulator.
- Frontend: Android application built in Kotlin.
- Backend: Processes images using Mediapipe and TensorFlow to extract dominant colors.
- External APIs:
- Google GenAI: Provides location-based outfit color recommendations.
- SerpApi: Scrapes the internet for clothing suggestions.
- Upload a picture of your face in the Profile Activity.
- Enter your name, age, and gender.
- Input the location name in Main Activity.
- Receive outfit color recommendations along with explanations.
- Browse clothing suggestions, prices, and purchase links.
- Languages: Kotlin
- Frameworks: Android Studio, TensorFlow, Mediapipe
- APIs: Google Gemini API, SerpApi
Feel free to submit issues and enhancement requests, or fork this repository to contribute.