Full Text

Turn on search term navigation

© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.

Abstract

Varietal purity is a critical quality indicator for seeds, yet various production processes can lead to the mixing of seeds from different varieties. Consequently, seed variety classification is an essential step in seed production. Existing classification algorithms often suffer from limitations such as reliance on single information sources, constrained feature extraction capabilities, time consumption, low accuracy, and the potential to cause irreversible damage to seeds. To address these challenges, this paper proposes a fast and non-destructive classification method for corn seeds, named DualTransAttNet, based on multi-source image information and hybrid feature extraction. High-resolution hyperspectral images of various corn varieties were collected, and a sliding sampling approach was employed to capture feature information across all spectral bands, resulting in the construction of a hyperspectral dataset for corn seed classification. Hyperspectral and RGB image data were then integrated to complement one another’s information and mitigate the insufficient feature diversity caused by single-source data. The proposed method leverages the strengths of convolutional neural networks (CNNs) and transformers to extract both local and global features, effectively capturing spectral and image characteristics. The experimental results demonstrate that the DualTransAttNet model can achieve a compact size of only 1.758 MB and an inference time of 0.019 ms. Compared to typical machine learning and deep learning models, the proposed model exhibits superior performance with an overall accuracy, F1-score, and Kappa coefficient of 90.01%, 88.9%, and 88.4%, respectively. The model’s rapid inference capability and low parameter count make it an excellent technical solution for agricultural automation and intelligent systems, thereby enhancing the efficiency and profitability of agricultural production.

Details

Title
DualTransAttNet: A Hybrid Model with a Dual Attention Mechanism for Corn Seed Classification
Author
Pan, Fei 1 ; He, Dawei 1 ; Pengjun Xiang 1   VIAFID ORCID Logo  ; Hu, Mengdie 1 ; Yang, Daizhuang 1 ; Huang, Fang 1 ; Peng, Changmeng 2   VIAFID ORCID Logo 

 College of Information Engineering, Sichuan Agricultural University, Ya’an 625014, China; [email protected] (F.P.); [email protected] (D.H.); ; Ya’an Digital Agricultural Engineering Technology Research Center, Ya’an 625014, China 
 College of Information Engineering, Sichuan Agricultural University, Ya’an 625014, China; [email protected] (F.P.); [email protected] (D.H.); 
First page
200
Publication year
2025
Publication date
2025
Publisher
MDPI AG
e-ISSN
20734395
Source type
Scholarly Journal
Language of publication
English
ProQuest document ID
3159265015
Copyright
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.