Anomaly Detection Based on Vision Transformer Model and Texture Features
Mohammed Lahraichi1, Abdelhafid Berroukham1 & Khalid Housni1 Show affiliations
- Laboratory of Research in Informatics L@RI, Department of Computer Science, Faculty of Sciences, Ibn Tofail University, Kenitra, Morocco
Journal of Computer Science, Volume 21, Issue 7, pp. 1613–1620 · doi.org/10.3844/jcssp.2025.1613.1620
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.
Licence and reuse
Open access. This article is licensed under a Creative Commons Attribution 4.0 International Licence (CC BY 4.0), as printed on the article, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original authors and the source. No permission is needed.
How to reuse this articleResponses (0)
About this article
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
- Licence
- CC BY 4.0
- Issue
- Volume 21, Issue 7
- Policies
- Editorial independenceUse of generative AIData availabilityAppeals and complaints
- Version
- Version of record
