IDEAS home Printed from https://ideas.repec.org/a/gam/jagris/v14y2024i2p252-d1332631.html
   My bibliography  Save this article

Apple Varieties Classification Using Deep Features and Machine Learning

Author

Listed:
  • Alper Taner

    (Department of Agricultural Machinery and Technologies Engineering, Faculty of Agriculture, Ondokuz Mayıs University, 55139 Samsun, Turkey
    These authors contributed equally to this work.)

  • Mahtem Teweldemedhin Mengstu

    (Department of Agricultural Engineering, Hamelmalo Agricultural College, Keren P.O. Box 397, Eritrea
    These authors contributed equally to this work.)

  • Kemal Çağatay Selvi

    (Department of Agricultural Machinery and Technologies Engineering, Faculty of Agriculture, Ondokuz Mayıs University, 55139 Samsun, Turkey)

  • Hüseyin Duran

    (Department of Agricultural Machinery and Technologies Engineering, Faculty of Agriculture, Ondokuz Mayıs University, 55139 Samsun, Turkey)

  • İbrahim Gür

    (Fruit Research Institute, 32500 Isparta, Turkey)

  • Nicoleta Ungureanu

    (Department of Biotechnical Systems, Faculty of Biotechnical Systems Engineering, National University of Science and Technology Politehnica Bucharest, 060042 Bucharest, Romania)

Abstract

Having the advantages of speed, suitability and high accuracy, computer vision has been effectively utilized as a non-destructive approach to automatically recognize and classify fruits and vegetables, to meet the increased demand for food quality-sensing devices. Primarily, this study focused on classifying apple varieties using machine learning techniques. Firstly, to discern how different convolutional neural network (CNN) architectures handle different apple varieties, transfer learning approaches, using popular seven CNN architectures (VGG16, VGG19, InceptionV3, MobileNet, Xception, ResNet150V2 and DenseNet201), were adopted, taking advantage of the pre-trained models, and it was found that DenseNet201 had the highest (97.48%) classification accuracy. Secondly, using the DenseNet201, deep features were extracted and traditional Machine Learning (ML) models: support vector machine (SVM), multi-layer perceptron (MLP), random forest classifier (RFC) and K-nearest neighbor (KNN) were trained. It was observed that the classification accuracies were significantly improved and the best classification performance of 98.28% was obtained using SVM algorithms. Finally, the effect of dimensionality reduction in classification performance, deep features, principal component analysis (PCA) and ML models was investigated. MLP achieved an accuracy of 99.77%, outperforming SVM (99.08%), RFC (99.54%) and KNN (91.63%). Based on the performance measurement values obtained, our study achieved success in classifying apple varieties. Further investigation is needed to broaden the scope and usability of this technique, for an increased number of varieties, by increasing the size of the training data and the number of apple varieties.

Suggested Citation

  • Alper Taner & Mahtem Teweldemedhin Mengstu & Kemal Çağatay Selvi & Hüseyin Duran & İbrahim Gür & Nicoleta Ungureanu, 2024. "Apple Varieties Classification Using Deep Features and Machine Learning," Agriculture, MDPI, vol. 14(2), pages 1-14, February.
  • Handle: RePEc:gam:jagris:v:14:y:2024:i:2:p:252-:d:1332631
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2077-0472/14/2/252/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2077-0472/14/2/252/
    Download Restriction: no
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jagris:v:14:y:2024:i:2:p:252-:d:1332631. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.