{'fraction_non_alphanumeric': 0.029970029970029972, 'fraction_numerical': 0.003996003996003996, 'mean_word_length': 5.2625, '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 Determination Based on Multi-template and Convolution

A face determination algorithm based on multi-template is proposed, which is combined with convolution and dynamic programming. Firstly, three kinds of templates are synthesized using the experimental face dataset, including face, eyes, and mouth-nose templates, and then obtaining their weights and the optimal threshold. Secondly, the area of face, eyes, mouth and nose is cut from image, then realizing the size and number normalization, and calculating the three convolution values for detected image and the templates, and then the sum convolution values for face detecting are got by a weighted summation of them. Finally, according to the principle of threshold decision to judge whether the image is human face or non-face. Experimental verifications are conducted to evaluate the algorithm’s performance on the acquisition, human face and non-face datasets. The results show that the algorithm runs faster, the accuracy is 94%, 84%.