Research Article
BibTex RIS Cite

Transfer Learning for Turkish Cuisine Classification

Year 2024, , 1302 - 1309, 15.11.2024
https://doi.org/10.34248/bsengineering.1540980

Abstract

Thanks to developments in data-oriented domains like deep learning and big data, the integration of artificial intelligence with food category recognition has been a topic of interest for decades. The capacity of image classification to produce more precise outcomes in less time has made it a popular topic in computer vision. For the purpose of food categorization, three well-known CNN-based models—EfficientNetV2M, ResNet101, and VGG16—were fine-tuned in this research. Moreover, the pre-trained Vision Transformer (ViT) was used for feature extraction, followed by classification using a Random Forest (RF) algorithm. All the models were assessed on the TurkishFoods-15 dataset. It was found that the ViT and RF models were most effective in accurately capturing food images, with precision, recall, and F1-score values of 0.91, 0.86, and 0.88 respectively.

References

  • Akan T, Alp S, Bhuiyan MAN. 2023. Vision transformers and Bi-LSTM for Alzheimer's disease diagnosis from 3D MRI. The 2023 Congress in Computer Science, Computer Engineering, & Applied Computing (CSCE), August 7-10, Las Vegas, NV, US, pp: 143.
  • Alp S, Akan T, Bhuiyan MS, Disbrow EA, Conrad SA, Vanchiere JA, Kevil CG, Bhuiyan MA. 2024. Joint transformer architecture in brain 3D MRI classification: its application in Alzheimer’s disease classification. Sci Rep, 14: 8996.
  • Alp S, Şenlik R. 2023. Transfer learning approach for classification of beef meat regions with CNN. The 2023 Innovations in Intelligent Systems and Applications Conference (ASYU), August 14-16, Sivas, Turkiye, pp: 1-5.
  • Beijbom O, Joshi N, Morris D, Saponas S, Khullar S. 2015. Menu-Match: restaurant-specific food logging from images. The 2015 IEEE Winter Conference on Applications of Computer Vision, January 5-9, Waikoloa, HI, USA, pp: 844-851.
  • Bossard L, Guillaumin M, Van Gool L. 2014. Food-101 – Mining discriminative components with random forests. In: Fleet D, Pajdla T, Schiele B, Tuytelaars T (eds) Computer Vision – ECCV 2014. ECCV 2014. Lecture Notes Computer Sci, 8694: 446-461.
  • Boyd L, Nnamoko N, Lopes R. 2024. Fine-grained food image recognition: A study on optimising convolutional neural networks for improved performance. J Imaging, 10(6): 126.
  • Chai J, Zeng H, Li A, Ngai EW. 2021. Deep learning in computer vision: a critical review of emerging techniques and application scenarios. Mach Learn Appl, 6: 100134.
  • Chen J, Zhu B, Ngo CW, Chua TS, Jiang YG. 2020. A study of multi-task and region-wise deep learning for food ingredient recognition. IEEE Trans Image Process, 30: 1514-1526.
  • Dosovitskiy A, Beyer L, Kolesnikov A, Weissenborn D, Zhai X, Unterthiner T, Dehghani M, Minderer M, Heigold G, Gelly S, Uszkoreit J, Houlsby N. 2021. An image is worth 16x16 words: transformers for image recognition at scale. URL= https://arxiv.org/abs/2010.11929 (accessed date: August 31, 2024).
  • Gao X, Xiao Z, Deng Z. 2024. High accuracy food image classification via vision transformer with data augmentation and feature augmentation. J Food Eng, 365: 111833.
  • Güngör C, Baltacı F, Erdem A, Erdem E. 2017. Turkish cuisine: a benchmark dataset with Turkish meals for food recognition. The 2017 25th Signal Processing and Journal: Communications Applications Conference (SIU), May 15-17, Antalya, Türkiye, pp: 1-4.
  • He K, Zhang X, Ren S, Sun J. 2016. Deep residual learning for image recognition. In: Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), June 27-30, Las Vegas, NV, USA, pp. 770-778.
  • Kawano Y, Yanai K. 2015. Automatic expansion of a food image dataset leveraging existing categories with domain adaptation. In: Proceedings of the Computer Vision - ECCV 2014 Workshops, September 6-, Zurich, Switzerland, pp: 3–17.
  • Kayıkçı Ş, Başol Y, Dörter E. 2019. Classification of Turkish cuisine with deep learning on mobile platform. The 4th International Conference on Computer Science and Engineering (UBMK), September 19-21, Samsun, Türkiye, pp: 1-5.
  • Kiourt C, Pavlidis G, Markantonatou S. 2020. Deep learning approaches in food recognition. In: Tsihrintzis G, Jain L, editors. Machine learning paradigms. Learning and analytics in intelligent systems, vol 18. Springer, Cham, Germany, pp: 83-108.
  • Nijhawan R, Sinha G, Batra A, Kumar M, Sharma H. 2024. VTnet+ handcrafted based approach for food cuisines classification. Multimedia Tools Appl, 83(4): 10695-10715.
  • Simonyan K, Zisserman A. 2015. Very deep convolutional networks for large-scale image recognition. URL= https://arxiv.org/abs/1409.1556 (accessed date: August 31, 2024).
  • Suddul G, Seguin JFL. 2023. A comparative study of deep learning methods for food classification with images. Food Humanity, 1: 800-808.
  • Tan M, Le Q. 2019. EfficientNet: rethinking model scaling for convolutional neural networks. The 36th International Conference on Machine Learning, June 9-15, Long Beach, CA, US, pp: 6105-6114.
  • Tan M, Le Q. 2021. EfficientNetV2: smaller models and faster training. The 38th International Conference on Machine Learning, July 18-24, Virtual Conference, pp: 10096-10106.
  • Yang S, Chen M, Pomerleau D, Sukthankar R. 2010. Food recognition using statistics of pairwise local features. The 2010 IEEE Computer Society Conference on Computer Vision and Pattern Recognition, June 13-18, San Francisco, CA, US, pp: 2249-2256.
  • Zhang Y, Deng L, Zhu H, Wang W, Ren Z, Zhou Q, Lu S, Sun S, Zhu Z, Gorriz JM. 2023. Deep learning in food category recognition. Inf Fusion, 98: 101859.

