LAPSE:2024.0135
Published Article
LAPSE:2024.0135
Detection of Cotton Seed Damage Based on Improved YOLOv5
Zhicheng Liu, Long Wang, Zhiyuan Liu, Xufeng Wang, Can Hu, Jianfei Xing
January 12, 2024
The quality of cotton seed is of great significance to the production of cotton in the cotton industry. In order to reduce the workload of the manual sorting of cotton seeds and improve the quality of cotton seed sorting, this paper proposed an image-detection method of cotton seed damage based on an improved YOLOv5 algorithm. Images of cotton seeds with different degrees of damage were collected in the same environment. Cotton seeds of three different damage degrees, namely, undamaged, slightly damaged, and seriously damaged, were selected as the research objects. Labeling software was used to mark the images of these cotton seeds and the marked images were input into the improved YOLOv5s detection algorithm for appearance-based damage identification. The algorithm added the lightweight upsampling operator CARAFE to the original YOLOv5s detection algorithm and also improved the loss function. The experimental results showed that the mAP_0.5 value of the improved algorithm reached 99.5% and the recall rate reached 99.3% when the uncoated cotton seeds were detected. When detecting coated cotton seeds, the mAP_0.5 value of the improved algorithm reached 99.2% and the recall rate reached 98.9%. Compared with the traditional appearance-based damage detection approach, the improved YOLOv5s proposed in this paper improved the recognition accuracy and processing speed, and exhibited a better adaptability and generalization ability. Therefore, the proposed method can provide a reference for the appearance detection of crop seeds.
Keywords
algorithm, appearance inspection, crop seed sorting, deep learning, machine vision
Suggested Citation
Liu Z, Wang L, Liu Z, Wang X, Hu C, Xing J. Detection of Cotton Seed Damage Based on Improved YOLOv5. (2024). LAPSE:2024.0135
Author Affiliations
Liu Z: College of Mechanical and Electrical Engineering, Tarim University, Alar 843300, China; Modern Agricultural Engineering Key Laboratory at Universities of Education Department of Xinjiang Uygur Autonomous Region, Tarim University, Alar 843300, China
Wang L: College of Mechanical and Electrical Engineering, Tarim University, Alar 843300, China; Modern Agricultural Engineering Key Laboratory at Universities of Education Department of Xinjiang Uygur Autonomous Region, Tarim University, Alar 843300, China
Liu Z: College of Mechanical and Electrical Engineering, Tarim University, Alar 843300, China
Wang X: College of Mechanical and Electrical Engineering, Tarim University, Alar 843300, China; Modern Agricultural Engineering Key Laboratory at Universities of Education Department of Xinjiang Uygur Autonomous Region, Tarim University, Alar 843300, China
Hu C: College of Mechanical and Electrical Engineering, Tarim University, Alar 843300, China; Modern Agricultural Engineering Key Laboratory at Universities of Education Department of Xinjiang Uygur Autonomous Region, Tarim University, Alar 843300, China [ORCID]
Xing J: College of Mechanical and Electrical Engineering, Tarim University, Alar 843300, China; Modern Agricultural Engineering Key Laboratory at Universities of Education Department of Xinjiang Uygur Autonomous Region, Tarim University, Alar 843300, China
Journal Name
Processes
Volume
11
Issue
9
First Page
2682
Year
2023
Publication Date
2023-09-07
Published Version
ISSN
2227-9717
Version Comments
Original Submission
Other Meta
PII: pr11092682, Publication Type: Journal Article
Record Map
Published Article

LAPSE:2024.0135
This Record
External Link

doi:10.3390/pr11092682
Publisher Version
Download
Files
[Download 1v1.pdf] (12.7 MB)
Jan 12, 2024
Main Article
License
CC BY 4.0
Meta
Record Statistics
Record Views
86
Version History
[v1] (Original Submission)
Jan 12, 2024
 
Verified by curator on
Jan 12, 2024
This Version Number
v1
Citations
Most Recent
This Version
URL Here
https://psecommunity.org/LAPSE:2024.0135
 
Original Submitter
Calvin Tsay
Links to Related Works
Directly Related to This Work
Publisher Version