An IoT System Using Deep Learning to Classify Camera Trap Images on the Edge

被引:28
作者
Zualkernan, Imran [1 ]
Dhou, Salam [1 ]
Judas, Jacky [2 ]
Sajun, Ali Reza [1 ]
Gomez, Brylle Ryan [1 ]
Hussain, Lana Alhaj [1 ]
机构
[1] Amer Univ Sharjah, Comp Sci & Engn Dept, Sharjah 26666, U Arab Emirates
[2] Emirates Nat WWF, Conservat Unit, Dubai 454891, U Arab Emirates
关键词
deep learning; animal classification; image classification; Internet of Things; image processing; edge computing; animal surveillance; wildlife monitoring;
D O I
10.3390/computers11010013
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Camera traps deployed in remote locations provide an effective method for ecologists to monitor and study wildlife in a non-invasive way. However, current camera traps suffer from two problems. First, the images are manually classified and counted, which is expensive. Second, due to manual coding, the results are often stale by the time they get to the ecologists. Using the Internet of Things (IoT) combined with deep learning represents a good solution for both these problems, as the images can be classified automatically, and the results immediately made available to ecologists. This paper proposes an IoT architecture that uses deep learning on edge devices to convey animal classification results to a mobile app using the LoRaWAN low-power, wide-area network. The primary goal of the proposed approach is to reduce the cost of the wildlife monitoring process for ecologists, and to provide real-time animal sightings data from the camera traps in the field. Camera trap image data consisting of 66,400 images were used to train the InceptionV3, MobileNetV2, ResNet18, EfficientNetB1, DenseNet121, and Xception neural network models. While performance of the trained models was statistically different (Kruskal-Wallis: Accuracy H(5) = 22.34, p < 0.05; F1-score H(5) = 13.82, p = 0.0168), there was only a 3% difference in the F1-score between the worst (MobileNet V2) and the best model (Xception). Moreover, the models made similar errors (Adjusted Rand Index (ARI) > 0.88 and Adjusted Mutual Information (AMU) > 0.82). Subsequently, the best model, Xception (Accuracy = 96.1%; F1-score = 0.87; F1-Score = 0.97 with oversampling), was optimized and deployed on the Raspberry Pi, Google Coral, and Nvidia Jetson edge devices using both TenorFlow Lite and TensorRT frameworks. Optimizing the models to run on edge devices reduced the average macro F1-Score to 0.7, and adversely affected the minority classes, reducing their F1-score to as low as 0.18. Upon stress testing, by processing 1000 images consecutively, Jetson Nano, running a TensorRT model, outperformed others with a latency of 0.276 s/image (s.d. = 0.002) while consuming an average current of 1665.21 mA. Raspberry Pi consumed the least average current (838.99 mA) with a ten times worse latency of 2.83 s/image (s.d. = 0.036). Nano was the only reasonable option as an edge device because it could capture most animals whose maximum speeds were below 80 km/h, including goats, lions, ostriches, etc. While the proposed architecture is viable, unbalanced data remain a challenge and the results can potentially be improved by using object detection to reduce imbalances and by exploring semi-supervised learning.
引用
收藏
页数:24
相关论文
共 50 条
  • [1] Towards an IoT-based Deep Learning Architecture for Camera Trap Image Classification
    Zualkernan, Imran A.
    Dhou, Salam
    Judas, Jacky
    Sajun, Ali Reza
    Gomez, Brylle Ryan
    Hussain, Lana Alhaj
    Sakhnini, Dara
    2020 IEEE GLOBAL CONFERENCE ON ARTIFICIAL INTELLIGENCE AND INTERNET OF THINGS (GCAIOT), 2020, : 111 - 116
  • [2] Removing Human Bottlenecks in Bird Classification Using Camera Trap Images and Deep Learning
    Chalmers, Carl
    Fergus, Paul
    Wich, Serge
    Longmore, Steven. N. N.
    Walsh, Naomi Davies
    Stephens, Philip. A. A.
    Sutherland, Chris
    Matthews, Naomi
    Mudde, Jens
    Nuseibeh, Amira
    REMOTE SENSING, 2023, 15 (10)
  • [3] Machine learning to classify animal species in camera trap images: Applications in ecology
    Tabak, Michael A.
    Norouzzadeh, Mohammad S.
    Wolfson, David W.
    Sweeney, Steven J.
    Vercauteren, Kurt C.
    Snow, Nathan P.
    Halseth, Joseph M.
    Di Salvo, Paul A.
    Lewis, Jesse S.
    White, Michael D.
    Teton, Ben
    Beasley, James C.
    Schlichting, Peter E.
    Boughton, Raoul K.
    Wight, Bethany
    Newkirk, Eric S.
    Ivan, Jacob S.
    Odell, Eric A.
    Brook, Ryan K.
    Lukacs, Paul M.
    Moeller, Anna K.
    Mandeville, Elizabeth G.
    Clune, Jeff
    Miller, Ryan S.
    METHODS IN ECOLOGY AND EVOLUTION, 2019, 10 (04): : 585 - 590
  • [4] A deep active learning system for species identification and counting in camera trap images
    Norouzzadeh, Mohammad Sadegh
    Morris, Dan
    Beery, Sara
    Joshi, Neel
    Jojic, Nebojsa
    Clune, Jeff
    METHODS IN ECOLOGY AND EVOLUTION, 2021, 12 (01): : 150 - 161
  • [5] Edge Computing Network Intrusion Detection System in IoT Using Deep Learning
    Hinojosa, Andres
    Majd, Nahid Ebrahimi
    2024 33RD INTERNATIONAL CONFERENCE ON COMPUTER COMMUNICATIONS AND NETWORKS, ICCCN 2024, 2024,
  • [6] Deep Learning Methods for Animal Counting in Camera Trap Images
    Wang, Yizhen
    Zhang, Yang
    Feng, Yuan
    Shang, Yi
    2022 IEEE 34TH INTERNATIONAL CONFERENCE ON TOOLS WITH ARTIFICIAL INTELLIGENCE, ICTAI, 2022, : 939 - 943
  • [7] Identifying animal species in camera trap images using deep learning and citizen science
    Willi, Marco
    Pitman, Ross T.
    Cardoso, Anabelle W.
    Locke, Christina
    Swanson, Alexandra
    Boyer, Amy
    Veldthuis, Marten
    Fortson, Lucy
    METHODS IN ECOLOGY AND EVOLUTION, 2019, 10 (01): : 80 - 91
  • [8] Remote Insects Trap Monitoring System Using Deep Learning Framework and IoT
    Ramalingam, Balakrishnan
    Mohan, Rajesh Elara
    Pookkuttath, Sathian
    Gomez, Braulio Felix
    Sairam Borusu, Charan Satya Chandra
    Wee Teng, Tey
    Tamilselvam, Yokhesh Krishnasamy
    SENSORS, 2020, 20 (18) : 1 - 17
  • [9] CamThings: IoT Camera with Energy-Efficient Communication by Edge Computing based on Deep Learning
    Lim, Jaebong
    Seo, Juhee
    Back, Yunju
    2018 28TH INTERNATIONAL TELECOMMUNICATION NETWORKS AND APPLICATIONS CONFERENCE (ITNAC), 2018, : 181 - 186
  • [10] Anomaly Detection at the IoT Edge using Deep Learning
    Utomo, Darmawan
    Hsiung, Pao-Ann
    2019 IEEE INTERNATIONAL CONFERENCE ON CONSUMER ELECTRONICS - TAIWAN (ICCE-TW), 2019,