Deep Learning for Delicious Data: Improving Food Classification with Fine-Tuned DenseNet-201

Authors

  • Imadud Din Department of Computer Science, Govt. Degree College Hayatabad Peshawar, Higher Education Department, KP, Pakistan.
  • Muhammad Awais Ghani Department of Computer Science, Govt. Degree College Hayatabad Peshawar, Higher Education Department, KP, Pakistan.
  • Muhammad Ali Department of Computer Science, Govt. Degree College Hayatabad Peshawar, Higher Education Department, KP, Pakistan.
  • Muhammad Saud Department of Computer Science, Govt. Degree College Hayatabad Peshawar, Higher Education Department, KP, Pakistan
  • Adil Khan Department of Computer Science, Govt. Degree College Hayatabad Peshawar, Higher Education Department, KP, Pakistan.
  • Aziz Ullah Department of Computer Science, Govt. Degree College Hayatabad Peshawar, Higher Education Department, KP, Pakistan.

DOI:

https://doi.org/10.63163/jpehss.v3i4.798

Abstract

Accurate classification of food images constitutes a critical component of advanced dietary monitoring, nutritional analysis, and innovative food management systems. Nevertheless, food recognition remains a formidable challenge due to substantial intra-class variations, inter-class similarities, inconsistent backgrounds, and diverse presentation styles. In response to these challenges, this study introduces a transfer learning-based deep learning framework utilizing the DenseNet201 architecture for comprehensive food image classification. The proposed model is trained and evaluated on the publicly accessible Food-101 dataset, comprising 101,000 food images categorized into 101 distinct classes. In this research, DenseNet-201 is fine-tuned by substituting its original classifier layers with custom fully connected layers designed for multi-class classification. Data augmentation techniques—including random rotation, zoom, shear, and horizontal flip—are applied during preprocessing to enhance model generalization and mitigate overfitting. Additionally, early stopping and dropout regularization are employed to ensure stable convergence during training. The dense connectivity mechanism of DenseNet201 facilitates efficient feature reuse. It enhances gradient flow, thereby enabling the model to learn rich hierarchical visual representations essential for distinguishing between visually similar food categories. The proposed DenseNet201-based model is comprehensively evaluated using performance metrics, including accuracy, confusion matrix, and classification report, and its performance is compared with traditional CNN-based architectures. Experimental results demonstrate a significant improvement in classification efficacy, confirming the robustness and effectiveness of the fine-tuned DenseNet201 for real-world food recognition tasks. The findings underscore the potential of the proposed framework to serve as a scalable and accurate solution for computer vision applications in smart dietary assessment, restaurant automation, and mobile health monitoring systems.

Downloads

Published

2025-11-08

How to Cite

Deep Learning for Delicious Data: Improving Food Classification with Fine-Tuned DenseNet-201. (2025). Physical Education, Health and Social Sciences, 3(4), 38-51. https://doi.org/10.63163/jpehss.v3i4.798

Most read articles by the same author(s)