LeftOverChef is an innovative mobile application designed to combat food waste by helping users, particularly beginner cooks, utilize their leftover ingredients efficiently. By offering personalized recipe suggestions based on the ingredients users have on hand, the app not only promotes sustainable cooking practices but also enhances culinary creativity.
- Smart Ingredient Recognition: Users can take photos of their leftover ingredients, and the app uses YOLOv5 machine learning model to recognize and identify these ingredients.
- Dynamic Recipe Generation: Once ingredients are identified, users receive personalized recipe suggestions that consider their culinary preferences, dietary restrictions, and desired meal complexity.
- Pantry Management: Allows users to record and track their current stock of ingredients, aiding in planning future grocery purchases and preventing excess buying.
- Recipe Tracking and Management: Includes Featured, Favorites, and History pages for easy tracking and management of recipes.
- Dietary Settings: Enables users to customize their dietary preferences and restrictions, including gluten-free, vegan, vegetarian, keto, and low-FODMAP diets.
Acts as the app's central navigation hub, offering a straightforward layout with quick access to main features.
Allows users to capture or upload photos of ingredients for identification.
Enables users to manage their virtual pantry, tracking available ingredients.
Refines recipe suggestions based on additional criteria like cuisine or prep time.
Displays suggested recipes based on identified ingredients, with filtering options.
- OpenAI API: For generating recipe suggestions.
- YOLOv5: For smart ingredient recognition.
- Firebase: For backend database management.
- Google Custom Search API: For fetching related recipe images.
- Ensure you have Android Studio installed.
- Have a device or emulator running Android 5.0 (Lollipop) or higher.
- Open a terminal and run:
git clone https://github.com/XavierTann/LeftOverChef.git - Navigate to the project directory:
cd LeftOverChef
-
Firebase Project:
- Create a Firebase project at Firebase Console.
- Register your app with the Firebase project.
- Download the google-services.json file and place it in the app/ directory.
-
Enable Firebase Services:
- Enable Firestore Database and Authentication in the Firebase console.
- OpenAI API Key:
- Obtain an API key from OpenAI.
- Add the key to your project's environment variables or directly in the code as needed.
- Google Custom Search API Key:
- Obtain an API key from Google Developers Console.
- Add the key to your project's environment variables or directly in the code as needed.
- Open Project in Android Studio:
- Launch Android Studio.
- Open the cloned LeftOverChef project.
- Sync Gradle:
- Sync the Gradle files to download all dependencies.
- Run the App:
- Connect your Android device or start an emulator.
- Click on the 'Run' button in Android Studio.
- Database and UI: Yu Hueng, Priyanshi Saraogi, Elan
- Recipe Generation: Xavier Tan Zen
- Object Detection: Jithin Bathula, Augustine
- YouTube Video for ML Model Integration: Deploy YOLO model in Android
- Roboflow Dataset for Ingredients: Cairo University
- YOLOv5 Google Colab Notebook: Google Colab
- GitHub Repository for TensorFlow Lite Model Inference: yyccR/yolov5-tflite-android
- AI Debugging: ChatGPT




