{'fraction_non_alphanumeric': 0.01593349497748528, 'fraction_numerical': 0.0, 'mean_word_length': 5.623853211009174, '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}}
Comparative analysis of classifiers for face recognition on image fragments identified by the FaceNet neural network

As a result of the analysis of the literature, the based methods of face recognition on fragments of color images were identified. These are flexible comparison in graphs, hidden Markov models, principal component analysis, and neural network methods. The analyzed methods of face recognition are mainly characterized by significant computational costs and low recognition performance. An exception is the neural network methods of face recognition, which, after completing the training, make it possible to obtain a high recognition performance at low computational costs. However, when changing the prototype images of faces, it often becomes necessary to redefine the network architecture and retrain the network. The specificity of neural network methods is also the complexity of selecting the network architecture and its training. Such papers are devoted to the use of neural networks only for extraction of feature vectors of face images. The classification of the obtained feature vectors is then performed by known methods, namely, thresholding, a linear support vector machine, nearest neighbors, random forest. It has been observed that the lighting conditions in which the images were obtained and the turning of the head affect the shape of the separating surface and can decrease the feature vector classification performance for face images. Therefore, to improve the classification performance, it was decided to use correlation for prototype matching, a non-linear support vector machine and logistic regression. The performed experiment showed that correlation for prototype matching of low-light face images is characterized by higher classification performance compared to the thresholding. Moreover, the use of the Pearson and Spearman correlation coefficients showed similar results, and when using the Kendall correlation coefficient, the worst classification performance was obtained compared to the Pearson and Spearman coefficients. The research of the classification performance of images of faces that differ in head turn using correlation for prototype matching, a non-linear support vector machine and logistic regression showed the following. Correlation for prototype matching is more appropriate to use with small amounts of data due to the high classification performance and low computational complexity, since a small amount of data does not require a significant number of comparisons. However, on large amounts of data, the non-linear support vector machine requires less computation and shows similar classification performance. Using the results of the experiment, the researcher can select classification methods for a specific set of face images, preliminarily representing them with feature vectors using the network FaceNet.