Transfer Learning for Turkish Cuisine Classification

Year 2024, , 1302 - 1309, 15.11.2024
https://doi.org/10.34248/bsengineering.1540980

Abstract

Thanks to developments in data-oriented domains like deep learning and big data, the integration of artificial intelligence with food category recognition has been a topic of interest for decades. The capacity of image classification to produce more precise outcomes in less time has made it a popular topic in computer vision. For the purpose of food categorization, three well-known CNN-based models—EfficientNetV2M, ResNet101, and VGG16—were fine-tuned in this research. Moreover, the pre-trained Vision Transformer (ViT) was used for feature extraction, followed by classification using a Random Forest (RF) algorithm. All the models were assessed on the TurkishFoods-15 dataset. It was found that the ViT and RF models were most effective in accurately capturing food images, with precision, recall, and F1-score values of 0.91, 0.86, and 0.88 respectively.

References

  • Akan T, Alp S, Bhuiyan MAN. 2023. Vision transformers and Bi-LSTM for Alzheimer's disease diagnosis from 3D MRI. The 2023 Congress in Computer Science, Computer Engineering, & Applied Computing (CSCE), August 7-10, Las Vegas, NV, US, pp: 143.
  • Alp S, Akan T, Bhuiyan MS, Disbrow EA, Conrad SA, Vanchiere JA, Kevil CG, Bhuiyan MA. 2024. Joint transformer architecture in brain 3D MRI classification: its application in Alzheimer’s disease classification. Sci Rep, 14: 8996.
  • Alp S, Şenlik R. 2023. Transfer learning approach for classification of beef meat regions with CNN. The 2023 Innovations in Intelligent Systems and Applications Conference (ASYU), August 14-16, Sivas, Turkiye, pp: 1-5.
  • Beijbom O, Joshi N, Morris D, Saponas S, Khullar S. 2015. Menu-Match: restaurant-specific food logging from images. The 2015 IEEE Winter Conference on Applications of Computer Vision, January 5-9, Waikoloa, HI, USA, pp: 844-851.
  • Bossard L, Guillaumin M, Van Gool L. 2014. Food-101 – Mining discriminative components with random forests. In: Fleet D, Pajdla T, Schiele B, Tuytelaars T (eds) Computer Vision – ECCV 2014. ECCV 2014. Lecture Notes Computer Sci, 8694: 446-461.
  • Boyd L, Nnamoko N, Lopes R. 2024. Fine-grained food image recognition: A study on optimising convolutional neural networks for improved performance. J Imaging, 10(6): 126.
  • Chai J, Zeng H, Li A, Ngai EW. 2021. Deep learning in computer vision: a critical review of emerging techniques and application scenarios. Mach Learn Appl, 6: 100134.
  • Chen J, Zhu B, Ngo CW, Chua TS, Jiang YG. 2020. A study of multi-task and region-wise deep learning for food ingredient recognition. IEEE Trans Image Process, 30: 1514-1526.
  • Dosovitskiy A, Beyer L, Kolesnikov A, Weissenborn D, Zhai X, Unterthiner T, Dehghani M, Minderer M, Heigold G, Gelly S, Uszkoreit J, Houlsby N. 2021. An image is worth 16x16 words: transformers for image recognition at scale. URL= https://arxiv.org/abs/2010.11929 (accessed date: August 31, 2024).
  • Gao X, Xiao Z, Deng Z. 2024. High accuracy food image classification via vision transformer with data augmentation and feature augmentation. J Food Eng, 365: 111833.
  • Güngör C, Baltacı F, Erdem A, Erdem E. 2017. Turkish cuisine: a benchmark dataset with Turkish meals for food recognition. The 2017 25th Signal Processing and Journal: Communications Applications Conference (SIU), May 15-17, Antalya, Türkiye, pp: 1-4.
  • He K, Zhang X, Ren S, Sun J. 2016. Deep residual learning for image recognition. In: Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), June 27-30, Las Vegas, NV, USA, pp. 770-778.
  • Kawano Y, Yanai K. 2015. Automatic expansion of a food image dataset leveraging existing categories with domain adaptation. In: Proceedings of the Computer Vision - ECCV 2014 Workshops, September 6-, Zurich, Switzerland, pp: 3–17.
  • Kayıkçı Ş, Başol Y, Dörter E. 2019. Classification of Turkish cuisine with deep learning on mobile platform. The 4th International Conference on Computer Science and Engineering (UBMK), September 19-21, Samsun, Türkiye, pp: 1-5.
  • Kiourt C, Pavlidis G, Markantonatou S. 2020. Deep learning approaches in food recognition. In: Tsihrintzis G, Jain L, editors. Machine learning paradigms. Learning and analytics in intelligent systems, vol 18. Springer, Cham, Germany, pp: 83-108.
  • Nijhawan R, Sinha G, Batra A, Kumar M, Sharma H. 2024. VTnet+ handcrafted based approach for food cuisines classification. Multimedia Tools Appl, 83(4): 10695-10715.
  • Simonyan K, Zisserman A. 2015. Very deep convolutional networks for large-scale image recognition. URL= https://arxiv.org/abs/1409.1556 (accessed date: August 31, 2024).
  • Suddul G, Seguin JFL. 2023. A comparative study of deep learning methods for food classification with images. Food Humanity, 1: 800-808.
  • Tan M, Le Q. 2019. EfficientNet: rethinking model scaling for convolutional neural networks. The 36th International Conference on Machine Learning, June 9-15, Long Beach, CA, US, pp: 6105-6114.
  • Tan M, Le Q. 2021. EfficientNetV2: smaller models and faster training. The 38th International Conference on Machine Learning, July 18-24, Virtual Conference, pp: 10096-10106.
  • Yang S, Chen M, Pomerleau D, Sukthankar R. 2010. Food recognition using statistics of pairwise local features. The 2010 IEEE Computer Society Conference on Computer Vision and Pattern Recognition, June 13-18, San Francisco, CA, US, pp: 2249-2256.
  • Zhang Y, Deng L, Zhu H, Wang W, Ren Z, Zhou Q, Lu S, Sun S, Zhu Z, Gorriz JM. 2023. Deep learning in food category recognition. Inf Fusion, 98: 101859.
