A children's hearing detection method and system based on deep learning
By processing video frame images with deep learning technology and POTR model, it solves the problems of low detection accuracy and efficiency in traditional children's hearing detection technology, realizes AI-assisted children's behavioral audiometry, improves detection accuracy and efficiency, and provides a better for objective diagnostic results.
Patent Information
- Application Number
- CN202410969007.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-19
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-07-19
AI Technical Summary
Traditional children's hearing testing technology has high requirements on testers and lacks objective quantitative indicators, resulting in inaccurate results and the need for repeated testing, affecting testing efficiency and accuracy.
Using a method based on deep learning, the POTR model is used to process video frame images to generate distance and angle data of key bone points, and the RGB image is combined to determine the number of vocal responses of the subject. AI is introduced to assist children's behavioral audiometry to improve detection accuracy and efficiency. .
It improves the accuracy and efficiency of children's hearing testing, reduces testing time, lowers the professional requirements for testers, and provides more objective and reliable diagnostic results.
Smart Images

Figure CN118512173B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of hearing detection, and in particular to a method and system for children's hearing detection based on deep learning. Background Art
[0002] Traditional child behavior audiometry has certain requirements for the subjects. The basic premise of the test is that the child must have normal psychological and behavioral development. Newborns with limb movement disorders, children with autism or ADHD are difficult to complete the test. Second, it has high requirements for the tester, as follows:
[0003] 1. The tester has high requirements for induction skills. The tester is required to effectively guide the test children to cooperate with the game without giving psychological hints, and the tester has high observation ability.
[0004] 2. The tester has high requirements for judging the degree of cooperation of the children, analyzing the reasons for their poor cooperation and adjusting the corresponding countermeasures. There are requirements for the number of testers. Usually two testers are required to participate, one is responsible for inducing and observing the subjects' cooperation, and the other is responsible for giving sounds and testing hearing results;
[0005] Third, there are no objective quantitative indicators, and the judgment of the results relies solely on personal experience, which is highly subjective. Different testers may come to different conclusions about the same reaction. Moreover, since the results of a single test are not accurate enough, repeated tests are required. Repeated tests may cause fatigue or loss of interest in the test subjects, leading to decreased cooperation. This not only affects the accuracy of the test results, but also requires testers to spend more time replacing new test tools, which greatly prolongs the test time. Summary of the invention
[0006] The purpose of the present invention is to provide a child hearing detection method and system based on deep learning, and to introduce AI-assisted child behavioral audiometry to improve the accuracy and detection efficiency of child behavioral hearing detection, and to provide a new method for the early diagnosis and treatment of hearing impairment in children, so as to address the deficiencies in the background technology.
[0007] In order to achieve the above object, the present invention provides the following technical solution: a child hearing detection method based on deep learning, the detection method comprising the following steps:
[0008] Collect image or video data related to pediatric posture, and annotate pediatric posture information for each data sample, divide the data samples into training set and test set, train the network model with the training set and optimize the parameters using the back propagation algorithm, input the data samples into the trained network model by applying the forward propagation algorithm to obtain the posture prediction results, evaluate the network model with the test set, and adjust and optimize the network model parameters based on the evaluation results;
[0009] The video frame image data of the subject is captured by a camera, and the video frame image is processed using the POTR model to generate the distance and angle data of the skeleton key points and the RGB image containing the skeleton line. The network model sets the data set based on the horizontal value information of the skeleton key points in the data set, and determines whether to increase the number of voice responses of the subject according to the action classification results in the RGB image;
[0010] After processing all the video frame images, the risk of no sound response is determined based on the number of sound responses of the subject, and the judgment result is sent to relevant personnel.
[0011] In a preferred embodiment, the construction of the POTR model comprises the following steps:
[0012] The CA module and position encoding are combined to generate the coordinates of the skeleton key points, which are then input into the Transformer-Block. After being processed by the self-attention mechanism, the skeleton key points and classification results are output to complete the construction of the POTR model.
[0013] In a preferred embodiment, inputting the coordinates of the skeleton key points into the Transformer-Block and outputting the skeleton key points and classification results after processing by the self-attention mechanism includes the following steps:
[0014] Pass the coordinates of the skeleton key points through the backbone of the neural network to extract high-level feature data;
[0015] The feature data obtained from the backbone is processed, and the CA module is used to strengthen the information exchange between different channels. Position encoding is introduced to process the element position information in the input data. The Transformer-Block contains multiple self-attention mechanisms and feedforward neural network layers for global modeling of the relationship between features, and processes the coordinates of skeleton key points through mechanisms such as multi-head attention, residual connection and layer normalization.
[0016] Finally, the information of the skeleton key points is extracted from the output of Transformer-Block, and the position of the human skeleton key points is represented by (x, y, z), where z represents the horizontal value and x and y represent the coordinates of the skeleton key points.
[0017] In a preferred embodiment, the POTR model is used to process the video frame image, the network model sets the data set based on the horizontal value information of the skeleton key points in the data set, and determines whether to increase the number of sound reactions of the subject according to the action classification result in the RGB image, including the following steps:
[0018] The distance data between the key points of the skeleton in the dataset include the distance between the shoulder and the elbow, the distance between the wrist and the elbow, and the distance between the wrist and the neck. The angle data between the key points of the skeleton include the elbow angle and the shoulder angle.
[0019] In the data set, the Euclidean distance is calculated according to the distance calculation standard, and the angle cosine value is calculated according to the angle calculation standard. If the calculated Euclidean distance and angle cosine value contain bone key points with a horizontal value less than 0.5, the data set is set to zero;
[0020] For RGB images containing skeleton lines, feature extraction is performed using the POTR model. If five consecutive video frame images are classified as the same action, they are recorded as the same action process. If the five video frame images are classified as different actions, the number of responses to the subject's voice is increased by one.
[0021] In a preferred embodiment, after processing all the video frame images, judging whether there is a risk of no sound response based on the number of sound responses of the subject includes the following steps:
[0022] After processing all video frame images, the number of times the subject responds to the sound is counted. If the number of responses is greater than or equal to the number threshold, the subject's response behavior to the sound is determined. If the number of responses is less than the number threshold, it is determined that the subject is at risk of having no sound response.
[0023] In a preferred embodiment, capturing video frame image data of a subject by a camera comprises the following steps:
[0024] The video frame image data includes the subject's facial expressions, head and neck and body movements. The POTR model is used to detect 18 human skeleton key points, which are arranged in numerical order as nose, neck, right shoulder, right elbow, right wrist, left shoulder, left elbow, left wrist, right hip, right knee, right ankle, left hip, left knee, left ankle, right eye, left eye, right ear and left ear. Each skeleton key point is represented by (x, y, z), where x and y represent the coordinates of the skeleton key point, and z represents the horizontal value. Images with horizontal values greater than or equal to the horizontal threshold in the video frame image are saved, and images with horizontal values less than the horizontal threshold are deleted.
[0025] In a preferred embodiment, the calculation logic of the horizontal value is: obtain the skeleton key point integrity, skeleton key point jump index and image blur of the video frame image, normalize the skeleton key point integrity, skeleton key point jump index and image blur, and then comprehensively calculate to obtain the horizontal value. The function expression is: , where is the horizontal value, is the completeness of the skeleton key points, is the bone key point jump index, is the image blur, , , are the weight coefficients of the skeleton key point integrity, skeleton key point jump index and image blur, respectively, and , , Both are greater than 0.
[0026] A child hearing detection system based on deep learning, including an image collection module, a model training and testing module, a skeleton key point detection module, a posture estimation detection module, and a processing module;
[0027] Image collection module: collects images or video data related to pediatric postures and annotates pediatric posture information for each data sample;
[0028] Model training and testing module: divide the data samples into training set and test set, train the network model with the training set and optimize the parameters using the back propagation algorithm, input the data samples into the trained network model by applying the forward propagation algorithm to obtain the posture prediction results, use the test set to evaluate the network model, and adjust and optimize the network model parameters based on the evaluation results;
[0029] Skeleton key point detection module: The video frame image data of the subject is captured by a camera, and the video frame image is processed using the POTR model to generate the distance and angle data of the skeleton key points and the RGB image containing the skeleton line;
[0030] Posture estimation and detection module: The network model sets the data set based on the horizontal value information of the key points of the skeleton in the data set, and determines whether to increase the number of voice responses of the subject based on the action classification results in the RGB image;
[0031] Processing module: After processing all the video frame images, it is determined whether there is a risk of no sound response based on the number of sound responses of the subject, and the judgment result is sent to relevant personnel.
[0032] In the above technical solution, the technical effects and advantages provided by the present invention are:
[0033] The present invention applies the forward propagation algorithm to input the data sample into the trained network model to obtain the posture prediction result, captures the video frame image data of the subject through the camera, uses the POTR model to process the video frame image, generates the distance and angle data of the skeleton key points and the RGB image containing the skeleton line, and the network model sets the data set based on the horizontal value information of the skeleton key points in the data set, and judges whether to increase the number of voice reactions of the subject according to the action classification result in the RGB image. After processing all the video frame images, it judges whether there is a risk of no voice reaction according to the number of voice reactions of the subject, and sends the judgment result to the relevant personnel. The detection system introduces AI-assisted children's behavioral audiometry, which can improve the accuracy and detection efficiency of children's behavioral hearing detection;
[0034] The present invention obtains the skeleton key point integrity, skeleton key point jump index and image blur of the video frame image, normalizes the skeleton key point integrity, skeleton key point jump index and image blur, obtains the horizontal value through comprehensive calculation, and saves the images with the horizontal value greater than or equal to the horizontal threshold in the video frame image, and deletes the images with the horizontal value less than the horizontal threshold. In this way, the quality of the video frame image can be guaranteed, thereby improving the accuracy of the hearing test on the subject. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0036] Figure 1 The present invention is a flow chart of the method. DETAILED DESCRIPTION
[0037] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0038] Example 1: Please refer to Figure 1 As shown, the child hearing detection method based on deep learning described in this embodiment includes the following steps:
[0039] Collect image or video data related to pediatric posture, and annotate pediatric posture information for each data sample, divide the data samples into training set and test set, train the network model with the training set and optimize the parameters using the back propagation algorithm, input the data samples into the trained network model by applying the forward propagation algorithm to obtain the posture prediction results, evaluate the network model with the test set, and adjust and optimize the network model parameters based on the evaluation results;
[0040] The video frame image data of the subject is captured by a camera, and the video frame image is processed using the POTR model to generate the distance and angle data of the skeleton key points and the RGB image containing the skeleton line. The network model sets the data set based on the horizontal value information of the skeleton key points in the data set, and determines whether to increase the number of voice responses of the subject according to the action classification results in the RGB image;
[0041] After processing all the video frame images, the risk of no sound response is determined based on the number of sound responses of the subject, and the judgment result is sent to relevant personnel.
[0042] This application applies the forward propagation algorithm to input the data sample into the trained network model to obtain the posture prediction result, captures the video frame image data of the subject through the camera, uses the POTR model to process the video frame image, generates the distance and angle data of the skeleton key points and the RGB image containing the skeleton line, and the network model sets the data set based on the horizontal value information of the skeleton key points in the data set, and judges whether to increase the number of sound reactions of the subject according to the action classification results in the RGB image. After processing all the video frame images, it judges whether there is a risk of no sound reaction according to the number of sound reactions of the subject, and sends the judgment result to the relevant personnel. The detection system introduces AI-assisted children's behavioral audiometry, which can improve the accuracy and detection efficiency of children's behavioral hearing detection.
[0043] 1) Collection and establishment of database:
[0044] Image or video data related to pediatric postures were collected. To ensure the diversity of the dataset, pediatric samples of different ages, genders, and postures were included. The pediatric posture information, including joint positions and posture angles, was annotated for each sample, and the trained model was then used to predict and infer new input data. In order to identify pediatric posture image or video data, the trained model was used for inference. By applying the forward propagation algorithm, the data was input into the network model and the posture prediction results were obtained;
[0045] 2) Building a deep learning model for pediatric posture recognition:
[0046] A deep learning model for pediatric posture recognition was designed and built using the TensorFlow library. A training set and a validation set were prepared by splitting the dataset into two parts for training and validation of the model. Using the annotated dataset, the network model was trained and its parameters were optimized using the back-propagation algorithm, and the trained model was then used to predict and infer new input data. In order to recognize pediatric posture image or video data, the trained model was used for inference. By applying the forward propagation algorithm, the data was input into the network model and the posture prediction results were obtained. The model was then evaluated using the test set, and indicators such as recognition accuracy and recall were calculated. Based on the evaluation results, the model parameters were adjusted and optimized to improve its performance and generalization ability. Cross-validation and other methods can be used to verify the stability and reliability of the model;
[0047] 3) Human skeleton key point detection POTR model
[0048] The essence of the POTR model is to extract features from the backbone, generate the coordinates of the key points of the skeleton by combining the CA module and the position encoding, and output two contents after the Transformer-Block: the key points of the skeleton and the classification. The coordinates of the key points of the skeleton are passed through the backbone of the neural network to extract high-level features. The purpose of this step is to capture the abstract representation of the input data. Then the features obtained from the backbone are processed. First, the CA module is used to strengthen the information exchange between different channels and improve the model's attention to important features. At the same time, the position encoding is introduced to process the element position information in the input data. The processed features are input into the Transformer-Block. This module contains multiple self-attention mechanisms and feedforward neural network layers for global modeling of the relationship between features. It processes the coordinates of the key points of the skeleton through mechanisms such as multi-head attention, residual connection and layer normalization to generate a richer representation. Finally, the information of the key points of the skeleton is extracted from the output of the Transformer-Block. The position of the key points of the human skeleton is represented by (x, y, z), where z represents the horizontal value. Classification output: Similarly, the output of the Transformer-Block is appropriately processed to obtain the output for the classification task. This could be a vector containing the probabilities of the different classes.
[0049] 4) Collecting posture data of test children:
[0050] The facial expressions, head, neck and body movements of the subjects are captured using a high-definition camera. The 18 key points of the human skeleton detected by the POTR model are arranged in numerical order as nose, neck, right shoulder, right elbow, right wrist, left shoulder, left elbow, left wrist, right hip, right knee, right ankle, left hip, left knee, left ankle, right eye, left eye, right ear and left ear. Each skeleton key point is represented by (x, y, z), where x and y represent the coordinates of the skeleton key point and z represents the horizontal value. Therefore, when the subject appears in the field of view of the visual sensor, the corresponding point will be captured. In other words, the corresponding points of the main parts of the subject's face and body can be captured through the POTR model. The algorithm saves images with horizontal values greater than or equal to the horizontal threshold, while images with values less than the horizontal threshold are discarded. Through the designed algorithm, the retained images will be used to recognize the corresponding behavior.
[0051] 5) Test the collected data
[0052] The input video frame image is processed by the POTR model, that is, numerical data containing distance and angle information between skeleton key points, and RGB image data containing skeleton lines. A continuous sequence of categories can be obtained by any video frame image of raising and lowering the hand. By comprehensively analyzing this sequence, the final hearing result, that is, normal or abnormal hearing, can be obtained. The distance data between the skeleton key points include the distance between the shoulder and the elbow (two-three, five-six), the distance between the wrist and the elbow (three-four, six-seven), and the distance between the wrist and the neck (one-four, one-seven); the angle data between the skeleton key points include the elbow angle (two-three-four, five-six-seven) and the shoulder angle (one-two-three, one-five-six).
[0053] The value in the brackets indicates the number of the key points of the human skeleton, which is used to describe the relationship or distance between different key points. In skeleton key point detection and posture recognition, key point numbers are often used to identify specific parts of the human body;
[0054] Explanation of the bone key point numbers: 1: Neck, 2: Left shoulder, 3: Left elbow, 4: Left wrist, 5: Right shoulder, 6: Right elbow, 7: Right wrist;
[0055] Distance data
[0056] Distance between shoulder and elbow:
[0057] 2-3: The distance between the left shoulder and the left elbow;
[0058] Five-six: the distance between the right shoulder and the right elbow;
[0059] Distance between wrist and elbow:
[0060] Three-four: the distance between the left elbow and the left wrist;
[0061] Six-seven: the distance between the right elbow and the right wrist;
[0062] Distance between wrist and neck:
[0063] One-four: distance between neck and left wrist;
[0064] One-seven: distance between neck and right wrist;
[0065] Angle data
[0066] Elbow Angle:
[0067] Two-three-four: The angle formed by the left shoulder, left elbow and left wrist;
[0068] Five-six-seven: the angle formed by the right shoulder, right elbow and right wrist;
[0069] Shoulder Angle:
[0070] One-two-three: the angle formed by the neck, left shoulder and left elbow;
[0071] One-five-six: The angle formed by the neck, right shoulder and right elbow.
[0072] The Euclidean distance is calculated according to the distance calculation standard, and the cosine value of the angle is evaluated according to the angle calculation standard. If the above distance and angle data contain skeletal key points with a horizontal value less than 0.5, the data set is set to zero. For RGB images containing skeletal lines, the POTR model is selected for feature extraction. If all 5 consecutive video frame images are classified as the same action (raising hands or letting go), they are recorded as hand-raising or hand-letting processes. If there is a letting go process, a hand-raising process, and then a hand-letting process, the number of responses to the sound will increase by one. After processing all video frame images, the number of times the subject responds to the sound is counted. If it is greater than or equal to the number threshold, the DoT model determines the subject's response behavior to the sound. Otherwise, it is determined that there is a risk of no sound response, and a doctor is required to confirm the patient's behavior. Among them, M is a manually set threshold parameter, which can be personalized according to the age of the child and the duration of the video, and can be set to 20;
[0073] In this application, the DoT model refers to the Depth-of-Thought model, which is a technology in the field of computer vision and machine learning that is used to more accurately identify and analyze human postures and movements in complex scenes. Specifically, in videos of children's hearing tests, using DoT for posture recognition can help detect and analyze children's reactions and movements, thereby providing more accurate test results and diagnoses;
[0074] 6) Performance evaluation of DoT model
[0075] The results of each response of the subjects to the sound stimulation in the AI hearing test and the manual hearing test were compared. The Kappa values of the AI hearing test and the manual hearing test were compared for all subjects under sound stimulation of different intensities and frequencies. The sensitivity and specificity of the AI hearing test were calculated and compared across subjects. The output of the model is a classification of the video with one of the possible labels: (1) responsive to the sound, (2) not responsive to the sound. The area under the receiver operating characteristic (ROC) curve (AUROC) was also plotted to evaluate the performance of the model.
[0076] Embodiment 2: Using the POTR model to process video frame images, the network model sets the data set based on the horizontal value information of the skeleton key points in the data set, and determines whether to increase the number of sound reactions of the subject according to the action classification results in the RGB image, including the following steps:
[0077] The distance data between the key points of the skeleton in the dataset include the distance between the shoulder and the elbow, the distance between the wrist and the elbow, and the distance between the wrist and the neck. The angle data between the key points of the skeleton include the elbow angle and the shoulder angle.
[0078] In the dataset, the Euclidean distance is calculated according to the distance calculation standard, and the angle cosine is calculated according to the angle calculation standard. If the calculated Euclidean distance and angle cosine contain bone key points with a level value less than 0.5, the dataset is set to zero. The level (confidence score) is a measure of the accuracy of bone key point detection. A level value lower than 0.5 usually means that the model is uncertain about the position of the key point or the detection is inaccurate. Using these low-level key points for calculation may lead to incorrect distance and angle calculations, thus affecting the accuracy of the entire dataset;
[0079] Therefore, the skeleton key point data with a level value less than 0.5 is set to zero, mainly to ensure the reliability of the data, reduce noise interference, ensure the rationality of the calculation and improve the robustness of the model;
[0080] Among them, the general calculation formula of Euclidean distance is:
[0081] , where represents the Euclidean distance, , Indicates the actual coordinates of the skeleton key points. , Represents the coordinates of standard bone key points;
[0082] The formula for calculating the cosine of an angle is: , where Represent the vectors from point B to point A and from point B to point C respectively, represents the dot product of two vectors, Represent the magnitude of two vectors respectively.
[0083] The calculation method of calculating the Euclidean distance in the data set according to the distance calculation standard and calculating the angle cosine value according to the angle calculation standard is the same as the above general formula, which belongs to the prior art and will not be excessively described in this application;
[0084] For RGB images containing skeleton lines, feature extraction is performed using the POTR model. If five consecutive video frame images are classified as the same action, they are recorded as the same action process. If the five video frame images are classified as different actions, the number of responses to the subject's voice is increased by one.
[0085] Capturing the video frame image data of the subject by a camera includes the following steps:
[0086] The video frame image data includes the subject's facial expressions, head and neck and body movements. The POTR model is used to detect 18 human skeleton key points, which are arranged in numerical order as nose, neck, right shoulder, right elbow, right wrist, left shoulder, left elbow, left wrist, right hip, right knee, right ankle, left hip, left knee, left ankle, right eye, left eye, right ear and left ear. Each skeleton key point is represented by (x, y, z), where x and y represent the coordinates of the skeleton key point, and z represents the horizontal value. Images with horizontal values greater than or equal to the horizontal threshold in the video frame image are saved, and images with horizontal values less than the horizontal threshold are deleted.
[0087] The calculation logic of the horizontal value is: obtain the integrity of the skeleton key points, the jump index of the skeleton key points and the image blur of the video frame image, normalize the integrity of the skeleton key points, the jump index of the skeleton key points and the image blur, and then calculate and obtain the horizontal value. The function expression is: , where is the horizontal value, is the completeness of the skeleton key points, is the bone key point jump index, is the image blur, , , are the weight coefficients of the skeleton key point integrity, skeleton key point jump index and image blur, respectively, and , , All are greater than 0;
[0088] The present application obtains the skeleton key point integrity, skeleton key point jump index and image blur of the video frame image, normalizes the skeleton key point integrity, skeleton key point jump index and image blur, and then obtains the horizontal value through comprehensive calculation. The images in the video frame image whose horizontal value is greater than or equal to the horizontal threshold are saved, and the images whose horizontal value is less than the horizontal threshold are deleted. This can ensure the quality of the video frame image, thereby improving the accuracy of the hearing test on the subjects.
[0089] The calculation expression of the integrity of the skeleton key points is: , where is the completeness of the skeleton key points, is the number of missing skeleton key points in the video frame image, is the total number of skeleton key points. The smaller the completeness of skeleton key points is, the more missing skeleton key points are in the video frame image, which is more unfavorable for subsequent hearing tests.
[0090] The calculation expression of the skeleton key point jump index is: calculate the jump amplitude of the front comparison between the current video frame image and the previous video frame image, calculate the jump amplitude of the back comparison between the current video frame image and the next video frame image, and sum the front comparison jump amplitude and the back comparison jump amplitude to obtain the skeleton key point jump index. The expression is: , where is the bone key point jump index, is the number of key points of the subject's skeleton, and , Indicates the number of The bone key point is the same as the first key point in the previous video frame. The Euclidean distance of the key points of the skeleton, Indicates the number of The skeleton key point is related to the next video frame image. The Euclidean distance of the skeleton key points. The larger the skeleton key point jump index is, the greater the change in the subject's posture is when the current video frame image is acquired, or the camera shakes when the video frame image is acquired, which is more unfavorable for subsequent hearing tests.
[0091] The calculation logic of image blur is: first perform Laplacian transformation on the video frame image, the expression is: , where represents the Laplacian transform of the image, and Respectively represent the images in and The second-order derivative in the direction is used to calculate the image blur of the image after Laplacian transformation. The expression is: , where are the width and height of the image, respectively. is the Laplacian image at position The pixel value of is the mean of the Laplacian image. The greater the image blur, the less suitable the video frame image is for subsequent hearing tests.
[0092] Embodiment 3: A child hearing detection system based on deep learning described in this embodiment includes an image collection module, a model training and testing module, a skeleton key point detection module, a posture estimation detection module, and a processing module;
[0093] Image collection module: collects images or video data related to pediatric postures, annotates pediatric posture information for each data sample, and sends the sample data to the model training and testing modules;
[0094] Model training and testing module: divide the data samples into training set and test set, train the network model with the training set and optimize the parameters using the back propagation algorithm, input the data samples into the trained network model by applying the forward propagation algorithm to obtain the posture prediction results, use the test set to evaluate the network model, adjust and optimize the network model parameters based on the evaluation results, and send the network model to the posture estimation and detection module;
[0095] Skeleton key point detection module: The video frame image data of the subject is captured by a camera, and the video frame image is processed using the POTR model to generate the distance and angle data of the skeleton key points and the RGB image containing the skeleton line. The skeleton key point information and RGB image are sent to the posture estimation detection module;
[0096] Posture estimation and detection module: The network model sets the data set based on the horizontal value information of the key points of the skeleton in the data set, and determines whether to increase the number of voice reactions of the subject according to the action classification results in the RGB image. The number of voice reactions of the subject is sent to the processing module;
[0097] Processing module: After processing all the video frame images, it is determined whether there is a risk of no sound response based on the number of sound responses of the subject, and the judgment result is sent to relevant personnel.
[0098] The DoT model consists of a sequentially connected image collection module, a model training and testing module, a skeleton key point detection module, a posture estimation detection module, and a processing module:
[0099] 1) Image collection module: A high-definition camera is placed behind the audiologist to capture the subject’s facial expressions, head, neck, and body movements;
[0100] 2) Model training and testing module: Divide the subject's image data into a training set and a test set. After training the POTR model with the training set, test whether the POTR model is qualified with the test set.
[0101] 3) Skeleton key point detection module: The 18 key points of the human skeleton in the input image detected by the POTR model are arranged in numerical order as nose, neck, right shoulder, right elbow, right wrist, left shoulder, left elbow, left wrist, right hip, right knee, right ankle, left hip, left knee, left ankle, right eye, left eye, right ear and left ear. Each skeleton key point of the subject is represented by (x, y, z), where x and y represent the coordinates of the skeleton key point and z represents the horizontal value. Through the POTR model, the corresponding points of the main parts of the subject's face and body can be captured. And this algorithm will save images with horizontal values greater than the horizontal threshold, while images with values less than the horizontal threshold will be discarded. The retained images will be used to identify the corresponding behaviors;
[0102] 4) Posture estimation and detection module: After being processed by the POTR model module, numerical data containing the distance and angle information between the key points of the skeleton, as well as RGB image data containing the skeleton line, are obtained. A continuous category sequence can be obtained through any video frame image of raising and letting go of the hand. By comprehensively analyzing this sequence, the final hearing result, that is, normal or abnormal hearing, can be obtained. For the analysis of the category sequence, if all 5 consecutive video frame images are classified as the same action (raising hands or letting go), it is recorded as a hand-raising or hand-letting process. If there is a letting go process, a hand-raising process, and then a hand-letting process, the number of responses to the sound will increase by one. After processing all video frames and images, the number of responses of the subject to the sound is counted. If it is greater than the threshold M, the DoT model determines the subject's response behavior to the sound. Otherwise, it is determined that there is a risk of no sound response, and a doctor needs to confirm the patient's behavior. Among them, M is a manually set threshold parameter, which is changed according to the age of the child being tested. Here it can be taken as 20;
[0103] 5) Processing module: The results of each response of the subject to the sound stimulation in the AI hearing test and the manual hearing test. The Kappa values of the AI hearing test and the manual hearing test were compared for all subjects under sound stimulation of different intensities and frequencies. The sensitivity and specificity of the AI hearing test were calculated and compared for the subjects. The output of the model is a classification of the video with one possible label: (1) responsive to the sound, (2) not responsive to the sound.
[0104] Based on deep learning, this invention applies human gesture recognition technology to pediatric behavioral hearing measurement. The real data is captured by professional doctors. The specific method of behavioral hearing measurement is that professional audiologists judge which responses the subjects make to sounds and which behaviors do not respond. A high-definition camera is used to capture the reactions of participants during the test. The computer is trained (deep learning) based on these classified and collected video data, combined with the test results to generate an algorithm model, which can realize the automated detection of children's hearing.
[0105] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters in the formula are set by technicians in this field according to actual conditions.
[0106] In the description of this specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0107] The preferred embodiments of the present invention disclosed above are only used to help explain the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to only specific implementation methods. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can understand and use the present invention well. The present invention is limited only by the claims and their full scope and equivalents.
Claims
1. A method for detecting children's hearing based on deep learning, characterized in that: The detection method comprises the following steps: Collect image or video data related to pediatric posture, and annotate pediatric posture information for each data sample, divide the data samples into training set and test set, train the network model with the training set and optimize the parameters using the back propagation algorithm, input the data samples into the trained network model by applying the forward propagation algorithm to obtain the posture prediction results, evaluate the network model with the test set, and adjust and optimize the network model parameters based on the evaluation results; The video frame image data of the subject is captured by a camera, and the video frame image is processed using the POTR model to generate the distance and angle data of the skeleton key points and the RGB image containing the skeleton line. The network model sets the data set based on the horizontal value information of the skeleton key points in the data set, and determines whether to increase the number of voice responses of the subject according to the action classification results in the RGB image; After processing all the video frames, determine whether there is a risk of no sound response based on the number of sound responses of the subject, and send the judgment result to relevant personnel; The construction of the POTR model includes the following steps: Combine the CA module and position encoding to generate the coordinates of the skeleton key points, then input the coordinates of the skeleton key points into the Transformer-Block, and output the skeleton key points and classification results after processing through the self-attention mechanism to complete the construction of the POTR model; Inputting the coordinates of the skeleton key points into the Transformer-Block and processing them through the self-attention mechanism to output the skeleton key points and classification results includes the following steps: Pass the coordinates of the skeleton key points through the backbone of the neural network to extract high-level feature data; The feature data obtained from the backbone is processed, and the CA module is used to strengthen the information exchange between different channels. Position encoding is introduced to process the element position information in the input data. The Transformer-Block contains multiple self-attention mechanisms and feedforward neural network layers for global modeling of the relationship between features, and the coordinates of the skeleton key points are processed through multi-head attention, residual connection and layer normalization mechanisms; Finally, the information of the skeleton key points is extracted from the output of Transformer-Block, and the position of the skeleton key points is represented by (x, y, z), where z represents the horizontal value, and x and y represent the coordinates of the skeleton key points; The POTR model is used to process the video frame images. The network model sets the data set based on the horizontal value information of the skeleton key points in the data set, and determines whether to increase the number of sound reactions of the subject according to the action classification results in the RGB image, including the following steps: The distance data between the key points of the skeleton in the dataset include the distance between the shoulder and the elbow, the distance between the wrist and the elbow, and the distance between the wrist and the neck. The angle data between the key points of the skeleton include the elbow angle and the shoulder angle. In the data set, the Euclidean distance is calculated according to the distance calculation standard, and the angle cosine value is calculated according to the angle calculation standard. If the calculated Euclidean distance and angle cosine value contain bone key points with a horizontal value less than 0.5, the data set is set to zero; For RGB images containing skeleton lines, feature extraction is performed using the POTR model. If five consecutive video frames are classified as the same action, they are recorded as the same action process. If the five video frames are classified as different actions, the number of responses to the subject's voice is increased by one. The calculation logic of the horizontal value is: obtain the integrity of the skeleton key points, the jump index of the skeleton key points and the image blur of the video frame image, normalize the integrity of the skeleton key points, the jump index of the skeleton key points and the image blur, and then calculate and obtain the horizontal value. The function expression is: , where is the horizontal value, is the completeness of the skeleton key points, is the bone key point jump index, is the image blur, , , are the weight coefficients of the skeleton key point integrity, skeleton key point jump index and image blur, respectively, and , , Both are greater than 0.
2. A method for detecting children's hearing based on deep learning according to claim 1, characterized in that: After processing all the video frames, judging whether there is a risk of no sound response based on the number of sound responses of the subject includes the following steps: After processing all video frame images, the number of times the subject responds to the sound is counted. If the number of responses is greater than or equal to the number threshold, the subject's response behavior to the sound is determined. If the number of responses is less than the number threshold, it is determined that the subject is at risk of having no sound response.
3. A method for detecting children's hearing based on deep learning according to claim 2, characterized in that: Capturing the video frame image data of the subject by a camera includes the following steps: The video frame image data includes the subject's facial expressions, head and neck and body movements. The POTR model is used to detect 18 human skeleton key points, which are arranged in numerical order as nose, neck, right shoulder, right elbow, right wrist, left shoulder, left elbow, left wrist, right hip, right knee, right ankle, left hip, left knee, left ankle, right eye, left eye, right ear and left ear. Each skeleton key point is represented by (x, y, z), where x and y represent the coordinates of the skeleton key point, and z represents the horizontal value. Images with horizontal values greater than or equal to the horizontal threshold in the video frame image are saved, and images with horizontal values less than the horizontal threshold are deleted.
4. A child hearing detection system based on deep learning, used to implement the detection method according to any one of claims 1 to 3, characterized in that: It includes image collection module, model training and testing module, skeleton key point detection module, posture estimation detection module and processing module; Image collection module: collects images or video data related to pediatric postures and annotates pediatric posture information for each data sample; Model training and testing module: divide the data samples into training set and test set, train the network model with the training set and optimize the parameters using the back propagation algorithm, input the data samples into the trained network model by applying the forward propagation algorithm to obtain the posture prediction results, use the test set to evaluate the network model, and adjust and optimize the network model parameters based on the evaluation results; Skeleton key point detection module: The video frame image data of the subject is captured by a camera, and the video frame image is processed using the POTR model to generate the distance and angle data of the skeleton key points and the RGB image containing the skeleton line; Posture estimation and detection module: The network model sets the data set based on the horizontal value information of the key points of the skeleton in the data set, and determines whether to increase the number of voice responses of the subject based on the action classification results in the RGB image; Processing module: After processing all the video frame images, determine whether there is a risk of no sound response based on the number of sound responses of the subject, and send the judgment result to relevant personnel.
Citation Information
Patent Citations
Early-stage autism screening system based on joint attention ability test and audio-video behavior analysis
CN110313923A
Infrared thermal human body posture recognition method based on deep learning
CN113405667A
Multi-angle tumble high-risk identification method and system based on skeleton key points
CN113496216A
Bone action recognition method based on learnable PL-GCN and ECLSTM
CN114529984A
Children hyperactivity behavior feature recognition algorithm based on deep learning
CN114565975A
