Real-time Detection of Aquarium Fish Species Using YOLOv4-tiny on Raspberry Pi 4

Cyril Jay L. Chan, Ethan James A. Reyes, N. Linsangan, Roben A. Juanatas
{"title":"Real-time Detection of Aquarium Fish Species Using YOLOv4-tiny on Raspberry Pi 4","authors":"Cyril Jay L. Chan, Ethan James A. Reyes, N. Linsangan, Roben A. Juanatas","doi":"10.1109/IICAIET55139.2022.9936790","DOIUrl":null,"url":null,"abstract":"A version of the YOLO detection algorithm, the YOLOv4, has yet to find much use on aquatic species. Detection systems optimized for aquarium fish species are also currently lacking. This study provides a detection program for select fish species, namely the dwarf gourami, guppy, and zebrafish, using the YOLOv4-tiny detection model. The program was implemented in the Raspberry Pi 4 Model B single-board computer with an 8MP camera. The YOLOv4-tiny model was trained using images from Kaggle, FishBase, and the Global Biodiversity Information Facility, along with local images. The program was tested on live samples of the three fish species along with one irrelevant fish species, the petticoat tetra. There were three live samples of each species. Close shots for each sample were taken from the aquarium's front, left, right, and back sides, making a total of 48 images for detection. Training data and the confusion matrix from the experiment were utilized to determine the program's reliability in detecting the fish species. For the results, the trained model achieved a mAP of 97.81% during training and a global accuracy of 91.67% during the experiment. The program exhibited reliable performance across the board, achieving above 90% AP and accuracy in all classes.","PeriodicalId":142482,"journal":{"name":"2022 IEEE International Conference on Artificial Intelligence in Engineering and Technology (IICAIET)","volume":"49 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-09-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 IEEE International Conference on Artificial Intelligence in Engineering and Technology (IICAIET)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IICAIET55139.2022.9936790","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

A version of the YOLO detection algorithm, the YOLOv4, has yet to find much use on aquatic species. Detection systems optimized for aquarium fish species are also currently lacking. This study provides a detection program for select fish species, namely the dwarf gourami, guppy, and zebrafish, using the YOLOv4-tiny detection model. The program was implemented in the Raspberry Pi 4 Model B single-board computer with an 8MP camera. The YOLOv4-tiny model was trained using images from Kaggle, FishBase, and the Global Biodiversity Information Facility, along with local images. The program was tested on live samples of the three fish species along with one irrelevant fish species, the petticoat tetra. There were three live samples of each species. Close shots for each sample were taken from the aquarium's front, left, right, and back sides, making a total of 48 images for detection. Training data and the confusion matrix from the experiment were utilized to determine the program's reliability in detecting the fish species. For the results, the trained model achieved a mAP of 97.81% during training and a global accuracy of 91.67% during the experiment. The program exhibited reliable performance across the board, achieving above 90% AP and accuracy in all classes.
利用YOLOv4-tiny在树莓派4上实时检测观赏鱼种类
YOLO检测算法的一个版本,YOLOv4,还没有在水生物种上找到很多用途。目前也缺乏针对观赏鱼品种优化的检测系统。本研究利用YOLOv4-tiny检测模型,提供了一种对精选鱼类,即侏儒gourami、孔雀鱼和斑马鱼的检测程序。该程序在带有800万像素摄像头的树莓派4 B型单板计算机上实现。YOLOv4-tiny模型使用来自Kaggle、FishBase和全球生物多样性信息设施的图像以及当地图像进行训练。该程序在三种鱼类的活样本上进行了测试,另外还有一种不相关的鱼类——衬裙鲤。每个物种有三个活的样本。每个样本都从水族馆的正面、左侧、右侧和背面近距离拍摄,总共有48张图像供检测。利用实验的训练数据和混淆矩阵来确定程序在检测鱼类种类方面的可靠性。结果表明,训练后的模型在训练过程中mAP达到97.81%,在实验过程中全局准确率达到91.67%。该程序全面表现出可靠的性能,所有班级的AP和准确率均达到90%以上。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信