Recognition of food images based on transfer learning and ensemble learning

The recognition of food images is of great significance for nutrition monitoring, food retrieval and food recommendation. However, the accuracy of recognition had not been high enough due to the complex background of food images and the characteristics of small inter-class differences and large intr...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Veröffentlicht in:PloS one 2024-01, Vol.19 (1), p.e0296789-e0296789
Hauptverfasser: Bu, Le, Hu, Caiping, Zhang, Xiuliang
Format: Artikel
Sprache:eng
Schlagworte:
Online-Zugang:Volltext
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
container_end_page e0296789
container_issue 1
container_start_page e0296789
container_title PloS one
container_volume 19
creator Bu, Le
Hu, Caiping
Zhang, Xiuliang
description The recognition of food images is of great significance for nutrition monitoring, food retrieval and food recommendation. However, the accuracy of recognition had not been high enough due to the complex background of food images and the characteristics of small inter-class differences and large intra-class differences. To solve these problems, this paper proposed a food image recognition method based on transfer learning and ensemble learning. Firstly, generic image features were extracted by using the convolutional neural network models (VGG19, ResNet50, MobileNet V2, AlexNet) pre-trained on the ImageNet dataset. Secondly, the 4 pre-trained models were transferred to the food image dataset for model fine-tuning. Finally, different basic learner combination strategies were adopted to establish the ensemble model and classify feature information. In this paper, several kinds of experiments were performed to compare the results of food image recognition between single models and ensemble models on food-11 dataset. The experimental results demonstrated that the accuracy of the ensemble model was the highest, reaching 96.88%, which was superior to any base learner. Therefore, the convolutional neural network model based on transfer learning and ensemble learning has strong learning ability and generalization ability, and it is feasible and practical to apply the method to food image recognition.
doi_str_mv 10.1371/journal.pone.0296789
format Article
fullrecord <record><control><sourceid>gale_plos_</sourceid><recordid>TN_cdi_plos_journals_3069213400</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><galeid>A779822113</galeid><doaj_id>oai_doaj_org_article_91442fe285b74034a64d8539791ffc15</doaj_id><sourcerecordid>A779822113</sourcerecordid><originalsourceid>FETCH-LOGICAL-c586t-6452ea72f9a79d7d6e26274b79d5cfe2a3efc2b65ddbfdf1718734c91a3430a33</originalsourceid><addsrcrecordid>eNqNkl1rFDEUhgdRbK3-A9EBQfRi13xnclmKH4uFQv24DZnkZDrLbLJNZkD_vVl3unSlF5KLJIfnnJPz5q2qlxgtMZX4wzpOKZhhuY0BlogoIRv1qDrFipKFIIg-vnc-qZ7lvEaI00aIp9UJbQjDhLPT6us12NiFfuxjqKOvfYyu7jemg1y3JoOrS3xMJmQPqR7ApNCHrjbB1RAybNoBDtHn1RNvhgwv5v2s-vHp4_eLL4vLq8-ri_PLheWNGBeCcQJGEq-MVE46AUQQydpy4dYDMRS8Ja3gzrXeeSxxIymzChvKKDKUnlWv93W3Q8x61iFrioQimDKECrHaEy6atd6mMlD6raPp9d9ATJ02aeztAFphxkjp2vBWMkSZEcw1nCqpsPcW81Lr3dwtxdsJ8qg3fbYwDCZAnLImCkvOKSWioG_-QR9-3Ex1pvTvg49FX7srqs-lVA0hGO-GXD5AleVg09vy574v8aOE90cJhRnh19iZKWe9-nb9_-zVz2P27T32Bsww3uQ4TDvH5GOQ7UGbYs4J_EF4jPTOsndq6J1l9WzZkvZqFm1qN-AOSXcepX8A_0Pjag</addsrcrecordid><sourcetype>Open Website</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype><pqid>3069213400</pqid></control><display><type>article</type><title>Recognition of food images based on transfer learning and ensemble learning</title><source>MEDLINE</source><source>DOAJ Directory of Open Access Journals</source><source>Public Library of Science (PLoS) Journals Open Access</source><source>EZB-FREE-00999 freely available EZB journals</source><source>PubMed Central</source><source>Free Full-Text Journals in Chemistry</source><creator>Bu, Le ; Hu, Caiping ; Zhang, Xiuliang</creator><contributor>Ali, Nouman</contributor><creatorcontrib>Bu, Le ; Hu, Caiping ; Zhang, Xiuliang ; Ali, Nouman</creatorcontrib><description>The recognition of food images is of great significance for nutrition monitoring, food retrieval and food recommendation. However, the accuracy of recognition had not been high enough due to the complex background of food images and the characteristics of small inter-class differences and large intra-class differences. To solve these problems, this paper proposed a food image recognition method based on transfer learning and ensemble learning. Firstly, generic image features were extracted by using the convolutional neural network models (VGG19, ResNet50, MobileNet V2, AlexNet) pre-trained on the ImageNet dataset. Secondly, the 4 pre-trained models were transferred to the food image dataset for model fine-tuning. Finally, different basic learner combination strategies were adopted to establish the ensemble model and classify feature information. In this paper, several kinds of experiments were performed to compare the results of food image recognition between single models and ensemble models on food-11 dataset. The experimental results demonstrated that the accuracy of the ensemble model was the highest, reaching 96.88%, which was superior to any base learner. Therefore, the convolutional neural network model based on transfer learning and ensemble learning has strong learning ability and generalization ability, and it is feasible and practical to apply the method to food image recognition.</description><identifier>ISSN: 1932-6203</identifier><identifier>EISSN: 1932-6203</identifier><identifier>DOI: 10.1371/journal.pone.0296789</identifier><identifier>PMID: 38241254</identifier><language>eng</language><publisher>United States: Public Library of Science</publisher><subject>Accuracy ; Analysis ; Artificial neural networks ; Classification ; Datasets ; Deep learning ; Ensemble learning ; Food ; Food habits ; Health aspects ; Knowledge transfer ; Machine Learning ; Methods ; Neural networks ; Neural Networks, Computer ; Nutrition monitoring ; Nutrition research ; Transfer learning</subject><ispartof>PloS one, 2024-01, Vol.19 (1), p.e0296789-e0296789</ispartof><rights>Copyright: © 2024 Bu et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.</rights><rights>COPYRIGHT 2024 Public Library of Science</rights><rights>2024 Bu et al. This is an open access article distributed under the terms of the Creative Commons Attribution License: http://creativecommons.org/licenses/by/4.0/ (the “License”), which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.</rights><rights>2024 Bu et al. This is an open access article distributed under the terms of the Creative Commons Attribution License: http://creativecommons.org/licenses/by/4.0/ (the “License”), which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.</rights><lds50>peer_reviewed</lds50><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed><cites>FETCH-LOGICAL-c586t-6452ea72f9a79d7d6e26274b79d5cfe2a3efc2b65ddbfdf1718734c91a3430a33</cites><orcidid>0009-0005-6633-3849</orcidid></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><linktopdf>$$Uhttps://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0296789&amp;type=printable$$EPDF$$P50$$Gplos$$Hfree_for_read</linktopdf><linktohtml>$$Uhttps://journals.plos.org/plosone/article?id=10.1371/journal.pone.0296789$$EHTML$$P50$$Gplos$$Hfree_for_read</linktohtml><link.rule.ids>314,780,784,864,2102,2928,23866,27924,27925,79600,79601</link.rule.ids><backlink>$$Uhttps://www.ncbi.nlm.nih.gov/pubmed/38241254$$D View this record in MEDLINE/PubMed$$Hfree_for_read</backlink></links><search><contributor>Ali, Nouman</contributor><creatorcontrib>Bu, Le</creatorcontrib><creatorcontrib>Hu, Caiping</creatorcontrib><creatorcontrib>Zhang, Xiuliang</creatorcontrib><title>Recognition of food images based on transfer learning and ensemble learning</title><title>PloS one</title><addtitle>PLoS One</addtitle><description>The recognition of food images is of great significance for nutrition monitoring, food retrieval and food recommendation. However, the accuracy of recognition had not been high enough due to the complex background of food images and the characteristics of small inter-class differences and large intra-class differences. To solve these problems, this paper proposed a food image recognition method based on transfer learning and ensemble learning. Firstly, generic image features were extracted by using the convolutional neural network models (VGG19, ResNet50, MobileNet V2, AlexNet) pre-trained on the ImageNet dataset. Secondly, the 4 pre-trained models were transferred to the food image dataset for model fine-tuning. Finally, different basic learner combination strategies were adopted to establish the ensemble model and classify feature information. In this paper, several kinds of experiments were performed to compare the results of food image recognition between single models and ensemble models on food-11 dataset. The experimental results demonstrated that the accuracy of the ensemble model was the highest, reaching 96.88%, which was superior to any base learner. Therefore, the convolutional neural network model based on transfer learning and ensemble learning has strong learning ability and generalization ability, and it is feasible and practical to apply the method to food image recognition.</description><subject>Accuracy</subject><subject>Analysis</subject><subject>Artificial neural networks</subject><subject>Classification</subject><subject>Datasets</subject><subject>Deep learning</subject><subject>Ensemble learning</subject><subject>Food</subject><subject>Food habits</subject><subject>Health aspects</subject><subject>Knowledge transfer</subject><subject>Machine Learning</subject><subject>Methods</subject><subject>Neural networks</subject><subject>Neural Networks, Computer</subject><subject>Nutrition monitoring</subject><subject>Nutrition research</subject><subject>Transfer learning</subject><issn>1932-6203</issn><issn>1932-6203</issn><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2024</creationdate><recordtype>article</recordtype><sourceid>EIF</sourceid><sourceid>ABUWG</sourceid><sourceid>AFKRA</sourceid><sourceid>AZQEC</sourceid><sourceid>BENPR</sourceid><sourceid>CCPQU</sourceid><sourceid>DWQXO</sourceid><sourceid>GNUQQ</sourceid><sourceid>DOA</sourceid><recordid>eNqNkl1rFDEUhgdRbK3-A9EBQfRi13xnclmKH4uFQv24DZnkZDrLbLJNZkD_vVl3unSlF5KLJIfnnJPz5q2qlxgtMZX4wzpOKZhhuY0BlogoIRv1qDrFipKFIIg-vnc-qZ7lvEaI00aIp9UJbQjDhLPT6us12NiFfuxjqKOvfYyu7jemg1y3JoOrS3xMJmQPqR7ApNCHrjbB1RAybNoBDtHn1RNvhgwv5v2s-vHp4_eLL4vLq8-ri_PLheWNGBeCcQJGEq-MVE46AUQQydpy4dYDMRS8Ja3gzrXeeSxxIymzChvKKDKUnlWv93W3Q8x61iFrioQimDKECrHaEy6atd6mMlD6raPp9d9ATJ02aeztAFphxkjp2vBWMkSZEcw1nCqpsPcW81Lr3dwtxdsJ8qg3fbYwDCZAnLImCkvOKSWioG_-QR9-3Ex1pvTvg49FX7srqs-lVA0hGO-GXD5AleVg09vy574v8aOE90cJhRnh19iZKWe9-nb9_-zVz2P27T32Bsww3uQ4TDvH5GOQ7UGbYs4J_EF4jPTOsndq6J1l9WzZkvZqFm1qN-AOSXcepX8A_0Pjag</recordid><startdate>20240119</startdate><enddate>20240119</enddate><creator>Bu, Le</creator><creator>Hu, Caiping</creator><creator>Zhang, Xiuliang</creator><general>Public Library of Science</general><general>Public Library of Science (PLoS)</general><scope>CGR</scope><scope>CUY</scope><scope>CVF</scope><scope>ECM</scope><scope>EIF</scope><scope>NPM</scope><scope>AAYXX</scope><scope>CITATION</scope><scope>IOV</scope><scope>ISR</scope><scope>3V.</scope><scope>7QG</scope><scope>7QL</scope><scope>7QO</scope><scope>7RV</scope><scope>7SN</scope><scope>7SS</scope><scope>7T5</scope><scope>7TG</scope><scope>7TM</scope><scope>7U9</scope><scope>7X2</scope><scope>7X7</scope><scope>7XB</scope><scope>88E</scope><scope>8AO</scope><scope>8C1</scope><scope>8FD</scope><scope>8FE</scope><scope>8FG</scope><scope>8FH</scope><scope>8FI</scope><scope>8FJ</scope><scope>8FK</scope><scope>ABJCF</scope><scope>ABUWG</scope><scope>AFKRA</scope><scope>ARAPS</scope><scope>ATCPS</scope><scope>AZQEC</scope><scope>BBNVY</scope><scope>BENPR</scope><scope>BGLVJ</scope><scope>BHPHI</scope><scope>C1K</scope><scope>CCPQU</scope><scope>D1I</scope><scope>DWQXO</scope><scope>FR3</scope><scope>FYUFA</scope><scope>GHDGH</scope><scope>GNUQQ</scope><scope>H94</scope><scope>HCIFZ</scope><scope>K9.</scope><scope>KB.</scope><scope>KB0</scope><scope>KL.</scope><scope>L6V</scope><scope>LK8</scope><scope>M0K</scope><scope>M0S</scope><scope>M1P</scope><scope>M7N</scope><scope>M7P</scope><scope>M7S</scope><scope>NAPCQ</scope><scope>P5Z</scope><scope>P62</scope><scope>P64</scope><scope>PATMY</scope><scope>PDBOC</scope><scope>PIMPY</scope><scope>PQEST</scope><scope>PQQKQ</scope><scope>PQUKI</scope><scope>PRINS</scope><scope>PTHSS</scope><scope>PYCSY</scope><scope>RC3</scope><scope>7X8</scope><scope>DOA</scope><orcidid>https://orcid.org/0009-0005-6633-3849</orcidid></search><sort><creationdate>20240119</creationdate><title>Recognition of food images based on transfer learning and ensemble learning</title><author>Bu, Le ; Hu, Caiping ; Zhang, Xiuliang</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-c586t-6452ea72f9a79d7d6e26274b79d5cfe2a3efc2b65ddbfdf1718734c91a3430a33</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2024</creationdate><topic>Accuracy</topic><topic>Analysis</topic><topic>Artificial neural networks</topic><topic>Classification</topic><topic>Datasets</topic><topic>Deep learning</topic><topic>Ensemble learning</topic><topic>Food</topic><topic>Food habits</topic><topic>Health aspects</topic><topic>Knowledge transfer</topic><topic>Machine Learning</topic><topic>Methods</topic><topic>Neural networks</topic><topic>Neural Networks, Computer</topic><topic>Nutrition monitoring</topic><topic>Nutrition research</topic><topic>Transfer learning</topic><toplevel>peer_reviewed</toplevel><toplevel>online_resources</toplevel><creatorcontrib>Bu, Le</creatorcontrib><creatorcontrib>Hu, Caiping</creatorcontrib><creatorcontrib>Zhang, Xiuliang</creatorcontrib><collection>Medline</collection><collection>MEDLINE</collection><collection>MEDLINE (Ovid)</collection><collection>MEDLINE</collection><collection>MEDLINE</collection><collection>PubMed</collection><collection>CrossRef</collection><collection>Gale In Context: Opposing Viewpoints</collection><collection>Gale In Context: Science</collection><collection>ProQuest Central (Corporate)</collection><collection>Animal Behavior Abstracts</collection><collection>Bacteriology Abstracts (Microbiology B)</collection><collection>Biotechnology Research Abstracts</collection><collection>Nursing &amp; Allied Health Database</collection><collection>Ecology Abstracts</collection><collection>Entomology Abstracts (Full archive)</collection><collection>Immunology Abstracts</collection><collection>Meteorological &amp; Geoastrophysical Abstracts</collection><collection>Nucleic Acids Abstracts</collection><collection>Virology and AIDS Abstracts</collection><collection>Agricultural Science Collection</collection><collection>Health &amp; Medical Collection</collection><collection>ProQuest Central (purchase pre-March 2016)</collection><collection>Medical Database (Alumni Edition)</collection><collection>ProQuest Pharma Collection</collection><collection>Public Health Database</collection><collection>Technology Research Database</collection><collection>ProQuest SciTech Collection</collection><collection>ProQuest Technology Collection</collection><collection>ProQuest Natural Science Collection</collection><collection>Hospital Premium Collection</collection><collection>Hospital Premium Collection (Alumni Edition)</collection><collection>ProQuest Central (Alumni) (purchase pre-March 2016)</collection><collection>Materials Science &amp; Engineering Collection</collection><collection>ProQuest Central (Alumni Edition)</collection><collection>ProQuest Central UK/Ireland</collection><collection>Advanced Technologies &amp; Aerospace Collection</collection><collection>Agricultural &amp; Environmental Science Collection</collection><collection>ProQuest Central Essentials</collection><collection>Biological Science Collection</collection><collection>ProQuest Central</collection><collection>Technology Collection</collection><collection>Natural Science Collection</collection><collection>Environmental Sciences and Pollution Management</collection><collection>ProQuest One Community College</collection><collection>ProQuest Materials Science Collection</collection><collection>ProQuest Central Korea</collection><collection>Engineering Research Database</collection><collection>Health Research Premium Collection</collection><collection>Health Research Premium Collection (Alumni)</collection><collection>ProQuest Central Student</collection><collection>AIDS and Cancer Research Abstracts</collection><collection>SciTech Premium Collection</collection><collection>ProQuest Health &amp; Medical Complete (Alumni)</collection><collection>Materials Science Database</collection><collection>Nursing &amp; Allied Health Database (Alumni Edition)</collection><collection>Meteorological &amp; Geoastrophysical Abstracts - Academic</collection><collection>ProQuest Engineering Collection</collection><collection>ProQuest Biological Science Collection</collection><collection>Agricultural Science Database</collection><collection>Health &amp; Medical Collection (Alumni Edition)</collection><collection>Medical Database</collection><collection>Algology Mycology and Protozoology Abstracts (Microbiology C)</collection><collection>Biological Science Database</collection><collection>Engineering Database</collection><collection>Nursing &amp; Allied Health Premium</collection><collection>Advanced Technologies &amp; Aerospace Database</collection><collection>ProQuest Advanced Technologies &amp; Aerospace Collection</collection><collection>Biotechnology and BioEngineering Abstracts</collection><collection>Environmental Science Database</collection><collection>Materials Science Collection</collection><collection>Publicly Available Content Database</collection><collection>ProQuest One Academic Eastern Edition (DO NOT USE)</collection><collection>ProQuest One Academic</collection><collection>ProQuest One Academic UKI Edition</collection><collection>ProQuest Central China</collection><collection>Engineering Collection</collection><collection>Environmental Science Collection</collection><collection>Genetics Abstracts</collection><collection>MEDLINE - Academic</collection><collection>DOAJ Directory of Open Access Journals</collection><jtitle>PloS one</jtitle></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext</fulltext></delivery><addata><au>Bu, Le</au><au>Hu, Caiping</au><au>Zhang, Xiuliang</au><au>Ali, Nouman</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>Recognition of food images based on transfer learning and ensemble learning</atitle><jtitle>PloS one</jtitle><addtitle>PLoS One</addtitle><date>2024-01-19</date><risdate>2024</risdate><volume>19</volume><issue>1</issue><spage>e0296789</spage><epage>e0296789</epage><pages>e0296789-e0296789</pages><issn>1932-6203</issn><eissn>1932-6203</eissn><abstract>The recognition of food images is of great significance for nutrition monitoring, food retrieval and food recommendation. However, the accuracy of recognition had not been high enough due to the complex background of food images and the characteristics of small inter-class differences and large intra-class differences. To solve these problems, this paper proposed a food image recognition method based on transfer learning and ensemble learning. Firstly, generic image features were extracted by using the convolutional neural network models (VGG19, ResNet50, MobileNet V2, AlexNet) pre-trained on the ImageNet dataset. Secondly, the 4 pre-trained models were transferred to the food image dataset for model fine-tuning. Finally, different basic learner combination strategies were adopted to establish the ensemble model and classify feature information. In this paper, several kinds of experiments were performed to compare the results of food image recognition between single models and ensemble models on food-11 dataset. The experimental results demonstrated that the accuracy of the ensemble model was the highest, reaching 96.88%, which was superior to any base learner. Therefore, the convolutional neural network model based on transfer learning and ensemble learning has strong learning ability and generalization ability, and it is feasible and practical to apply the method to food image recognition.</abstract><cop>United States</cop><pub>Public Library of Science</pub><pmid>38241254</pmid><doi>10.1371/journal.pone.0296789</doi><tpages>e0296789</tpages><orcidid>https://orcid.org/0009-0005-6633-3849</orcidid><oa>free_for_read</oa></addata></record>
fulltext fulltext
identifier ISSN: 1932-6203
ispartof PloS one, 2024-01, Vol.19 (1), p.e0296789-e0296789
issn 1932-6203
1932-6203
language eng
recordid cdi_plos_journals_3069213400
source MEDLINE; DOAJ Directory of Open Access Journals; Public Library of Science (PLoS) Journals Open Access; EZB-FREE-00999 freely available EZB journals; PubMed Central; Free Full-Text Journals in Chemistry
subjects Accuracy
Analysis
Artificial neural networks
Classification
Datasets
Deep learning
Ensemble learning
Food
Food habits
Health aspects
Knowledge transfer
Machine Learning
Methods
Neural networks
Neural Networks, Computer
Nutrition monitoring
Nutrition research
Transfer learning
title Recognition of food images based on transfer learning and ensemble learning
url https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-01-02T01%3A34%3A51IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-gale_plos_&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=Recognition%20of%20food%20images%20based%20on%20transfer%20learning%20and%20ensemble%20learning&rft.jtitle=PloS%20one&rft.au=Bu,%20Le&rft.date=2024-01-19&rft.volume=19&rft.issue=1&rft.spage=e0296789&rft.epage=e0296789&rft.pages=e0296789-e0296789&rft.issn=1932-6203&rft.eissn=1932-6203&rft_id=info:doi/10.1371/journal.pone.0296789&rft_dat=%3Cgale_plos_%3EA779822113%3C/gale_plos_%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_pqid=3069213400&rft_id=info:pmid/38241254&rft_galeid=A779822113&rft_doaj_id=oai_doaj_org_article_91442fe285b74034a64d8539791ffc15&rfr_iscdi=true