{'fraction_non_alphanumeric': 0.023629489603024575, 'fraction_numerical': 0.0, 'mean_word_length': 5.266272189349112, '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}}
One Class Support Vector Machines for Distinguishing Photographs and Graphics

In recent research, distinguishing photographs and graphics was regarded as a typical two-class pattern classification task. In practice, photographs pattern model can be established easily, while it is hard to gain a perfect graphics pattern model. In this paper, we develop a novel approach based on one-class support vector machine (OCSVM) to distinguish photographs and graphics. In this approach, the image detection can be simplified as a one- class pattern problem. Firstly, the use of Gabor wavelet features with different orientation at different scale for texture analysis is proposed to get a feature vector and then support vectors are used to model photographs pattern, and graphics which are rejected based on this model. Finally the results of some automatic classifications are analytically compared. Extensive experiments show that in the only photographs model, C-SVC, nu-SVC, BP network become useless, while the proposed method has an encouraging performance.