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.