The working principle relies on the observation of various facial features, such as the shape of the eyes, the angle of the lips, the movement of the eyebrows, and other small changes that may indicate a particular state. These changes can be both visible and not detectable by the normal human eye. For their effective recognition, various algorithms are used, each with its own features and applicability in different contexts.