journal article·2023-07-26Open access

Rapid and Accurate Crayfish Sorting by Size and Maturity Based on Improved YOLOv5

Xuhui Ye, Yuxiang Liu, Daode Zhang, Xinyu Hu, Zhuang He, Yan Chen

Applied Sciences· Volume 13· Issue 15

Abstract

In response to the issues of high-intensity labor, low efficiency, and potential damage to crayfish associated with traditional manual sorting methods, an automated and non-contact sorting approach based on an improved YOLOv5 algorithm is proposed for the rapid sorting of crayfish maturity and size. To address the difficulty in focusing on small crayfish, the Backbone is augmented with Coordinate Attention to boost its capability to extract features. Additionally, to address the difficulty in achieving high overall algorithm efficiency and reducing feature redundancy, the Bottleneck Transformer is integrated into both the Backbone and Neck, which improves the accuracy, generalization performance, and the model’s computational proficiency. The dataset of 3464 images of crayfish collected from a crayfish breeding farm is used for the experiments. The dataset is partitioned randomly, with 80% of the data used for training and the remaining 20% used for testing. The results indicate that the proposed algorithm achieves an mAP of 98.8%. Finally, the model is deployed using TensorRT, and the processing time for an image is reduced to just 2 ms, which greatly improves the processing speed of the model. In conclusion, this approach provides an accurate, efficient, fast, and automated solution for crayfish sorting.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Water Quality Monitoring Technologies · Advanced Neural Network Applications · Smart Agriculture and AI

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

School of Mechanical Engineering, Hubei University of Technology, Wuhan 430068, China

School of Mechanical and Electric Engineering, Wuhan Donghu University, Wuhan 430212, China

Funding

National Natural Science Foundation of China · Hubei Province Key R&D Program of China · Hubei Province agricultural machinery equipment reinforcement board core technology application project

References (36)

