Calorie Mama uses machine learning to identify over one hundred thousand foods, drinks, and packaged goods. It covers many local and global foods.
Find out more here at http://www.caloriemama.ai
You need an access token to use our Calorie Mama API. Obtain one by creating a free developer account at https://developers.caloriemama.ai
Clone the project from GitHub
git clone https://github.com/azumio/see_food_recognition_with_calorie_mama.git
Now import project to Android Studio and create a file under resources: res/values/secrets.xml
<resources>
<string name="caloriemama_token">YOUR TOKEN HERE</string>
</resources>
You can run the app.
If you'd like to use Android Emulator and a WebCam read the next section.
- Tools -> Android -> AVD Manager
- Create AVD if it doesn't exist or edit existing
- Show advanced settings
- In Camera section select from dropdown Webcam0
- Restart Emulator if needed