{'fraction_non_alphanumeric': 0.020802377414561663, 'fraction_numerical': 0.0, 'mean_word_length': 5.701492537313433, '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 Blur Detection With an Indicator Function for Surveillance Machines

Motion is an important clue for industrial inspection, video surveillance, and service machines to localize and recognize products and objects. Because blur co-occurs with motion, it is desirable for developing efficient and robust motion blur detection algorithm. However, existing algorithms are inefficient for detecting spatially varying motion blur. To deal with the problem, this paper presents a theorem, according to which, motion blur can be efficiently detected and segmented. According to the theorem, the proposed algorithm requires a simple filtering operation and variance computation. Classification as either blurred or unblurred pixel can be done by substituting the variance into the proposed simple formula and checking the sign of the resulting value. Moreover, a geometric interpretation and two extensions of the algorithm are given. Importantly, based on the geometric interpretation of the indicator function, we develop a one-class classifier, which is more effective than the indicator function and has comparable computational cost of the indicator function. Experimental results on detecting motion-blurred cars, motorcycles, bicycles, bags, and persons demonstrate that the proposed algorithm is very efficient without loss of effectiveness.