A Machine Vision Method for Detecting Pineapple Fruit Mechanical Damage

In the mechanical harvesting process, pineapple fruits are prone to damage. Traditional detection methods struggle to quantitatively assess pineapple damage and often operate at slow speeds. To address these challenges, this paper proposes a pineapple mechanical damage detection method based on machine vision, which segments the damaged region and calculates its area using multiple image processing algorithms. First, both color and depth images of the damaged pineapple are captured using a RealSense depth camera, and their pixel information is aligned. Subsequently, preprocessing techniques such as grayscale conversion, contrast enhancement, and Gaussian denoising are applied to the color images to generate grayscale images with prominent damage features. Next, an image segmentation method that combines thresholding, edge detection, and morphological processing is employed to process the images and output the damage contour images with smoother boundaries. After contour-filling and isolation of the smaller connected regions, a binary image of the damaged area is generated. Finally, a calibration object with a known surface area is used to derive both the depth values and pixel area. By integrating the depth information with the pixel area of the binary image, the damaged area of the pineapple is calculated. The damage detection system was implemented in MATLAB, and the experimental results showed that compared with the actual measured damaged area, the proposed method achieved an average error of 5.67% and an area calculation accuracy of 94.33%, even under the conditions of minimal skin color differences and low image resolution. Compared to traditional manual detection, this approach increases detection speed by over 30 times.

Authors

Institutions

Publication Details

Journal
Agriculture
Published
2025-05-15
DOI
https://doi.org/10.3390/agriculture15101063
Citations
3
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
5.25

Funders

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

A Machine Vision Method for Detecting Pineapple Fruit Mechanical Damage

Tianhu Liu, Jiahao Li, Liang Zhang, Zicheng Liu et al.
3 citations
Agriculture
Smart Agriculture and AI
5.25
article

A Machine Vision Method for Detecting Pineapple Fruit Mechanical Damage

Tianhu Liu, Jiahao Li, Liang Zhang, Zicheng Liu, Shuyang Liu, Bao-Feng Mai
article en
3 citations

Abstract

In the mechanical harvesting process, pineapple fruits are prone to damage. Traditional detection methods struggle to quantitatively assess pineapple damage and often operate at slow speeds. To address these challenges, this paper proposes a pineapple mechanical damage detection method based on machine vision, which segments the damaged region and calculates its area using multiple image processing algorithms. First, both color and depth images of the damaged pineapple are captured using a RealSense depth camera, and their pixel information is aligned. Subsequently, preprocessing techniques such as grayscale conversion, contrast enhancement, and Gaussian denoising are applied to the color images to generate grayscale images with prominent damage features. Next, an image segmentation method that combines thresholding, edge detection, and morphological processing is employed to process the images and output the damage contour images with smoother boundaries. After contour-filling and isolation of the smaller connected regions, a binary image of the damaged area is generated. Finally, a calibration object with a known surface area is used to derive both the depth values and pixel area. By integrating the depth information with the pixel area of the binary image, the damaged area of the pineapple is calculated. The damage detection system was implemented in MATLAB, and the experimental results showed that compared with the actual measured damaged area, the proposed method achieved an average error of 5.67% and an area calculation accuracy of 94.33%, even under the conditions of minimal skin color differences and low image resolution. Compared to traditional manual detection, this approach increases detection speed by over 30 times.

AgricultureVol. 15(10)
South China Agricultural University (CN)
National Natural Science Foundation of China
Openalex Percentile: Top 5%
Smart Agriculture and AI
5.25
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.