Scraping Social Media Photos Posted in Kenya and Elsewhere to Detect and Analyze Food Types

被引:13
|
作者
Jalal, Mona [1 ]
Wang, Kaihong [1 ]
Jefferson, Sankara [2 ]
Zheng, Yi [1 ]
Nsoesie, Elaine O. [1 ]
Betke, Margrit [1 ]
机构
[1] Boston Univ, Boston, MA 02215 USA
[2] Lori Syst LTD, Nairobi, Kenya
基金
美国国家科学基金会;
关键词
Image datasets; food detection; data mining; social media; RETRIEVAL; AFRICA;
D O I
10.1145/3347448.3357170
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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 similar to 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.
引用
收藏
页码:50 / 59
页数:10
相关论文
共 8 条
  • [1] An Approach to Detect and Analyze the Impact of Biased Information Sources in the Social Media
    Paavola, Jarkko
    Jalonen, Harri
    PROCEEDINGS OF THE 14TH EUROPEAN CONFERENCE ON CYBER WARFARE AND SECURITY (ECCWS-2015), 2015, : 213 - 219
  • [2] Using social media to analyze consumers' attitude toward natural food products
    Fatemi, Hajar
    Kao, Erica
    Schillo, R. Sandra
    Li, Wanyu
    Du, Pan
    Jian-Yun, Nie
    Dube, Laurette
    BRITISH FOOD JOURNAL, 2023, 125 (09): : 3145 - 3159
  • [3] The relationship between social media use, social media types, and job performance amongst faculty in Kenya private universities
    Ndung'u, Joan
    Vertinsky, Ilan
    Onyango, Joseph
    HELIYON, 2023, 9 (12)
  • [4] A Multi-label Classification Approach to Detect Types of Traumas on Social Media
    Joshi, Sharvari
    Parikh, Aayush
    Walavalkar, Praniket
    Vekaria, Varun
    Sonawane, Pankaj
    COMMUNICATION AND INTELLIGENT SYSTEMS, VOL 1, ICCIS 2023, 2024, 967 : 67 - 81
  • [5] Mark My Words: The Design of an Innovative Methodology to Detect and Analyze Interpersonal Health Conversations in Web and Social Media
    Bouman, Martine P. A.
    Drossaert, Constance H. C.
    Pieterse, Marcel E.
    JOURNAL OF TECHNOLOGY IN HUMAN SERVICES, 2012, 30 (3-4) : 312 - 326
  • [6] Pandemic-driven changes in the nearshore non-commercial fishery in Hawai?i: catch photos posted to social media capture changes in fisher behavior
    Grabowski, Timothy
    Benedum, Michelle E.
    Curley, Andrew
    Dill-De Sa, Cole
    Shuey, Michelle
    PEERJ, 2023, 11
  • [7] Only other people post food photos on Facebook: Third-person perception of social media behavior and effects
    Pham, Giang V.
    Shancer, Matthew
    Nelson, Michelle R.
    COMPUTERS IN HUMAN BEHAVIOR, 2019, 93 : 129 - 140
  • [8] Facially Expressed Emotions and Hedonic Liking on Social Media Food Marketing Campaigns:Comparing Different Types of Products and Media Posts
    Tzafilkou, Katerina
    Panavou, Foteini Rafailia
    Economides, Anastasios A.
    2022 17TH INTERNATIONAL WORKSHOP ON SEMANTIC AND SOCIAL MEDIA ADAPTATION & PERSONALIZATION (SMAP 2022), 2022, : 23 - 28