The invention discloses an urban traffic illegal behavior detection method based on a
video monitoring system. The urban traffic illegal behavior detection method based on the
video monitoring system includes the following steps of trajectory extraction, trajectory structuring, trajectory similarity calculation,
trajectory clustering and modeling and
abnormality detection, wherein in the trajectory extraction step, a video movement target is detected and tracked to extract a target trajectory; in the trajectory structuring step, a trajectory section is segmented and structured, and the trajectory section is represented through four structural characteristics; in the trajectory similarity calculation step, the characteristic distances corresponding to the four structural characteristics of the trajectory section are calculated respectively, and the similarity between trajectories is calculated through weighing and calculation of the relative similarity between the trajectories; in the
trajectory clustering and modeling step, a
similarity matrix is structured according to the similarity between the trajectories, the trajectories are clustered, the clustered trajectories are built into
Gaussian model sets, and the trajectories belonging to the same class are built into one same set of
Gaussian models; in the
abnormality detection step, the probability of a trajectory belonging to each model is calculated, and
abnormality is judged according to whether the largest probability is larger than a preset threshold or not. According to the method, traffic illegal behaviors are detected based on the
video monitoring system, and the efficiency and the accuracy of detection and the illegal behavior class are improved.