# Dynamic coding network for robust fruit detection in low-visibility agricultural scenes

**Authors:** Hanyun Lu, Teng Jin, Chen Wan, Shuifa Sun, Xiumei Zhou, Fangyi Wang

PMC · DOI: 10.3389/fpls.2025.1670790 · Frontiers in Plant Science · 2025-10-27

## TL;DR

This paper introduces DCNet, a new framework for detecting fruits in poor visibility conditions like fog and rain, which improves accuracy and speed for agricultural robotics.

## Contribution

The novel Dynamic Coding Network (DCNet) framework enhances fruit detection in low-visibility agricultural scenes with a modular design and improved performance.

## Key findings

- DCNet achieves 86.5% mean average precision and 84.2% intersection over union on the LVScene4K dataset.
- It outperforms state-of-the-art methods by 3.4% in F1 and 4.3% in IoU while maintaining 28 FPS on an RTX 3090 GPU.
- The modular architecture allows DCNet to generalize well to other crops and complex agricultural environments.

## Abstract

Accurate fruit detection under low-visibility conditions such as fog, rain, and low illumination is crucial for intelligent orchard management and robotic harvesting. However, most existing detection models experience significant performance degradation in these visually challenging environments.

This study proposes a modular detection framework named Dynamic Coding Network (DCNet), designed specifically for robust fruit detection in low-visibility agricultural scenes. DCNet comprises four main components: a Dynamic Feature Encoder for adaptive multi-scale feature extraction, a Global Attention Gate for contextual modeling, a Cross-Attention Decoder for fine-grained feature reconstruction, and an Iterative Feature Attention mechanism for progressive feature refinement.

Experiments on the LVScene4K dataset, which contains multiple fruit categories (grape, kiwifruit, orange, pear, pomelo, persimmon, pumpkin, and tomato) under fog, rain, low light, and occlusion conditions, demonstrate that DCNet achieves 86.5% mean average precision and 84.2% intersection over union. Compared with state-of-the-art methods, DCNet improves F1 by 3.4% and IoU by 4.3%, maintaining a real-time inference speed of 28 FPS on an RTX 3090 GPU.

The results indicate that DCNet achieves a superior balance between detection accuracy and computational efficiency, making it well-suited for real-time deployment in agricultural robotics. Its modular architecture also facilitates generalization to other crops and complex agricultural environments.

## Full-text entities

- **Species:** Solanum lycopersicum (tomato, species) [taxon 4081], Pyrus communis (pear, species) [taxon 23211]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12597960/full.md

## Figures

5 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12597960/full.md

## References

34 references — full list in the complete paper: https://tomesphere.com/paper/PMC12597960/full.md

---
Source: https://tomesphere.com/paper/PMC12597960