Submitted:
12 June 2023
Posted:
12 June 2023
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Materials and Methods
2.1. Dataset, Tools and Target Environment
2.2. General Architecture of the Proposed System
2.3. Employed Fish Detection Approach
2.4. Orientation Classification Method
2.5. Fish Tracking
2.6. ERT Background
2.7. Shape Alignment for Fish Morphological Feature Extraction
3. Experimental Results
4. Discussion
5. Conclusions
Supplementary Materials
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Vo, T.T.E.; Ko, H.; Huh, J.-H.; Kim, Y. Overview of Smart Aquaculture System: Focusing on Applications of Machine Learning and Computer Vision. Electronics 2021, 10, 2882. [Google Scholar] [CrossRef]
- Zion, B. The use of computer vision technologies in aquaculture—A review. Computers and Electronics in Agriculture 2012, 88, 125–13. [Google Scholar] [CrossRef]
- Mathiassen, J.R.; Misimi, E.; Bondø, M.; Veliyulin, E.; Østvik, S.O. Trends in application of imaging technologies to inspection of fish and fish products. Trends in Food Science & Technology 2011, 257–275. [Google Scholar] [CrossRef]
- Franceschelli, L.; Berardinelli, A.; Dabbou, S.; Ragni, L.; Tartagni, M. Sensing Technology for Fish Freshness and Safety: A Review. Sensors 2021, 21, 1373. [Google Scholar] [CrossRef]
- Freitas, J.; Vaz-Pires, P.; Câmara, J.S. From aquaculture production to consumption: Freshness, safety, traceability and authentication, the four pillars of quality. Aquaculture 2020, 518, 734857. [Google Scholar] [CrossRef]
- Choi, J.W.; Jang, M.K.; Hong, C.W.; Lee, J.W.; Choi, J.H.; Kim, K.B.; Xu, X.; Ahn, D.H.; Lee, M.K.; Nam, T.J. Novel application of an optical inspection system to determine the freshness of Scomber japonicus (mackerel) stored at a low temperature. Food Sci Biotechnol 2020, 29, 103–107. [Google Scholar] [CrossRef]
- Dowlati, M.; Mohtasebi, S.S.; Omid, M.; Razavi, S.H.; Jamzad, M.; De La Guardia, M. Freshness assessment of gilthead sea bream (Sparus aurata) by machine vision based on gill and eye color changes. J. Food Eng. 2013, 119, 277–287. [Google Scholar] [CrossRef]
- Li, X.; Shang, M.; Qin, H.; Chen, L. Fast accurate fish detection and recognition of underwater images with Fast R-CNN. Oceans 2015, 1–5. [Google Scholar] [CrossRef]
- Jalal, A.; Salman, A.; Mian, A.; Shortis, M.; Shafait, F. Fish detection and species classification in underwater environments using deep learning with temporal information. Ecological Informatics 2020, 57, 101088. [Google Scholar] [CrossRef]
- Sung. M. Vision based real-time fish detection using convolutional neural network. Oceans 2017, 1–6. [CrossRef]
- Xie, Y. Improved Gaussian Mixture Model in Video Motion Detection. Journal of Multimedia 2013, 8, 527–533. [Google Scholar] [CrossRef]
- Lekunberri, X.; Ruiz, J.; Quincoces, I.; Dornaika, F.; Arganda-Carreras, I.; Fernandes, A.A. Identification and measurement of tropical tuna species in purse seiner catches using computer vision and deep learning. Ecological Informatics 2022, 67, 101495. [Google Scholar] [CrossRef]
- He, K.; Gkioxari, G.; Dollár, P.; Girshick, R. Mask R-CNN. Available online https://arxiv.org/abs/1703.06870. (accessed on 25 May 2023).
- He, K.; Zhang, X.; Ren, S.; Sun, J. Deep Residual Learning for Image Recognition. In Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA, 27–30 June 2016; pp. 770–778. [Google Scholar] [CrossRef]
- Qin, H.; Li, X.; Liang, J.; Peng, Y.; Zhang, C. Deepfish: accurate underwater live fish recognition with a deep architecture. Neurocomputing 2016, 187, 49–58. [Google Scholar] [CrossRef]
- Sun, X.; Shi, J.; Dong, J.; Wang, X. Fish recognition from low-resolution underwater images. Proceedings of 9th IEEE International Congress on Image and Signal Processing, BioMedical Engineering and Informatics (CISP-BMEI), 471–476, Datong, China, 15–17 October 2016. [Google Scholar] [CrossRef]
- Ubina, N.A.; Cheng, S.C.; Chang, C.C.; Cai, S.Y.; Lan, H.Y.; Lu, H.Y. Intelligent underwater Stereo Camera Design for Fish Metric Estimation Using Reliable Object Matching. IEEE Access 2022, 10, 74605–74619. [Google Scholar] [CrossRef]
- Fisher, M.H.; French, J.; Gorpincenko, A.; Mackiewicz, M.; Holah, H.; Clayton, L.; Selkow, R. Motion Stereo at Sea: Dense 3D Reconstruction from Image Sequences Monitoring Conveyor Systems on Board Fishing Vessels. IET Image Processing 2022. [Google Scholar] [CrossRef]
- Karnani, K.; Pepper, J.; Bakis, Y.; Wang, X.; Bart, H.; Breen, D.; Greenberg, J. Computational Metadata Generation Methods for Biological Specimen Image Collections. , PREPRINT (Version 1) available at Research Square. 27 April. [CrossRef]
- Kandimalla, V.; Richard, M.; Smith, F.; Quirion, J.; Torgo, L.; Whidden, C. Automated Detection, Classification and Counting of Fish in Fish Passages With Deep Learning. Front. Mar. Sci. 2022, 8, 823173–10. [Google Scholar] [CrossRef]
- Alori, J.; Descoins, A.; Ríos, B.; Castro, A. Norfair Library. tryolabs/norfair: v0.3.1. Available online: https://doi.org/10.5281/zenodo.5146254 (accessed on 25 May 2023).
- Bochkovskiy, A.; Wang, C. Y.; Liao, H. Y. M. Yolov4: Optimal speed and accuracy of object detection. arXiv 2020, arXiv:2004.10934. [Google Scholar]
- Martignac, F.; Daroux, A.; Bagliniere, J.L.; Ombredane, D.; Guillard, J. The use of acoustic cameras in shallow waters: new hydroacoustic tools for monitoring migratory fish population. A review of DIDSON technology. Fish and Fisheries 2015, 16, 486–510. [Google Scholar] [CrossRef]
- Terayama, K.; Shin, K.; Mizuno, K.; Tsuda, K. Integration of sonar and optical camera images using deep neural network for fish monitoring. Aquacultural Engineering 2019, 86, 102000. [Google Scholar] [CrossRef]
- Fish detection. Available online: https://github.com/kwea123/fish_detection (accessed on 1 March 2023).
- OpenCV. Available online: https://opencv.org/ (accessed on 25 May 2023).
- Kazemi, V.; Sullivan, J. One millisecond face alignment with an ensemble of regression trees. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Columbus, OH, USA, 23–28 June 2014; pp. 867–1874. [Google Scholar] [CrossRef]
- Dlib C++ library. Available online: http://dlib.net/ (accessed on 25 May 2023).
- Deformable Shape Tracking (DEST). Available online: https://github.com/cheind/dest (accessed on 25 May 2023).
- Petrellis, N.; Christakos, P.; Zogas, S.; Mousouliotis, P.; Keramidas, G.; Voros, N.; Antonopoulos, C. Challenges Towards Hardware Acceleration of the Deformable Shape Tracking Application. In Proceedings of the 2021 IFIP/IEEE 29th International Conference on Very Large Scale Integration (VLSI-SoC), Singapore, Singapore, 4–7 October 2021. [Google Scholar] [CrossRef]
- Petrellis, N. Measurement of Fish Morphological Features through Image Processing and Deep Learning Techniques. Appl. Sci. 2021, 11, 4416. [Google Scholar] [CrossRef]
- Chyrka, I.; Kharchenko, V. 1D direction estimation with a YOLO network. In Proceedings of the 2019 European Microwave Conference in Central Europe (EuMCE), Prague, Czech Republic, 13–15 May 2019; pp. 358–361. [Google Scholar]
- Hara, K.; Vemulapalli, R.; Chellappa, R. Designing Deep Convolutional Neural Networks for Continuous Object Orientation Estimation. arXiv:1702.01499. [CrossRef]
- Song, F.; Guo, Z.; Mei, D. Feature selection using principal component analysis. In Proceedings of the 2010 International Conference on System Science, Engineering Design and Manufacturing Informatization, Yichang, China, 18 November 2010; pp. 27–30. [Google Scholar] [CrossRef]
- De Silva A. Object Orientation Detection and Correction using Computer Vision. Culminating Projects in Computer Science and Information Technology. 33. St. Cloud State University, 2020. https://repository.stcloudstate.edu/csit_etds/33.
- Lendave, V. Detecting Orientation of Objects in Image using PCA and OpenCV. Available online: https://analyticsindiamag.com/detecting-orientation-of-objects-in-image-using-pca-and-opencv/ (accessed on 15 May 2023).
- Otsu, N. A threshold selection method from gray-level histograms. IEEE Trans. Sys. Man. Cyber 1979, 9, 62–66. [Google Scholar] [CrossRef]
- Eigen 3.3.9. Available online: https://eigen.tuxfamily.org/ (accessed on May 15, 2023).











