of the model and application, though a high-end card
will guarantee superior performance.
On the other hand, we discovered that the ac-
curacy of the model is more dependent on the vol-
ume and quality of the data with which it is trained.
Thanks to the comparisons between the first dataset
found and the dataset constructed from images of a
video game, it can be concluded that video games can
become a great repository of images that can be used
to solve a real-world context problem using detection
and classification models. Although the findings were
great it is important to note that there are a significant
number of false positives. This could be because the
model is confused by certain images or there are still
unexplored angles of view during the training.
These results allow for the identification of im-
provements that could be made to the project. Firstly,
although the model has shown good performance with
a single camera input, no tests were conducted with
more than one, so its operation would not be opti-
mal in a large security system. As a result, the next
step would be to test the model with multiple inputs.
To achieve this, it would be recommended to retrain
YOLOV7 models or its most recent version YOLOV8
in their ”tiny” variants, which are used to run mod-
els on low-resource computers (Cornejo et al., 2021;
Lozano-Mej
´
ıa et al., 2020). Second, the trials’ dis-
covery of false positives shows that the model can be
significantly strengthened by being trained on a big-
ger amount of data (Rodriguez-Meza et al., 2021).
Given that GTA V was launched ten years ago, it is
advised to try using more contemporary video games,
which offer a comparable selection of weapons and
settings and greater graphic quality to further approxi-
mate reality, in order to continue practicing with video
game graphics. Finally, a good continuation of this
project would be to track the movement of the de-
tected armed criminals by leveraging the identifica-
tion of distinctive features.
REFERENCES
(2009). Mean average precision. In Encyclopedia of
Database Systems, page 1703. Springer US.
Ashraf, H., Imran, M., Qahtani, A., Alsufyani, A., Almu-
tiry, O., Mahmood, A., Khan, M., and Habib, M.
(2022). Weapons detection for security and video
surveillance using cnn and yolo-v5s. Computers, Ma-
terials and Continua, 70:2761–2775.
Bhatti, M. T., Khan, M. G., Aslam, M., and Fiaz, M. J.
(2021). Weapon detection in real-time CCTV videos
using deep learning. IEEE Access, 9:34366–34382.
Cornejo, L., Urbano, R., and Ugarte, W. (2021). Mobile
application for controlling a healthy diet in peru using
image recognition. In FRUCT, pages 32–41. IEEE.
Khemani, B., Patil, S., Kotecha, K., and Tanwar, S. (2024).
A review of graph neural networks: concepts, ar-
chitectures, techniques, challenges, datasets, applica-
tions, and future directions. J. Big Data, 11(1):18.
Lozano-Mej
´
ıa, D., Vega-Uribe, E., and Ugarte, W. (2020).
Content-based image classification for sheet music
books recognition. In EirCon, pages 1–4. IEEE.
Nakkach, C., Zrelli, A., and Ezzedine, T. (2022). Smart bor-
der surveillance system based on deep learning meth-
ods. In ISNCC, pages 1–6. IEEE.
Olmos, R., Tabik, S., and Herrera, F. (2018). Automatic
handgun detection alarm in videos using deep learn-
ing. Neurocomputing, 275:66–72.
Rodriguez-Meza, B., Vargas-Lopez-Lavalle, R., and
Ugarte, W. (2021). Recurrent neural networks for de-
ception detection in videos. In ICAT, pages 397–411.
Springer.
Sung, C. and Park, J. (2021). Design of an intelligent
video surveillance system for crime prevention: ap-
plying deep learning technology. Multim. Tools Appl.,
80(26):34297–34309.
Tian, Y., Yang, G., Wang, Z., Wang, H., Li, E., and Liang, Z.
(2019). Apple detection during different growth stages
in orchards using the improved YOLO-V3 model.
Comput. Electron. Agric., 157:417–426.
Zhou, Y., Xia, L., Zhao, J., Yao, R., and Liu, B. (2024).
Efficient convolutional neural networks and network
compression methods for object detection: a survey.
Multim. Tools Appl., 83(4):10167–10209.
Use of Custom Videogame Dataset and YOLO Model for Accurate Handgun Detection in Real-Time Video Security Applications
529