This repository includes all of the necessary files for a comprehensive database of foods in the United States.
Included are both grocery store foods and restaurant foods. MySQL files, images for foods, and scripts are also included. The scripts are mainly for scraping the web for images of the foods. The web-scraping involves threaded processing to make it faster.
Here is an example website using this database. It is relatively simple, but should give a general idea of how the database can be used in a project.
- 96 Restaurants
- 193,369 food items
- 105,077 image files
- 17,619 Brands
- 991,665 Foods
- 322,401 image files
- 50,254 Foods
- 7 data types:
- SR Legacy Food
- Sample Food
- Sub Sample Food
- Foundation Food
- Agricultural Acquisition Food
- Survey FNDDS Food
- 26,028 image files
- 205,000 foods
- The discrepancy between the number of foods and the number of images is due to the fact that many foods do not have a particular image for them.
For more information on this project, here is the link to the paper on arxiv.
The paper above was also published in the 2022 International Conference on Computational Science and Computational Intelligence (CSCI).