Work

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

Year: 2026
Type: article
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.
Source: Algorithms
Language: English
Subfield: Plant Science
Open Access status: gold
Estimated APC paid: $1,930
OpenAlex ID: W7238747821
FWCI:
Cites: 19
Cited by:
Related to: