Melola Discovery

← Melola Discovery

Open access Journal SINTA 1

A lightweight YOLOv5 for real-time dangerous weapons detection

IAES International Journal of Artificial Intelligence · Vol. 13 No. 2 (2024) · pp. 1838–1844

DOI
10.11591/ijai.v13.i2.pp1838-1844
ISSN
2252-8938, 2089-4872
Published
2024-06-01
Publisher
Institute of Advanced Engineering and Science
Language
eng
License
creativecommons.org/licenses/by-sa/4.0

Abstract

Deep neural networks are currently employed to detect weapons, and although these techniques provide a high level of accuracy, it still suffers from large weight parameters and a slow inference speed. When it comes to real-world applications, such as weapon detection, these methods are often not suitable for deployment on embedded devices. Because of the huge number of parameters and poor efficiency. The most recent object detection technique, which belongs to the YOLOv5 class, is commonly used for detecting weapons. However, it faces some difficulties such as high computational parameters and an unfavorable detection rate. to solve these shortcomings. an enhanced lightweight Yolov5s approach is suggested. Which consists of a combination of YOLOv5 and GhostNet modules. To evaluate the efficacy of the suggested technique, a set of experiments was performed on the Sohas weapon dataset., which is commonly used as a reference dataset in the field. Compared to the original YOLOv5, the results indicate a slight increase in the proposed model's mean Average Precision (mAP). Furthermore, there has been a reduction of 2.7 in GFLOPs and weights, and the number of model parameters has decreased by 1.42.

Keywords

Collaboration network of the authors

25 authors · 65 co-authorship links · 8 across different organisations

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

  • University of Hassan II Casablanca
  • Université de technologie de belfort-montbéliard
  • Mohammed V University
  • Affiliation unknown
  • Different organisations
  • Same organisation
  • Affiliation unknown
  • Thicker line = more joint articles · bigger circle = more articles
Show as table
Co-authorOrganisationJoint articles
Aïcha SahelUniversity of Hassan II Casablanca15
Yassine RuichekUniversité de technologie de belfort-montbéliard8
Mohammed RazzokUniversity of Hassan II Casablanca6
Abdennaceur BaghdadUniversity of Hassan II Casablanca4
Abdelhakim BalloukUniversity of Hassan II Casablanca2
Salmi HassanUniversity of Hassan II Casablanca2
Mourad ZegrariUniversity of Hassan II Casablanca2
Baghdad AbdenaceurUniversity of Hassan II Casablanca2
Imane HachchaneUniversity of Hassan II Casablanca2
Marouane LagouirUniversity of Hassan II Casablanca2
Yassine SayoutiUniversity of Hassan II Casablanca2
Abdelhadi Eloudrhiri HassaniMohammed V University2
Hicham QaboucheUniversity of Hassan II Casablanca2
Aıcha SahelAffiliation unknown2
Abir ZaidiUniversity of Hassan II Casablanca1
Btissam BoustaniUniversity of Hassan II Casablanca1
Imane AssiniUniversity of Hassan II Casablanca1
Jihane OuchrifUniversity of Hassan II Casablanca1
Nourdine HerbazUniversity of Hassan II Casablanca1
Hassan El IdrissiUniversity of Hassan II Casablanca1
Hamza SabirUniversity of Hassan II Casablanca1
Ilham ElmourabitAffiliation unknown1

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: OAI-PMH (metadata jurnal) http://ijai.iaescore.com/index.php/IJAI/oai, first harvested 8 Nov 2026, last seen 29 Nov 2026.
Original metadata (oai_dc)
<oai_dc:dc xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/  http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
	<dc:title xml:lang="en-US">A lightweight YOLOv5 for real-time dangerous weapons detection</dc:title>
	<dc:creator>Khalfaoui, Aicha</dc:creator>
	<dc:creator>Badri, Abdelmajid</dc:creator>
	<dc:creator>El Mourabit, Ilham</dc:creator>
	<dc:subject xml:lang="en-US"></dc:subject>
	<dc:subject xml:lang="en-US">Deep learning; Embedded devices; GhostNet; Weapons detection; YOLOv5</dc:subject>
	<dc:description xml:lang="en-US">Deep neural networks are currently employed to detect weapons, and although these techniques provide a high level of accuracy, it still suffers from large weight parameters and a slow inference speed. When it comes to real-world applications, such as weapon detection, these methods are often not suitable for deployment on embedded devices. Because of the huge number of parameters and poor efficiency. The most recent object detection technique, which belongs to the YOLOv5 class, is commonly used for detecting weapons. However, it faces some difficulties such as high computational parameters and an unfavorable detection rate. to solve these shortcomings. an enhanced lightweight Yolov5s approach is suggested. Which consists of a combination of YOLOv5 and GhostNet modules. To evaluate the efficacy of the suggested technique, a set of experiments was performed on the Sohas weapon dataset., which is commonly used as a reference dataset in the field. Compared to the original YOLOv5, the results indicate a slight increase in the proposed model's mean Average Precision (mAP). Furthermore, there has been a reduction of 2.7 in GFLOPs and weights, and the number of model parameters has decreased by 1.42.</dc:description>
	<dc:publisher xml:lang="en-US">Institute of Advanced Engineering and Science</dc:publisher>
	<dc:contributor xml:lang="en-US"></dc:contributor>
	<dc:date>2024-06-01</dc:date>
	<dc:type>info:eu-repo/semantics/article</dc:type>
	<dc:type>info:eu-repo/semantics/publishedVersion</dc:type>
	<dc:type xml:lang="en-US"></dc:type>
	<dc:format>application/pdf</dc:format>
	<dc:identifier>https://ijai.iaescore.com/index.php/IJAI/article/view/23590</dc:identifier>
	<dc:identifier>10.11591/ijai.v13.i2.pp1838-1844</dc:identifier>
	<dc:source xml:lang="en-US">IAES International Journal of Artificial Intelligence (IJ-AI); Vol 13, No 2: June 2024; 1838-1844</dc:source>
	<dc:source>2252-8938</dc:source>
	<dc:source>2089-4872</dc:source>
	<dc:source>10.11591/ijai.v13.i2</dc:source>
	<dc:language>eng</dc:language>
	<dc:relation>https://ijai.iaescore.com/index.php/IJAI/article/view/23590/13984</dc:relation>
	<dc:rights xml:lang="en-US">Copyright (c) 2024 Institute of Advanced Engineering and Science</dc:rights>
	<dc:rights xml:lang="en-US">http://creativecommons.org/licenses/by-sa/4.0</dc:rights>
</oai_dc:dc>