收集肯尼亚和其他地方发布的社交媒体照片,以检测和分析食物类型
Scraping Social Media Photos Posted in Kenya and Elsewhere to Detect and Analyze Food Types
摘要:
监测人口一级的饮食变化可能有助于教育和实施改善健康的干预措施。研究表明,来自社交媒体的数据可以用于监测饮食行为。我们提出了一个scrape-by-location的方法来创建食物图像数据集从Instagram的帖子。我们使用它在2019年3月的20天内收集了356万张图像。我们还提出了一种按关键字抓取的方法,并用它来抓取38种肯尼亚食物类型的约30,000张图像及其标题。我们分别发布了104,000和8,174个图像/字幕对的两个数据集。使用第一个数据集Kenya 104 K,我们训练肯尼亚食品分类器KenyanFC,以区分肯尼亚食品和在肯尼亚发布的非食品图像。我们使用第二个数据集KenyanFood 13来训练分类器KenyanFTR,即Kenyan Food Type Recognizer的缩写,以识别肯尼亚的13种流行食物类型。KenyanFTR是一个多模态深度神经网络,可以使用图像及其相应的标题识别13种肯尼亚食物。实验表明,KenyanFC在10,400个测试的Instagram图像中的平均前1准确率为99%,KenyanFTR在8,174个测试数据点中的平均前1准确率为81%。消融研究表明,13种食物中有3种特别难以仅基于图像内容进行分类,并且将标题分析添加到图像分析中,产生的分类器比仅依赖于图像的分类器准确率高9%。我们的食物趋势分析显示,蛋糕和烤肉是2019年3月在肯尼亚Instagram上最受欢迎的食物。
英文摘要:
Monitoring population-level changes in diet could be useful for education and for implementing interventions to improve health. Research has shown that data from social media sources can be used for monitoring dietary behavior. We propose a scrape-by-location methodology to create food image datasets from Instagram posts. We used it to collect 3.56 million images over a period of 20 days in March 2019. We also propose a scrape-by-keywords methodology and used it to scrape ~30,000 images and their captions of 38 Kenyan food types. We publish two datasets of 104,000 and 8,174 image/caption pairs, respectively. With the first dataset, Kenya104K, we train a Kenyan Food Classifier, called KenyanFC, to distinguish Kenyan food from non-food images posted in Kenya. We used the second dataset, KenyanFood13, to train a classifier KenyanFTR, short for Kenyan Food Type Recognizer, to recognize 13 popular food types in Kenya. The KenyanFTR is a multimodal deep neural network that can identify 13 types of Kenyan foods using both images and their corresponding captions. Experiments show that the average top-1 accuracy of KenyanFC is 99% over 10,400 tested Instagram images and of KenyanFTR is 81% over 8,174 tested data points. Ablation studies show that three of the 13 food types are particularly difficult to categorize based on image content only and that adding analysis of captions to the image analysis yields a classifier that is 9 percent points more accurate than a classifier that relies only on images. Our food trend analysis revealed that cakes and roasted meats were the most popular foods in photographs on Instagram in Kenya in March 2019.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。