{'fraction_non_alphanumeric': 0.016713091922005572, 'fraction_numerical': 0.0, 'mean_word_length': 5.416666666666667, '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}}
Robust compositional method for background subtraction

We present a novel compositional method for background subtraction. The presented method can better handle multi-modal appearance of the background in a dynamic environment. In this method, an illumination compensation method based on Local Binary Pattern is used to compensate sudden global and/or local illumination changes, and it is also used for filtering the pixels from background rather than foreground for background subtraction algorithms. Using this scheme, we can improve the accuracy of background model and make our method better handle the high-frequency illumination changes. An efficient compositional scheme is proposed to combine the parameter-based and the samples-based algorithm for background subtraction. Thanks to this scheme, we can get more reliable results than any of them. A new initialization technique for Gaussian Mixture Model based on spatial information is also presented, which can help us get meaningful results from the second frame. Experimental results clearly justify our method.