Head movement-based visual stimulus response monitoring method and intelligent terminal
Through the visual stimulation response monitoring method based on head movements, using head detection and key point positioning models, the problem of high cost and poor adaptability of eye movement detection is solved, and visual stimulation response monitoring is realized at low cost and low hardware requirements. , suitable for assessment in various light conditions and elderly populations.
Patent Information
- Application Number
- PCT/CN2023/103229
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-31
- Filing Date
- 2023-06-28
- Publication Date
- 2024-10-03
AI Technical Summary
The cost of implementing eye movement detection in the existing technology is high. Eye tracking based on a single camera is difficult to adapt to backlight and bright light conditions. It is also difficult to evaluate the cognitive function of the elderly and cannot effectively monitor visual stimulation responses.
A visual stimulation response monitoring method based on head movements is adopted. By acquiring head image or video data, the head detection network model and key point positioning model are used to extract the head rectangular frame and key point positions, and the head movement parameters are calculated for evaluation. Visual stimulus orientation and responses.
It realizes the monitoring of visual stimulation responses on cross-platform devices at low cost and low hardware requirements, reduces environmental dependence, is suitable for various light conditions, and is especially suitable for cognitive function assessment of the elderly.
Smart Images

Figure CN2023103229_03102024_PF_FP_ABST
Abstract
Description
A visual stimulation response monitoring method based on head movement and intelligent terminal Technical Field
[0001] The present invention relates to a field, and in particular to a visual stimulation reaction monitoring method based on head movement and an intelligent terminal. Background Art
[0002] Monitoring responses to visual stimuli has widespread applications in fields such as psychology and neuroscience research, and infant and toddler studies. In clinical research, responses to visual stimuli can be used to diagnose ophthalmic diseases and brain and neurological disorders, such as autism and Parkinson's disease. They can also provide early warning signs of diseases like Alzheimer's and Parkinson's. Specific parameter data allows for objective quantification of disease and recovery progress.
[0003] Currently, eye tracking is the primary method used to monitor user responses to visual stimuli received in front of computers or mobile devices. This method analyzes the user's cognitive function by monitoring their eye movements while reading or completing tasks. However, eye trackers used for eye movement analysis are relatively expensive and inconvenient to carry. Alternatively, methods that use a single built-in camera to perform eye movement analysis can replace eye trackers to a certain extent, but these methods place high demands on the clarity and resolution of the images or videos captured by the camera. Furthermore, these methods are unable to adapt to poor lighting conditions such as backlighting and strong light, as well as situations where the eyes are not fully captured during filming. Furthermore, the elderly, who have a higher demand for cognitive function assessment, generally open their eyes less than younger people. This makes eye tracking based on a single camera difficult to implement and makes it difficult to monitor responses to visual stimuli.
[0004] Therefore, the existing technology still needs to be improved and developed.
[0005] Summary of the Invention
[0006] The technical problem to be solved by the present invention is that, in response to the above-mentioned defects of the prior art, a method and an intelligent terminal for monitoring visual stimulus reactions based on head movements are provided, aiming to solve the problems in the prior art of high cost of eye movement detection and difficulty in implementing eye movement tracking based on a single camera, making it difficult to monitor visual stimulus reactions.
[0007] The technical solutions adopted by the present invention to solve the technical problems are as follows:
[0008] In a first aspect, the present invention provides a method for monitoring visual stimulus response based on head movements, wherein the method comprises:
[0009] Acquiring image or video data containing head images;
[0010] Inputting the image or video data into a head detection network model for training to obtain a head detection rectangular frame;
[0011] Inputting the head detection rectangular frame into the head key point positioning model for training to obtain the position coordinates of the head key points;
[0012] According to the position coordinates of the key points of the head, the visual stimulation direction and the visual stimulation response are obtained.
[0013] In one implementation, inputting the image or video data into a head detection network model for training to obtain a head detection rectangular frame includes:
[0014] Inputting the head image data into a head detection network model for training to obtain a detection result;
[0015] A non-maximum suppression post-processing operation is performed on the detection result to obtain the head detection rectangular frame.
[0016] In one implementation, the head detection network model is a MobileFaceNet model; wherein, the MobileFaceNet model includes a first separable convolution module and a second separable convolution module; the first separable convolution module includes a 5×5 convolution kernel for the shallow layer of the network; the second separable convolution module includes two 5×5 convolution kernels for the deep layer of the network.
[0017] In one implementation, inputting the head detection rectangular frame into a head key point positioning model for training to obtain the head key point position coordinates includes:
[0018] Inputting the head image in the head detection rectangular frame into the MobileMeshNet network model; wherein the MobileMeshNet network model includes a 2D convolution layer and a residual module; the residual module includes two 3×3 2D convolution layers; the convolution kernel size of the 2D convolution layer is 3×3;
[0019] Using a downsampled residual module to train the head image to obtain dependencies between key point features;
[0020] According to the dependency relationship between the key point features, the head image is decoded using a convolution layer-residual module-convolution layer head to obtain the position coordinates of the head key points.
[0021] In one implementation, obtaining the visual stimulation direction and the visual stimulation response according to the position coordinates of the key points of the head includes:
[0022] According to the position coordinates of the key points of the head, the head position, the coordinates of each feature point of the head, and the relative depth estimation of each feature point of the head are obtained;
[0023] Obtaining head motion parameters based on the head position, coordinates of each feature point of the head, and relative depth estimation of each feature point of the head;
[0024] According to the head movement parameters, a visual stimulation direction and a visual stimulation response are obtained.
[0025] In one implementation, the head motion parameters include head orientation, head rotation direction, head rotation speed, head movement direction, head movement speed, head movement trajectory, head movement trajectory area, head movement acceleration, and reaction time;
[0026] In one implementation, obtaining a visual stimulus direction and a visual stimulus response based on the head motion parameters includes: obtaining the visual stimulus response based on the head rotation direction, the head rotation speed, the head movement direction, the head movement speed, the head movement trajectory, the head movement trajectory area, and the head movement acceleration;
[0027] According to the head orientation, to the direction of the visual stimulus;
[0028] The visual stimulation response is obtained according to the head rotation speed, head movement direction, head movement speed, head movement trajectory, head movement trajectory area, and head movement acceleration.
[0029] In a second aspect, an embodiment of the present invention further provides a visual stimulus response monitoring device based on head movements, wherein the device comprises:
[0030] An image acquisition module, used to acquire image or video data containing head images;
[0031] A head detection rectangular frame acquisition module is used to input the image or video data into a head detection network model for training to obtain a head detection rectangular frame;
[0032] A head key point position coordinate acquisition module is used to input the head detection rectangular frame into the head key point positioning model for training to obtain the head key point position coordinates;
[0033] The visual stimulus response acquisition module is used to obtain the visual stimulus response according to the head rotation direction, head rotation speed, head movement direction, head movement speed, head movement trajectory, head movement trajectory area, and head movement acceleration.
[0034] In a third aspect, an embodiment of the present invention further provides an intelligent terminal, wherein the intelligent terminal includes a memory, a processor, and a visual stimulation reaction monitoring program based on head movements stored in the memory and runnable on the processor. When the processor executes the visual stimulation reaction monitoring program based on head movements, the steps of the visual stimulation reaction monitoring method based on head movements as described in any one of the above items are implemented.
[0035] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein a visual stimulation reaction monitoring program based on head movements is stored on the computer-readable storage medium. When the visual stimulation reaction monitoring program based on head movements is executed by a processor, the steps of the visual stimulation reaction monitoring method based on head movements as described in any one of the above items are implemented.
[0036] Beneficial effects: Compared with the prior art, the present invention provides a method and intelligent terminal for monitoring visual stimulation reactions based on head movements. First, image or video data containing head images is obtained, and the monitoring of head movement behavior is realized on cross-platform devices and networks using its own camera, which has low requirements for hardware equipment. Then, the image or video data is input into the head detection network model for training to obtain a head detection rectangular frame, and the rectangular frame where the head image is located is intelligently detected by the neural network model. Next, the head detection rectangular frame is input into the head key point positioning model for training to obtain the position coordinates of the head key points. The head feature point positioning and tracking method based on deep learning is used to reduce the requirements of the environment and increase the versatility of visual stimulation reaction monitoring. Finally, according to the head key point position coordinates, the visual stimulation direction and visual stimulation reaction are obtained. The head movement parameters can be monitored in combination with simple test tasks, and the cognitive state of the subject can be evaluated based on the head movement parameters. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0038] FIG1 is a flow chart of a method for monitoring visual stimulus responses based on head movements according to an embodiment of the present invention.
[0039] FIG2 is a schematic diagram of a module of a separation convolution provided by an embodiment of the present invention.
[0040] FIG3 is a schematic diagram of the MobileFaceNet network structure provided by an embodiment of the present invention.
[0041] FIG4 is a schematic diagram of the MobileMeshNet network structure provided by an embodiment of the present invention.
[0042] FIG5 is a block diagram showing the principle of a device for monitoring visual stimulation reactions based on head movements according to an embodiment of the present invention.
[0043] FIG6 is a block diagram of the internal structure of the smart terminal provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0044] In order to make the purpose, technical solution and effect of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0045] It will be understood by those skilled in the art that, unless expressly stated otherwise, the singular forms "a", "an", "said" and "the" used herein may also include the plural forms. It should be further understood that the term "comprising" used in the description of the present invention refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be intermediate elements. In addition, "connected" or "coupled" as used herein may include wireless connections or wireless couplings. The term "and / or" used herein includes all or any units and all combinations of one or more associated listed items.
[0046] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those skilled in the art in the art to which the present invention belongs. It should also be understood that terms such as those defined in common dictionaries should be understood to have meanings consistent with their meanings in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless specifically defined as herein.
[0047] Monitoring responses to visual stimuli has widespread applications in fields such as psychology and neuroscience research, and infant and toddler studies. In clinical research, responses to visual stimuli can be used to diagnose ophthalmic diseases and brain and neurological disorders, such as autism and Parkinson's disease. They can also provide information on early signs of diseases such as Alzheimer's and Parkinson's. Currently, the most commonly used method for monitoring user visual information is eye tracking. However, eye trackers are expensive, and in some extreme cases, the difficulty in capturing eye features can make it difficult to accurately identify responses to visual stimuli.
[0048] At present, the correlation between head movements and eye movements has been verified. Frank et al. designed a reading experiment and used infrared pupils and head trackers to monitor head and eye movements, proving that the head and eye movement system is a highly coupled but extremely flexible system. Therefore, the head movement monitoring proposed in the present invention can effectively serve as a substitute for eye tracking, realize the monitoring of visual stimulus responses, conduct a series of human-computer interactions, and realize the evaluation of psychological and cognitive states. The present invention can be implemented on cross-platform devices. Based on simple tests of some cognitive psychology methods, the head movement behavior of the subject is analyzed when stimulation is actively provided. In various application scenarios, it is not only low-cost but also easier to operate.
[0049] Exemplary Methods
[0050] This embodiment provides a method for monitoring visual stimulus response based on head movement. As shown in FIG1 , the method comprises the following steps:
[0051] Step S100: acquiring image or video data containing a head image;
[0052] Specifically, this embodiment utilizes a camera to acquire an image or video containing a head image. The camera can be a network camera with remote control and transmission capabilities, a local camera device, or a medical image acquisition device. The image should contain a complete head image, and within the video data, each frame containing a complete head image is extracted as the source material. If the head image is missing beyond a defect threshold, the image or video frame should be discarded. In this embodiment, the defect threshold is set to 70%.
[0053] Step S200: input the image or video data into a head detection network model for training to obtain a head detection rectangular frame;
[0054] Specifically, in this embodiment, we perform head detection on the captured image or video data. A neural network monitoring model is trained on the input image or video data to intelligently extract a head detection rectangle. The head detection rectangle is a rectangular image data containing a complete head image. This rectangle allows for further positioning and analysis of the head image.
[0055] In one implementation, step S200 in this embodiment includes the following steps:
[0056] Step S201: input the head image data into the head detection network model for training to obtain a detection result; the head detection network model is a MobileFaceNet model; wherein the MobileFaceNet model includes a first separable convolution module and a second separable convolution module; the first separable convolution module includes a 5×5 convolution kernel for the shallow layer of the network; the second separable convolution module includes two 5×5 convolution kernels for the deep layer of the network.
[0057] Step S202: Perform a non-maximum suppression post-processing operation on the detection result to obtain the head detection rectangular frame.
[0058] Specifically, this embodiment proposes a head detection solution, MobileFaceNet, as shown in Figure 2. It is a lightweight and high-performance head detector based on the improvements and optimizations of MobileNet, specifically tailored for mobile terminal inference. The detector's ultra-real-time performance enables its application to any real-time viewfinder that requires an accurate head region of interest as input to the next head key point estimation task model. In Figure 2, the left side shows a single-layer FaceBlock, and the right side shows a designed double-layer DoubleFaceBlock that is first up-converted and then down-converted. We use a 5×5 convolution kernel to increase the network receptive field size while reducing the network depth, optimizing real-time inference speed.
[0059] Among them, FaceBlock is suitable for the shallow layer of the network, and DoubleFaceblock is suitable for the deep layer of the network. We configure the optimized deep separation convolution module in the SSD detection network. On the other hand, compared with the SSD detection model, the model adopted in this embodiment is to learn the anchor with features of two feature dimensions (16*16, 8*8). The model is lighter and there will be fewer candidate boxes, which will require less calculations for the GPU. We use 6 8×8 feature maps to replace the original 2 2×2, 4×4, and 8×8 feature maps to improve the default Anchor mechanism. The specific network architecture is shown in Figure 3 below. In Figure 3, the backbone network of the model is stacked by the deep separable convolution modules FaceBlock and DoubleFaceBlock, and the candidate boxes are proposed by the last two output ends.
[0060] Step S300: input the head detection rectangle into the head key point positioning model for training to obtain the position coordinates of the head key points;
[0061] Specifically, this embodiment uses a deep learning model, namely a head keypoint localization model, to infer the 3D head surface. This model only requires a head detection rectangle as input, without the need for a dedicated depth sensor. The head keypoint localization model is bundled with a head transformation module to establish a metric 3D space. The on-screen position of head landmarks is then used to estimate the head transformation within this space.
[0062] In one implementation, step S300 in this embodiment includes the following steps:
[0063] Step S301: Input the head image in the head detection rectangular frame into the MobileMeshNet network model; wherein the MobileMeshNet network model includes a 2D convolution layer and a residual module; the residual module includes two 3×3 2D convolution layers; the convolution kernel size of the 2D convolution layer is 3×3;
[0064] Step S302: training the head image using a down-sampled residual module to obtain dependency relationships between key point features;
[0065] Step S303: Decode the head image according to the dependency relationship between the key point features and use the head of the convolution layer-residual module-convolution layer to obtain the position coordinates of the head key points.
[0066] Specifically, this embodiment uses a deep learning model to infer the three-dimensional head surface, and only needs to use the head captured by the camera as input, without the need for a dedicated depth sensor. MobileMeshNet is bundled with the head transformation module to establish a metric three-dimensional space, and the head landmark screen position is used to estimate the head transformation in the space. Specifically, we use the detected head of the head detection model as input, and predict the three-dimensional head key point model that approximates the three-dimensional surface through regression. MobileMeshNet uses more downsampling at the input of the network, and dedicates most of the calculations to its shallow part, so that the neuron receptive field begins to cover a large area of the input image relatively early, and is better able to capture the position information and relative position relationship of different key points, which are only converted into coordinates in the last few layers of the network.
[0067] Specifically, in Figure 4, the MobileMeshNet network adopts an asymmetric network structure. The backbone network uses more downsampled residual modules to capture the dependencies between key point features. The convolutional layer-residual module-convolutional layer head then decodes the coordinates of the head key point positions. The model input is the head image within the head detection rectangle of MobileFaceNet, and outputs the coordinates of the head key point positions. Among them, the convolution kernel size of the 2D convolutional layer (Convolutional2DLayer, Conv2D) is 3×3, the stride is set to 1, and the padding size is set to 1; the residual module is a standard residual module, consisting of two 3×3 convolutional layers Conv2D stacked together, to achieve residual learning of y = F(x) + x; the maximum value pooling (MaxPooling2DLayer, MaxPool2D) on the connection is set to 2×2.
[0068] Step S400: Obtain visual stimulation direction and visual stimulation response according to the position coordinates of the key points of the head.
[0069] Specifically, this embodiment applies stimulation to the subject in combination with a simple test task, and monitors the head image when the subject responds to the stimulation, so as to obtain the position coordinates of the key points of the head. By calculating the changes in the position coordinates of the key points of the head, the parameter values representing the head movement can be inferred, thereby obtaining the cognitive state of the subject, that is, the visual stimulation direction and visual stimulation response.
[0070] For example, when the coordinates of the key points on the subject's head move from (x1, y1, z1) to (x2, y2, z2) within 0.01 seconds during the first test, compared to the coordinates of the key points on the subject's head moving from (x1, y1, z1) to (x2, y2, z2) within 0.1 seconds during the second test, it can be inferred that the directions of the two visual stimuli are the same, but the visual stimulation responses are different, and the visual stimulation response in the first test is stronger.
[0071] In one implementation, step S400 in this embodiment includes the following steps:
[0072] Step S401: Obtain the head position, the coordinates of each head feature point, and the relative depth estimation of each head feature point based on the position coordinates of the head key points;
[0073] Step S402: Obtain head motion parameters based on the head position, the coordinates of each head feature point, and the relative depth estimation of each head feature point; the head motion parameters include head orientation, head rotation direction, head rotation speed, head movement direction, head movement speed, head movement trajectory, head movement trajectory area, head movement acceleration, and reaction time.
[0074] Step S403: Obtain visual stimulation direction and visual stimulation response according to the head movement parameters.
[0075] Specifically, when external visual stimuli occur, the eyes will follow the target's movement, simultaneously causing the head to deviate in a specific direction. The trajectory of head movement can be determined by head orientation, head rotation direction, head rotation speed, head movement direction, head movement speed, head movement trajectory, head movement trajectory area, head movement acceleration, and reaction time. The head movement trajectory can be used to determine the subject's current eye tracking status. Therefore, even in an environment without the support of an eye tracker, monitoring head movement can be used to understand the subject's visual stimulus direction and response to visual stimuli.
[0076] Specifically, this embodiment can determine the head shape estimation through the position coordinates of the key points of the head. Through the coordinates of the key points of the head, the head position, the coordinates of each feature point of the head, and the relative depth estimation of each feature point of the head are accurately located. The head movement is analyzed based on the above parameters, including the current head orientation, head rotation direction, head rotation speed, head movement direction, head movement speed, head movement trajectory, head movement trajectory area, head movement acceleration, and reaction time. The specific calculation method is as follows:
[0077] Head facing
[0078] The head movement speed is
[0079] The head movement acceleration is
[0080] The direction of head movement is
[0081] The direction of head rotation is
[0082] The head rotation speed is
[0083] in, is the horizontal coordinate of the vector from the center of the head to the tip of the nose, are the ordinate and vertical coordinates, x0 is the horizontal coordinate of the center point of the head, y0 and z0 are the ordinate and vertical coordinates, is the slope from the center of the head to the tip of the nose on the xoy plane, k0 is the original state, k1 is the new state, and Δt is the interval time.
[0084] Specifically, when the image or video quality is poor and eye movements cannot be accurately tracked, the method in this embodiment can still obtain the movement state of the head, thereby maintaining high accuracy and high robustness, and having low requirements for hardware equipment. It gets rid of the requirement of infrared or high-definition cameras in previous methods, and only needs to analyze the subject's head movement behavior to realize the detection of visual stimulus direction and visual stimulus response.
[0085] In one implementation, step S403 in this embodiment includes the following steps:
[0086] Step S4031, according to the head orientation, to the visual stimulation direction;
[0087] Step S4032: Obtain the visual stimulus response according to the head rotation direction, head rotation speed, head movement direction, head movement speed, head movement trajectory, head movement trajectory area, and head movement acceleration.
[0088] Specifically, when a subject experiences visual stimulation, the head orientation and the direction of gaze are in the same direction, so the direction of the visual stimulation can be inferred from the head orientation. At the same time, the direction and speed of head rotation reflect how fast the subject's head rotates when faced with visual stimulation, and can reflect the speed of the subject's local head reaction. The direction and speed of head movement, head movement trajectory, head movement trajectory area, and head movement acceleration reflect the movement trajectory and speed of the subject's body, and can also infer the subject's reaction to changes in visual stimulation.
[0089] It should be noted that in order to enable the method in this embodiment to run on cross-platform devices and networks, this embodiment uses TensorFlow.js to convert the deep learning model into a JSON file of the model structure and a BIN file of the model weights, supporting the model to run online on cross-platform devices and networks such as browsers, allowing eye tracking analysis to be migrated to a platform that is scalable to web browsers so that it can run on mobile terminals, actively promoting the development of online and real-time head tracking.
[0090] Exemplary devices
[0091] As shown in FIG5 , this embodiment further provides a visual stimulation reaction monitoring device based on head movement, the device comprising:
[0092] An image acquisition module 10 is used to acquire image or video data including a head image;
[0093] A head detection rectangular frame acquisition module 20 is used to input the image or video data into a head detection network model for training to obtain a head detection rectangular frame;
[0094] A head key point position coordinate acquisition module 30 is used to input the head detection rectangular frame into a head key point positioning model for training to obtain the head key point position coordinates;
[0095] The visual stimulation response acquisition module 40 is used to obtain the visual stimulation direction and the visual stimulation response according to the position coordinates of the key points of the head.
[0096] In one implementation, the head detection rectangular frame acquisition module 20 includes:
[0097] The first training acquisition unit is used to input the head image data into the head detection network model for training to obtain a detection result; the head detection network model is a MobileFaceNet model; wherein the MobileFaceNet model includes a first separable convolution module and a second separable convolution module; the first separable convolution module includes a 5×5 convolution kernel for the shallow layer of the network; the second separable convolution module includes two 5×5 convolution kernels for the deep layer of the network.
[0098] The head detection rectangular frame acquisition unit is used to perform a non-maximum suppression post-processing operation on the detection result to obtain the head detection rectangular frame.
[0099] In one implementation, the head key point position coordinate acquisition module 30 includes:
[0100] A second training acquisition unit is configured to input the head image in the head detection rectangular frame into the MobileMeshNet network model; wherein the MobileMeshNet network model includes a 2D convolution layer and a residual module; the residual module includes two 3×3 2D convolution layers; the convolution kernel size of the 2D convolution layer is 3×3;
[0101] A dependency relationship acquisition unit, configured to train the head image using a downsampled residual module to obtain dependency relationships between key point features;
[0102] The head key point position coordinate acquisition unit is used to decode the head image according to the dependency relationship between the key point features and adopt the head of the convolution layer-residual module-convolution layer to obtain the head key point position coordinates.
[0103] In one implementation, the visual stimulus response acquisition module 40 includes:
[0104] A head coordinate acquisition unit, configured to obtain the head position, the coordinates of each head feature point, and the relative depth estimation of each head feature point based on the coordinates of the head key point position;
[0105] A head motion parameter acquisition unit is used to obtain head motion parameters based on the head position, coordinates of each feature point of the head, and relative depth estimation of each feature point of the head; the head motion parameters include head orientation, head rotation direction, head rotation speed, head movement direction, head movement speed, head movement trajectory, head movement trajectory area, head movement acceleration and reaction time.
[0106] The visual stimulation direction and visual stimulation response acquisition unit is used to obtain the visual stimulation direction and visual stimulation response according to the head movement parameters.
[0107] In one implementation, the visual stimulus direction and visual stimulus response acquisition unit of this embodiment includes:
[0108] a visual stimulation direction acquisition subunit, configured to obtain the visual stimulation direction according to the head orientation;
[0109] The visual stimulus response acquisition subunit is used to obtain the visual stimulus response according to the head rotation direction, head rotation speed, head movement direction, head movement speed, head movement trajectory, head movement trajectory area, and head movement acceleration.
[0110] Based on the above embodiments, the present invention also provides an intelligent terminal, whose principle block diagram can be shown in Figure 6. The intelligent terminal includes a processor, a memory, a network interface, a display screen, and a temperature sensor connected through a system bus. Among them, the processor of the intelligent terminal is used to provide computing and control capabilities. The memory of the intelligent terminal includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the intelligent terminal is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a visual stimulus reaction monitoring method based on head movement is implemented. The display screen of the intelligent terminal can be a liquid crystal display screen or an electronic ink display screen, and the temperature sensor of the intelligent terminal is pre-set inside the intelligent terminal to detect the operating temperature of the internal device.
[0111] Those skilled in the art will understand that the principle block diagram shown in Figure 6 is only a block diagram of a partial structure related to the solution of the present invention, and does not constitute a limitation on the smart terminal to which the solution of the present invention is applied. The specific smart terminal may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0112] In one embodiment, a smart terminal is provided. The smart terminal includes a memory, a processor, and a head movement-based visual stimulus reaction monitoring program stored in the memory and executable on the processor. When the processor executes the head movement-based visual stimulus reaction monitoring program, the following operating instructions are implemented:
[0113] Acquiring image or video data containing head images;
[0114] Inputting the image or video data into a head detection network model for training to obtain a head detection rectangular frame;
[0115] Inputting the head detection rectangular frame into the head key point positioning model for training to obtain the position coordinates of the head key points;
[0116] According to the position coordinates of the key points of the head, the visual stimulation direction and the visual stimulation response are obtained.
[0117] Those skilled in the art will understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, operation database or other media used in the embodiments provided by the present invention may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct RAMbus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.
[0118] In summary, the present invention discloses a method for monitoring visual stimulus reactions based on head movements, the method comprising: acquiring image or video data containing head images; inputting the image or video data into a head detection network model for training to obtain a head detection rectangular frame; inputting the head detection rectangular frame into a head key point positioning model for training to obtain the head key point position coordinates; and obtaining the visual stimulus direction and visual stimulus reaction based on the head key point position coordinates. The present invention applies stimulation to the subject in combination with a simple test task, monitors the head movement parameters, and evaluates the subject's cognitive state based on the head movement parameters. By using a head feature point positioning and tracking method based on deep learning, the environmental requirements are reduced and the versatility of visual stimulus reaction monitoring is increased.
[0119] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A method for monitoring visual stimulus response based on head movement, characterized in that: The method comprises: Acquiring image or video data including head images; Inputting the image or video data into a head detection network model for training to obtain a head detection rectangular frame; Inputting the head detection rectangular frame into the head key point positioning model for training to obtain the position coordinates of the head key points; According to the position coordinates of the key points of the head, the visual stimulation direction and the visual stimulation response are obtained.
2. The method for monitoring visual stimulus response based on head movement according to claim 1, characterized in that: The step of inputting the image or video data into a head detection network model for training to obtain a head detection rectangular frame includes: Inputting the head image data into a head detection network model for training to obtain a detection result; A non-maximum suppression post-processing operation is performed on the detection result to obtain the head detection rectangular frame.
3. The method for monitoring visual stimulation response based on head movement according to claim 2, characterized in that: The head detection network model is a MobileFaceNet model; wherein the MobileFaceNet model includes a first separable convolution module and a second separable convolution module; the first separable convolution module includes a 5×5 convolution kernel for a shallow network layer; the second separable convolution module includes two 5×5 convolution kernels for a deep network layer.
4. The method for monitoring visual stimulus response based on head movement according to claim 1, characterized in that: The step of inputting the head detection rectangular frame into the head key point positioning model for training to obtain the head key point position coordinates includes: Inputting the head image in the head detection rectangular frame into the MobileMeshNet network model; wherein the MobileMeshNet network model includes a 2D convolution layer and a residual module; the residual module includes two 3×3 2D convolution layers; the convolution kernel size of the 2D convolution layer is 3×3; Using a downsampled residual module to train the head image to obtain dependencies between key point features; According to the dependency relationship between the key point features, the head image is decoded by using a convolution layer-residual module-convolution layer head to obtain the position coordinates of the head key points.
5. The method for monitoring visual stimulation response based on head movement according to claim 1, characterized in that: The step of obtaining the visual stimulation direction and the visual stimulation response according to the position coordinates of the key points of the head includes: According to the position coordinates of the key points of the head, the position of the head, the coordinates of each feature point of the head, and the relative depth estimation of each feature point of the head are obtained; Obtaining head motion parameters according to the head position, the coordinates of each feature point of the head, and the relative depth estimation of each feature point of the head; According to the head movement parameters, a visual stimulation direction and a visual stimulation response are obtained.
6. The method for monitoring visual stimulus response based on head movement according to claim 5, characterized in that: The head movement parameters include head orientation, head rotation direction, head rotation speed, head movement direction, head movement speed, head movement trajectory, head movement trajectory area, head movement acceleration and reaction time.
7. The method for monitoring visual stimulus response based on head movement according to claim 6, characterized in that: The step of obtaining a visual stimulation direction and a visual stimulation response according to the head movement parameters comprises: According to the head orientation, to the visual stimulus direction; The visual stimulation response is obtained according to the head rotation direction, the head rotation speed, the head movement direction, the head movement speed, the head movement trajectory, the head movement trajectory area, and the head movement acceleration.
8. A visual stimulus response monitoring device based on head movement, characterized in that: The device comprises: An image acquisition module, used to acquire image or video data containing head images; A head detection rectangular frame acquisition module is used to input the image or video data into a head detection network model for training to obtain a head detection rectangular frame; A head key point position coordinate acquisition module is used to input the head detection rectangular frame into the head key point positioning model for training to obtain the head key point position coordinates; The visual stimulation response acquisition module is used to obtain the visual stimulation direction and the visual stimulation response according to the position coordinates of the key points of the head.
9. An intelligent terminal, characterized in that: The intelligent terminal includes a memory, a processor, and a visual stimulation reaction monitoring program based on head movements stored in the memory and executable on the processor. When the processor executes the visual stimulation reaction monitoring program based on head movements, the steps of the visual stimulation reaction monitoring method based on head movements as described in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a visual stimulation reaction monitoring program based on head movements. When the visual stimulation reaction monitoring program based on head movements is executed by the processor, the steps of the visual stimulation reaction monitoring method based on head movements as described in any one of claims 1-7 are implemented.
Citation Information
Patent Citations
driver visual dispersion detection method based on a deep fusion neural network
CN109583338A
Personnel work image attention detection method and system based on deep learning
CN110705500A
Fatigue state detection method and system based on key point detection and head posture
CN114360041A
Mobile terminal child visual attention abnormity screening method based on multi-modal data learning
CN115761908A
Semi-supervised iterative keypoint and viewpoint invariant feature learning for visual recognition
US20210150264A1
