Loading…

Application of Pre-Trained Deep Convolutional Neural Networks for Coffee Beans Species Detection

Coffee is an important export product of the tropical countries where it is grown. Therefore, the separation of coffee beans in the world in terms of the quality element and variety forgery is an important situation. Currently, the use of manual control methods leads to the fact that the parsing pro...

Full description

Saved in:
Bibliographic Details
Published in:Food analytical methods 2022-12, Vol.15 (12), p.3232-3243
Main Authors: Unal, Yavuz, Taspinar, Yavuz Selim, Cinar, Ilkay, Kursun, Ramazan, Koklu, Murat
Format: Article
Language:English
Subjects:
Citations: Items that this one cites
Items that cite this one
Online Access:Get full text
Tags: Add Tag
No Tags, Be the first to tag this record!
cited_by cdi_FETCH-LOGICAL-c249t-2e7720e8d7460b831fb35af56321783c36d1cbbdd74421e3b41c1d30726d66a53
cites cdi_FETCH-LOGICAL-c249t-2e7720e8d7460b831fb35af56321783c36d1cbbdd74421e3b41c1d30726d66a53
container_end_page 3243
container_issue 12
container_start_page 3232
container_title Food analytical methods
container_volume 15
creator Unal, Yavuz
Taspinar, Yavuz Selim
Cinar, Ilkay
Kursun, Ramazan
Koklu, Murat
description Coffee is an important export product of the tropical countries where it is grown. Therefore, the separation of coffee beans in the world in terms of the quality element and variety forgery is an important situation. Currently, the use of manual control methods leads to the fact that the parsing processes are inconsistent, time-consuming, and subjective. Automated systems are needed to eliminate such negative situations. The aim of this study is to classify 3 different coffee beans by using their images, through the transfer learning method by utilizing 4 different Convolutional Neural Networks-based models, which are SqueezeNet, Inception V3, VGG16, and VGG19. The dataset used in the models’ training was created specially for this study. A total of 1554 coffee bean images of Espresso, Kenya, and Starbucks Pike Place coffee types were collected with the created mechanism. Model training and model testing processes were carried out with the obtained images. In order to test the models, the cross-validation method was used. Classification success, Precision, Recall, and F-1 Score metrics were used for the detailed analysis of the models of performances. ROC curves were used for analyzing their distinctiveness. As a result of the tests, the average classification success of the models was determined as 87.3% for SqueezeNet, 81.4% for Inception V3, 78.2% for VGG16, and 72.5% for VGG19. These results demonstrate that the SqueezeNet is the most successful model. It is thought that this study may contribute to the subject of coffee beans of separation in the industry.
doi_str_mv 10.1007/s12161-022-02362-8
format article
fullrecord <record><control><sourceid>proquest_cross</sourceid><recordid>TN_cdi_proquest_journals_2732029628</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>2732029628</sourcerecordid><originalsourceid>FETCH-LOGICAL-c249t-2e7720e8d7460b831fb35af56321783c36d1cbbdd74421e3b41c1d30726d66a53</originalsourceid><addsrcrecordid>eNp9kEtLxDAUhYMoOI7-AVcB19U82qRdjuMTBhUcwV1M0xvpWJuatIr_3tSK7lxczoVzvsvlIHRIyTElRJ4EyqigCWEsDhcsybfQjBZcJIUUj9u_e0Z30V4IG0IESSmboadF1zW10X3tWuwsvvOQrL2uW6jwGUCHl659d80w-rrBNzD4b-k_nH8J2DofE9YC4FPQbcD3HZgaQmR7MCO0j3asbgIc_OgcPVycr5dXyer28nq5WCWGpUWfMJCSEcgrmQpS5pzakmfaZoIzKnNuuKioKcsq-imjwMuUGlpxIpmohNAZn6Oj6W7n3dsAoVcbN_j4c1BMckZYIVgeU2xKGe9C8GBV5-tX7T8VJWpsUk1Nqtik-m5SjRCfoBDD7TP4v9P_UF_ZhHXN</addsrcrecordid><sourcetype>Aggregation Database</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype><pqid>2732029628</pqid></control><display><type>article</type><title>Application of Pre-Trained Deep Convolutional Neural Networks for Coffee Beans Species Detection</title><source>Springer Nature</source><creator>Unal, Yavuz ; Taspinar, Yavuz Selim ; Cinar, Ilkay ; Kursun, Ramazan ; Koklu, Murat</creator><creatorcontrib>Unal, Yavuz ; Taspinar, Yavuz Selim ; Cinar, Ilkay ; Kursun, Ramazan ; Koklu, Murat</creatorcontrib><description>Coffee is an important export product of the tropical countries where it is grown. Therefore, the separation of coffee beans in the world in terms of the quality element and variety forgery is an important situation. Currently, the use of manual control methods leads to the fact that the parsing processes are inconsistent, time-consuming, and subjective. Automated systems are needed to eliminate such negative situations. The aim of this study is to classify 3 different coffee beans by using their images, through the transfer learning method by utilizing 4 different Convolutional Neural Networks-based models, which are SqueezeNet, Inception V3, VGG16, and VGG19. The dataset used in the models’ training was created specially for this study. A total of 1554 coffee bean images of Espresso, Kenya, and Starbucks Pike Place coffee types were collected with the created mechanism. Model training and model testing processes were carried out with the obtained images. In order to test the models, the cross-validation method was used. Classification success, Precision, Recall, and F-1 Score metrics were used for the detailed analysis of the models of performances. ROC curves were used for analyzing their distinctiveness. As a result of the tests, the average classification success of the models was determined as 87.3% for SqueezeNet, 81.4% for Inception V3, 78.2% for VGG16, and 72.5% for VGG19. These results demonstrate that the SqueezeNet is the most successful model. It is thought that this study may contribute to the subject of coffee beans of separation in the industry.</description><identifier>ISSN: 1936-9751</identifier><identifier>EISSN: 1936-976X</identifier><identifier>DOI: 10.1007/s12161-022-02362-8</identifier><language>eng</language><publisher>New York: Springer US</publisher><subject>Analytical Chemistry ; Artificial neural networks ; Beans ; Chemistry ; Chemistry and Materials Science ; Chemistry/Food Science ; Classification ; Coffee ; Control methods ; Food Science ; Image classification ; Manual control ; Microbiology ; Model testing ; Neural networks ; Separation ; Training ; Transfer learning</subject><ispartof>Food analytical methods, 2022-12, Vol.15 (12), p.3232-3243</ispartof><rights>The Author(s), under exclusive licence to Springer Science+Business Media, LLC, part of Springer Nature 2022. Springer Nature or its licensor holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.</rights><lds50>peer_reviewed</lds50><woscitedreferencessubscribed>false</woscitedreferencessubscribed><citedby>FETCH-LOGICAL-c249t-2e7720e8d7460b831fb35af56321783c36d1cbbdd74421e3b41c1d30726d66a53</citedby><cites>FETCH-LOGICAL-c249t-2e7720e8d7460b831fb35af56321783c36d1cbbdd74421e3b41c1d30726d66a53</cites><orcidid>0000-0002-3007-679X ; 0000-0002-7278-4241 ; 0000-0002-2737-2360 ; 0000-0003-0611-3316 ; 0000-0002-6729-1055</orcidid></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><link.rule.ids>314,780,784,27924,27925</link.rule.ids></links><search><creatorcontrib>Unal, Yavuz</creatorcontrib><creatorcontrib>Taspinar, Yavuz Selim</creatorcontrib><creatorcontrib>Cinar, Ilkay</creatorcontrib><creatorcontrib>Kursun, Ramazan</creatorcontrib><creatorcontrib>Koklu, Murat</creatorcontrib><title>Application of Pre-Trained Deep Convolutional Neural Networks for Coffee Beans Species Detection</title><title>Food analytical methods</title><addtitle>Food Anal. Methods</addtitle><description>Coffee is an important export product of the tropical countries where it is grown. Therefore, the separation of coffee beans in the world in terms of the quality element and variety forgery is an important situation. Currently, the use of manual control methods leads to the fact that the parsing processes are inconsistent, time-consuming, and subjective. Automated systems are needed to eliminate such negative situations. The aim of this study is to classify 3 different coffee beans by using their images, through the transfer learning method by utilizing 4 different Convolutional Neural Networks-based models, which are SqueezeNet, Inception V3, VGG16, and VGG19. The dataset used in the models’ training was created specially for this study. A total of 1554 coffee bean images of Espresso, Kenya, and Starbucks Pike Place coffee types were collected with the created mechanism. Model training and model testing processes were carried out with the obtained images. In order to test the models, the cross-validation method was used. Classification success, Precision, Recall, and F-1 Score metrics were used for the detailed analysis of the models of performances. ROC curves were used for analyzing their distinctiveness. As a result of the tests, the average classification success of the models was determined as 87.3% for SqueezeNet, 81.4% for Inception V3, 78.2% for VGG16, and 72.5% for VGG19. These results demonstrate that the SqueezeNet is the most successful model. It is thought that this study may contribute to the subject of coffee beans of separation in the industry.</description><subject>Analytical Chemistry</subject><subject>Artificial neural networks</subject><subject>Beans</subject><subject>Chemistry</subject><subject>Chemistry and Materials Science</subject><subject>Chemistry/Food Science</subject><subject>Classification</subject><subject>Coffee</subject><subject>Control methods</subject><subject>Food Science</subject><subject>Image classification</subject><subject>Manual control</subject><subject>Microbiology</subject><subject>Model testing</subject><subject>Neural networks</subject><subject>Separation</subject><subject>Training</subject><subject>Transfer learning</subject><issn>1936-9751</issn><issn>1936-976X</issn><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2022</creationdate><recordtype>article</recordtype><recordid>eNp9kEtLxDAUhYMoOI7-AVcB19U82qRdjuMTBhUcwV1M0xvpWJuatIr_3tSK7lxczoVzvsvlIHRIyTElRJ4EyqigCWEsDhcsybfQjBZcJIUUj9u_e0Z30V4IG0IESSmboadF1zW10X3tWuwsvvOQrL2uW6jwGUCHl659d80w-rrBNzD4b-k_nH8J2DofE9YC4FPQbcD3HZgaQmR7MCO0j3asbgIc_OgcPVycr5dXyer28nq5WCWGpUWfMJCSEcgrmQpS5pzakmfaZoIzKnNuuKioKcsq-imjwMuUGlpxIpmohNAZn6Oj6W7n3dsAoVcbN_j4c1BMckZYIVgeU2xKGe9C8GBV5-tX7T8VJWpsUk1Nqtik-m5SjRCfoBDD7TP4v9P_UF_ZhHXN</recordid><startdate>20221201</startdate><enddate>20221201</enddate><creator>Unal, Yavuz</creator><creator>Taspinar, Yavuz Selim</creator><creator>Cinar, Ilkay</creator><creator>Kursun, Ramazan</creator><creator>Koklu, Murat</creator><general>Springer US</general><general>Springer Nature B.V</general><scope>AAYXX</scope><scope>CITATION</scope><orcidid>https://orcid.org/0000-0002-3007-679X</orcidid><orcidid>https://orcid.org/0000-0002-7278-4241</orcidid><orcidid>https://orcid.org/0000-0002-2737-2360</orcidid><orcidid>https://orcid.org/0000-0003-0611-3316</orcidid><orcidid>https://orcid.org/0000-0002-6729-1055</orcidid></search><sort><creationdate>20221201</creationdate><title>Application of Pre-Trained Deep Convolutional Neural Networks for Coffee Beans Species Detection</title><author>Unal, Yavuz ; Taspinar, Yavuz Selim ; Cinar, Ilkay ; Kursun, Ramazan ; Koklu, Murat</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-c249t-2e7720e8d7460b831fb35af56321783c36d1cbbdd74421e3b41c1d30726d66a53</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2022</creationdate><topic>Analytical Chemistry</topic><topic>Artificial neural networks</topic><topic>Beans</topic><topic>Chemistry</topic><topic>Chemistry and Materials Science</topic><topic>Chemistry/Food Science</topic><topic>Classification</topic><topic>Coffee</topic><topic>Control methods</topic><topic>Food Science</topic><topic>Image classification</topic><topic>Manual control</topic><topic>Microbiology</topic><topic>Model testing</topic><topic>Neural networks</topic><topic>Separation</topic><topic>Training</topic><topic>Transfer learning</topic><toplevel>peer_reviewed</toplevel><toplevel>online_resources</toplevel><creatorcontrib>Unal, Yavuz</creatorcontrib><creatorcontrib>Taspinar, Yavuz Selim</creatorcontrib><creatorcontrib>Cinar, Ilkay</creatorcontrib><creatorcontrib>Kursun, Ramazan</creatorcontrib><creatorcontrib>Koklu, Murat</creatorcontrib><collection>CrossRef</collection><jtitle>Food analytical methods</jtitle></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext</fulltext></delivery><addata><au>Unal, Yavuz</au><au>Taspinar, Yavuz Selim</au><au>Cinar, Ilkay</au><au>Kursun, Ramazan</au><au>Koklu, Murat</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>Application of Pre-Trained Deep Convolutional Neural Networks for Coffee Beans Species Detection</atitle><jtitle>Food analytical methods</jtitle><stitle>Food Anal. Methods</stitle><date>2022-12-01</date><risdate>2022</risdate><volume>15</volume><issue>12</issue><spage>3232</spage><epage>3243</epage><pages>3232-3243</pages><issn>1936-9751</issn><eissn>1936-976X</eissn><abstract>Coffee is an important export product of the tropical countries where it is grown. Therefore, the separation of coffee beans in the world in terms of the quality element and variety forgery is an important situation. Currently, the use of manual control methods leads to the fact that the parsing processes are inconsistent, time-consuming, and subjective. Automated systems are needed to eliminate such negative situations. The aim of this study is to classify 3 different coffee beans by using their images, through the transfer learning method by utilizing 4 different Convolutional Neural Networks-based models, which are SqueezeNet, Inception V3, VGG16, and VGG19. The dataset used in the models’ training was created specially for this study. A total of 1554 coffee bean images of Espresso, Kenya, and Starbucks Pike Place coffee types were collected with the created mechanism. Model training and model testing processes were carried out with the obtained images. In order to test the models, the cross-validation method was used. Classification success, Precision, Recall, and F-1 Score metrics were used for the detailed analysis of the models of performances. ROC curves were used for analyzing their distinctiveness. As a result of the tests, the average classification success of the models was determined as 87.3% for SqueezeNet, 81.4% for Inception V3, 78.2% for VGG16, and 72.5% for VGG19. These results demonstrate that the SqueezeNet is the most successful model. It is thought that this study may contribute to the subject of coffee beans of separation in the industry.</abstract><cop>New York</cop><pub>Springer US</pub><doi>10.1007/s12161-022-02362-8</doi><tpages>12</tpages><orcidid>https://orcid.org/0000-0002-3007-679X</orcidid><orcidid>https://orcid.org/0000-0002-7278-4241</orcidid><orcidid>https://orcid.org/0000-0002-2737-2360</orcidid><orcidid>https://orcid.org/0000-0003-0611-3316</orcidid><orcidid>https://orcid.org/0000-0002-6729-1055</orcidid></addata></record>
fulltext fulltext
identifier ISSN: 1936-9751
ispartof Food analytical methods, 2022-12, Vol.15 (12), p.3232-3243
issn 1936-9751
1936-976X
language eng
recordid cdi_proquest_journals_2732029628
source Springer Nature
subjects Analytical Chemistry
Artificial neural networks
Beans
Chemistry
Chemistry and Materials Science
Chemistry/Food Science
Classification
Coffee
Control methods
Food Science
Image classification
Manual control
Microbiology
Model testing
Neural networks
Separation
Training
Transfer learning
title Application of Pre-Trained Deep Convolutional Neural Networks for Coffee Beans Species Detection
url http://sfxeu10.hosted.exlibrisgroup.com/loughborough?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-01-01T16%3A03%3A37IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-proquest_cross&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=Application%20of%20Pre-Trained%20Deep%20Convolutional%20Neural%20Networks%20for%20Coffee%20Beans%20Species%20Detection&rft.jtitle=Food%20analytical%20methods&rft.au=Unal,%20Yavuz&rft.date=2022-12-01&rft.volume=15&rft.issue=12&rft.spage=3232&rft.epage=3243&rft.pages=3232-3243&rft.issn=1936-9751&rft.eissn=1936-976X&rft_id=info:doi/10.1007/s12161-022-02362-8&rft_dat=%3Cproquest_cross%3E2732029628%3C/proquest_cross%3E%3Cgrp_id%3Ecdi_FETCH-LOGICAL-c249t-2e7720e8d7460b831fb35af56321783c36d1cbbdd74421e3b41c1d30726d66a53%3C/grp_id%3E%3Coa%3E%3C/oa%3E%3Curl%3E%3C/url%3E&rft_id=info:oai/&rft_pqid=2732029628&rft_id=info:pmid/&rfr_iscdi=true