- Take a photo and upload it
- OCR the photo
- Send the text to chatGPT and get a summary of what the ingredients are and what effects they may have on your body
- Display it to the user
- Save past queries for reference
- CameraX API reference tutorial (https://developer.android.com/codelabs/camerax-getting-started)
- MLKit OCR reference tutorial (https://developers.google.com/ml-kit/vision/text-recognition/v2/android)
- Clone the repo
- Open the project in Android Studio
- Add the following to your
local.propertiesfile:OPENAI_API_KEY=<your key here> - Build and run the app
- Take a photo of a food label and see the results!