Research on apple size grading based on LabVIEW and yolo algorithm

Machine vision technology was applied to combine LabVIEW and the YOLO algorithm to detect the maximum transverse diameters of apples for apple size grading. The NI Vision module was employed for visual image processing, including grayscale and threshold segmentation and morphological processing. The image size was adjusted, and the LabelImg image annotation tool was applied to construct an apple dataset. YOLO v8 algorithm was used to train and test the developed dataset. Based on the results of the linear fitting line between the pixel values of the maximum transverse diameter of apples and the measured values of apple diameters, a visual size grading standard was established for apples, and an apple visual size grading system was designed based on LabVIEW 2019. The results of this study show that the accuracy of size detection for individual apples remained above 97.4% under different light and background conditions. This indicates that the system not only has strong feasibility but also demonstrates excellent robustness and environmental adaptability. This design was feasible and provided a research foundation for the automatic grade sorting of apples and other fruits.

Authors

Institutions

Publication Details

Journal
Discover Artificial Intelligence
Published
2025-10-22
DOI
https://doi.org/10.1007/s44163-025-00545-w
Primary Topic
Spectroscopy and Chemometric Analyses
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Research on apple size grading based on LabVIEW and yolo algorithm

Haojie Du, Y. Lu, Xueqing Wang
Discover Artificial Intelligence
Spectroscopy and Chemometric Analyses
article

Research on apple size grading based on LabVIEW and yolo algorithm

Haojie Du, Y. Lu, Xueqing Wang
article en

Abstract

Machine vision technology was applied to combine LabVIEW and the YOLO algorithm to detect the maximum transverse diameters of apples for apple size grading. The NI Vision module was employed for visual image processing, including grayscale and threshold segmentation and morphological processing. The image size was adjusted, and the LabelImg image annotation tool was applied to construct an apple dataset. YOLO v8 algorithm was used to train and test the developed dataset. Based on the results of the linear fitting line between the pixel values of the maximum transverse diameter of apples and the measured values of apple diameters, a visual size grading standard was established for apples, and an apple visual size grading system was designed based on LabVIEW 2019. The results of this study show that the accuracy of size detection for individual apples remained above 97.4% under different light and background conditions. This indicates that the system not only has strong feasibility but also demonstrates excellent robustness and environmental adaptability. This design was feasible and provided a research foundation for the automatic grade sorting of apples and other fruits.

Discover Artificial IntelligenceVol. 5(1)
Pingdingshan University (CN)
Education Department of Henan Province, Science and Technology Department of Henan Province
Openalex Percentile: Top 66%
Spectroscopy and Chemometric Analyses
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.

Research on apple size grading based on LabVIEW and yolo algorithm — Haojie Du, Y. Lu, et al. · Discover Artificial Intelligence (2025) | TGRS Research Map | TGRS