Lightweight Model for River Crab Detection Based on Image Enhancement and Improved YOLO v5s
Abstract
Using machine vision technology to identify underwater crab targets is one of the effective ways to achieve intelligent crab farming equipment. However, river crab detection methods face challenges in the difficulty of target detection in underwater environments, limited feature information and high complexity of mainstream target detection models. To solve these challenges, a lightweight river crab detection model GC-YOLO v5s (GhostNetV2-CBAM-YOLO v5s) was proposed. These specific enhancements were as follows: an improved image enhancement algorithm was used to preprocess underwater crab images to improve the detection accuracy;in order to reduce model complexity, a G3 module based on GhostNetV2 was proposed to improve the feature extraction network of the model, and Ghost convolution was used to further lightweight the model;the convolution block attention module (CBAM) was introduced to solve the challenge of extracting deep features within underwater environments, which were integrated into the feature extraction network. The experimental results demonstrated the improved model’s mAP50, recall, and precision on the test set, reaching 95.61%, 97.03% and 96.94%, respectively. These metrics displayed enhancements of 2.80 percentage points, 2.25 percentage points and 2.28 percentage points compared with the baseline. Moreover, GC-YOLO v5s parameters, computations, and model size were only 69.1%, 56.3%, and 58.3% of YOLO v5s respectively. Comparative trials against mainstream object detection algorithms showcased the superiority in accuracy and model complexity. While slightly trailing YOLO v5s in detect speed, GC-YOLO achieved 104f/s.
Keyword: aquaculture ; river crab detection model ; image enhancement ; YOLO v5s ; lightweight
Download Full Text:
PDFReferences
ZHAO Dean, CAO Shuo, SUN Yueping, et al. Small-sized efficient detector for underwater freely live crabs based on compound scaling neural network [ J ]. Transactions of the Chinese Society for Agricultural Machinery, 2020, 51 (9); 163 - 174. (in Chinese)
ZHANG L, LI B, SUN X, et al. Intelligent fish feeding based on machine vision; a review [J ]. Biosystems Engineering, 2023, 231 ; 133 - 164.
LIU C, WANG Z, LI Y, et al. Research progress of computer vision technology in abnormal fish detection [J]. Aquacultural Engineering, 2023, 103:102350.
ZHAO Dean, LIU Xiaoyang, SUN Yueping, et al. Detection of underwater crabs based on machine vision [J]. Transactions of the Chinese Society for Agricultural Machinery ,2019,50( 3 ) ;151 - 158. (in Chinese)
CAO S, ZHAO D, LIU X, et al. Real-time robust detector for underwater live crabs based on deep learning [ J]. Computers and Electronics in Agriculture, 2020, 172; 105339.
XIONG Haitao, LIN Qi, XUAN Kui, et al. Sea cucumber object detection algorithm based on improved Faster R — CNN [J]. Transactions of the Chinese Society for Agricultural Machinery ,2022 ,53 ( Supp. 2) ;204 -209. (in Chinese)
JI W, PENG J, XU B, et al. Real-time detection of underwater river crab based on multi-scale pyramid fusion image enhancement and MobileCenterNet model [j]. Computers and Electronics in Agriculture, 2023, 204: 107522.
REDMON J, DIVVALA S, GIRSHICK R, et al. You only look once; unified, real-time object detection [ С ] // Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2016; 779 -788.
REDMON J, FARHADI A. YOLO v3 : an incremental improvement [J]. arXiv Preprint, arXiv; 1804. 02767 , 2018.
BOCHKOVSKIY A, WANG С Y, LIAO H Y M. YOLO v4; optimal speed and accuracy of object detection [J]. arXiv Preprint, arXiv;2004. 10934, 2020.
LI C, LI L, JIANG H, et al. YOLO v6; a single-stage object detection framework for industrial applications [J]. arXiv Preprint, arXiv;2209. 02976, 2022.
WANG С Y, BOCHKOVSKIY A, LIAO H V M. YOLO v7; trainable bag-of-freebies sets new state-of-the-art for real-time object detectors[ С]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2023: 7464 -7475.
JAFFE J S. Computer modeling and the design of optimal underwater imaging systems [J]. IEEE Journal of Oceanic Engineering, 1990, 15(2); 101 - 111.
LI C, ANWAR S, HOU J, et al. Underwater image enhancement via medium transmission-guided multi-color space embedding [j ]. IEEE Transactions on Image Processing, 2021 , 30; 4985 -5000.
QIN Xuebiao, HUANG Dongmei, SONG Wei, et al. Fish detection method of multiple enhanced and outputs blend for blurred underwater images [ J]. Transactions of the Chinese Society for Agricultural Machinery ,2022 ,53 ( 7 ) : 243 -249. ( in Chinese)
ZHANG S, WANG T, DONG J, et al. Underwater image enhancement via extended multi-scale RetinexfJ]. Neurocomputing, 2017, 245: 1 -9.
GIANIN1 G, RIZZI A, DAMIANI E. A retinex model based on absorbing Markov chains[J]. Information Sciences, 2016, 327: 149 - 174.
ATAIE R, EMRANI Z A A, SAFAEI M Y. An efficient inexact full adder cell design in CNFET technology with high-PSNR for image processing [j ]. International Journal of Electronics, 2019, 106(6) ; 928 -944.
PANETTA K, GAO C, AGAIAN S. Human-visual-system-inspired underwater image quality measures [ J ]. IEEE Journal of Oceanic Engineering, 2016, 41(3) :541 -551.
Refbacks
- There are currently no refbacks.