IDEAS home Printed from https://ideas.repec.org/a/gam/jsusta/v15y2023i12p9259-d1166430.html
   My bibliography  Save this article

Apricot Stone Classification Using Image Analysis and Machine Learning

Author

Listed:
  • Ewa Ropelewska

    (Fruit and Vegetable Storage and Processing Department, The National Institute of Horticultural Research, Konstytucji 3 Maja 1/3, 96-100 Skierniewice, Poland)

  • Ahmed M. Rady

    (Food, Water, Waste Research Group, Faculty of Engineering, University of Nottingham, Nottingham NG7 2RD, UK
    Food Quality and Sensory Science, Teagasc Food Research Centre, Ashtown, D15 KN3K Dublin, Ireland)

  • Nicholas J. Watson

    (Food, Water, Waste Research Group, Faculty of Engineering, University of Nottingham, Nottingham NG7 2RD, UK)

Abstract

Apricot stones have high commercial value and can be used for manufacturing functional foods, cosmetic products, active carbon, and biodiesel. The optimal processing of the stones is dependent on the cultivar and there is a need for methods to sort among different cultivars (which are often mixed in processing facilities). This study investigates the effectiveness of two low-cost colour imaging systems coupled with supervised learning to develop classification models to determine the cultivar of different stones. Apricot stones of the cultivars ‘Bella’, ‘Early Orange’, ‘Harcot’, ‘Skierniewicka Słodka’, and ‘Taja’ were used. The RGB images were acquired using a flatbed scanner or a digital camera; and 2172 image texture features were extracted within the R , G , B ; L , a , b ; X , Y , Z ; U , and V colour coordinates. The most influential features were determined and resulted in 103 and 89 selected features for the digital camera and the flatbed scanner, respectively. Linear and nonlinear classifiers were applied including Linear Discriminant Analysis (LDA), Decision Trees (DT), k-Nearest Neighbour (kNN), Support Vector Machines (SVM), and Naive Bayes (NB). The models resulting from the flatbed scanner and using selected features achieved an accuracy of 100% via either quadratic diagonal LDA or kNN classifiers. The models developed using images from the digital camera and all or selected features had an accuracy of up to 96.77% using the SVM classifier. This study presents novel and simple-to-implement at-line (flatbed scanner) and online (digital camera) methodologies for apricot stone sorting. The developed procedure combining colour imaging and machine learning may be used for the authentication of apricot stone cultivars and quality evaluation of apricot from sustainable production.