Show source-provided references
1. (2022). China Crayfish Industry Development Report, China Fisheries Association. (In Chinese).
2. Multi-Perspective Digital Image Correlation Method Using a Single Color Camera10.1007/s11431-017-9101-8 ↗
3. (2023, April 20). Deep Learning for Visual Understanding: A Review-ScienceDirect. Available online: https://www.sciencedirect.com/sc-ience/article/abs/pii/S0925231215017634.
4. Shankar, R.S., Srinivas, L.V., Neelima, P., and Mahesh, G. (2022, January 7–9). A Framework to Enhance Object Detection Performance by Using YOLO Algo-rithm. Proceedings of the 2022 International Conference on Sustainable Computing and Data Communication Systems (ICSCDS), Erode, India.10.1109/ICSCDS53736.2022.9760859 ↗
5. Autonomous Structural Visual Inspection Using R-egion-Based Deep Learning for Detecting Multiple Damage Types: Autonomous SHM Using Deep Faster R-CNN10.1111/mice.12334 ↗
6. (2023, April 19). Optimization of Plane Image Color Enhancement Based on Computer Vision. Available online: https://www.hindawi.c-om/journals/wcmc/2022/3463222/.10.1155/2022/3463222 ↗
7. Weight and Volume Estimation of Poultry and Products Based on Computer Vision Systems: A Review10.1016/j.psj.2021.101072 ↗
8. Deep Learning and Computer Vision for Assessing the Numb-er of Actual Berries in Commercial Vineyards10.1016/j.biosystemseng.2022.04.015 ↗
9. Ahmad Sobri, M.Z., Redhwan, A., Ameen, F., Lim, J.W., Liew, C.S., Mong, G.R., Daud, H., Sokkalingam, R., Ho, C.-D., and Usman, A. (2023). A Review Unveiling Various Machine Learning Algorithms Adopted for Biohydrogen Productions from Microalgae. Fermentation, 9.10.3390/fermentation9030243 ↗
10. Application of K-Means Clustering Algorithm in Colour Image Segmentation of Grouper in SEAWATER Background
11. Kesvarakul, R., Chianrabutra, C., and Chianrabutra, S. (2017, January 24–26). Baby Shrimp Counting via Automated Image Processing. Proceedings of the 9th International Conference on Machine Learning and Computing, Singapore.10.1145/3055635.3056652 ↗
12. Development and Implementation of a Fish Counter by Using an Embedded System10.1016/j.compag.2017.12.023 ↗
13. Recognition of the Storage Life of Mitten Crab by a Machine Olfactory System with Deep Learning10.1111/jfpe.13095 ↗
14. Automatic Bluefin Tuna (Thunnus Thynnus) Biomass Estimation during Transfers Using Acoustic and Computer Vision Techniques10.1016/j.aquaeng.2019.01.005 ↗
15. Classification and Recognition of Fish Farming by Extraction New Features to Control the Economic Aquatic Product10.1155/2021/5530453 ↗
16. Deep Learning Tools for the Measurement of Animal Behavior in Neuroscience10.1016/j.conb.2019.10.008 ↗
17. Enhancing the Generalization Ability of Deep Learning Model for Radio Signal Modulation Recognition10.1007/s10489-022-04374-7 ↗
18. Measurement of dynamic fish dimension based on stereoscopic vision
19. Sun, L., Sun, X., Wu, Y., and Luo, B. (2021). Multi-target Fish Detection Model Based on DRN Faster-R-CNN in Complex Background. Trans. Chin. Soc. Agric. Mach., 52, (In Chinese).
20. Underwater target recognition and tracking method based on YOLO-V3 algorithm
21. YOLO Fish Detection with Euclidean Tracking in Fish Farms10.1007/s12652-020-02847-6 ↗
22. A Marine Object Detection Algorithm Based on SSD and Feature Enhancement10.1155/2020/5476142 ↗
23. Real-Time Detection of Uneaten Feed Pellets in Underwater Images for Aquaculture Using an Improved YOLO-V4 Network10.1016/j.compag.2021.106135 ↗
24. Convolutional Neural Networks for Individual Identification in the Southern Rock Crayfish Supply Chain10.1016/j.foodcont.2020.107419 ↗
25. Jocher, G. (2020). YOLOv5, Ultralytics.
26. Wang, C.Y., Liao, H.Y., Wu, Y.H., Chen, P.Y., Hsieh, J.W., and Yeh, I.H. (2019). CSPNet: A New Backbone That Can Enhance Learning Capability of CNN. arXiv.10.1109/CVPRW50498.2020.00203 ↗
27. Lin, T.-Y., Dollár, P., Girshick, R., He, K., Hariharan, B., and Belongie, S. (2017, January 21–26). Feature Pyramid Networks for Object Detection. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA.10.1109/CVPR.2017.106 ↗
28. Liu, S., Qi, L., Qin, H., Shi, J., and Jia, J. (2018, January 18–23). Path Aggregation Network for Instance Segmentation. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA.10.1109/CVPR.2018.00913 ↗
29. (2023, April 10). Efficient Non-Maximum Suppression IEEE Conference Publication IEEE Xplore. Available online: https://ieeexplore.ieee.org/document/1699659/.
30. Deep Metric Learning with Dynamic Margin Hard Sampling Loss for Face Verification10.1007/s11760-019-01612-3 ↗
31. Srinivas, A., Lin, T.-Y., Parmar, N., Shlens, J., Abbeel, P., and Vaswani, A. (2021, January 20–25). Bottleneck Transformers for Visual Recognition. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Nashville, TN, USA.10.1109/CVPR46437.2021.01625 ↗
32. A Joint Object Detection and Semantic Segmentation Model with Cross-Attention and Inner-Attention Mechanisms10.1016/j.neucom.2021.08.031 ↗
33. Hu, J., Shen, L., and Sun, G. (2018, January 18–23). Squeeze-and-Excitation Networks. Proceedings of the 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA.10.1109/CVPR.2018.00745 ↗
34. Woo, S., Park, J., Lee, J.-Y., and Kweon, I.S. (2018, January 8–14). CBAM: Convolutional block attention module. Proceedings of the European conference on computer vision (ECCV), Munich, Germany.10.1007/978-3-030-01234-2_1 ↗
35. Hou, Q., Zhou, D., and Feng, J. (2021, January 20–25). Coordinate Attention for Efficient Mobile Network Design. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Nashville, TN, USA.10.1109/CVPR46437.2021.01350 ↗
36. Devareddi, R.B., and Srikrishna, A. (2022, January 16–18). Review on Content-Based Image Retrieval Models for Efficient Feature Extraction for Data Analysis. Proceedings of the 2022 International Conference on Electronics and Renewable Systems (ICEARS), Tuticorin, India.10.1109/ICEARS53579.2022.9752281 ↗