[Paper Review] Food Image Recognition by Using Convolutional Neural Networks (CNNs)
This paper proposes a five-layer convolutional neural network (CNN) for food image recognition using a custom dataset of 5,822 images across 10 categories. The CNN achieved 74% accuracy on raw data, which improved to over 90% with data augmentation via geometric transformations, significantly reducing overfitting and outperforming the bag-of-features with SVM baseline (56% accuracy).
Food image recognition is one of the promising applications of visual object recognition in computer vision. In this study, a small-scale dataset consisting of 5822 images of ten categories and a five-layer CNN was constructed to recognize these images. The bag-of-features (BoF) model coupled with support vector machine (SVM) was first evaluated for image classification, resulting in an overall accuracy of 56%; while the CNN model performed much better with an overall accuracy of 74%. Data augmentation techniques based on geometric transformation were applied to increase the size of training images, which achieved a significantly improved accuracy of more than 90% while preventing the overfitting issue that occurred to the CNN based on raw training data. Further improvements can be expected by collecting more images and optimizing the network architecture and hyper-parameters.
Motivation & Objective
- To develop a deep learning model for accurate food image classification using convolutional neural networks.
- To evaluate the performance of traditional methods like bag-of-features with SVM against modern CNNs on food image recognition.
- To investigate the impact of data augmentation techniques on improving CNN generalization and reducing overfitting.
- To establish a benchmark for small-scale food image recognition using deep learning.
- To identify potential improvements through dataset expansion and network architecture optimization.
Proposed method
- Constructed a small-scale food image dataset containing 5,822 images across 10 food categories.
- Designed a five-layer convolutional neural network (CNN) for end-to-end feature learning and classification.
- Implemented data augmentation using geometric transformations (e.g., rotation, scaling, flipping) to artificially expand the training set.
- Trained the CNN on both raw and augmented training data to assess generalization performance.
- Compared the CNN's performance against a bag-of-features (BoF) model combined with a support vector machine (SVM).
- Used standard evaluation metrics, including overall classification accuracy, to compare models.
Experimental results
Research questions
- RQ1How does a five-layer CNN perform in classifying food images compared to a traditional bag-of-features with SVM approach?
- RQ2To what extent does data augmentation via geometric transformations improve the accuracy and generalization of a CNN in food image recognition?
- RQ3What is the extent of overfitting in a CNN trained on a small, raw food image dataset without augmentation?
- RQ4How do architectural and hyperparameter choices affect the performance of a CNN on a limited food image dataset?
- RQ5Can improvements in accuracy be achieved through dataset expansion and model optimization beyond the current setup?
Key findings
- The CNN model achieved an overall accuracy of 74% on the raw training data, significantly outperforming the bag-of-features with SVM baseline, which reached only 56%.
- After applying data augmentation using geometric transformations, the CNN's accuracy improved to over 90%, demonstrating strong generalization and reduced overfitting.
- The performance gain from data augmentation indicates that augmenting small datasets is highly effective for improving CNN robustness in food image recognition.
- The study confirms that deep learning models like CNNs are more effective than traditional BoF-SVM pipelines for food image classification tasks.
- The results suggest that further improvements are possible through larger datasets and optimized network architectures or hyperparameters.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.