Today, artificial intelligence and computer vision systems are developing rapidly in the world; in particular, new architectures of neural networks that assess the three-dimensional human posture on video are produced. Such neural networks require analysis of their output signal in order to obtain useful data for the end user and their subsequent integration into user systems. The author proposes a new method of analysis of the output signal of the neural network, which estimates the position of a person in space that performs the calculation of repetitions of the exercise "squat". This method is based on the state machine, which adds one to the repetition counter at the end of the exercise cycle. The application of this method in the initial stages of the algorithm of exercise analysis will allow further development of systems that test squats and help athletes and coaches during training, as well as scientists in the field of biomechanics during their professional activities. A distinctive feature of this method is resistance to both input signal emissions, i.e. incorrect results of human posture recognition by the neural network, and to human movements that do not belong to the exercise directly. Also, the application of this method to the analysis of the neural network signal allows to combine the positive qualities inherent in neural networks used in computer vision (admissibility of high variability of clothing and background), and the positive qualities of analytical and algorithmic methods (easy interpretability of results, convenient adjustment, possibility to use the experts' subject experience for the selection of parameters). This method is not specific to any particular neural network and therefore can be used at the output of almost any system that determines the position of human joints in space. In addition to the description of the method, the article presents the results of its tests in different conditions. This test scheme can be used not only to apply this method to the exercise "squat", but to any other cyclic exercise.