Object classification and visualization with edge artificial intelligence for a customized camera trap platform

被引:9
作者
Nazir, Sajid [1 ,3 ]
Kaleem, Mohammad [2 ]
机构
[1] Glasgow Caledonian Univ, Sch Comp Engn & Built Environm, Glasgow City, Scotland
[2] COMSATS Univ, Dept Elect & Comp Engn, Islamabad, Pakistan
[3] Glasgow Caledonian Univ, Cowcaddens Rd, Glasgow G4 0BA, Scotland
关键词
Data science; Computer vision; Deep learning; Model generalization; Fine tuning; Explainable AI; Hyperparameter tuning; Vision transformers; IMAGES; SYSTEM;
D O I
10.1016/j.ecoinf.2023.102453
中图分类号
Q14 [生态学(生物生态学)];
学科分类号
071012 ; 0713 ;
摘要
The camera traps have revolutionized the image and video capture in ecology and are often used to monitor and record animal presence. With miniaturization of low power electronic devices, better battery technologies, and software advancements, it has become possible to use the edge devices, such as Raspberry Pi as camera traps that can not only capture images and videos, but can also enable sophisticated image processing, and off-site communications. These developments can help to provide near real-time insights and reduce the manual processing of images. The on-board image classification and visualization is facilitated by the advancements in the Deep Neural Networks (DNN), transfer learning approaches, and software libraries. This paper provides an investigation of image classification with transfer learning approaches using pretrained DNN models, and visualizations with Explainable Artificial Intelligence (XAI) techniques on Raspberry Pi Zero (RPi-Z) edge device. The MobileNetV2 model was used for image classification on the Florida-Part1 dataset obtaining the results for precision, recall, and F1-score as 0.95, 0.96, and 0.95 respectively. We also compared the model performance of MobileNetV2, EfficientNetV2B0, and MobileViT models for classification on the Extinction dataset with the best results for precision, recall, and F1-score as 0.97, 0.96, and 0.96 respectively, obtained with the EfficientNetV2B0 model. Two XAI techniques, Gradient-weighted-Class Activation Mapping (Grad-CAM) and Occlusion Sensitivity were used for visualization through heatmaps, to highlight the relative importance of the image areas contributing to the DNN model's prediction, that can also help to understand the model's performance and bias. The results provide practical use case scenarios for utilizing the transfer learning approaches, model optimization and deployment to edge devices, and model visualizations in ecological research.
引用
收藏
页数:20
相关论文
共 64 条
[1]  
Beery S, 2019, Arxiv, DOI arXiv:1904.05986
[2]   Automated detection of European wild mammal species in camera trap images with an existing and pre-trained computer vision model [J].
Carl, Christin ;
Schoenfeld, Fiona ;
Profft, Ingolf ;
Klamm, Alisa ;
Landgraf, Dirk .
EUROPEAN JOURNAL OF WILDLIFE RESEARCH, 2020, 66 (04)
[3]  
Chalmers C., 2023, Remote Sens., V15, px, DOI [10.3390/xxxxx, DOI 10.3390/XXXXX]
[4]  
colab.research, Google Colab
[5]  
Cunha F, 2021, Arxiv, DOI arXiv:2104.08859
[6]  
Dosovitskiy A, 2021, Arxiv, DOI [arXiv:2010.11929, DOI 10.48550/ARXIV.2010.11929]
[7]   PICT: A low-cost, modular, open-source camera trap system to study plant-insect interactions [J].
Droissart, Vincent ;
Azandi, Laura ;
Onguene, Eric Rostand ;
Savignac, Marie ;
Smith, Thomas B. ;
Deblauwe, Vincent .
METHODS IN ECOLOGY AND EVOLUTION, 2021, 12 (08) :1389-1396
[8]   Passive acoustic monitoring of animal populations with transfer learning [J].
Dufourq, Emmanuel ;
Batist, Carly ;
Foquet, Ruben ;
Durbach, Ian .
ECOLOGICAL INFORMATICS, 2022, 70
[9]   An approach to rapid processing of camera trap images with minimal human input [J].
Duggan, Matthew T. ;
Groleau, Melissa F. ;
Shealy, Ethan P. ;
Self, Lillian S. ;
Utter, Taylor E. ;
Waller, Matthew M. ;
Hall, Bryan C. ;
Stone, Chris G. ;
Anderson, Layne L. ;
Mousseau, Timothy A. .
ECOLOGY AND EVOLUTION, 2021, 11 (17) :12051-12063
[10]   Importance of machine learning for enhancing ecological studies using information-rich imagery [J].
Dujon, Antoine M. ;
Schofield, Gail .
ENDANGERED SPECIES RESEARCH, 2019, 39 :91-104