This project is a computer vision system designed to recognize food items and estimate leftovers in a canteen setting. The system uses a combination of techniques including Hough Circle Transform for localization, Speeded-Up Robust Features (SURF) algorithm for food recognition, and Hue, Saturation, and Value (HSV) color space for segmentation.
- Food item recognition and localization in tray images
- Segmentation of each food item
- Estimation of the quantity of leftovers
(you can use the docker file as well to install all the prerequisites) Before you begin, ensure you have met the following requirements:
- You have installed the latest version of CMake.
- You have a Windows/Linux/Mac machine with a recent version of C++ compiler.
- You have installed OpenCV.
- You have installed [openCV_Contrib] https://github.com/opencv/opencv_contrib.git
To install , follow these steps:
-
Clone the repository:
git clone https://github.com/Ata-Xan/FoodSight.git
-
Navigate to the project directory:
cd FoodSight -
Create a new build directory and navigate into it:
mkdir build && cd build
-
Run CMake to configure the project:
cmake ..
-
Compile the project:
make