This document discusses the implementation of the Hidden Markov Model (HMM) and Gabor filter for detecting traffic violations related to 'don’t enter' and 'don’t turn back' signs. The methodology includes image preprocessing and classification to improve detection accuracy, achieving an average accuracy of 70.31% through k-fold cross-validation. The study highlights the increasing trend of traffic violations and proposes a system for recognizing and classifying these offenses using advanced image processing techniques.