{'fraction_non_alphanumeric': 0.011494252873563218, 'fraction_numerical': 0.0, 'mean_word_length': 5.758620689655173, '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}}
Motion foreground detection based on wavelet transformation and color ratio difference

An algorithm is presented for detecting foreground objects with multi-scale wavelet transformation and color ratio difference. Multi-scale wavelet transformation method is used to segment moving objects based on spatial property. Ratio differences between two adjacent pixels in four different directions are used to classify object pixels. RGB color space is selected to segment moving foregrounds and eliminate cast shadows instead of complex color models. The developed approach does not require any complex supervised training phase, manual calibration or hypothesis in removing shadow. Experiments have highlighted that the proposal is efficient to segment foregrounds and suppress shadows.