Identification and Counting of Pirapitinga Piaractus brachypomus Fingerlings Fish Using Machine Learning

Animals (Basel). 2024 Oct 17;14(20):2999. doi: 10.3390/ani14202999.

Abstract

Identifying and counting fish are crucial for managing stocking, harvesting, and marketing of farmed fish. Researchers have used convolutional networks for these tasks and explored various approaches to enhance network learning. Batch normalization is one technique that improves network stability and accuracy. This study aimed to evaluate machine learning for identifying and counting pirapitinga Piaractus brachypomus fry with different batch sizes. The researchers used one thousand photographic images of Pirapitinga fingerlings, labeled with bounding boxes. They trained the adapted convolutional network model with batch normalization layers added at the end of each convolution block. They set the training to one hundred and fifty epochs and tested batch sizes of 5, 10, and 20. Furthermore, they measured network performance using precision, recall, and mAP@0.5. Models with smaller batch sizes performed less effectively. The training with a batch size of 20 achieved the best performance, with a precision of 96.74%, recall of 95.48%, mAP@0.5 of 97.08%, and accuracy of 98%. This indicates that larger batch sizes improve accuracy in detecting and counting pirapitinga fry across different fish densities.

Keywords: South American round fish; aquaculture; automation; detection algorithm; neural network.

Grants and funding

Center of Excellence in Agri-Food Systems and Nutrition—Eduardo Mondlane University—Mupato, Mozambique. Federal Institute of Goiás, Rio Verde Campus (IF Goiano). Coordination for the Improvement of Higher Education Personnel (CAPES). National Council for Scientific and Technological Development (CNPq). Goiás State Research Support Foundation (FAPEG). Centre of Excellence in Exponential Agriculture (CEAGRE).