SnackValues
-
This is a Snack nutritional value prediction Application built on caffe-android-demo. It can predict snacks on the mobile phone. The application is designed based on Material Design Principle.
-
The CNN(convolutional neural networks) model is trained by Caffe with 94.7% accuracy and it can classify 15 kinds of snacks.
-
To run the application, you need to have the trained snack model, the mean file and the deploy file, which you can download it Here (Just download the whole directory and then push to your mobile phone follow the following instructions.)
-
A simple NodeJs server is included in this project, it can receive images sent from the application.
-
Contact me if you want to know more details. Email: 39872463@qq.com
Some useful Directory:
NodeServer Dictory: A simple server implemented by NodeJs, which can receive images and labels from mobile phone.
test_images Dictory: some images which can be used to test the application
Quick Look:
Main Page 1:
Main Page 2: After click Camera icon
Main Page 3: After click FAB
Result Page:
Correct Page:
Quick Start
Basic
If you want to have a try on this app, please follow the steps below to get the required stuff:
# 1. push things to your device
adb shell mkdir -p /sdcard/caffe_mobile/
adb push new_snack_model /sdcard/caffe_mobile/new_snack_model/
If the app crashes, first make sure it is not an out of memory issue - modify deploy.prototxt such that the mini batch size is 1 instead of 10