{'fraction_non_alphanumeric': 0.016511867905056758, 'fraction_numerical': 0.0, 'mean_word_length': 5.554054054054054, '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}}
Detecting and classifying blurred image regions

Many image deblurring algorithms perform blur kernel estimation and image deblurring by assuming the blur type and distribution are already known. However, in practice such information is not known in advance and must be estimated using local blur measures. In this paper, we revisit the image partial blur detection and classification problem and propose several new or enhanced local blur measures using different types of image information including color, gradient and spectral information. The proposed measures demonstrate stronger discriminative power, better across-image stability or higher computational efficiency than previous ones. By learning the optimal combination of these measures with SVM classifiers, we obtain a patch-based image partial blur detector and classifier. Experiments on a large dataset of real images show the proposed approach has superior performance to the state-of-the-art approach.