An improved YOLOv3 algorithm to detect molting in swimming crabs against a complex background

Abstract Traditional methods of breeding soft-shell crabs mainly rely on manual identification, which has high costs regarding manpower and resources. Manual inspection may also interfere with crabs’ molting, causing molting failure, and possibly even death, which is costly and inefficient. This paper combines an improved YOLOv3 algorithm with an adaptive dark-channel defogging algorithm to realize the real-time detection of whether a swimming crab in a single-crab basket-culture system is molting. For learning more features, affine, rotation transformation and local occlusion are used to augment the training data to simulate the difficulty of identification caused by occlusion, in case molting may occur under distorted viewing conditions in real culture environments. A k-means++ clustering algorithm is used to obtain prior boxes matching the size of the carapace throughout the entire breeding cycle, and so improve the Intersection over Union (IOU). The identification network itself can have its network structure pruned and the non-maximum suppression function modified to increase rapidity and accuracy; the improved network can recognize and give early warning of the early stage of molting. The precision of the improved model in clean water reaches 100 %, and the running speed was 31 FPS. In turbid water where the prediction confidence is lower than the cut-in threshold of defogging algorithm set as 0.8, the precision of the improved model was over 91 %, and the speed can still maintain about 7 FPS.

[1]  R. Ravindraiah,et al.  A Survey of Image Segmentation Algorithms Based On Fuzzy Clustering , 2013 .

[2]  Ali Farhadi,et al.  YOLOv3: An Incremental Improvement , 2018, ArXiv.

[3]  Zheng Bin,et al.  Airport Scene Aircraft Detection Method Based on YOLO v3 , 2019 .

[4]  S. Benjakul,et al.  Muscle changes in hard and soft shell crabs during frozen storage , 2009 .

[5]  Manish Dixit,et al.  Image Segmentation Methods: A Survey Approach , 2014, 2014 Fourth International Conference on Communication Systems and Network Technologies.

[6]  Jian Sun,et al.  Guided Image Filtering , 2010, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[7]  Codruta O. Ancuti,et al.  Enhancing underwater images and videos by fusion , 2012, 2012 IEEE Conference on Computer Vision and Pattern Recognition.

[8]  Ali Farhadi,et al.  You Only Look Once: Unified, Real-Time Object Detection , 2015, 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR).

[9]  B. L. McGlamery,et al.  A Computer Model For Underwater Camera Systems , 1980, Other Conferences.

[10]  Boaz Zion,et al.  Review: The use of computer vision technologies in aquaculture - A review , 2012 .

[11]  Jian Sun,et al.  Single image haze removal using dark channel prior , 2009, CVPR.

[12]  Jules S. Jaffe,et al.  Computer modeling and the design of optimal underwater imaging systems , 1990 .