# CADFFNet: a dual-branch neural network for non-destructive detection of cigar leaf moisture content during air-curing stage

**Authors:** Zhuoran Xing, Yaqi Shi, Yihao Pan, Kai Zhang, Zhenhua Wang, Bingyang Liu, Xiangdong Shi, Songshuang Ding

PMC · DOI: 10.3389/fpls.2025.1698427 · 2025-11-05

## TL;DR

This paper introduces CADFFNet, a dual-branch neural network that non-destructively estimates cigar leaf moisture content during air-curing using RGB images from both sides of the leaves.

## Contribution

The novel CADFFNet framework uses dual-view RGB images and feature fusion to improve non-destructive moisture estimation in cigar leaves.

## Key findings

- CADFFNet achieved an R2 of 0.974 and MAE of 3.80% in five-fold cross-validation.
- It outperformed classic CNN models like ResNet18 and VGG19Net by up to 0.098 in R2.
- The model showed strong generalization with R2=0.899 on a cross-region, cross-variety testing set.

## Abstract

The cigar leaves moisture content (CLMC) is a critical parameter for controlling curing barn conditions. Along with the continuous advancement of deep learning (DL) technologies, convolutional neural networks (CNN) have provided a way of thinking for the non-destructive estimation of CLMC during the air-curing process. Nevertheless, relying merely on single-perspective imaging makes it difficult to comprehensively capture the complementary morphological features of the front and back sides of cigar leaves during the air-curing process.

This study constructed a dual-view image dataset covering the air-curing process, and proposes a regression framework named CADFFNet (channel attention weight-based dual-branch feature fusion network) for the non-destructive estimation of CLMC during the curing process based on dual-view RGB images. Firstly, the model utilizes two independent and parallel ResNet as its backbone structure to capture the heterogeneous features of dual-view images. Secondly, the Dual Efficient Channel Attention (DECA) module is introduced to dynamically adjust the channel attention weights of the features, thereby facilitating interaction between the two branches. Lastly, a Multi-scale convolutional feature fusion (MSCFF) module is designed for the deep fusion of features from the front and back images to aggregate multi-scale features for robust regression.

On five-fold cross-validation, CADFFNet attains R2 of 0.974±0.007 and mean absolute error (MAE) of 3.80±0.37%. On an independent cross-region, cross-variety testing set, it maintains strong generalization (R2=0.899, MAE=5.82%), compared with the classic CNN models ResNet18, GoogLeNet, VGG19Net, DenseNet121, and MobileNetV2, its R2 value has increased by 0.047, 0.041, 0.055, 0.098, and 0.090 respectively.

Generally, the proposed CADFFNet offers an efficient and convenient method for non-destructive detection of CLMC, providing a theoretical basis for automating the air-curing process. It also provides a new perspective for moisture content prediction during the drying process of other crops, such as tea, asparagus, and mushrooms.

## Full-text entities

- **Diseases:** weight loss (MESH:D015431), CLMC (MESH:D063466), leaf disease (MESH:D004194), water (MESH:D000069578)
- **Chemicals:** DECA (-), nicotine (MESH:D009538), MC (MESH:C061001), sugars (MESH:D000073893), water (MESH:D014867)
- **Species:** Homo sapiens (human, species) [taxon 9606], Medicago sativa (alfalfa, species) [taxon 3879], Nicotiana tabacum (American tobacco, species) [taxon 4097]

## Figures

7 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12627023/full.md

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