Sign inSubmit
computersciencejournal.org is not ours. This journal is published only at thescipub.com/jcs. Report a suspicious emailcomputersciencejournal.org is not ours · Report
ArticleMetrics
Research Article · Open access · Published 10 July 2025

Anomaly Detection Based on Vision Transformer Model and Texture Features

Mohammed Lahraichi1, Abdelhafid Berroukham1 & Khalid Housni1

Journal of Computer Science, Volume 21, Issue 7, pp. 1613–1620 · doi.org/10.3844/jcssp.2025.1613.1620

3,682 accesses1,817 downloads0 citations (Crossref)Metrics
Cite Check for updates

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 article

Responses (0)

Have a comment on this research? Sign in to respond. Responses are moderated and published with your name and affiliation; the authors are invited to reply. How we use your dataWrite a response

About this article

Cite 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
Anomaly Detection Based on Vision Transformer Model and Texture FeaturesJournal of Computer Science · Volume 21, Issue 7 · pp. 1613–1620 · CC BY 4.0Download