{'fraction_non_alphanumeric': 0.009416195856873822, 'fraction_numerical': 0.0, 'mean_word_length': 5.4817073170731705, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Trajectory Clustering in Surveillance Videos Using Dynamic Time Warping

Adding functional analysis to the videos captured by surveillance cameras can provide handy information to their users. Mining the existing trajectories in a video is one of the most valuable features, discovering the prevalent patterns and their density in the video, and it helps reveal some unusual and abnormal movements more easily. In this paper, the data obtained through the execution of detection and tracking algorithms are processed in various steps and used to train a hierarchical clustering model by deploying a modified version of the DTW algorithm. This practical approach does not need massive datasets for the training procedure and can be applied to any surveillance video containing different types of objects. The proposed method utilizes information extracted from the objects in a video to generate the existing primary trajectories. Additionally, a practical algorithm for modeling the background in surveillance movies is proposed to illustrate clustering outputs.