Scraping Social Media Photos Posted in Kenya and Elsewhere to Detect and Analyze Food Types
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). First posted on arXiv 31 Aug 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 1; 2023: 0; 2024: 1; 2025: 3.
6 papers.
- 2024EMR-Merging: Tuning-Free High-Performance Model Mergingcited by 110
- 2025MASS: MoErging through Adaptive Subspace Selectioncited by 5
- 2022Leveraging Automatic Personalised Nutrition: Food Image Recognition Benchmark and Dataset based on Nutrition Taxonomycited by 4
- 2025Navigating the Accuracy-Size Trade-Off with Flexible Model Mergingcited by 2
- 2025Khana: A Comprehensive Indian Cuisine Datasetcited by 1
- 2021VinaFood21: A Novel Dataset for Evaluating Vietnamese Food Recognitioncited by 0
- 2025Khana: A Comprehensive Indian Cuisine Dataset7 Sep 2025
- 2025Navigating the Accuracy-Size Trade-Off with Flexible Model Merging29 May 2025
- 2025MASS: MoErging through Adaptive Subspace Selection6 Apr 2025
- 2024EMR-Merging: Tuning-Free High-Performance Model Merging23 May 2024
- 2022Leveraging Automatic Personalised Nutrition: Food Image Recognition Benchmark and Dataset based on Nutrition Taxonomy14 Nov 2022
- 2021VinaFood21: A Novel Dataset for Evaluating Vietnamese Food Recognition6 Aug 2021