Melola Discovery

← Melola Discovery

Open access Journal SINTA 1

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

Bulletin of Electrical Engineering and Informatics · Vol. 14 No. 1 (2025) · pp. 366–376

DOI
10.11591/eei.v14i1.7627
ISSN
2089-3191, 2302-9285
Published
2025-02-01
Publisher
Institute of Advanced Engineering and Science (IAES)
Language
en
License
creativecommons.org/licenses/by-sa/4.0/

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.

Keywords

Collaboration network of the authors

40 authors · 91 co-authorship links · 56 across different organisations · showing the 40 most connected

Hover or tap a name to highlight its co-authors. Double-click to open the author's page.

  • BRAC University
  • University of Technology Malaysia
  • Chittagong University of Engineering & Technology
  • Woosong University
  • Hankuk University of Foreign Studies
  • Multimedia University
  • Bangladesh University of Business and Technology
  • Other organisations
  • Affiliation unknown
  • Different organisations
  • Same organisation
  • Affiliation unknown
  • Thicker line = more joint articles · bigger circle = more articles
Show as table
Co-authorOrganisationJoint articles
Md. Monirul IslamHankuk University of Foreign Studies4
Md Roman BhuiyanMultimedia University2
Faisal Bin Al AbidUniversity of Technology Malaysia2
Aryati Binti BakriUniversity of Technology Malaysia2
Shefayatuj Johara ChowdhuryBangladesh University of Business and Technology2
Rubel BiswasBRAC University1
Md Junayed HasanBRAC University1
Nibras Ar RakibBRAC University1
SM Zamshed FarhanAffiliation unknown1
Md. Mashrur Bari SobhanBRAC University1
Arafat HabibBRAC University1
Rafid AhmedBRAC University1
Md. Sazzadul IslamBRAC University1
Fabian Parsia GeorgeBRAC University1
Istiaque Mannafee ShaikatBRAC University1
Prommy Sultana HossainBRAC University1
Mohammad Zavid ParvezBRAC University1
Amitabha ChakrabartyBRAC University1
Zannatul FerdoushBRAC University1
Booshra Nazifa MahmudBRAC University1
Mohammad Abul KashemUniversity of Dhaka1
Md. Hasan FurhadAffiliation unknown1
Ripon Kumar ChakraborttyUNSW Canberra1
Michael J. RyanAffiliation unknown1
Iqbal Hasan SarkerChittagong University of Engineering & Technology1
Mohammod Abul KashemDhaka University of Engineering & Technology1
Shabbir AhmadAffiliation unknown1
Md. Golam Rabiul AlamBRAC University1
Tasnim Sakib AponBRAC University1
Abul Bashar BhuiyanBRAC University1
Md. Saiful IslamChittagong University of Engineering & Technology1
Mohammad MohiuddinChittagong University of Engineering & Technology1
Hasin Jawad AliIslamic University of Technology1
Darmawan SatyanandaUniversity of Technology Malaysia1
Ferdaus Anam JibonInternational University of Business Agriculture and Technology1
Kingkar Prosad GhoshR. P. Shaha University1
Shahina HaqueDaffodil International University1
Md. Suhag AliJahangirnagar University1

Affiliations come from OpenAlex; journal OAI-PMH metadata carries none. Authors without an OpenAlex ID are matched by name, which can merge or split people.

Metadata source: OpenAlex API (jurnal SINTA, ADR 0048) https://openalex.org/S2765016208, first harvested 22 Nov 2026, last seen 29 Nov 2026.
Original metadata (oai_dc)
<oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/"><dc:title xml:lang="en">Real-time IoT security framework for detecting a person with a weapon using Raspberry Pi, Google Vertex AI, and AWS</dc:title><dc:creator>Storm Schutte</dc:creator><dc:creator>Jia Uddin</dc:creator><dc:subject>weapon detection</dc:subject><dc:subject>face detection</dc:subject><dc:subject>real-time object detection</dc:subject><dc:subject>Internet of Things security</dc:subject><dc:subject>Raspberry Pi</dc:subject><dc:subject>Amazon Web Services</dc:subject><dc:subject>convolutional neural networks</dc:subject><dc:subject>Django web application</dc:subject><dc:description xml:lang="en">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.</dc:description><dc:publisher>Institute of Advanced Engineering and Science (IAES)</dc:publisher><dc:date>2025-02-01</dc:date><dc:type>info:eu-repo/semantics/article</dc:type><dc:format>application/pdf</dc:format><dc:identifier>https://doi.org/10.11591/eei.v14i1.7627</dc:identifier><dc:identifier>10.11591/eei.v14i1.7627</dc:identifier><dc:source>Bulletin of Electrical Engineering and Informatics; Vol 14 No 1 (2025); 366-376</dc:source><dc:source>2089-3191</dc:source><dc:source>2302-9285</dc:source><dc:language>en</dc:language><dc:relation>https://beei.org/index.php/EEI/article/download/7627/4044</dc:relation><dc:rights>https://creativecommons.org/licenses/by-sa/4.0/</dc:rights></oai_dc:dc>