{'fraction_non_alphanumeric': 0.022106631989596878, 'fraction_numerical': 0.0, 'mean_word_length': 5.16, '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}}
Dynamic background subtraction using moments

Detection of moving objects is known to be a critical first step in many vision-based applications such as video surveillance. Background Subtraction Algorithms (BSA) offer a solution to detect all foreground pixels in a frame by comparing them with a background model. However, this is still a very challenging task especially when dynamic scenes are involved (camera jitter, noise, etc). In this paper, we present a new method for dynamic background subtraction operation based on invariant moments (Hu Set). Each pixel is modeled as a set of moments calculated from its neighborhood and stored using codebook construction. Experimental results on a set of outdoor scenes show that our method outperforms traditional BSA.