Food categories classification and Ingredients estimation using CNNs on Raspberry Pi 3

K. Sukvichai, Pruttapon Maolanon, Kittinon sawanyawat, Warayut Muknumporn
{"title":"Food categories classification and Ingredients estimation using CNNs on Raspberry Pi 3","authors":"K. Sukvichai, Pruttapon Maolanon, Kittinon sawanyawat, Warayut Muknumporn","doi":"10.1109/ICTEMSYS.2019.8695967","DOIUrl":null,"url":null,"abstract":"Foods are important things to human lives, especially for elderly or diabetics. Tradition nutrition book is not the effective way for people to use and not cover all kind of foods. Most of the food nutrition in the book focused on Western dishes not Asian dishes. This research proposed the new way to categorized Thai fast food dishes, classified and localized the ingredients in each dish. Convolutional Neural Networks (CNNs) are used to achieve these tasks. MobileNet is used as food categorizer while You Only Look Once (YOLO) network works as the ingredients classifier and localizer. Then, ingredients in the pictures are cropped and passed through traditional image processing to calculate area and compared with real ingredient’s dimension. Non-uniform shape ingredients are segmented, then, the nutrition of the dish can be calculated. Finally, the networks are transferred in to Raspberry Pi 3 platform to simulate limited resources and calculation power platform likes in a mobile phone. The networks in Raspberry Pi 3 produce good prediction accuracy but slow speed. PeachPy is introduced to speed up the network and it can run at 3.3 seconds per food image.","PeriodicalId":220516,"journal":{"name":"2019 10th International Conference of Information and Communication Technology for Embedded Systems (IC-ICTES)","volume":"14 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-03-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2019 10th International Conference of Information and Communication Technology for Embedded Systems (IC-ICTES)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICTEMSYS.2019.8695967","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4

Abstract

Foods are important things to human lives, especially for elderly or diabetics. Tradition nutrition book is not the effective way for people to use and not cover all kind of foods. Most of the food nutrition in the book focused on Western dishes not Asian dishes. This research proposed the new way to categorized Thai fast food dishes, classified and localized the ingredients in each dish. Convolutional Neural Networks (CNNs) are used to achieve these tasks. MobileNet is used as food categorizer while You Only Look Once (YOLO) network works as the ingredients classifier and localizer. Then, ingredients in the pictures are cropped and passed through traditional image processing to calculate area and compared with real ingredient’s dimension. Non-uniform shape ingredients are segmented, then, the nutrition of the dish can be calculated. Finally, the networks are transferred in to Raspberry Pi 3 platform to simulate limited resources and calculation power platform likes in a mobile phone. The networks in Raspberry Pi 3 produce good prediction accuracy but slow speed. PeachPy is introduced to speed up the network and it can run at 3.3 seconds per food image.
在树莓派3上使用cnn进行食品类别分类和成分估计
食物对人类的生活很重要,尤其是对老年人和糖尿病患者。传统的营养书籍并不是人们使用的有效方式,也没有涵盖所有的食物。书中大部分的食物营养都集中在西餐上,而不是亚洲菜。本研究提出了泰式快餐菜肴分类的新方法,对每道菜中的食材进行分类和本土化。卷积神经网络(cnn)被用来完成这些任务。MobileNet用作食品分类器,而You Only Look Once (YOLO)网络用作成分分类器和本地化器。然后,对图片中的成分进行裁剪,通过传统的图像处理计算面积,并与真实成分的尺寸进行比较。将形状不均匀的食材进行分割,计算出菜肴的营养成分。最后,将网络传输到树莓派3平台上,模拟类似于手机的有限资源和计算能力平台。树莓派3中的网络具有良好的预测精度,但速度较慢。引入PeachPy是为了加快网络速度,它可以以3.3秒的速度运行每个食物图像。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信