https://github.com/igorrendulic/food_recognition_with_calorie_mama
Food Recognition Using Calorie Mama AI API
https://github.com/igorrendulic/food_recognition_with_calorie_mama
android food-classification image-recognition machine-learning
Last synced: 8 months ago
JSON representation
Food Recognition Using Calorie Mama AI API
- Host: GitHub
- URL: https://github.com/igorrendulic/food_recognition_with_calorie_mama
- Owner: igorrendulic
- Created: 2017-05-12T01:27:51.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-25T20:25:32.000Z (almost 8 years ago)
- Last Synced: 2025-03-24T04:23:32.350Z (8 months ago)
- Topics: android, food-classification, image-recognition, machine-learning
- Language: Java
- Size: 135 KB
- Stars: 56
- Watchers: 3
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Food Recognition from images using Calorie Mama AI API
## End Result

## What is Calorie Mama API?
*Calorie Mama uses machine learning algorithms 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](http://www.caloriemama.ai)
## Running the example
You need an access token to Calorie Mama API. Obtain one by creating a free developer account [https://dev.caloriemama.ai](https://dev.caloriemama.ai)
Clone the project from GitHub
```
git clone https://github.com/igorrendulic/food_recognition_with_calorie_mama.git
```
Now import project to Android Studio and create a file under resources: `res/values/secrets.xml`
```xml
YOUR TOKEN HERE
```
You can run the app.
If you'd like to use Android Emulator and a WebCam read the next section.
As you probably know this is not the safest way to keep secrets in Android app but for simple demo purposes it will do.
## Setup Android Studio to use a WebCam
1. Tools -> Android -> AVD Manager
2. Create AVD if it doesn't exist or edit existing
3. Show advanced settings
4. In Camera section select from dropdown Webcam0
5. Restart Emulator if needed