FishSeg: 3D Fish Tracking Using Mask R-CNN in Large Ethohydraulic Flumes
To study the fish behavioral response to up- and downstream fish passage structures, live-fish tests are conducted in large flumes in various laboratories around the world. The use of multiple fisheye cameras to cover the full width and length of a flume, low color contrast between fish and flume bo...
Published in: | Water |
---|---|
Main Authors: | , , , , |
Format: | Text |
Language: | English |
Published: |
Multidisciplinary Digital Publishing Institute
2023
|
Subjects: | |
Online Access: | https://doi.org/10.3390/w15173107 |
_version_ | 1821506691613589504 |
---|---|
author | Fan Yang Anita Moldenhauer-Roth Robert M. Boes Yuhong Zeng Ismail Albayrak |
author_facet | Fan Yang Anita Moldenhauer-Roth Robert M. Boes Yuhong Zeng Ismail Albayrak |
author_sort | Fan Yang |
collection | MDPI Open Access Publishing |
container_issue | 17 |
container_start_page | 3107 |
container_title | Water |
container_volume | 15 |
description | To study the fish behavioral response to up- and downstream fish passage structures, live-fish tests are conducted in large flumes in various laboratories around the world. The use of multiple fisheye cameras to cover the full width and length of a flume, low color contrast between fish and flume bottom and non-uniform illumination leading to fish shadows, air bubbles wrongly identified as fish as well as fish being partially hidden behind each other are the main challenges for video-based fish tracking. This study improves an existing open-source fish tracking code to better address these issues by using a modified Mask Regional-Convolutional Neural Network (Mask R-CNN) as a tracking method. The developed workflow, FishSeg, consists of four parts: (1) stereo camera calibration, (2) background subtraction, (3) multi-fish tracking using Mask R-CNN, and (4) 3D conversion to flume coordinates. The Mask R-CNN model was trained and validated with datasets manually annotated from background subtracted videos from the live-fish tests. Brown trout and European eel were selected as target fish species to evaluate the performance of FishSeg with different types of body shapes and sizes. Comparison with the previous method illustrates that the tracks generated by FishSeg are about three times more continuous with higher accuracy. Furthermore, the code runs more stable since fish shadows and air bubbles are not misidentified as fish. The trout and eel models produced from FishSeg have mean Average Precisions (mAPs) of 0.837 and 0.876, respectively. Comparisons of mAPs with other R-CNN-based models show the reliability of FishSeg with a small training dataset. FishSeg is a ready-to-use open-source code for tracking any fish species with similar body shapes as trout and eel, and further fish shapes can be added with moderate effort. The generated fish tracks allow researchers to analyze the fish behavior in detail, even in large experimental facilities. |
format | Text |
genre | European eel |
genre_facet | European eel |
id | ftmdpi:oai:mdpi.com:/2073-4441/15/17/3107/ |
institution | Open Polar |
language | English |
op_collection_id | ftmdpi |
op_coverage | agris |
op_doi | https://doi.org/10.3390/w15173107 |
op_relation | https://dx.doi.org/10.3390/w15173107 |
op_rights | https://creativecommons.org/licenses/by/4.0/ |
op_source | Water Volume 15 Issue 17 Pages: 3107 |
publishDate | 2023 |
publisher | Multidisciplinary Digital Publishing Institute |
record_format | openpolar |
spelling | ftmdpi:oai:mdpi.com:/2073-4441/15/17/3107/ 2025-01-16T21:46:54+00:00 FishSeg: 3D Fish Tracking Using Mask R-CNN in Large Ethohydraulic Flumes Fan Yang Anita Moldenhauer-Roth Robert M. Boes Yuhong Zeng Ismail Albayrak agris 2023-08-30 application/pdf https://doi.org/10.3390/w15173107 eng eng Multidisciplinary Digital Publishing Institute https://dx.doi.org/10.3390/w15173107 https://creativecommons.org/licenses/by/4.0/ Water Volume 15 Issue 17 Pages: 3107 fish behavior fish tracking Mask R-CNN laboratory flume fisheye cameras trout eel Text 2023 ftmdpi https://doi.org/10.3390/w15173107 2023-09-03T23:53:59Z To study the fish behavioral response to up- and downstream fish passage structures, live-fish tests are conducted in large flumes in various laboratories around the world. The use of multiple fisheye cameras to cover the full width and length of a flume, low color contrast between fish and flume bottom and non-uniform illumination leading to fish shadows, air bubbles wrongly identified as fish as well as fish being partially hidden behind each other are the main challenges for video-based fish tracking. This study improves an existing open-source fish tracking code to better address these issues by using a modified Mask Regional-Convolutional Neural Network (Mask R-CNN) as a tracking method. The developed workflow, FishSeg, consists of four parts: (1) stereo camera calibration, (2) background subtraction, (3) multi-fish tracking using Mask R-CNN, and (4) 3D conversion to flume coordinates. The Mask R-CNN model was trained and validated with datasets manually annotated from background subtracted videos from the live-fish tests. Brown trout and European eel were selected as target fish species to evaluate the performance of FishSeg with different types of body shapes and sizes. Comparison with the previous method illustrates that the tracks generated by FishSeg are about three times more continuous with higher accuracy. Furthermore, the code runs more stable since fish shadows and air bubbles are not misidentified as fish. The trout and eel models produced from FishSeg have mean Average Precisions (mAPs) of 0.837 and 0.876, respectively. Comparisons of mAPs with other R-CNN-based models show the reliability of FishSeg with a small training dataset. FishSeg is a ready-to-use open-source code for tracking any fish species with similar body shapes as trout and eel, and further fish shapes can be added with moderate effort. The generated fish tracks allow researchers to analyze the fish behavior in detail, even in large experimental facilities. Text European eel MDPI Open Access Publishing Water 15 17 3107 |
spellingShingle | fish behavior fish tracking Mask R-CNN laboratory flume fisheye cameras trout eel Fan Yang Anita Moldenhauer-Roth Robert M. Boes Yuhong Zeng Ismail Albayrak FishSeg: 3D Fish Tracking Using Mask R-CNN in Large Ethohydraulic Flumes |
title | FishSeg: 3D Fish Tracking Using Mask R-CNN in Large Ethohydraulic Flumes |
title_full | FishSeg: 3D Fish Tracking Using Mask R-CNN in Large Ethohydraulic Flumes |
title_fullStr | FishSeg: 3D Fish Tracking Using Mask R-CNN in Large Ethohydraulic Flumes |
title_full_unstemmed | FishSeg: 3D Fish Tracking Using Mask R-CNN in Large Ethohydraulic Flumes |
title_short | FishSeg: 3D Fish Tracking Using Mask R-CNN in Large Ethohydraulic Flumes |
title_sort | fishseg: 3d fish tracking using mask r-cnn in large ethohydraulic flumes |
topic | fish behavior fish tracking Mask R-CNN laboratory flume fisheye cameras trout eel |
topic_facet | fish behavior fish tracking Mask R-CNN laboratory flume fisheye cameras trout eel |
url | https://doi.org/10.3390/w15173107 |