There are 22 citations in total.

Details

Primary Language English
Subjects Signal Processing
Journal Section Research Articles
Authors

Sait Alp 0000-0003-2462-6166

Publication Date November 15, 2024
Submission Date August 30, 2024
Acceptance Date October 28, 2024
Published in Issue Year 2024

Cite

APA Alp, S. (2024). Transfer Learning for Turkish Cuisine Classification. Black Sea Journal of Engineering and Science, 7(6), 1302-1309. https://doi.org/10.34248/bsengineering.1540980
AMA Alp S. Transfer Learning for Turkish Cuisine Classification. BSJ Eng. Sci. November 2024;7(6):1302-1309. doi:10.34248/bsengineering.1540980
Chicago Alp, Sait. “Transfer Learning for Turkish Cuisine Classification”. Black Sea Journal of Engineering and Science 7, no. 6 (November 2024): 1302-9. https://doi.org/10.34248/bsengineering.1540980.
EndNote Alp S (November 1, 2024) Transfer Learning for Turkish Cuisine Classification. Black Sea Journal of Engineering and Science 7 6 1302–1309.
IEEE S. Alp, “Transfer Learning for Turkish Cuisine Classification”, BSJ Eng. Sci., vol. 7, no. 6, pp. 1302–1309, 2024, doi: 10.34248/bsengineering.1540980.
ISNAD Alp, Sait. “Transfer Learning for Turkish Cuisine Classification”. Black Sea Journal of Engineering and Science 7/6 (November 2024), 1302-1309. https://doi.org/10.34248/bsengineering.1540980.
JAMA Alp S. Transfer Learning for Turkish Cuisine Classification. BSJ Eng. Sci. 2024;7:1302–1309.
MLA Alp, Sait. “Transfer Learning for Turkish Cuisine Classification”. Black Sea Journal of Engineering and Science, vol. 7, no. 6, 2024, pp. 1302-9, doi:10.34248/bsengineering.1540980.
Vancouver Alp S. Transfer Learning for Turkish Cuisine Classification. BSJ Eng. Sci. 2024;7(6):1302-9.

                                                24890