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
Published in:Water
Main Authors: Fan Yang, Anita Moldenhauer-Roth, Robert M. Boes, Yuhong Zeng, Ismail Albayrak
Format: Article in Journal/Newspaper
Language:English
Published: MDPI AG 2023
Subjects:
Online Access:https://doi.org/10.3390/w15173107
https://doaj.org/article/5f44596714994e2593aed98c193249b3
id ftdoajarticles:oai:doaj.org/article:5f44596714994e2593aed98c193249b3
record_format openpolar
spelling ftdoajarticles:oai:doaj.org/article:5f44596714994e2593aed98c193249b3 2023-10-09T21:51:16+02: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 2023-08-01T00:00:00Z https://doi.org/10.3390/w15173107 https://doaj.org/article/5f44596714994e2593aed98c193249b3 EN eng MDPI AG https://www.mdpi.com/2073-4441/15/17/3107 https://doaj.org/toc/2073-4441 doi:10.3390/w15173107 2073-4441 https://doaj.org/article/5f44596714994e2593aed98c193249b3 Water, Vol 15, Iss 3107, p 3107 (2023) fish behavior fish tracking Mask R-CNN laboratory flume fisheye cameras trout Hydraulic engineering TC1-978 Water supply for domestic and industrial purposes TD201-500 article 2023 ftdoajarticles https://doi.org/10.3390/w15173107 2023-09-10T00:34:34Z 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. Article in Journal/Newspaper European eel Directory of Open Access Journals: DOAJ Articles Water 15 17 3107
institution Open Polar
collection Directory of Open Access Journals: DOAJ Articles
op_collection_id ftdoajarticles
language English
topic fish behavior
fish tracking
Mask R-CNN
laboratory flume
fisheye cameras
trout
Hydraulic engineering
TC1-978
Water supply for domestic and industrial purposes
TD201-500
spellingShingle fish behavior
fish tracking
Mask R-CNN
laboratory flume
fisheye cameras
trout
Hydraulic engineering
TC1-978
Water supply for domestic and industrial purposes
TD201-500
Fan Yang
Anita Moldenhauer-Roth
Robert M. Boes
Yuhong Zeng
Ismail Albayrak
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
Hydraulic engineering
TC1-978
Water supply for domestic and industrial purposes
TD201-500
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 Article in Journal/Newspaper
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
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 AG
publishDate 2023
url https://doi.org/10.3390/w15173107
https://doaj.org/article/5f44596714994e2593aed98c193249b3
genre European eel
genre_facet European eel
op_source Water, Vol 15, Iss 3107, p 3107 (2023)
op_relation https://www.mdpi.com/2073-4441/15/17/3107
https://doaj.org/toc/2073-4441
doi:10.3390/w15173107
2073-4441
https://doaj.org/article/5f44596714994e2593aed98c193249b3
op_doi https://doi.org/10.3390/w15173107
container_title Water
container_volume 15
container_issue 17
container_start_page 3107
_version_ 1779314384412082176