Abstract
In recent years, obesity and health of diabetic patients have become major issues. To address these issues, it is very important to know the intake of calories, carbohydrates, and sugar. We propose a novel deep learning convolutional neural network based image recognition system that can run on Android smartphones that not only provides the appropriate nutritional estimates to users after passing a food image as input but also suggests alternative food recipes for diabetic patients. We have implemented transfer learning as well as fine-tuning and our CNN model was able to achieve comparatively higher accuracy than other approaches that used a similar setup on the Food-101 dataset. By user experiments and approval from well-known doctors, effectiveness of the proposed system was confirmed. The future scope includes expanding to more food categories and optimizing the model for better results.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Hruby, A., & Hu, F. B. (2015). The epidemiology of obesity: A big picture. PharmacoEconomics, 33, 673–689. https://doi.org/10.1007/s40273-014-0243-x.
MyFitnessPal.com: Free Calorie Counter, Diet & Exercise Tracker, available at http://www.myfitnesspal.com/.
MyNetDiary: The easiest and smartest free calorie counter and free food diary for iPhone, iPad, Android, and BlackBerry applications, available at http://www.mynetdiary.com/.
FatSecret: All Things Food and Diet, available at http://www.fatsecret.com/.
Yang, S., Chen, M., Pomerleau, D., & Sukthankar, R. (2010). Food recognition using statistics of pairwise local features. In 2010 IEEE Conference on Computer Vision and Pattern Recognition (CVPR). https://doi.org/10.1109/cvpr.2010.5539907.
Matsuda, Y., & Yanai, K. (2012). Multiple-food recognition considering co-occurrence employing manifold ranking. In Proceedings of the 21st International Conference on Pattern Recognition (ICPR 2012), Tsukuba (pp. 2017–2020).
TADA: Technology Assisted Dietary Assessment at Purdue University, West Lafayette, Indiana, USA, available at http://www.tadaproject.org/.
Bossard, L., Guillaumin, M., & Van Gool, L. (2014). Food-101—Mining discriminative components with random forests. In D. Fleet, T. Pajdla, B. Schiele & T. Tuytelaars (Eds.), Computer Vision—ECCV 2014. ECCV 2014. Lecture Notes in Computer Science (Vol. 8694). Cham: Springer. https://doi.org/10.1007/978-3-319-10599-4_29.
Liu, C., Cao, Y., Luo, Y., Chen, G., Vokkarane, V., & Ma, Y. (2016, May). DeepFood: Deep learning-based food image recognition for computer-aided dietary assessment. In International Conference on Smart Homes and Health Telematics (pp. 37–48). Springer International Publishing. https://doi.org/10.1007/978-3-319-39601-9_4.
Livingstone, M., Robson, P., & Wallace, J. (2004). Issues in dietary intake assessment of children and adolescents. British Journal of Nutrition, 92(S2), S213–S222. https://doi.org/10.1079/BJN20041169.
Pouladzadeh, P., Shirmohammadi, S., & Almaghrabi, R. (2014, August). Measuring calorie and nutrition from food image. IEEE Transactions on Instrumentation and Measurement, 63, 1974–1956. https://doi.org/10.1109/tim.2014.2303533.
Foodspotting: find and share great dishes, available at http://www.foodspotting.com/find.
Chaudhury, S., Raw, S., Biswas, A., & Gautam, A. (2015). An integrated approach of logarithmic transformation and histogram equalization for image enhancement. In K. Das, K. Deep, M. Pant, J. Bansal, & A. Nagar (Eds.), Proceedings of Fourth International Conference on Soft Computing for Problem Solving. Advances in Intelligent Systems and Computing (Vol. 335). New Delhi: Springer. https://doi.org/10.1007/978-81-322-2217-0_6.
Gao, H., Dou, L., Chen, W., & Sun, J. (2013). Image classification with Bag-of-Words model based on improved SIFT algorithm. In 2013 9th Asian Control Conference (ASCC), Istanbul (pp. 1–6). https://doi.org/10.1109/ascc.2013.6606268.
Okafor, E., et al. (2016). Comparative study between deep learning and bag of visual words for wild-animal recognition. In 2016 IEEE Symposium Series on Computational Intelligence (SSCI), Athens (pp. 1–8). https://doi.org/10.1109/ssci.2016.7850111.
Krizhevsky, A., Sutskever, I., & Hinton, G. E. (2012). ImageNet classification with deep convolutional neural networks. In NIPS (p. 4).
Lecun, Y., Bottou, L., Bengio, Y., & Haffner, P. (1998). Gradient-based learning applied to document recognition. Proceedings of the IEEE, 86(11), 2278–2324. https://doi.org/10.1109/5.726791.
Simonyan, K., & Zisserman, A. (2015). Very deep convolutional networks for large-scale image recognition. In ICLR. arXiv:1409.1556.
He, K., Zhang, X., Ren, S., Sun, J. (2016). Deep residual learning for image recognition. In 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV (pp. 770–778). https://doi.org/10.1109/cvpr.2016.90.
Szegedy, C., et al. (2015). Going deeper with convolutions. In 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Boston, MA (pp. 1–9). https://doi.org/10.1109/cvpr.2015.7298594.
United States Department of Agriculture Agricultural Research Service Food Composition Databases: available at https://ndb.nal.usda.gov/ndb/.
U.S. Department of Agriculture, Agricultural Research Service. 20xx. USDA National Nutrient Database for Standard Reference, Release. Nutrient Data Laboratory Home Page, http://www.ars.usda.gov/nutrientdata.
U.S. Department of Agriculture, Agricultural Research Service. 20xx. USDA Branded Food Products Database. Nutrient Data Laboratory Home Page, http://ndb.nal.usda.gov.
Yummly: personalized recipe recommendation and search, available at https://www.yummly.com/recipes.
Yu, Q., Mao, D., & Wang, J. Deep Learning Based Food Recognition.
Ao, S., & Ling, C. X. (2015, November). Adapting new categories for food recognition with deep representation. In Proceedings of the IEEE International Conference on Data Mining Workshop (pp. 1196–1203). https://doi.org/10.1109/icdmw.2015.203.
Singh, S., Gupta, A., & Efros, A. A. (2012). Unsupervised discovery of mid-level discriminative patches. In Computer Vision–ECCV 2012 (pp. 73–86). Berlin: Springer. arXiv:1205.3137.
Acknowledgements
We would like to thank Doctor Harshal Joshi, M. D. and Doctor Sanjay Gulhane, M. D. for their support and guidance.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Merchant, K., Pande, Y. (2019). ConvFood: A CNN-Based Food Recognition Mobile Application for Obese and Diabetic Patients. In: Shetty, N., Patnaik, L., Nagaraj, H., Hamsavath, P., Nalini, N. (eds) Emerging Research in Computing, Information, Communication and Applications. Advances in Intelligent Systems and Computing, vol 882. Springer, Singapore. https://doi.org/10.1007/978-981-13-5953-8_41
Download citation
DOI: https://doi.org/10.1007/978-981-13-5953-8_41
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-13-5952-1
Online ISBN: 978-981-13-5953-8
eBook Packages: EngineeringEngineering (R0)