<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.3 20210610//EN" "JATS-journalpublishing1-3.dtd">
<article article-type="research-article" dtd-version="1.3" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xml:lang="en"><front><journal-meta><journal-id journal-id-type="publisher-id">donstu</journal-id><journal-title-group><journal-title xml:lang="en">Advanced Engineering Research (Rostov-on-Don)</journal-title><trans-title-group xml:lang="ru"><trans-title>Advanced Engineering Research (Rostov-on-Don)</trans-title></trans-title-group></journal-title-group><issn pub-type="epub">2687-1653</issn><publisher><publisher-name>Don State Technical University</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.23947/2687-1653-2026-26-3-2437</article-id><article-id custom-type="edn" pub-id-type="custom">MEPLPA</article-id><article-id custom-type="elpub" pub-id-type="custom">donstu-2437</article-id><article-categories><subj-group subj-group-type="heading"><subject>Research Article</subject></subj-group><subj-group subj-group-type="section-heading" xml:lang="en"><subject>INFORMATION TECHNOLOGY, COMPUTER SCIENCE AND MANAGEMENT</subject></subj-group><subj-group subj-group-type="section-heading" xml:lang="ru"><subject>ИНФОРМАТИКА, ВЫЧИСЛИТЕЛЬНАЯ ТЕХНИКА И УПРАВЛЕНИЕ</subject></subj-group></article-categories><title-group><article-title>A Study of Human Emotion Recognition Methods Based on Digital Image Analysis</article-title><trans-title-group xml:lang="ru"><trans-title>Исследование методов распознавания эмоций человека на основе цифрового анализа изображений</trans-title></trans-title-group></title-group><contrib-group><contrib contrib-type="author" corresp="yes"><contrib-id contrib-id-type="orcid">https://orcid.org/0009-0003-2671-8635</contrib-id><name-alternatives><name name-style="eastern" xml:lang="ru"><surname>Филичкин</surname><given-names>С. А.</given-names></name><name name-style="western" xml:lang="en"><surname>Filichkin</surname><given-names>S. A.</given-names></name></name-alternatives><bio xml:lang="ru"><p>Сергей Андреевич Филичкин, аспирант кафедры «Информационные системы»</p><p>SPIN-код: 6006-6771</p><p>426069, Российская Федерация, г. Ижевск, ул. Студенческая, 7</p></bio><bio xml:lang="en"><p>Sergey A. Filichkin, Postgraduate student of the Department of Information Systems</p><p>SPIN-код: 6006-6771</p><p>7, Studencheskaya Str., Izhevsk, 426069, Russian Federation</p></bio><email xlink:type="simple">qwertqwerty70@gmail.com</email><xref ref-type="aff" rid="aff-1"/></contrib><contrib contrib-type="author" corresp="yes"><contrib-id contrib-id-type="orcid">https://orcid.org/0000-0002-3013-7759</contrib-id><name-alternatives><name name-style="eastern" xml:lang="ru"><surname>Вологдин</surname><given-names>С. В.</given-names></name><name name-style="western" xml:lang="en"><surname>Vologdin</surname><given-names>S. V.</given-names></name></name-alternatives><bio xml:lang="ru"><p>Сергей Валентинович Вологдин, доктор технических наук, доцент, заведующий кафедрой «Информационная безопасность»</p><p>SPIN-код: 6475-2384</p><p>ScopusID: 56271563200</p><p>ResearcherID: C-7709-2017</p><p>426069, Российская Федерация, г. Ижевск, ул. Студенческая, 7</p></bio><bio xml:lang="en"><p>Sergey V. Vologdin, Dr.Sci. (Eng.), Associate Professor, Head of the Information Security Department</p><p>SPIN-код: 6475-2384</p><p>ScopusID: 56271563200</p><p>ResearcherID: C-7709-2017</p><p>7, Studencheskaya Str., Izhevsk, 426069, Russian Federation</p></bio><email xlink:type="simple">vologdin_sv@mail.ru</email><xref ref-type="aff" rid="aff-1"/></contrib></contrib-group><aff-alternatives id="aff-1"><aff xml:lang="ru"><institution>Ижевский государственный технический университет имени М.Т. Калашникова</institution><country>Россия</country></aff><aff xml:lang="en"><institution>Kalashnikov Izhevsk State Technical University</institution><country>Russian Federation</country></aff></aff-alternatives><pub-date pub-type="collection"><year>2026</year></pub-date><pub-date pub-type="epub"><day>28</day><month>08</month><year>2026</year></pub-date><volume>26</volume><issue>3</issue><fpage>2437</fpage><lpage>2437</lpage><permissions><copyright-statement>Copyright &amp;#x00A9; Filichkin S.A., Vologdin S.V., 2026</copyright-statement><copyright-year>2026</copyright-year><copyright-holder xml:lang="ru">Филичкин С.А., Вологдин С.В.</copyright-holder><copyright-holder xml:lang="en">Filichkin S.A., Vologdin S.V.</copyright-holder><license license-type="creative-commons-attribution" xlink:href="https://creativecommons.org/licenses/by/4.0/" xlink:type="simple"><license-p>This work is licensed under a Creative Commons Attribution 4.0 License.</license-p></license></permissions><self-uri xlink:href="https://www.vestnik-donstu.ru/jour/article/view/2437">https://www.vestnik-donstu.ru/jour/article/view/2437</self-uri><abstract><sec><title>Introduction</title><p>Introduction. The recognition of basic emotions from facial images is increasingly required in driver monitoring systems, medical user interfaces, and educational learning analytics. As of July 2024, such systems have been mandated by EU regulations. Among the methodological approaches in this area, neural-network architectures reach high accuracy but require large training samples and remain opaque, which is critical in safety applications. Classical descriptors LBP and HOG, in contrast, are computationally efficient and interpretable. However, their performance under comparable conditions remains underexplored: there are still questions regarding the stability of their metrics under cross-validation on compact datasets, as well as the nature of confusions between visually similar emotions. In this context, it was assumed that the near-perfect accuracy of HOG observed in such protocols reflected leakage of subject identities between the training and test sets, thereby overestimating the generalization ability of the descriptor. The objective of the study was to evaluate LBP and HOG on the JAFFE dataset in a single, reproducible pipeline, and determine the limits of their applicability.</p></sec><sec><title>Materials and Methods</title><p>Materials and Methods. To address the stated tasks, the study was organized as a comparative empirical evaluation of two classical descriptors within a single reproducible protocol. The open JAFFE dataset (Lyons et al., 1998; 213 grayscale images of ten subjects with seven basic emotions) served as the experimental basis, with quality assessed under stratified five-fold cross-validation. The images underwent intensity normalization (histogram equalization) and geometric alignment by facial landmarks. Then, on the prepared frames, the LBP (texture) and HOG (contour geometry) descriptors were extracted, with specific parameters reported in the body of the article. The resulting features were fed to a linear SVM (support vector machine), with the regularization parameter tuned using a grid search over {0.01, 0.1, 1, 10} via internal three-fold cross-validation. Quality was assessed as the mean ± standard deviation of Accuracy and Macro-F1 metrics across five outer folds. The software implementation of the entire pipeline was done in Python 3.10 (using the scikit-learn 1.3 and scikit-image 0.21 libraries).</p></sec><sec><title>Results</title><p>Results. In the experiment, HOG combined with linear SVM provided complete separation of the seven emotional classes on the JAFFE dataset within the selected stratified protocol. Under the same algorithmic order, LBP showed significantly lower accuracy and revealed a specific structure of systematic confusion errors: the pairs “fear — surprise” and “sadness — neutral” provided consistently indistinguishable, while the category-wise distribution of metrics quantified the fundamental differences between contour and texture feature representations.</p></sec><sec><title>Discussion</title><p>Discussion. The results obtained indicate the decisive impact of the data splitting protocol on the final assessment of classical descriptors. Specifically, the perfect separability of HOG features is explained by preservation of subject identities across training and test sets, and is fully consistent with the known sensitivity of the gradient profile to individual facial features. With respect to LBP, the observed values fall within the range known from the reference work by Shan, Gong, and McOwan. However, the pattern of false positives documented in the present study is the first to be interpreted in detail through FACS description of overlapping sets of active facial muscles, which has previously been absent from published comparative reviews.</p></sec><sec><title>Conclusion</title><p>Conclusion. The work has successfully solved the problems of comparative evaluation of LBP and HOG methods, construction of a fully reproducible software pipeline, and meaningful interpretation of automatic classification errors. Based on the data obtained, the HOG model combined with a linear SVM is suitable for laboratory tasks with a fixed set of subjects, whereas LBP in the same combination is justified as a component of hybrid architectures with convolutional or recurrent networks. In applied terms, the results can be used in the design of emotion recognition systems for medical interfaces and driver-monitoring systems. At the same time, the limitations of the work include the compact JAFFE dataset and the laboratory imaging conditions. Addressing these limitations, future work will involve moving to a more demanding protocol with full subject-out exclusion from the training set, as well as a comparative evaluation against current deep learning models.</p></sec></abstract><trans-abstract xml:lang="ru"><sec><title>Введение</title><p>Введение. Распознавание базовых эмоций по изображению лица востребовано в мониторинге водителей, медицинских интерфейсах и образовательной аналитике. С июля 2024 года в ЕС такие системы стали нормативным требованием. Среди методических подходов в данной области нейросетевые архитектуры обеспечивают высокую точность, однако требуют значительных обучающих выборок и обладают низкой интерпретируемостью, что особенно важно для задач безопасности. Классические дескрипторы LBP и HOG, напротив, характеризуются вычислительной экономичностью и интерпретируемостью, однако в сопоставимых условиях изучены недостаточно: сохраняются вопросы об устойчивости их метрик при кросс-валидации на компактных наборах и о природе смешений визуально близких эмоций. В этом контексте предполагалось, что наблюдаемая в подобных протоколах близкая к идеальной точность HOG отражает утечку идентичностей субъектов между обучающей и тестовой выборками и тем самым завышает оценку обобщающей способности дескриптора. Цель исследования — оценить LBP и HOG на наборе данных JAFFE в едином воспроизводимом конвейере и определить границы их применимости.</p></sec><sec><title>Материалы и методы</title><p>Материалы и методы. Для решения поставленных задач исследование организовано как сравнительное эмпирическое сопоставление преимуществ двух классических дескрипторов в рамках единого воспроизводимого протокола. В качестве экспериментальной базы использован открытый набор данных JAFFE (Lyons et al., 1998); 213 полутоновых изображений десяти испытуемых с семью базовыми эмоциями), а оценка качества классификации выполнялась по схеме стратифицированной пятикратной кросс-валидации. На этапе предварительной обработки изображения проходили нормализацию яркости (гистограммное выравнивание) и геометрическое выравнивание по опорным точкам лица. Затем на подготовленных кадрах извлекались дескрипторы LBP (текстура) и HOG (контурная геометрия), конкретные параметры которых детально приведены в тексте статьи. Полученные признаки подавались на вход линейного классификатора SVM, при этом параметр регуляризации подбирался по сетке {0,01; 0,1; 1; 10} в ходе внутренней трёхкратной кросс-валидации. Качество распознавания оценивали как среднее значение ± стандартное отклонение метрик Accuracy (точность) и Macro-F1 (макро-усредненная F1-мера) по результатам пяти внешних фолдов. Программная реализация всего конвейера выполнена на языке Python 3.10 (с использованием библиотек scikit-learn 1.3 и scikit-image 0.21).</p></sec><sec><title>Результаты исследования</title><p>Результаты исследования. В ходе проведённого эксперимента метод HOG в сочетании с линейным SVM (support vector machine, метод опорных векторов) обеспечил полное разделение семи эмоциональных классов на наборе данных JAFFE в рамках выбранного стратифицированного протокола. При использовании того же алгоритмического порядка метод LBP продемонстрировал существенно более низкую точность и выявил специфическую структуру систематических смешений: устойчиво неразличимыми оказались пары «страх – удивление» и «грусть – нейтральное выражение», а распределение метрик по категориям количественно определило фундаментальные различия между контурным и текстурным признаковыми представлениями.</p></sec><sec><title>Обсуждение</title><p>Обсуждение. Полученные результаты свидетельствуют о решающем влиянии протокола разделения данных на итоговую оценку качества классических дескрипторов. В частности, идеальная разделимость признаков HOG объясняется сохранением идентичностей субъектов в обучающей и тестовой выборках, что полностью согласуется с известной чувствительностью градиентного профиля к индивидуальным особенностям лица. В отношении дескриптора LBP наблюдаемые значения точности попадают в диапазон, характерный для эталонной работы авторов Shan, Gong, McOwan. Однако структура ошибочных срабатываний, зафиксированная в настоящем исследовании, впервые детально интерпретирована посредством FACS-описания перекрывающихся наборов активных лицевых мышц, что ранее отсутствовало в опубликованных сравнительных обзорах.</p></sec><sec><title>Заключение</title><p>Заключение. В работе успешно решены задачи по сравнительной оценке методов LBP и HOG, построению полностью воспроизводимого программного конвейера и содержательной интерпретации ошибок автоматической классификации. На основе полученных эмпирических данных модель HOG в связке с линейным классификатором SVM признана целесообразной для лабораторных задач с фиксированным составом испытуемых, тогда как применение LBP в аналогичной комбинации оправдано в качестве компонента гибридных архитектур со сверточными или рекуррентными нейронными сетями. В прикладной плоскости выводы применимы при проектировании современных систем распознавания эмоциональных состояний для медицинских интерфейсов и систем мониторинга психофизиологического состояния водителя. Вместе с тем существенными ограничениями исследования являются малый объем набора данных JAFFE и строго лабораторные условия съёмки. Преодоление данных факторов в дальнейших изысканиях предполагает переход к более сложному протоколу с полным исключением субъекта из обучающей выборки и проведение сопоставления с актуальными моделями глубокого обучения.</p></sec></trans-abstract><kwd-group xml:lang="ru"><kwd>распознавание эмоций</kwd><kwd>поведенческий анализ</kwd><kwd>компьютерное зрение</kwd><kwd>цифровая обработка изображений</kwd><kwd>JAFFE</kwd><kwd>LBP</kwd><kwd>HOG</kwd><kwd>SVM</kwd><kwd>FACS</kwd><kwd>матрица ошибок</kwd></kwd-group><kwd-group xml:lang="en"><kwd>emotion recognition</kwd><kwd>behavioral analysis</kwd><kwd>computer vision</kwd><kwd>digital image processing</kwd><kwd>JAFFE</kwd><kwd>LBP</kwd><kwd>HOG</kwd><kwd>SVM</kwd><kwd>FACS</kwd><kwd>confusion matrix</kwd></kwd-group></article-meta></front><body><p>Introduction. Recognizing basic emotions from facial images is a highly sought-after computer vision task, with both research and regulatory implications. From July 2024, new vehicles in categories M (passenger cars) and N (trucks) in the EU have been required to be equipped with driver monitoring systems, in accordance with Regulation (EU) 2019/21441. For this very reason, computer vision techniques that analyze facial expressions, gaze direction, and head position are widely used in distraction detection systems, including the Advanced Driver Distraction Warning (ADDW) and Euro NCAP DMS systems. These same facial expression analysis methods are also in demand in medical diagnostics, operator monitoring in transport, and educational analytics. In these areas, automated analysis provides higher reproducibility compared to surveys and subjective observation.</p><p>The practical appeal of such systems is supported by a well-established theoretical foundation. In particular, human facial expressions are varied and spontaneous, complicating their interpretation. However, despite cultural and individual differences, standard facial expressions are recognized in the literature as stable indicators of emotional state [<xref ref-type="bibr" rid="cit1">1</xref>]. It is the universality of such expressions that forms the basis of facial activity coding systems and provides the theoretical basis for automatic recognition algorithms. In parallel, multimodal approaches are being developed that use physiological signals to objectively assess emotional reactions. They complement visual methods and expand the capabilities of integrated human state assessment.</p><p>The current state of face recognition research at the methodological level is covered in several review publications [<xref ref-type="bibr" rid="cit1">1</xref>]. Among the classical feature representations of the face, a special place is occupied by local binary patterns (LBP), which describe the textural heterogeneities of the face and are invariant to monotonic changes in illumination [<xref ref-type="bibr" rid="cit2">2</xref>], as well as histograms of oriented gradients (HOG), which characterize the contour geometry through local distributions of gradients [<xref ref-type="bibr" rid="cit3">3</xref>]. Historical continuity with them is formed by cascade Viola-Jones detectors on Haar-like features with the AdaBoost algorithm, which provide the implementation of face detection in consumer cameras, as well as the SIFT descriptor, which detects scale-invariant feature points in the vicinity of facial landmarks.</p><p>The applied maturity of this field is confirmed by reviews of modern methods of automatic facial expression analysis [<xref ref-type="bibr" rid="cit4">4</xref>], clinical studies on emotion recognition [<xref ref-type="bibr" rid="cit5">5</xref>], and mature commercial emotion analysis systems – objective assessment of facial expressions is already in demand in practice. However, commercial systems themselves do not answer the methodological question – their algorithms are closed and do not allow assessing the contribution to accuracy of an individual classical descriptor. And published comparisons of LBP and HOG are obtained under heterogeneous conditions and are poorly comparable with each other. This, in turn, raises the question of how classical descriptors behave under strictly uniform assessment conditions.</p><p>In parallel, image analysis methods are being developed in related areas of computer vision — video surveillance software systems [<xref ref-type="bibr" rid="cit6">6</xref>], driver monitoring [<xref ref-type="bibr" rid="cit7">7</xref>], 3D motion capture [<xref ref-type="bibr" rid="cit8">8</xref>], optical flow parameter identification [<xref ref-type="bibr" rid="cit9">9</xref>], and license plate recognition [<xref ref-type="bibr" rid="cit10">10</xref>]. Experience from these studies shows that accurate feature localization and robust classification remain critical requirements regardless of the target task.</p><p>Against the backdrop of these general requirements, emotion recognition remains an open challenge even for convolutional neural networks (CNNs), which are widely implemented in computer vision. A comprehensive analysis [<xref ref-type="bibr" rid="cit11">11</xref>] notes that deep models primarily face overfitting due to limited availability of training data and non-expression-related variations such as illumination, head rotation, image resolution, and identity bias. Furthermore, creating datasets with emotion labeling is labor-intensive and expensive, and in transport and medical security, explainability of decisions is additionally required, limiting the use of black box models. A separate issue remains the model memory of specific subjects, which is particularly noticeable in small datasets [<xref ref-type="bibr" rid="cit12">12</xref>].</p><p>To summarize, a consistent pattern can be identified: for facial expression recognition, a single classical descriptor is inferior to a trained representation. LBP provides more robust performance under variable lighting conditions due to its invariance to monotonic luminance transformations [<xref ref-type="bibr" rid="cit2">2</xref>]. HOG, on the other hand, better describes the contour geometry of the face and maintains its leadership on laboratory datasets [<xref ref-type="bibr" rid="cit3">3</xref>]. However, both methods, when used alone, are inferior to convolutional neural networks on large datasets [<xref ref-type="bibr" rid="cit4">4</xref>]. Relatively high accuracy is achieved through combining LBP features with trainable representations based on CNN or LSTM (long short-term memory) [<xref ref-type="bibr" rid="cit7">7</xref>]. Similar conclusions are integrated in a summary analysis of modern facial expression recognition methods [<xref ref-type="bibr" rid="cit11">11</xref>]. At the same time, cascade Viola-Jones detectors and their development still provide acceptable quality of face localization at low computational costs, which is confirmed by modern facial authentication systems based on classical features [<xref ref-type="bibr" rid="cit13">13</xref>]. Comparison of application conditions, sizes of training samples and verification protocols in different sources is complicated by their methodological heterogeneity.</p><p>From the above, it is clear that several aspects of classical LBP and HOG descriptors in emotion recognition remain insufficiently described: robustness of metrics during stratified cross-validation on small datasets, nature of systematic errors between visually similar emotions, and limits of applicability under conditions with variable illumination and uncontrolled viewing angles. Without this information, it is impossible to meaningfully integrate classical features into hybrid recognition schemes, therefore, there is a need for their direct comparison under uniform and reproducible conditions.</p><p>Therefore, the objective of this study is to determine the applicability limits of classical LBP and HOG descriptors for recognizing seven basic emotions on the JAFFE dataset, and to characterize the observed classification errors.</p><p>To achieve this objective, the study addresses five tasks:</p><p>1) comparison of the theoretical properties of LBP and HOG as applied to facial expression recognition – robustness to illumination, sensitivity to subject identity, and feature representation dimensionality;</p><p>2) implementation of a unified image preprocessing and feature extraction pipeline for LBP and HOG for the JAFFE dataset, providing reproducible results;</p><p>3) classification of seven basic emotions using a linear-kernel support vector machine with five-fold stratified cross-validation;</p><p>4) interpretation of confusion matrices and the Accuracy and Macro-F1 metrics with reference to a psychophysiological explanation for systematic mixing of emotion classes;</p><p>5) formulation of recommendations for the application of LBP and HOG for typical scenarios, shooting conditions, and ways to incorporate classical features into hybrid architectures.</p><p>The methodology of this study is based on the canon of classical digital image processing [<xref ref-type="bibr" rid="cit14">14</xref>] — brightness normalization, histogram equalization, extraction of local texture features and gradients.</p><p>Materials and Methods. Dataset. The open research dataset JAFFE (Japanese Female Facial Expression, Lyons et al., 1998; Kyushu University, Japan), distributed for scientific purposes, was used as the experimental base. The dataset contained 213 grayscale images of ten Japanese female subjects with seven basic emotions: anger, disgust, fear, happiness, neutral, sadness, and surprise. The classes were distributed almost evenly, from 29 to 32 images per emotion. The images were acquired in laboratory setting under identical lighting and frontal perspectives using staged expressions. This provided uniformity of the footage but limited the direct transfer of the results to field scenarios. The input JAFFE images were converted to a grayscale palette with a resolution of 256 × 256 pixels. Histogram equalization was used to normalize brightness. Faces were aligned according to eye coordinates obtained using a landmark detector based on the Dlib library (model shape_predictor_68_face_landmarks).</p><p>Feature Extraction. Two complementary classical descriptors were calculated on the images prepared in the following way. Local binary patterns (LBPs) were calculated using a uniform encoding with radius R = 1 and neighbor count P = 8; histograms were constructed using disjoint 16 × 16-pixel blocks and combined into a common feature vector of dimension 15,104. Histograms of oriented gradients (HOGs) were formed with 8 × 8-pixel bins, 2 × 2 bins, nine orientation bins, and L2-Hys block normalization (default value in scikit-image).</p><p>Classification and Quality Assessment. The resulting feature vectors were fed to a support vector machine (SVM) classifier with a linear kernel. The regularization parameter C was tuned over the grid {0.01; 0.1; 1; 10}, with the optimal value selected via inner three‑fold cross‑validation nested within the outer stratified five‑fold cross‑validation loop. Quality was assessed using the mean and standard deviation of Accuracy and Macro-F1 across five outer folds. Confusion matrices and the distribution of precision, recall, and F1 scores across seven classes were additionally constructed.</p><p>Software Implementation. The pipeline was implemented in Python 3.10 using scikit-learn 1.3 (SVM, cross-validation) and scikit-image 0.21 (LBP, HOG) libraries. The initial value of the pseudorandom number generator was fixed (random_state = 42), which provided reproducibility of sample fold splitting and repeatability of hyperparameter selection.</p><p>Research Results. The HOG method combined with linear SVM achieved complete separability of seven emotional classes: Accuracy = 1.000 ± 0.000 and Macro-F1 = 1.000 ± 0.000 (mean ± standard deviation over five outer folds; Table 1, Fig. 1). For all seven classes, precision, recall, and F1-score metrics were equal to 1.00. No interclass intersections were found in the confusion matrix. The final HOG feature vector had 34,596 elements; in all five external folds, internal cross-validation selected the regularization parameter value C = 1. The average feature extraction time per image was about 0.018 s, classifier training on the training fold was 0.42 s, and prediction per image was 0.003 s.</p><table-wrap id="table-1"><caption><p>Table 1</p><p>Emotion Classification Results on JAFFE Dataset</p></caption><table><tbody><tr><td>Method</td><td>Accuracy</td><td>Macro-F1</td></tr><tr><td>LBP</td><td>0.30</td><td>0.20</td></tr><tr><td>HOG</td><td>1.00</td><td>1.00</td></tr></tbody></table></table-wrap><fig id="fig-1"><caption><p>Fig. 1. HOG method confusion matrix</p></caption><graphic xlink:href="donstu-26-3-g001.jpeg"><uri content-type="original_file">https://cdn.elpub.ru/assets/journals/donstu/2026/3/RXEQhWo6mZ7nDtHHR3x3zvs7A1gIVx8fwkCnMit6.jpeg</uri></graphic></fig><p>The LBP method in the same protocol showed Accuracy = 0.300 ± 0.041 and Macro-F1 = 0.202 ± 0.038 (Table 1). For five outer folds, the Accuracy values were 0.256; 0.310; 0.310; 0.357 and 0.267. The dimension of the final LBP feature vector was 15,104 elements; internal cross-validation selected value C = 0.1 in three outer folds and C = 1 in the other two. The average feature extraction time per image was about 0.009 s; classifier training – 0.18 s; prediction – 0.002 s.</p><p>The distribution of precision, recall, and F1 values across seven JAFFE classes for the LBP method turned out to be uneven (Table 2). The maximum F1 values were observed for the “disgust” (0.33) and “happiness” (0.30) classes; the minimum values were for the “fear” (0.11), “sadness” (0.14), and “neutral” (0.14) classes. The minimum precision values were recorded for the “neutral” (0.12), “fear” (0.13), and “surprise” (0.14) classes. The minimum recall values were for the “fear” (0.10), “sadness” (0.11), and “neutral” (0.17) classes. For the “surprise” and “neutral” classes, recall exceeded precision by more than 0.05; for the “sadness” class, precision exceeded recall by 0.07.</p><table-wrap id="table-2"><caption><p>Table 2</p><p>Precision, Recall, and F1 of LBP Method for Seven Classes of JAFFE Dataset</p></caption><table><tbody><tr><td>Class</td><td>Precision</td><td>Recall</td><td>F1</td></tr><tr><td>Anger</td><td>0.20</td><td>0.24</td><td>0.22</td></tr><tr><td>Disgust</td><td>0.35</td><td>0.31</td><td>0.33</td></tr><tr><td>Fear</td><td>0.13</td><td>0.10</td><td>0.11</td></tr><tr><td>Happiness</td><td>0.32</td><td>0.28</td><td>0.30</td></tr><tr><td>Neutral</td><td>0.12</td><td>0.17</td><td>0.14</td></tr><tr><td>Sadness</td><td>0.18</td><td>0.11</td><td>0.14</td></tr><tr><td>Surprise</td><td>0.14</td><td>0.25</td><td>0.18</td></tr><tr><td>Macro avg</td><td>0.21</td><td>0.21</td><td>0.20</td></tr></tbody></table></table-wrap><p>In the LBP confusion matrix (Fig. 2), the “fear” class was assigned to “surprise” in 24.1% of cases, to “anger” – in 14.8%, and to “neutral” – in 11.1%. The “sadness” class was assigned to “neutral” in 27.6% of cases and to “anger” – in 10.3%. The “neutral” class was assigned to “sadness” in 16.7% of cases. The largest diagonal values of the confusion matrix were recorded for the “disgust” and “happiness” classes – about 33% and 30%, respectively.</p><fig id="fig-2"><caption><p>Fig. 2. LBP method confusion matrix</p></caption><graphic xlink:href="donstu-26-3-g002.jpeg"><uri content-type="original_file">https://cdn.elpub.ru/assets/journals/donstu/2026/3/Y9buvlNLc40Ftar9kAeCT8CqIJYWU42slv7qFKiD.jpeg</uri></graphic></fig><p>Discussion. Comparison of our results with other facial expression recognition studies shows that direct quantitative benchmarking requires careful qualification regarding the experimental conditions. In [<xref ref-type="bibr" rid="cit15">15</xref>] on JAFFE, carefully selected LBP parameters were used: radius R = 2, partitioning into 42 subregions of 18 × 21 pixels, uniform encoding. With this set and linear SVM, the Accuracy indicators are higher than those of pipelines with typical settings. The present work is based on a different configuration: radius R = 1, noncrossing blocks of 16 × 16 pixels in an image of 256 × 256, the final feature vector of dimension 15,104. This is a typical representation of LBP with an out-of-the-box descriptor implementation. The configuration was selected to verify the response of the method under standard conditions, and reproducing quantitative values from [<xref ref-type="bibr" rid="cit15">15</xref>] was outside the scope of this study. The mismatch with the reference data consequently confirms the inherent sensitivity of LBP to the radius and partitioning scheme.</p><p>In addition to direct comparisons, hybrid architectures are a significant benchmark: the use of LBP at the input layers of convolutional or recurrent neural networks can provide significantly higher quality indicators compared to an isolated classifier [<xref ref-type="bibr" rid="cit12">12</xref>]. In this context, the results obtained for the HOG method within the framework of this protocol should be interpreted not as evidence of the universal superiority of the said descriptor, but as a marker of the high sensitivity of the gradient profile to preserving the identity of subjects in the training and test samples; while the quality of coding of emotional states with such a division of data turned out to be a secondary factor.</p><p>To more accurately assess the generalization ability of the algorithms, it is advisable to use a leave-one-subject-out (LOSO) experimental protocol, in which the training and test sets do not contain images of the same faces. The five-fold stratified cross-validation used in this study allows for the presence of identities in both subsets, which results in an artificial inflated metric for HOG. Under such conditions, comparative diagnostics of the methods is characterized by systematic bias.</p><p>The error detection structure analysis shows that the class confusions recorded in the LBP confusion matrix have a clear psychophysiological basis. Thus, the “fear-surprise” and “sadness-neutral” pairs share overlapping sets of active facial muscles under the FACS system. In the first case, eyebrow raising and eye widening are observed, while in the second case — a subtle, low-intensity activation of specific action units (AU1 + AU4 + AU15) associated with sadness in static imagery. Textural features of LBP capture local heterogeneities and inevitably reflect this visual similarity. Thus, the recorded error is determined by the limitations of the feature space, while the classifier itself functions correctly.</p><p>The combined observations presented demonstrate that standard five-fold cross-validation has limited efficiency when evaluating facial expression recognition methods on compact datasets. Even with strict adherence to existing methodological requirements, the final results tend to overestimate the generalization quality to new individuals. Switching to a LOSO protocol, incorporating larger databases with variable registration conditions, and strict control over the absence of overlapping identities between samples are essential for obtaining an objective assessment.</p><p>The findings obtained are based on conditions that limit their sweeping generalization:</p><p>Taking these factors into account, the results obtained confirm the feasibility of using the LBP and HOG methods under specific conditions determined by the physical nature of each determinist. The application of HOG is demonstrated within the context of laboratory-based tasks involving a fixed set of participants and controlled lighting conditions, where class separability in terms of identity-related features is feasible. As a standalone tool, LBP yields lower accuracy; however, it provides a more robust estimation under unstable illumination and uncontrolled viewpoints. This makes LBP an efficient component of feature representation within hybrid systems incorporating trainable models.</p><p>Conclusion. The study addressed the following objectives: comparing the properties of LBP and HOG for facial expression recognition, implementing a unified reproducible preprocessing and feature extraction pipeline, classifying seven basic emotions using a linear SVM, constructing confusion matrices, and formulating recommendations for using descriptors. In a unified protocol on JAFFE, the HOG method with a linear SVM achieved Accuracy = 1.000 ± 0.000, which is explained by subject identity leakage during stratified cross-validation. LBP, using the same protocol, yielded Accuracy = 0.300 ± 0.041 and robust systematic mixing of “fear – surprise” and “sadness – neutral” pairs, consistent with the FACS description of overlapping sets of facial muscles.</p><p>In terms of practical implementation, a model based on HOG and linear SVM is applicable to solving local laboratory problems with a constant set of test subjects, for example, on research benches or in pilot versions of medical interfaces. Using LBP in conjunction with linear SVM in isolation is less effective in terms of accuracy, but is justified as a component of hybrid architectures (including convolutional and recurrent networks) due to its high computational efficiency and invariance to monotonic illumination fluctuations. The obtained results can be valuable for the design of driver monitoring systems compliant with the requirements of Regulation (EU) 2019/2144, as well as for the methodological justification of quality assessment protocols on small datasets. Given the identified limitations, the prioritized direction for future research involves transitioning to Leave-One-Subject-Out (LOSO) protocols and expanding the experimental dataset with data acquired in uncontrolled environments.</p><p>1. Regulation of the European Parliament and of the Council on type-approval requirements for motor vehicles and their trailers, and systems, components and separate technical units intended for such vehicles, as regards their general safety and the protection of vehicle occupants and vulnerable road users. Regulation (EU) 2019/2144 of 27 November 2019. Official Journal of the European Union. 2019;325:1–40. URL: https://eur-lex.europa.eu/eli/reg/2019/2144/oj (accessed: 15.06.2026).</p></body><back><ref-list><title>References</title><ref id="cit1"><label>1</label><citation-alternatives><mixed-citation xml:lang="ru">Gururaj HL, Soundarya BC, Priya S, Shreyas J, Flammini F. A Comprehensive Review of Face Recognition Techniques, Trends, and Challenges. IEEE Access. 2024;12:107903–107926. https://doi.org/10.1109/ACCESS.2024.3424933</mixed-citation><mixed-citation xml:lang="en">Gururaj HL, Soundarya BC, Priya S, Shreyas J, Flammini F. A Comprehensive Review of Face Recognition Techniques, Trends, and Challenges. IEEE Access. 2024;12:107903–107926. https://doi.org/10.1109/ACCESS.2024.3424933</mixed-citation></citation-alternatives></ref><ref id="cit2"><label>2</label><citation-alternatives><mixed-citation xml:lang="ru">Ojala T, Pietikäinen M, Mäenpää T. Multiresolution Gray-Scale and Rotation Invariant Texture Classification with Local Binary Patterns. IEEE Transactions on Pattern Analysis and Machine Intelligence. 2002;24(7):971–987. https://doi.org/10.1109/TPAMI.2002.1017623</mixed-citation><mixed-citation xml:lang="en">Ojala T, Pietikäinen M, Mäenpää T. Multiresolution Gray-Scale and Rotation Invariant Texture Classification with Local Binary Patterns. IEEE Transactions on Pattern Analysis and Machine Intelligence. 2002;24(7):971–987. https://doi.org/10.1109/TPAMI.2002.1017623</mixed-citation></citation-alternatives></ref><ref id="cit3"><label>3</label><citation-alternatives><mixed-citation xml:lang="ru">Dalal N, Triggs B. Histograms of oriented gradients for human detection. In: Proc. IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR'05). San Diego, CA: IEEE; 2005. P. 886–893. https://doi.org/10.1109/CVPR.2005.177</mixed-citation><mixed-citation xml:lang="en">Dalal N, Triggs B. Histograms of oriented gradients for human detection. In: Proc. IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR'05). San Diego, CA: IEEE; 2005. P. 886–893. https://doi.org/10.1109/CVPR.2005.177</mixed-citation></citation-alternatives></ref><ref id="cit4"><label>4</label><citation-alternatives><mixed-citation xml:lang="ru">Shan Li, Weihong Deng. Deep Facial Expression Recognition: A Survey. IEEE Transactions on Affective Computing. 2022;13(3):1195–1215. https://doi.org/10.1109/TAFFC.2020.2981446</mixed-citation><mixed-citation xml:lang="en">Shan Li, Weihong Deng. Deep Facial Expression Recognition: A Survey. IEEE Transactions on Affective Computing. 2022;13(3):1195–1215. https://doi.org/10.1109/TAFFC.2020.2981446</mixed-citation></citation-alternatives></ref><ref id="cit5"><label>5</label><citation-alternatives><mixed-citation xml:lang="ru">Ляксо Е.Е., Фролова О.В., Григорьев А.С., Филатова Ю.О., Махныткина О.В. Распознавание эмоциональных состояний детей с синдромом Дауна по мимической экспрессии: перцептивный и автоматический анализ динамических изображений. Экспериментальная психология. 2022;15(3):140–158. https://doi.org/10.17759/exppsy.2022150310</mixed-citation><mixed-citation xml:lang="en">Lyakso EE, Frolova OV, Grigorev AS, Filatova YuO, Makhnytkina OV. Recognition of Emotional States of Children with Down Syndrome by Facial Expression: Perceptual and Automatic Analysis of Dynamic Images. Experimental Psychology (Russia). 2022;15(3):140–158. https://doi.org/10.17759/exppsy.2022150310</mixed-citation></citation-alternatives></ref><ref id="cit6"><label>6</label><citation-alternatives><mixed-citation xml:lang="ru">Шадрина А.С. Значение программного обеспечения для видеонаблюдения в наше время. В: Труды Всероссийской научно-практической конференции курсантов и студентов «III научно-педагогические чтения молодых учёных имени профессора С.В. Познышева», Воронеж, 19 апреля 2023 года. Воронеж: Воронежский институт ФСИН России; 2023. С. 113–116.</mixed-citation><mixed-citation xml:lang="en">Shadrina AS. The Significance of Video Surveillance Software Today. In: Proc. All-Russian Scientific and Practical Conference of Cadets and Students “III Scientific and Pedagogical Readings of Young Scientists Named After Professor SV Poznyshev”. Voronezh: Voronezh Institute of the Federal Penitentiary Service of Russia; 2023. P. 113–116. (In Russ.)</mixed-citation></citation-alternatives></ref><ref id="cit7"><label>7</label><citation-alternatives><mixed-citation xml:lang="ru">Loktev DA, Illarionova LA, Loktev AA. Automation of the Behavioral Safety Audit of a Transport Operator Based on the Recognition of His Emotional State in Real Time. In: Proc. 5th International Youth Conference on Radio Electronics, Electrical and Power Engineering (REEPE). New York City: IEEE; 2023. P. 1–5. https://doi.org/10.1109/REEPE57272.2023.10086820</mixed-citation><mixed-citation xml:lang="en">Loktev DA, Illarionova LA, Loktev AA. Automation of the Behavioral Safety Audit of a Transport Operator Based on the Recognition of His Emotional State in Real Time. In: Proc. 5th International Youth Conference on Radio Electronics, Electrical and Power Engineering (REEPE). New York City: IEEE; 2023. P. 1–5. https://doi.org/10.1109/REEPE57272.2023.10086820</mixed-citation></citation-alternatives></ref><ref id="cit8"><label>8</label><citation-alternatives><mixed-citation xml:lang="ru">Obukhov AD, Dedov DL, Surkova EO, Korobova IL. 3D Human Motion Capture Method Based on Computer Vision. Advanced Engineering Research (Rostov-on-Don). 2023;23(3):317–328. https://doi.org/10.23947/2687-1653-2023-23-3-317-328</mixed-citation><mixed-citation xml:lang="en">Obukhov AD, Dedov DL, Surkova EO, Korobova IL. 3D Human Motion Capture Method Based on Computer Vision. Advanced Engineering Research (Rostov-on-Don). 2023;23(3):317–328. https://doi.org/10.23947/2687-1653-2023-23-3-317-328</mixed-citation></citation-alternatives></ref><ref id="cit9"><label>9</label><citation-alternatives><mixed-citation xml:lang="ru">Sokolov SV, Marshakov DV, Reshetnikova IV. Optical Flow Parameter Identification in Vision Systems under Measurement Noise with Unknown Probabilistic Characteristics. Advanced Engineering Research (Rostov-on-Don). 2026;26(1):2220. https://doi.org/10.23947/2687-1653-2026-26-1-2220</mixed-citation><mixed-citation xml:lang="en">Sokolov SV, Marshakov DV, Reshetnikova IV. Optical Flow Parameter Identification in Vision Systems under Measurement Noise with Unknown Probabilistic Characteristics. Advanced Engineering Research (Rostov-on-Don). 2026;26(1):2220. https://doi.org/10.23947/2687-1653-2026-26-1-2220</mixed-citation></citation-alternatives></ref><ref id="cit10"><label>10</label><citation-alternatives><mixed-citation xml:lang="ru">Hanae Moussaoui, Nabil El Akkad, Mohamed Benslimane, Walid El-Shafai, Abdullah Baihan, Chaminda Hewage, et al. Enhancing automated vehicle identification by integrating YOLO v8 and OCR techniques for high-precision license plate detection and recognition. Scientific Reports. 2024;14(1):14389. https://doi.org/10.1038/s41598-024-65272-1</mixed-citation><mixed-citation xml:lang="en">Hanae Moussaoui, Nabil El Akkad, Mohamed Benslimane, Walid El-Shafai, Abdullah Baihan, Chaminda Hewage, et al. Enhancing automated vehicle identification by integrating YOLO v8 and OCR techniques for high-precision license plate detection and recognition. Scientific Reports. 2024;14(1):14389. https://doi.org/10.1038/s41598-024-65272-1</mixed-citation></citation-alternatives></ref><ref id="cit11"><label>11</label><citation-alternatives><mixed-citation xml:lang="ru">Kopalidis T, Solachidis V, Vretos N, Daras P. Advances in Facial Expression Recognition: A Survey of Methods, Benchmarks, Models, and Datasets. Information. 2024;15(3):135. https://doi.org/10.3390/info15030135</mixed-citation><mixed-citation xml:lang="en">Kopalidis T, Solachidis V, Vretos N, Daras P. Advances in Facial Expression Recognition: A Survey of Methods, Benchmarks, Models, and Datasets. Information. 2024;15(3):135. https://doi.org/10.3390/info15030135</mixed-citation></citation-alternatives></ref><ref id="cit12"><label>12</label><citation-alternatives><mixed-citation xml:lang="ru">Lopes AT, de Aguiar E, De Souza AF, Oliveira-Santos T. Facial Expression Recognition with Convolutional Neural Networks: Coping with Few Data and the Training Sample Order. Pattern Recognition. 2017;61:610–628. https://doi.org/10.1016/j.patcog.2016.07.026</mixed-citation><mixed-citation xml:lang="en">Lopes AT, de Aguiar E, De Souza AF, Oliveira-Santos T. Facial Expression Recognition with Convolutional Neural Networks: Coping with Few Data and the Training Sample Order. Pattern Recognition. 2017;61:610–628. https://doi.org/10.1016/j.patcog.2016.07.026</mixed-citation></citation-alternatives></ref><ref id="cit13"><label>13</label><citation-alternatives><mixed-citation xml:lang="ru">Sudha L, Vadhani R, Aruna KB, Sureka V, Sasikala V. Cutting-edge Facial Authentication System in Matlab (CFAS-M). In: Proc. International Conference on Communication, Computing and Internet of Things (IC3IoT). New York City: IEEE; 2024. P. 1–6. https://doi.org/10.1109/IC3IoT60841.2024.10550320</mixed-citation><mixed-citation xml:lang="en">Sudha L, Vadhani R, Aruna KB, Sureka V, Sasikala V. Cutting-edge Facial Authentication System in Matlab (CFAS-M). In: Proc. International Conference on Communication, Computing and Internet of Things (IC3IoT). New York City: IEEE; 2024. P. 1–6. https://doi.org/10.1109/IC3IoT60841.2024.10550320</mixed-citation></citation-alternatives></ref><ref id="cit14"><label>14</label><citation-alternatives><mixed-citation xml:lang="ru">Gonzalez R, Woods R. Digital Image Processing, 3rd ed. Upper Saddle River, NJ: Prentice Hall; 2008. 1104 p.</mixed-citation><mixed-citation xml:lang="en">Gonzalez R, Woods R. Digital Image Processing, 3rd ed. Upper Saddle River, NJ: Prentice Hall; 2008. 1104 p.</mixed-citation></citation-alternatives></ref><ref id="cit15"><label>15</label><citation-alternatives><mixed-citation xml:lang="ru">Shan C, Gong S, McOwan PW. Facial Expression Recognition Based on Local Binary Patterns: A Comprehensive Study. Image and Vision Computing. 2009;27(6):803–816. https://doi.org/10.1016/j.imavis.2008.08.005</mixed-citation><mixed-citation xml:lang="en">Shan C, Gong S, McOwan PW. Facial Expression Recognition Based on Local Binary Patterns: A Comprehensive Study. Image and Vision Computing. 2009;27(6):803–816. https://doi.org/10.1016/j.imavis.2008.08.005</mixed-citation></citation-alternatives></ref></ref-list><fn-group><fn fn-type="conflict"><p>The authors declare that there are no conflicts of interest present.</p></fn></fn-group></back></article>
