Research Article Open Access

Anomaly Detection Based on Vision Transformer Model and Texture Features

Mohammed Lahraichi1, Abdelhafid Berroukham1 and Khalid Housni1
  • 1 Laboratory of Research in Informatics L@RI, Department of Computer Science, Faculty of Sciences, Ibn Tofail University, Kenitra, Morocco

Abstract

Anomaly detection is one of the video surveillance applications,which aims to detect and analyze abnormal behaviors and risky situations inorder to prevent accidents. Various deep learning models have beenpreviously developed for this purpose, such as CNN, RNN, and VisionTransformer, each one has its strengths and weaknesses based on the qualityof input data. This paper proposes a novel approach based on the texturecharacteristics of input frames. In order to enrich the input data of the visiontransformer model, and enhance feature extraction for the detection ofanomaly, we combine the original image with its texture extracted usingLocal Binary Pattern (LBP), and fed them into a fine-tuned pre-trainedVision Transformer, enabling the automatic classification of video framesinto abnormal and normal categories. The results demonstrate theeffectiveness of our approach in identifying risky situations in videosequences.

Journal of Computer Science
Volume 21 No. 7, 2025, 1613-1620

DOI: https://doi.org/10.3844/jcssp.2025.1613.1620

Submitted On: 20 January 2025 Published On: 10 July 2025

How to Cite: Lahraichi, M., Berroukham, A. & Housni, K. (2025). Anomaly Detection Based on Vision Transformer Model and Texture Features. Journal of Computer Science, 21(7), 1613-1620. https://doi.org/10.3844/jcssp.2025.1613.1620

  • 76 Views
  • 39 Downloads
  • 0 Citations

Download

Keywords

  • Anomaly Detection
  • Deep Learning
  • Vision Transformer
  • LBP