Bulletin of Electrical Engineering and Informatics
Vol 14, No 1: February 2025

Real-time IoT security framework for detecting a person with a weapon using Raspberry Pi, Google Vertex AI, and AWS

Schutte, Storm (Unknown)
Uddin, Jia (Unknown)



Article Info

Publish Date
01 Feb 2025

Abstract

Realtime crime scene detection is a vital issue for ensuring security in various environments. Building on recent advancements in machine learning algorithms, this paper presents an IoT framework for real-time weapon and face detection. By deploying a convolutional neural network (CNN) architecture in Vertex AI and utilizing the portable camera module of a Raspberry Pi, to detect whether a person is carrying a weapon. This is achieved by pre-processing, which we resize and annotate the images. Then, train and validate the CNN model with the annotated label dataset. The trained model is saved in Google Cloud’s Vertex AI portal. Then we tested the model by uploading live images from a camera as well as a few video clips, to a Django application in amazon web hosting services (AWS) to Vertex AI. The model exhibited an accuracy of 97.2% along with a F1 score of 0.97. In addition, the model outperforms the other state-of-the-art models by less trainable parameters and higher accuracy.

Copyrights © 2025






Journal Info

Abbrev

EEI

Publisher

Subject

Electrical & Electronics Engineering

Description

Bulletin of Electrical Engineering and Informatics (Buletin Teknik Elektro dan Informatika) ISSN: 2089-3191, e-ISSN: 2302-9285 is open to submission from scholars and experts in the wide areas of electrical, electronics, instrumentation, control, telecommunication and computer engineering from the ...