Real-Time Deep Learning-Based Object Detection for Walnut Processing

Automating the final stages of walnut processing, including kernel grading and shell separation, remains a significant challenge due to subtle visual differences between kernel grades. In this work, we propose a novel real-time deep learning approach for multi-class separation of walnut components into shells, membranes, and two kernel quality classes. A key obstacle lies in the ambiguous visual distinction between first and second-class kernels, with the former typically being lighter in color and the latter darker, which hampers detection accuracy. To address this, we propose an annotation method based on thresholding the first derivative of sorted average blue channel (visible blue light) values, enabling clearer class separation and yielding a 2.02% [email protected] improvement. Building on this, we train a detector using only the blue channel and apply targeted data augmentation and balancing strategies, achieving a further 1.42% [email protected] gain. Finally, we introduce a new lightweight YOLOv4-tiny variant that incorporates convolutional attention blocks while reducing parameter count, resulting in a 56.52% faster inference with only a 1.35% drop in [email protected]. This combined approach significantly enhances the reliability of automated walnut kernel grading in real-time settings.

Authors

Institutions

Publication Details

Journal
Procedia Computer Science
Published
2026-01-01
DOI
https://doi.org/10.1016/j.procs.2026.02.172
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
article

Real-Time Deep Learning-Based Object Detection for Walnut Processing

Zoran Ivanovski, Ivan Mihajlov, Dejan Pejchinoski
Procedia Computer Science
Smart Agriculture and AI
article

Real-Time Deep Learning-Based Object Detection for Walnut Processing

Zoran Ivanovski, Ivan Mihajlov, Dejan Pejchinoski
article en

Abstract

Automating the final stages of walnut processing, including kernel grading and shell separation, remains a significant challenge due to subtle visual differences between kernel grades. In this work, we propose a novel real-time deep learning approach for multi-class separation of walnut components into shells, membranes, and two kernel quality classes. A key obstacle lies in the ambiguous visual distinction between first and second-class kernels, with the former typically being lighter in color and the latter darker, which hampers detection accuracy. To address this, we propose an annotation method based on thresholding the first derivative of sorted average blue channel (visible blue light) values, enabling clearer class separation and yielding a 2.02% [email protected] improvement. Building on this, we train a detector using only the blue channel and apply targeted data augmentation and balancing strategies, achieving a further 1.42% [email protected] gain. Finally, we introduce a new lightweight YOLOv4-tiny variant that incorporates convolutional attention blocks while reducing parameter count, resulting in a 56.52% faster inference with only a 1.35% drop in [email protected]. This combined approach significantly enhances the reliability of automated walnut kernel grading in real-time settings.

Procedia Computer ScienceVol. 277
Agency for Electronic Communications (MK), Ss. Cyril and Methodius University in Skopje (MK)
Zero hunger
Openalex Percentile: Top 12%
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.

Real-Time Deep Learning-Based Object Detection for Walnut Processing — Zoran Ivanovski, Ivan Mihajlov, et al. · Procedia Computer Science (2026) | TGRS Research Map | TGRS