Multimedia Tools and Applications

, Volume 74, Issue 14, pp 5243–5260 | Cite as

Cloud-based SVM for food categorization

  • Parisa Pouladzadeh
  • Shervin Shirmohammadi
  • Aslan Bakirov
  • Ahmet Bulut
  • Abdulsalam Yassine


As people across the globe are becoming more interested in watching their weight, eating more healthily, and avoiding obesity, a system that can measure calories and nutrition in everyday meals can be very useful. Recently, due to ubiquity of mobile devices such as smart phones, the health monitoring applications are accessible by the patients practically all the time. We have created a semi-automatic food calorie and nutrition measurement system via mobile that can help patients and dietitians to measure and manage daily food intake. While segmentation and recognition are the two main steps of a food calorie measurement system, in this paper we have focused on the recognition part and mainly the training phase of the classification algorithm. This paper presents a cloud-based Support Vector Machine (SVM) method for classifying objects in cluster. We propose a method for food recognition application that is referred to as the Cloud SVM training mechanism in a cloud computing environment with Map Reduce technique for distributed machine learning. The results show that by using cloud computing system in classification phase and updating the database periodically, the accuracy of the recognition step has increased in single food portion, non-mixed and mixed plate of food compared to LIBSVM.


Calorie measurement Food image processing Cloud computing 


  1. 1.
    Bosch M, Woo I, Kim S, Boushey C, Ebert D, Delp E, Zhu F (2010) The use of mobile devices in aiding dietary assessment and evaluation. IEEE J Selected Topics Signal Process 4(4):756–766CrossRefGoogle Scholar
  2. 2.
    Burges CJC (1998) A tutorial on support vector machines for pattern recognition. Data Mining Knowl 2(2):121–167CrossRefGoogle Scholar
  3. 3.
    Carrol M, Curtin L, Lamb M, Flegal K, Ogden C (2010) Prevalence of high body mass index in us children and adolescents, 2007–2008. J Am Med Assoc 303(3):242–249CrossRefGoogle Scholar
  4. 4.
    Chang CC, Lin CJ (2011) LIBSVM : a library for support vector machines. ACM Trans Intell Syst Technol 2(27):1–27, 27CrossRefGoogle Scholar
  5. 5.
    Cheng-Jin D, Sun D-W (2005) Pizza sauce spread classification using colour vision and support vector machines. J Food Eng 66(2):137–145Google Scholar
  6. 6.
    Deng Y, Qin S, Wu Y (2009) An automatic food recognition algorithm with both. Image Process Photon Agric Eng, 8 pages. doi: 10.1117/12.836650
  7. 7.
    Grzegorz et al, Malewicz (2010) Pregel: a system for large-scale graph processing, in Proceedings of the 2010 ACM SIGMOD International Conference on Management of data. ACM, 2010Google Scholar
  8. 8.
    Harnack L, Steffen L, Arnett D, Gao S, Luepker R (2004) Accuracy of estimation of large food portions. J Am Diet Assoc 104:804–806CrossRefGoogle Scholar
  9. 9.
    Johnson R, Soultanakis R, Matthews D (1998) Literacy and body fatness are associated with underreporting of energy intake in US low-income women using the multiple-pass 24-hour recall: a doubly labeled water study. J Am Diet Assoc 98:1136–1140CrossRefGoogle Scholar
  10. 10.
    Kruizinga P, Petkov N, Grigorescu SE (1999) Comparison of texture features, in Proceedings of the 10th International Conference on Image Analysis and Processing. USA, Washington DC, pp 142–148CrossRefGoogle Scholar
  11. 11.
    Liu NA, Sung H, Syed K (1999) Incremental learning with support vector ma chines, in Proceedings of the Fifth ACM SIGKDD International Conferenceon Knowledge Discovery and Data Mining (KDD), San Diego, California 1999Google Scholar
  12. 12.
    Madival SA, Madival SA, Vishwanath BC (2012) Recognition of fruits in fruits salad based on color and texture features, Int J Eng Res Technol (IJERT) 1Google Scholar
  13. 13.
    Mitchell T (1997) Machine learning, McGraw-Hill computer science seriesGoogle Scholar
  14. 14.
    Muller K, Mika S, Ratsch G, Tsuda K, Scholkopf B (2001) An introduction to kernel-based learning. IEEE Trans Neural Netw 12(2):181–201CrossRefGoogle Scholar
  15. 15.
    Patterson R, Kristal A, Cheney C, Rebro S (1998) The effect of keeping food records on eating patterns. J Am Diet Assoc 98:1163–1165CrossRefGoogle Scholar
  16. 16.
    Pouladzadeh P, Shirmohammadi S, Almaghrabi R (2014) Measuring calorie and nutrition from food image, IEEE Trans Instrum Meas, 10 pages. doi: 10.1109/TIM.2014.2303533
  17. 17.
    Pouladzadeh P, Villalobos G, Almaghrabi R, Shirmohammadi S (2012) A novel SVM based food recognition method for calorie measurement applications, in Proc. International Workshop on Interactive Ambient Intelligence Multimedia Environments, in Proc. IEEE International Conference on Multimedia and Expo, Melbourne, Australia, 2012, pp. 495–498Google Scholar
  18. 18.
    Probst YC, Tapsell LC (2005) Overview of computerized computerized dietary assessment programs for research and practice in nutrition education. J Nutr Educ Behav 37:20–26CrossRefGoogle Scholar
  19. 19.
    Talwalkar A, Duchi J, Griffith R, Franklin M, Jordan MI, Kraska T (2013) MLbase: a distributed machine learning system, in Conference on Innovative Data Systems Research, 2013Google Scholar
  20. 20.
    Trabulsi J, Schoeller D, Trabulsi J, Schoeller D (2001) Evaluation of dietary assessment instruments against doubly labeled water, a biomarker of habitual energy intake. Am J Physiol Endocrinol Metab 281:E891–E899Google Scholar
  21. 21.
    Victor M, Sathya JS (2011) Application of hadoop mapreduce technique to virtual database system design. Process of ICETECT 11(9):892–896Google Scholar
  22. 22.
    Villalobos G, Almaghrabi R, Hariri B, Shirmohammadi S (2011) A personal assistive system for nutrient intake monitoring, in Proc. ACM Workshop On Ubiquitous Meta User Interfaces, in Proc. ACM Multimedia, Arizona, USA, 2011, pp. 17–22Google Scholar
  23. 23.
    Wang DH, Kogashiwa DH, Kira S (2006) Development of a new instrument for evaluating individuals’ dietary intakes. J Am Diet Assoc 106:1588–1593CrossRefGoogle Scholar
  24. 24.
    Young L, Nestle M (2002) The contribution of expanding portion sizes to the us obesity epidemic. Am J Public Health 92:246–249CrossRefGoogle Scholar
  25. 25.
    Yucheng et al (2012) Low, distributed GraphLab: a framework for machine learning and data mining in the cloud. Proc VLDB Endowment 5.8:716–727Google Scholar

Copyright information

© Springer Science+Business Media New York 2014

Authors and Affiliations

  • Parisa Pouladzadeh
    • 1
    • 2
  • Shervin Shirmohammadi
    • 1
    • 2
  • Aslan Bakirov
    • 2
  • Ahmet Bulut
    • 2
  • Abdulsalam Yassine
    • 1
  1. 1.Distributed and Collaborative Virtual Environment Research LaboratoryUniversity of OttawaOttawaCanada
  2. 2.Colleges of Engineering and Natural Sciences, Istanbul Şehir UniversityIstanbulTurkey

Personalised recommendations