Suggested Citation

  • Ewa Ropelewska & Ahmed M. Rady & Nicholas J. Watson, 2023. "Apricot Stone Classification Using Image Analysis and Machine Learning," Sustainability, MDPI, vol. 15(12), pages 1-14, June.
  • Handle: RePEc:gam:jsusta:v:15:y:2023:i:12:p:9259-:d:1166430
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2071-1050/15/12/9259/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2071-1050/15/12/9259/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Takaya Saito & Marc Rehmsmeier, 2015. "The Precision-Recall Plot Is More Informative than the ROC Plot When Evaluating Binary Classifiers on Imbalanced Datasets," PLOS ONE, Public Library of Science, vol. 10(3), pages 1-21, March.
    2. Neva Karatas, 2022. "Evaluation of Nutritional Content in Wild Apricot Fruits for Sustainable Apricot Production," Sustainability, MDPI, vol. 14(3), pages 1-13, January.
    3. Ewa Ropelewska & Xiang Cai & Zhan Zhang & Kadir Sabanci & Muhammet Fatih Aslan, 2022. "Benchmarking Machine Learning Approaches to Evaluate the Cultivar Differentiation of Plum ( Prunus domestica L.) Kernels," Agriculture, MDPI, vol. 12(2), pages 1-12, February.
    4. Rakhshanda Kousar & Muhammad Sohail Amjad Makhdum & Azhar Abbas & Javaria Nasir & Muhammad Asad ur Rehman Naseer, 2019. "Issues and Impacts of the Apricot Value Chain on the Upland Farmers in the Himalayan Range of Pakistan," Sustainability, MDPI, vol. 11(16), pages 1-13, August.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Christopher J Greenwood & George J Youssef & Primrose Letcher & Jacqui A Macdonald & Lauryn J Hagg & Ann Sanson & Jenn Mcintosh & Delyse M Hutchinson & John W Toumbourou & Matthew Fuller-Tyszkiewicz &, 2020. "A comparison of penalised regression methods for informing the selection of predictive markers," PLOS ONE, Public Library of Science, vol. 15(11), pages 1-14, November.
    2. Jie-Huei Wang & Cheng-Yu Liu & You-Ruei Min & Zih-Han Wu & Po-Lin Hou, 2024. "Cancer Diagnosis by Gene-Environment Interactions via Combination of SMOTE-Tomek and Overlapped Group Screening Approaches with Application to Imbalanced TCGA Clinical and Genomic Data," Mathematics, MDPI, vol. 12(14), pages 1-24, July.
    3. Le, Hong Hanh & Viviani, Jean-Laurent, 2018. "Predicting bank failure: An improvement by implementing a machine-learning approach to classical financial ratios," Research in International Business and Finance, Elsevier, vol. 44(C), pages 16-25.
    4. João Chang Junior & Fábio Binuesa & Luiz Fernando Caneo & Aida Luiza Ribeiro Turquetto & Elisandra Cristina Trevisan Calvo Arita & Aline Cristina Barbosa & Alfredo Manoel da Silva Fernandes & Evelinda, 2020. "Improving preoperative risk-of-death prediction in surgery congenital heart defects using artificial intelligence model: A pilot study," PLOS ONE, Public Library of Science, vol. 15(9), pages 1-21, September.
    5. Arthur De Sá Ferreira & Ney Meziat-Filho & Ana Paula Antunes Ferreira, 2021. "Double threshold receiver operating characteristic plot for three-modal continuous predictors," Computational Statistics, Springer, vol. 36(3), pages 2231-2245, September.
    6. Fan, Xudong & Wang, Xiaowei & Zhang, Xijin & ASCE Xiong (Bill) Yu, P.E.F., 2022. "Machine learning based water pipe failure prediction: The effects of engineering, geology, climate and socio-economic factors," Reliability Engineering and System Safety, Elsevier, vol. 219(C).
    7. Zhang, Han, 2021. "How Using Machine Learning Classification as a Variable in Regression Leads to Attenuation Bias and What to Do About It," SocArXiv 453jk, Center for Open Science.
    8. Masabho P Milali & Samson S Kiware & Nicodem J Govella & Fredros Okumu & Naveen Bansal & Serdar Bozdag & Jacques D Charlwood & Marta F Maia & Sheila B Ogoma & Floyd E Dowell & George F Corliss & Maggy, 2020. "An autoencoder and artificial neural network-based method to estimate parity status of wild mosquitoes from near-infrared spectra," PLOS ONE, Public Library of Science, vol. 15(6), pages 1-16, June.
    9. Daniel R Jeske, 2018. "Metrics Used When Evaluating the Performance of Statistical Classifiers," Biostatistics and Biometrics Open Access Journal, Juniper Publishers Inc., vol. 8(1), pages 7-9, August.
    10. Juliet Chebet Moso & Stéphane Cormier & Cyril de Runz & Hacène Fouchal & John Mwangi Wandeto, 2021. "Anomaly Detection on Data Streams for Smart Agriculture," Agriculture, MDPI, vol. 11(11), pages 1-17, November.
    11. Kajal Lahiri & Cheng Yang, 2023. "ROC and PRC Approaches to Evaluate Recession Forecasts," Journal of Business Cycle Research, Springer;Centre for International Research on Economic Tendency Surveys (CIRET), vol. 19(2), pages 119-148, September.
    12. Tzu-Hsuan Lin & Jehn-Ruey Jiang, 2021. "Credit Card Fraud Detection with Autoencoder and Probabilistic Random Forest," Mathematics, MDPI, vol. 9(21), pages 1-16, October.
    13. Robert A. Blair & Nicholas Sambanis, 2021. "Is Theory Useful for Conflict Prediction? A Response to Beger, Morgan, and Ward," Journal of Conflict Resolution, Peace Science Society (International), vol. 65(7-8), pages 1427-1453, August.
    14. Mieke Deschepper & Willem Waegeman & Dirk Vogelaers & Kristof Eeckloo, 2020. "Using structured pathology data to predict hospital-wide mortality at admission," PLOS ONE, Public Library of Science, vol. 15(6), pages 1-11, June.
    15. Alfred Krzywicki & David Muchlinski & Benjamin E. Goldsmith & Arcot Sowmya, 2022. "From academia to policy makers: a methodology for real-time forecasting of infrequent events," Journal of Computational Social Science, Springer, vol. 5(2), pages 1489-1510, November.
    16. Falco J. Bargagli-Dtoffi & Massimo Riccaboni & Armando Rungi, 2020. "Machine Learning for Zombie Hunting. Firms Failures and Financial Constraints," Working Papers 01/2020, IMT School for Advanced Studies Lucca, revised Jun 2020.
    17. Marco Due~nas & V'ictor Ortiz & Massimo Riccaboni & Francesco Serti, 2021. "Assessing the Impact of COVID-19 on Trade: a Machine Learning Counterfactual Analysis," Papers 2104.04570, arXiv.org.
    18. Jianyuan Deng & Zhibo Yang & Hehe Wang & Iwao Ojima & Dimitris Samaras & Fusheng Wang, 2023. "A systematic study of key elements underlying molecular property prediction," Nature Communications, Nature, vol. 14(1), pages 1-20, December.
    19. Kwanda Sydwell Ngwenduna & Rendani Mbuvha, 2021. "Alleviating Class Imbalance in Actuarial Applications Using Generative Adversarial Networks," Risks, MDPI, vol. 9(3), pages 1-33, March.
    20. Stéphane Crépey & Lehdili Noureddine & Nisrine Madhar & Maud Thomas, 2022. "Anomaly Detection on Financial Time Series by Principal Component Analysis and Neural Networks," Working Papers hal-03777995, HAL.

    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:jsusta:v:15:y:2023:i:12:p:9259-:d:1166430. 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.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with 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.