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...

Full description

Bibliographic Details
Main Authors: Yang, Fan, Moldenhauer-Roth, Anita, id_orcid:0 000-0002-2902-4028, Boes, Robert, id_orcid:0 000-0002-0319-976X, Zeng, Yuhong, Albayrak, Ismail, id_orcid:0 000-0002-4613-6726
Format: Article in Journal/Newspaper
Language:English
Published: MDPI 2023
Subjects:
Eel
Online Access:https://hdl.handle.net/20.500.11850/629047
https://doi.org/10.3929/ethz-b-000629047
id ftethz:oai:www.research-collection.ethz.ch:20.500.11850/629047
record_format openpolar
spelling ftethz:oai:www.research-collection.ethz.ch:20.500.11850/629047 2024-01-14T10:06:39+01:00 FishSeg: 3D Fish Tracking Using Mask R-CNN in Large Ethohydraulic Flumes Yang, Fan Moldenhauer-Roth, Anita id_orcid:0 000-0002-2902-4028 Boes, Robert id_orcid:0 000-0002-0319-976X Zeng, Yuhong Albayrak, Ismail id_orcid:0 000-0002-4613-6726 2023-08-30 application/application/pdf https://hdl.handle.net/20.500.11850/629047 https://doi.org/10.3929/ethz-b-000629047 en eng MDPI info:eu-repo/semantics/altIdentifier/doi/10.3390/w15173107 info:eu-repo/semantics/altIdentifier/wos/001061921500001 http://hdl.handle.net/20.500.11850/629047 doi:10.3929/ethz-b-000629047 info:eu-repo/semantics/openAccess http://creativecommons.org/licenses/by/4.0/ Creative Commons Attribution 4.0 International Water, 15 (17) fish behavior fish tracking mask R-CNN Laboratory flume fisheye cameras Trout Eel info:eu-repo/semantics/article info:eu-repo/semantics/publishedVersion 2023 ftethz https://doi.org/20.500.11850/62904710.3929/ethz-b-00062904710.3390/w15173107 2023-12-18T00:51:09Z 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. ISSN:2073-4441 Article in Journal/Newspaper European eel ETH Zürich Research Collection
institution Open Polar
collection ETH Zürich Research Collection
op_collection_id ftethz
language English
topic fish behavior
fish tracking
mask R-CNN
Laboratory flume
fisheye cameras
Trout
Eel
spellingShingle fish behavior
fish tracking
mask R-CNN
Laboratory flume
fisheye cameras
Trout
Eel
Yang, Fan
Moldenhauer-Roth, Anita
id_orcid:0 000-0002-2902-4028
Boes, Robert
id_orcid:0 000-0002-0319-976X
Zeng, Yuhong
Albayrak, Ismail
id_orcid:0 000-0002-4613-6726
FishSeg: 3D Fish Tracking Using Mask R-CNN in Large Ethohydraulic Flumes
topic_facet fish behavior
fish tracking
mask R-CNN
Laboratory flume
fisheye cameras
Trout
Eel
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. ISSN:2073-4441
format Article in Journal/Newspaper
author Yang, Fan
Moldenhauer-Roth, Anita
id_orcid:0 000-0002-2902-4028
Boes, Robert
id_orcid:0 000-0002-0319-976X
Zeng, Yuhong
Albayrak, Ismail
id_orcid:0 000-0002-4613-6726
author_facet Yang, Fan
Moldenhauer-Roth, Anita
id_orcid:0 000-0002-2902-4028
Boes, Robert
id_orcid:0 000-0002-0319-976X
Zeng, Yuhong
Albayrak, Ismail
id_orcid:0 000-0002-4613-6726
author_sort Yang, Fan
title 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_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_sort fishseg: 3d fish tracking using mask r-cnn in large ethohydraulic flumes
publisher MDPI
publishDate 2023
url https://hdl.handle.net/20.500.11850/629047
https://doi.org/10.3929/ethz-b-000629047
genre European eel
genre_facet European eel
op_source Water, 15 (17)
op_relation info:eu-repo/semantics/altIdentifier/doi/10.3390/w15173107
info:eu-repo/semantics/altIdentifier/wos/001061921500001
http://hdl.handle.net/20.500.11850/629047
doi:10.3929/ethz-b-000629047
op_rights info:eu-repo/semantics/openAccess
http://creativecommons.org/licenses/by/4.0/
Creative Commons Attribution 4.0 International
op_doi https://doi.org/20.500.11850/62904710.3929/ethz-b-00062904710.3390/w15173107
_version_ 1788061101004423168