{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,23]],"date-time":"2026-08-23T16:28:15Z","timestamp":1787502495204,"version":"build-2736575974"},"reference-count":47,"publisher":"MDPI AG","issue":"21","license":[{"start":{"date-parts":[[2022,10,26]],"date-time":"2022-10-26T00:00:00Z","timestamp":1666742400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"the Ministry of Education","award":["2019R1F1A105775713"],"award-info":[{"award-number":["2019R1F1A105775713"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>Classification of fruit and vegetable freshness plays an essential role in the food industry. Freshness is a fundamental measure of fruit and vegetable quality that directly affects the physical health and purchasing motivation of consumers. In addition, it is a significant determinant of market price; thus, it is imperative to study the freshness of fruits and vegetables. Owing to similarities in color, texture, and external environmental changes, such as shadows, lighting, and complex backgrounds, the automatic recognition and classification of fruits and vegetables using machine vision is challenging. This study presents a deep-learning system for multiclass fruit and vegetable categorization based on an improved YOLOv4 model that first recognizes the object type in an image before classifying it into one of two categories: fresh or rotten. The proposed system involves the development of an optimized YOLOv4 model, creating an image dataset of fruits and vegetables, data argumentation, and performance evaluation. Furthermore, the backbone of the proposed model was enhanced using the Mish activation function for more precise and rapid detection. Compared with the previous YOLO series, a complete experimental evaluation of the proposed method can obtain a higher average precision than the original YOLOv4 and YOLOv3 with 50.4%, 49.3%, and 41.7%, respectively. The proposed system has outstanding prospects for the construction of an autonomous and real-time fruit and vegetable classification system for the food industry and marketplaces and can also help visually impaired people to choose fresh food and avoid food poisoning.<\/jats:p>","DOI":"10.3390\/s22218192","type":"journal-article","created":{"date-parts":[[2022,10,26]],"date-time":"2022-10-26T07:17:48Z","timestamp":1666768668000},"page":"8192","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":130,"title":["Improved Classification Approach for Fruits and Vegetables Freshness Based on Deep Learning"],"prefix":"10.3390","volume":"22","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-1424-0799","authenticated-orcid":false,"given":"Mukhriddin","family":"Mukhiddinov","sequence":"first","affiliation":[{"name":"Department of Computer Engineering, Gachon University, Seongnam 13120, Korea"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Azamjon","family":"Muminov","sequence":"additional","affiliation":[{"name":"Department of Computer Engineering, Gachon University, Seongnam 13120, Korea"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Jinsoo","family":"Cho","sequence":"additional","affiliation":[{"name":"Department of Computer Engineering, Gachon University, Seongnam 13120, Korea"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2022,10,26]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"7611","DOI":"10.1007\/s11042-022-12150-5","article-title":"Determining the freshness of fruits in the food industry by image classification using transfer learning","volume":"81","author":"Kazi","year":"2022","journal-title":"Multimed. Tools Appl."},{"key":"ref_2","first-page":"243","article-title":"Fruits and vegetables quality evaluation using computer vision: A review","volume":"33","author":"Bhargava","year":"2021","journal-title":"J. King Saud Univ. Comput. Inf. Sci."},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1007\/s42979-022-01152-7","article-title":"Grading Methods for Fruit Freshness Based on Deep Learning","volume":"3","author":"Fu","year":"2022","journal-title":"SN Comput. Sci."},{"key":"ref_4","doi-asserted-by":"crossref","unstructured":"Alam, A., Rathi, P., Beshai, H., Sarabha, G., and Deen, M. (2021). Fruit Quality Monitoring with Smart Packaging. Sensors, 21.","DOI":"10.3390\/s21041509"},{"key":"ref_5","doi-asserted-by":"crossref","unstructured":"Chakraborty, S., Shamrat, F.J.M., Billah, M.M., Al Jubair, M., Alauddin, M., and Ranjan, R. (2021, January 3\u20135). Implementation of deep learning methods to identify rotten fruits. Proceedings of the 2021 5th International Conference on Trends in Electronics and Informatics (ICOEI), Tirunelveli, India.","DOI":"10.1109\/ICOEI51242.2021.9453004"},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"3003","DOI":"10.1109\/LRA.2018.2849498","article-title":"Multispecies Fruit Flower Detection Using a Refined Semantic Segmentation Network","volume":"3","author":"Dias","year":"2018","journal-title":"IEEE Robot. Autom. Lett."},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"100359","DOI":"10.1016\/j.iot.2021.100359","article-title":"Support vector machine and YOLO for a mobile food grading system","volume":"13","author":"Zhu","year":"2021","journal-title":"Internet Things"},{"key":"ref_8","first-page":"1","article-title":"Classification of fruits using convolutional neural network and transfer learning models","volume":"24","author":"Pathak","year":"2021","journal-title":"J. Manag. Inf. Decis. Sci."},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"9210947","DOI":"10.1155\/2022\/9210947","article-title":"Recent advancements in fruit detection and classification using deep learning techniques","volume":"2022","author":"Ukwuoma","year":"2022","journal-title":"Math. Probl. Eng."},{"key":"ref_10","unstructured":"Mukhiddinov, M., Muminov, A., and Cho, J. (2022, September 10). Fruit and Vegetable Dataset, Kaggle. Available online: https:\/\/www.kaggle.com\/datasets\/muhriddinmuxiddinov\/fruits-and-vegetables-dataset."},{"key":"ref_11","unstructured":"Bochkovskiy, A., Wang, C.Y., and Liao, H.Y.M. (2020). Yolov4: Optimal speed and accuracy of object detection. arXiv, Available online: https:\/\/arxiv.org\/abs\/2004.10934?sid=heTCh7."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"107036","DOI":"10.1016\/j.comnet.2019.107036","article-title":"Faster R-CNN for multi-class fruit detection using a robotic vision system","volume":"168","author":"Wan","year":"2019","journal-title":"Comput. Networks"},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"76","DOI":"10.1016\/j.ifacol.2019.12.500","article-title":"Kiwifruit detection in field images using Faster R-CNN with VGG16","volume":"52","author":"Song","year":"2019","journal-title":"IFAC-PapersOnLine"},{"key":"ref_14","first-page":"4421","article-title":"GHFormer-Net: Towards more accurate small green apple\/begonia fruit detection in the nighttime","volume":"34","author":"Sun","year":"2022","journal-title":"J. King Saud Univ. Comput. Inf. Sci."},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"206","DOI":"10.1016\/j.patrec.2021.04.022","article-title":"Deep learning-based apple detection using a suppression mask R-CNN","volume":"147","author":"Chu","year":"2021","journal-title":"Pattern Recognit. Lett."},{"key":"ref_16","first-page":"5083","article-title":"Fruits and Vegetables Freshness Categorization Using Deep Learning","volume":"71","author":"Fahad","year":"2022","journal-title":"Comput. Mater. Contin."},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"3365","DOI":"10.1007\/s00542-020-05123-x","article-title":"Deep learning based real-time Industrial framework for rotten and fresh fruit de-tection using semantic segmentation","volume":"27","author":"Roy","year":"2021","journal-title":"Microsyst. Technol."},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Hao, J., Zhao, Y., and Peng, Q. (2022). A Specular Highlight Removal Algorithm for Quality Inspection of Fresh Fruits. Remote Sens., 14.","DOI":"10.3390\/rs14133215"},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"172-1","DOI":"10.2352\/ISSN.2470-1173.2020.12.FAIS-172","article-title":"Deep Learning based Fruit Freshness Classification and Detection with CMOS Image sensors and Edge processors","volume":"32","author":"Ananthanarayana","year":"2020","journal-title":"Electron. Imaging"},{"key":"ref_20","first-page":"151","article-title":"Implementation of a Fruit Quality Classification Application Using an Artificial In-telligence Algorithm","volume":"34","author":"Chen","year":"2022","journal-title":"Sens. Mater."},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"228369","DOI":"10.1109\/ACCESS.2020.3045394","article-title":"Monitoring the Change Process of Banana Freshness by GoogLeNet","volume":"8","author":"Ni","year":"2020","journal-title":"IEEE Access"},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"110102","DOI":"10.1016\/j.jfoodeng.2020.110102","article-title":"On line detection of defective apples using computer vision system combined with deep learning methods","volume":"286","author":"Fan","year":"2020","journal-title":"J. Food Eng."},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"1359","DOI":"10.1007\/s12161-021-01970-0","article-title":"Classification and grading of multiple varieties of apple fruit","volume":"14","author":"Bhargava","year":"2021","journal-title":"Food Anal. Methods"},{"key":"ref_24","first-page":"617","article-title":"Fresh and Rotten Fruits Classification Using CNN and Transfer Learning","volume":"34","author":"Palakodati","year":"2020","journal-title":"Rev. d\u2019Intelligence Artif."},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"26","DOI":"10.2478\/ausi-2018-0002","article-title":"Fruit recognition from images using deep learning","volume":"10","author":"Oltean","year":"2018","journal-title":"Acta Univ. Sapientiae Inform."},{"key":"ref_26","unstructured":"Sriram, R.K. (2022, March 18). Fruits Fresh and Rotten for Classification Dataset. Kaggle. Available online: https:\/\/www.kaggle.com\/datasets\/sriramr\/fruits-fresh-and-rotten-for-classification."},{"key":"ref_27","first-page":"1949","article-title":"Deep learning-based classification of fruit dis-eases: An application for precision agriculture","volume":"66","author":"Nasir","year":"2021","journal-title":"Comput. Mater. Contin."},{"key":"ref_28","doi-asserted-by":"crossref","unstructured":"Choudhury, T., Mahdi, H.F., Agarwal, A., Chakraborty, A., Arunachalaeshwaran, V.R., Sarkar, T., and Tomar, R. (2022, January 9\u201311). Quality Evaluation in Guavas using Deep Learning Architectures: An Experimental Review. Proceedings of the 2022 International Congress on Human-Computer Interaction, Optimization and Robotic Applications (HORA), Ankara, Turkey.","DOI":"10.1109\/HORA55278.2022.9799824"},{"key":"ref_29","doi-asserted-by":"crossref","first-page":"104340","DOI":"10.1016\/j.dib.2019.104340","article-title":"A citrus fruits and leaves dataset for detection and classification of citrus diseases through machine learning","volume":"26","author":"Rauf","year":"2019","journal-title":"Data Brief"},{"key":"ref_30","first-page":"33","article-title":"Computer vision-based apple grading for golden delicious apples based on surface features","volume":"4","author":"Moallem","year":"2017","journal-title":"Inf. Process. Agric."},{"key":"ref_31","doi-asserted-by":"crossref","first-page":"22355","DOI":"10.1007\/s11042-021-11282-4","article-title":"Ensemble of multi-task deep convolutional neural networks using transfer learning for fruit freshness classification","volume":"81","author":"Kang","year":"2022","journal-title":"Multimed. Tools Appl."},{"key":"ref_32","first-page":"01","article-title":"Automatic Fruit Recognition Based on DCNN for Commercial Source Trace System","volume":"8","author":"Hussain","year":"2018","journal-title":"Int. J. Comput. Sci. Appl."},{"key":"ref_33","first-page":"244","article-title":"Maturity status classification of papaya fruits based on machine learning and transfer learning approach","volume":"8","author":"Behera","year":"2020","journal-title":"Inf. Process. Agric."},{"key":"ref_34","unstructured":"Kritik, S. (2022, March 18). Fruits and Vegetables Image Recognition Dataset. Kaggle, Available online: https:\/\/www.kaggle.com\/kritikseth\/fruit-and-vegetable-image-recognition."},{"key":"ref_35","doi-asserted-by":"crossref","first-page":"131","DOI":"10.1016\/j.biosystemseng.2019.12.003","article-title":"Computer vision based detection of external defects on tomatoes using deep learning","volume":"190","author":"Figueroa","year":"2020","journal-title":"Biosyst. Eng."},{"key":"ref_36","doi-asserted-by":"crossref","unstructured":"Tightiz, L., and Yoo, J. (2022). Towards Latency Bypass and Scalability Maintain in Digital Substation Communication Domain with IEC 62439-3 Based Network Architecture. Sensors, 22.","DOI":"10.3390\/s22134916"},{"key":"ref_37","doi-asserted-by":"crossref","unstructured":"Mukhiddinov, M., Abdusalomov, A.B., and Cho, J. (2022). Automatic Fire Detection and Notification System Based on Improved YOLOv4 for the Blind and Visually Impaired. Sensors, 22.","DOI":"10.3390\/s22093307"},{"key":"ref_38","doi-asserted-by":"crossref","first-page":"2050052","DOI":"10.1142\/S0219691320500526","article-title":"Improvement of the end-to-end scene text recognition method for \u201ctext-to-speech\u201d conversion","volume":"18","author":"Makhmudov","year":"2020","journal-title":"Int. J. Wavelets Multiresolution Inf. Process."},{"key":"ref_39","first-page":"2653","article-title":"Performance Evaluation of Topological Infrastructure in Internet-of-Things-Enabled Serious Games","volume":"71","author":"Ahmad","year":"2022","journal-title":"Comput. Mater. Contin."},{"key":"ref_40","doi-asserted-by":"crossref","unstructured":"Abdusalomov, A., Mukhiddinov, M., Djuraev, O., Khamdamov, U., and Whangbo, T.K. (2020). Automatic Salient Object Extraction Based on Locally Adaptive Thresholding to Generate Tactile Graphics. Appl. Sci., 10.","DOI":"10.3390\/app10103350"},{"key":"ref_41","doi-asserted-by":"crossref","unstructured":"Mukhiddinov, M., and Cho, J. (2021). Smart Glass System Using Deep Learning for the Blind and Visually Impaired. Electronics, 10.","DOI":"10.3390\/electronics10222756"},{"key":"ref_42","doi-asserted-by":"crossref","first-page":"2150054","DOI":"10.1142\/S0219691321500545","article-title":"An improvement for the automatic classification method for ultrasound images used on CNN","volume":"20","author":"Avazov","year":"2022","journal-title":"Int. J. Wavelets Multiresolution Inf. Process."},{"key":"ref_43","doi-asserted-by":"crossref","first-page":"196835","DOI":"10.1109\/ACCESS.2020.3029215","article-title":"Fast and Accurate Detection of Banana Fruits in Complex Background Orchards","volume":"8","author":"Fu","year":"2020","journal-title":"IEEE Access"},{"key":"ref_44","first-page":"713","article-title":"Saliency Cuts: Salient Region Extraction based on Local Adaptive Thresholding for Image Information Recognition of the Visually Impaired","volume":"17","author":"Mukhiddinov","year":"2020","journal-title":"Int. Arab J. Inf. Technol."},{"key":"ref_45","unstructured":"Redmon, J., and Farhadi, A. (2022). Yolov3: An incremental improvement. arXiv, Available online: https:\/\/arxiv.org\/abs\/1804.02767."},{"key":"ref_46","doi-asserted-by":"crossref","first-page":"113599","DOI":"10.1109\/ACCESS.2021.3105112","article-title":"Circular Fruit and Vegetable Classification Based on Optimized GoogLeNet","volume":"9","author":"Yuesheng","year":"2021","journal-title":"IEEE Access"},{"key":"ref_47","doi-asserted-by":"crossref","first-page":"105192","DOI":"10.1016\/j.compag.2019.105192","article-title":"A visual detection method for nighttime litchi fruits and fruiting stems","volume":"169","author":"Liang","year":"2020","journal-title":"Comput. Electron. Agric."}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/22\/21\/8192\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T01:02:57Z","timestamp":1760144577000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/22\/21\/8192"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2022,10,26]]},"references-count":47,"journal-issue":{"issue":"21","published-online":{"date-parts":[[2022,11]]}},"alternative-id":["s22218192"],"URL":"https:\/\/doi.org\/10.3390\/s22218192","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2022,10,26]]}}}