MATLAB-Based Precision Image Analysis for Fruit Sorting

Authors

DOI:

https://doi.org/10.17700/jai.2026.17.1.774

Keywords:

Image Processing, Fruit Recognition, Classification, HSV Colour Space, SVM Algorithm

Abstract

Fruits are extremely fundamental in our everyday diet. The palatable fruits are harvested, sorted, and packed for conveyance to the consumers. It needs a large number of expert resources and a long time to sort and grade the fruits from the agricultural field to the fruit markets. Automation in the agricultural field and fruit markets is a must to reduce the time as well as the dependency on the manual resource. Thus, the objective of this project is to fully automate the sorting process of handling fruits. The proposed method used an image acquisition system (camera), which acquires the images of the various selected fruits (Apple, Onion, Banana, Pepper and Tomato) used for the training data. The textural and colour features of the selected fruits were extracted and then, processed using the MATLAB software with Support vector machine (SVM) algorithm as the classifier. The fruit recognition system classified the input fruit sample by determining the similarities between the colour and gray level co-occurrence matrix values of the inputted fruits samples and the values obtained from the training datasets. The proposed method is accurate and flexible. Also, a graphical user interface was developed to be used independently of the software, the recognition rate of the system had an average accuracy of 97%.

Author Biographies

Farid Eltom. A. E , Associate Professor

Prof. Dr. Farid Eltom A. E. holds several prestigious positions, including Director of the African Agriculture Engineering Research Institute at the Yellow River Delta Intelligent Agriculture Machinery Equipment Industrial Academy in China, and Director of the Smart Agriculture Incubator at Africa City of Technology in Sudan. Honorary Professor at Dongying Vocational College in China and an Adjunct Professor at Qingdao Agricultural University, China. Additionally. Editor for the Journal of Agricultural Science in Pakistan. Developed two widely recognized models: the Smart Sensor for field-scale integrated management of water, soils, crops, and nitrogen fertilizers, and a new digging system for peanut harvesters designed for saline-alkaline land. Awarded tow times as excellent student in behavior and academic from Chinese Government Scholarship and Obtained a prize as Excellent Foreign Students in China, from China Scholarship Council, Ministry of Education (MOE). My background includes Agricultural Machinery Design, Smart Agricultural, Agricultural Machinery Management, Farm Power & Machinery selection, Soil and Tillage research, Agricultural Bio environment and Energy Engineering.

Oluwaseun Kadiri, Prof

Lagos State Ministry of Agriculture and Food System

Downloads

Published

2026-02-11

How to Cite

Elneama, F. E. A., Joseph Tochi, U., Oyefeso, B. O. ., Kadiri, O., & Mohammed, H. (2026). MATLAB-Based Precision Image Analysis for Fruit Sorting. Journal of Agricultural Informatics, 17(1). https://doi.org/10.17700/jai.2026.17.1.774

Issue

Section

Journal of Agricultural Informatics