| Fish Frame1 | Frame1 Y | Frame1X | Fish Frame2 | Frame2 Y | Frame2 X | Fish Frame3 | Frame3 Y |
Frame3 X |
|---|---|---|---|---|---|---|---|---|
| F0 | 186 | 164 | F0 (12) | 197 | 165 | F3(12) | 206 | 250 |
| F1 | 190 | 63 | F3(52) | 207 | 238 | F0(11) | 197 | 176 |
| F2 | 231 | 409 | F1(14) | 203 | 69 | F1(8) | 211 | 71 |
| F3 | 190 | 242 | F2(14) | 242 | 418 | F2(23) | 243 | 441 |
| F4 | 246 | 353 | F4(13) | 259 | 355 | F6(10) | 276 | 474 |
| F5 | 230 | 285 | F6(12) | 280 | 464 | F1(104) | 117 | 10 |
| F6 | 269 | 459 | F5(21) | 249 | 295 | F4(10) | 265 | 364 |
| F7 | 231 | 254 |
| Type of Error | Error |
|---|---|
| Min Absolute Error | 0.36 pixels |
| Max Absolute Error | 78.33 pixels |
| Average Absolute Error | 17.54 pixels |
| Min Relative Error | 0.1% |
| Max Relative Error | 33.6% |
| Average Relative Error | 4.8% |
| Parameter | Value |
|---|---|
| Min σε deviation | 0.0068 |
| Max σε deviation | 0.081 |
| Average σε deviation | 0.03 |
| σP deviation | 0.0215 |
| Parameter | Value |
|---|---|
| Fish length error | 5.4% |
| Length error deviation | 0.049 |
| Fish height error | 5.5% |
| Width error deviation | 0.062 |
| PCA | COD | FOD | TM | PCA+COD | PCA+COD (2) | PCA+TM | |
|---|---|---|---|---|---|---|---|
| Success Rate: | 44.8% | 67.2% | 43.1% | 63.8% | 65.5% | 65.5% | 77.6% |
| Reference | Description | Error |
|---|---|---|
| [12] | Tuna fish size estimation | SD: 0.328-0.396 |
| [17] | Fish length estimation | Error 5% |
| [18] | Fish size estimation | Error 8% |
| [23] | Fish length estimation | Error 2%-8% depending on the fish size |
| This work | Fish length estimation | Error 5.4% SD: 0.049 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).