{'fraction_non_alphanumeric': 0.015476190476190477, 'fraction_numerical': 0.0035714285714285713, 'mean_word_length': 5.094202898550725, '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}}
Face Recognition Based on Two Dimension Double PCA and Affinity Propagation

Because of the low recognition rate by affinity propagation (AP) we propose an algorithm to make face recognition based on two dimension double PCA (2DDPCA) and affinity propagation in this paper. First we use two dimension principle component analysis (2DPCA) to compress the face images in horizontal direction, then we compress the features in vertical direction using 2DPCA again. At last we use affinity propagation classifying faces on the basis of face database. Compared to the original affinity propagation, the superiority of this method is that the speed of classification of large sample is faster and the recognition rate stabilized at a high level. The test results of ORL Face Database and Yale Face Database prove the effectiveness of this method.