Single-wavelength near-infrared imaging and machine learning for detecting Queensland fruit fly damage in cherries

• Non-destructive detection of internal feeders like fruit flies in fruit remains a major challenge for biosecurity. • We developed a novel near-infrared (730 nm) imaging and machine learning approach to detect Queensland fruit fly (Qfly) oviposition in cherries. • A new Bounding Box Histogram Fusion Classifier (BBHFC) enables accurate image- and fruit-level infestation detection from single-wavelength images. Efficient detection and removal of infested fruits can be a valuable tool for reducing the spread of quarantine pests through trade. Automated grading technologies offer non-destructive solutions for detecting fruit fly infestations, though current optical methods face challenges due to either high computational demands (hyperspectral) or low specificity (multi- and single-spectral). In this study, we introduced a novel imaging method and machine learning approach to detect Queensland fruit fly (Qfly) infestations in fresh cherries, at both the image and fruit levels. Using hyperspectral imaging (HSI), we identified a wavelength of 730 nm within the visible to near-infrared (NIR) spectrum as most effective for distinguishing Qfly oviposition damage from natural pigmentation and mechanical damage. A library of 1,771 high-resolution, single-wavelength NIR images was created, with Qfly oviposition sites manually labelled for model training. We proposed a novel machine learning approach called the Bounding Box Histogram Fusion Classifier (BBHFC). This method transforms spot-level predictions of Qfly oviposition damage, generated by a trained object detection model, into histogram-based feature vectors. These vectors are then used for efficient and accurate image-level infestation classification. BBHFC achieved high precision, recall, and F1 scores (all > 0.93), demonstrating the effectiveness of the approach. The proposed BBHFC outperformed traditional visual inspection, achieving over 89% accuracy, compared to 60% for manual detection. Integrating advanced imaging techniques into grading systems can significantly enhance biosecurity in horticultural industries by detecting and removing infested fruit. This technology could also supplement existing, costly, visual inspections of traded fruit that governments are required to undertake.

Authors

Institutions

Publication Details

Journal
Smart Agricultural Technology
Published
2025-06-09
DOI
https://doi.org/10.1016/j.atech.2025.101090
Citations
3
Primary Topic
Spectroscopy and Chemometric Analyses
Type
article
Field-Weighted Citation Impact
2.26

Funders

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

Single-wavelength near-infrared imaging and machine learning for detecting Queensland fruit fly damage in cherries

Dong Bao, Rieks D. van Klinken, Maryam Yazdani, Jun Zhou et al.
3 citations
Smart Agricultural Technology
Spectroscopy and Chemometric Analyses
2.26
article

Single-wavelength near-infrared imaging and machine learning for detecting Queensland fruit fly damage in cherries

Dong Bao, Rieks D. van Klinken, Maryam Yazdani, Jun Zhou, Andy Wang
article en
3 citations

Abstract

• Non-destructive detection of internal feeders like fruit flies in fruit remains a major challenge for biosecurity. • We developed a novel near-infrared (730 nm) imaging and machine learning approach to detect Queensland fruit fly (Qfly) oviposition in cherries. • A new Bounding Box Histogram Fusion Classifier (BBHFC) enables accurate image- and fruit-level infestation detection from single-wavelength images. Efficient detection and removal of infested fruits can be a valuable tool for reducing the spread of quarantine pests through trade. Automated grading technologies offer non-destructive solutions for detecting fruit fly infestations, though current optical methods face challenges due to either high computational demands (hyperspectral) or low specificity (multi- and single-spectral). In this study, we introduced a novel imaging method and machine learning approach to detect Queensland fruit fly (Qfly) infestations in fresh cherries, at both the image and fruit levels. Using hyperspectral imaging (HSI), we identified a wavelength of 730 nm within the visible to near-infrared (NIR) spectrum as most effective for distinguishing Qfly oviposition damage from natural pigmentation and mechanical damage. A library of 1,771 high-resolution, single-wavelength NIR images was created, with Qfly oviposition sites manually labelled for model training. We proposed a novel machine learning approach called the Bounding Box Histogram Fusion Classifier (BBHFC). This method transforms spot-level predictions of Qfly oviposition damage, generated by a trained object detection model, into histogram-based feature vectors. These vectors are then used for efficient and accurate image-level infestation classification. BBHFC achieved high precision, recall, and F1 scores (all > 0.93), demonstrating the effectiveness of the approach. The proposed BBHFC outperformed traditional visual inspection, achieving over 89% accuracy, compared to 60% for manual detection. Integrating advanced imaging techniques into grading systems can significantly enhance biosecurity in horticultural industries by detecting and removing infested fruit. This technology could also supplement existing, costly, visual inspections of traded fruit that governments are required to undertake.

Smart Agricultural TechnologyVol. 12
Griffith University (AU), CSIRO Health and Biosecurity (AU)
Commonwealth Scientific and Industrial Research Organisation, Australian College of Perioperative Nurses, Department of Agriculture and Fisheries, Queensland Government
Zero hunger
Openalex Percentile: Top 13%
Spectroscopy and Chemometric Analyses
2.26
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.