A method for detecting the quality of cotton seeds based on an improved ResNet50 model
Authors:
Open Access
- 15 February 2023
- journal article
- research article
- Published by Public Library of Science (PLoS) in PLOS ONE
- Vol. 18 (2) , e0273057
Abstract
The accurate and rapid detection of cotton seed quality is crucial for safeguarding cotton cultivation. To increase the accuracy and efficiency of cotton seed detection, a deep learning model, which was called the improved ResNet50 (Impro-ResNet50), was used to detect cotton seed quality. First, the convolutional block attention module (CBAM) was embedded into the ResNet50 model to allow the model to learn both the vital channel information and spatial location information of the image, thereby enhancing the model’s feature extraction capability and robustness. The model’s fully connected layer was then modified to accommodate the cotton seed quality detection task. An improved LRelu-Softplus activation function was implemented to facilitate the rapid and straightforward quantification of the model training procedure. Transfer learning and the Adam optimization algorithm were used to train the model to reduce the number of parameters and accelerate the model’s convergence. Finally, 4419 images of cotton seeds were collected for training models under controlled conditions. Experimental results demonstrated that the Impro-ResNet50 model could achieve an average detection accuracy of 97.23% and process a single image in 0.11s. Compared with Squeeze-and-Excitation Networks (SE) and Coordination Attention (CA), the model’s feature extraction capability was superior. At the same time, compared with classical models such as AlexNet, VGG16, GoogLeNet, EfficientNet, and ResNet18, this model had superior detection accuracy and complexity balances. The results indicate that the Impro-ResNet50 model has a high detection accuracy and a short recognition time, which meet the requirements for accurate and rapid detection of cotton seed quality.Keywords
Funding Information
- National Natural Science Foundation of China (52075150)
- Natural Science Foundation of Henan Province (No.202300410124)
- Key Research and Development Program of Guangdong Province (No.2019B020222004)
This publication has 44 references indexed in Scilit:
- Improvement in Purity of Healthy Tomato Seeds Using an Image-Based One-Class Classification MethodSensors, 2020
- Quality classification of Jatropha curcas seeds using radiographic images and machine learningIndustrial Crops and Products, 2020
- Research on Classification Method of Maize Seed Defect Based on Machine VisionJournal of Sensors, 2019
- Rapidly and exactly determining postharvest dry soybean seed quality based on machine vision technologyScientific Reports, 2019
- Multi‐vision Attention Networks for on‐Line Red Jujube GradingChinese Journal of Electronics, 2019
- Near-Infrared Hyperspectral Imaging Combined with Deep Learning to Identify Cotton Seed VarietiesMolecules, 2019
- Identification of haploid and diploid maize seeds using convolutional neural networks and a transfer learning approachComputers and Electronics in Agriculture, 2019
- Classification of Processing Damage in Sugar Beet (Beta vulgaris) Seeds by Multispectral Image AnalysisSensors, 2019
- Selection for high quality pepper seeds by machine vision and classifiersJournal of Integrative Agriculture, 2018
- Design and Testing of an On-Line Omnidirectional Inspection and Sorting System for Soybean SeedsApplied Engineering in Agriculture, 2018