A method of analysis of body reactions to external stimuli with the use of a microprocessor diagnostic system is characterized in that the image obtained from the camera (1) is analyzed in a microprocessor system (2), wherein the image is obtained by exposure of the eye to visible light emitted by an illuminator, and then a video sequence is registered, and the analysis is performed by the microprocessor (2) executing a program that implements an algorithm of image analysis for detection of characteristic features of the image which allow its identification, and in the first place the eye (3) is detected, and then, in the region of its pupil (4), geometric parameters (5) of the pupil and their changes over time are measured, and on the basis of the data obtained a diagnosis module (6) generates a test result (7) transmitted to a database (8).