A Computational Model of an Intelligent Optical Inspection and Sorting System for Apples Based on Color and Surface Quality

This study presents a YOLOv8n-based intelligent optical inspection system for assessing apple color and visible surface quality, together with a computational framework for its integration into automated sorting processes. RGB images of apples moving along a conveyor belt were acquired using a HIKROBOT industrial camera and preprocessed using OpenCV. The YOLOv8n model was employed to detect apples, estimate their bounding-box coordinates, and classify them into four categories: red, yellow, green, and defective. The proposed framework incorporates ByteTrack for object identity association, Lucas–Kanade optical flow and RANSAC-based homography estimation for approximate geometric position updating, and a class-to-channel mapping matrix for generating sorting control commands. At 500 training epochs, the model achieved a precision of 99.31%, a recall of 98.56%, an F1-score of 98.93%, an [email protected] of 99.2%, and an [email protected]:0.95 of 84.8% on the validation subset. On 400 held-out test images, the model achieved an [email protected] of 97.0% and an [email protected]:0.95 of 82.0%, and 358 images (89.50%) were correctly classified at the image level. The combined detection, classification, and tracking pipeline achieved an average processing rate of approximately 30 FPS. A preliminary timing assessment based on a nominal conveyor speed of 0.20 m/s and a design inspection-to-actuator distance of 0.80 m yielded an available travel time of approximately 4.00 s. The findings demonstrate the potential of the evaluated vision module for optical apple quality assessment, while independent validation of tracking performance, physical sorting accuracy, and end-to-end system latency remains necessary.

Authors

Institutions

Publication Details

Journal
Algorithms
Published
2026-11-23
DOI
https://doi.org/10.3390/a19121024
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

A Computational Model of an Intelligent Optical Inspection and Sorting System for Apples Based on Color and Surface Quality

Erkin Uljaev, Jasur Usmonovich Sevinov, Sabina Umirzakova, Kuldoshbay Avazov et al.
Algorithms
Smart Agriculture and AI
article

A Computational Model of an Intelligent Optical Inspection and Sorting System for Apples Based on Color and Surface Quality

Erkin Uljaev, Jasur Usmonovich Sevinov, Sabina Umirzakova, Kuldoshbay Avazov, Akmalbek Bobomirzaevich Abdusalomov, Talshyn Sarsembayeva, Ayhan İstanbullu, Ulmasjon Abdixalilov
article en

Abstract

This study presents a YOLOv8n-based intelligent optical inspection system for assessing apple color and visible surface quality, together with a computational framework for its integration into automated sorting processes. RGB images of apples moving along a conveyor belt were acquired using a HIKROBOT industrial camera and preprocessed using OpenCV. The YOLOv8n model was employed to detect apples, estimate their bounding-box coordinates, and classify them into four categories: red, yellow, green, and defective. The proposed framework incorporates ByteTrack for object identity association, Lucas–Kanade optical flow and RANSAC-based homography estimation for approximate geometric position updating, and a class-to-channel mapping matrix for generating sorting control commands. At 500 training epochs, the model achieved a precision of 99.31%, a recall of 98.56%, an F1-score of 98.93%, an [email protected] of 99.2%, and an [email protected]:0.95 of 84.8% on the validation subset. On 400 held-out test images, the model achieved an [email protected] of 97.0% and an [email protected]:0.95 of 82.0%, and 358 images (89.50%) were correctly classified at the image level. The combined detection, classification, and tracking pipeline achieved an average processing rate of approximately 30 FPS. A preliminary timing assessment based on a nominal conveyor speed of 0.20 m/s and a design inspection-to-actuator distance of 0.80 m yielded an available travel time of approximately 4.00 s. The findings demonstrate the potential of the evaluated vision module for optical apple quality assessment, while independent validation of tracking performance, physical sorting accuracy, and end-to-end system latency remains necessary.

AlgorithmsVol. 19(12)
Balıkesir University (TR), Gachon University (KR), Samarkand State University named after Sharof Rashidov (UZ), Chungbuk National University (KR), Al-Farabi Kazakh National University (KZ), Tashkent University of Information Technology (UZ), Tashkent State Technical University named after Islam Karimov (UZ), Karshi State University (UZ), Alfraganus University (UZ), University of Tashkent for Applied Sciences (UZ), Tashkent State University of Economics (UZ)
Smart Agriculture and AI
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon