Diagnostic method and system for identifying mouth breathing of children by using artificial intelligence
Through artificial intelligence recognition technology, video streams are used to analyze the relative relationship between children's mouth opening width and lip width, which solves the problem of insufficient accuracy of children's mouth breathing diagnosis in the existing technology, achieving contactless, dynamic monitoring and efficient diagnosis, and is suitable for home use Common equipment.
Patent Information
- Application Number
- CN202410513584.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-26
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-04-26
AI Technical Summary
Existing diagnostic methods for mouth breathing are not accurate enough in children, and the testing process is dependent on the children's cooperation, making them unable to effectively diagnose mouth breathing in children.
Using artificial intelligence recognition technology, by collecting real-time video streams of children's faces while sleeping, using a face detector to obtain the relative relationship between the width of the mouth and the overall width of the lips, Kalman filtering is performed, and continuous changes are analyzed to achieve seamless Diagnosis of mouth breathing in children with exposure and dynamic monitoring.
It can record facial images without any impact whether they are awake or sleeping, dynamically monitor changes in children's maxillofacial area, determine the severity of mouth breathing, save time, improve diagnostic efficiency, and is suitable for analysis with common equipment at home.
Smart Images

Figure CN118553402A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of remote intelligent diagnosis, and in particular to a diagnostic method and system for identifying mouth breathing in children using artificial intelligence. Background Art
[0002] Mouth breathing is common in children and is an important cause of harm to children's development and health. With the popularization of science in recent years, many parents have become more aware of the harm of mouth breathing and are actively seeking professional help. According to domestic and foreign literature reports, the incidence rate fluctuates between 4.3% and 45.9%. The incidence rates of mouth breathing reported in different literatures vary greatly. On the one hand, it reflects the high incidence rate of mouth breathing in children; on the other hand, a review of the literature found that there is a lack of unified and objective diagnostic criteria and methods for mouth breathing.
[0003] According to Moss's "Functional Matrix Theory", the growth and development of the maxillofacial system is adapted to its function, and breathing is a very important function of the oral and maxillofacial system. Long-term mouth breathing can change the normal balance of maxillofacial muscle strength and bite force, thereby adversely affecting the development of the jaw, dental arch, alveolar bone and soft tissue, thus forming a characteristic "adenoid face". Studies have found that because nasal airflow has a stimulating effect on the normal development of the maxilla, upper airway obstruction may cause abnormal development of the maxilla, and this abnormal development may occur in the sagittal, coronal and axial positions. Studies have also found that about 52.3% of mouth-breathing children have varying degrees of obstructive sleep apnea.
[0004] There are currently two commonly used methods for diagnosing mouth breathing: questionnaire method and simple test method.
[0005] Questionnaire survey method: (1) Simple questionnaire survey: parents or doctors observe whether children have the habit of opening their mouths. (2) Improved questionnaire survey method: in addition to observing children's mouth breathing habits, it is also necessary to understand children's sleep conditions, upper respiratory tract disease history, daily life, learning performance, etc. to help improve accuracy.
[0006] Simple test method: (1) Closed lip test: When the child is sleeping soundly and lying on his back, gently close the child's upper and lower lips without leaving any gaps, and observe whether the child struggles or wakes up due to the feeling of suffocation. (2) Mirror test: Place a one-way mirror at the midpoint of the child's upper lip, with the mirror facing the nasal cavity and perpendicular to the plane of the nostril. The mirror is placed at the midpoint of the nostril and the upper lip, isolating the oral airflow so that the nasal airflow can spray on the mirror surface, and observe whether water mist appears on the mirror surface. (3) Water-containing experiment: Ask the child to sit quietly, hold about 15 ml of water and hold it for 3 minutes, and observe whether the breathing is obviously affected. However, the existing methods cannot accurately diagnose the mouth breathing of children, and the test process is greatly affected by the cooperation of the children. Therefore, we continue to design a non-contact technology that uses artificial intelligence graphic recognition to intelligently diagnose children's mouth breathing, so as to meet the technical needs of children's mouth breathing diagnosis. Summary of the invention
[0007] In order to solve the above problems, the present invention provides a diagnostic method for identifying children's mouth breathing using artificial intelligence, comprising the following steps:
[0008] Based on the set timestamp, collect the real-time video stream of the child's face while sleeping and send it to the server;
[0009] By using a face detector on the server side, facial recognition is performed on the real-time video stream of the face to obtain a relative relationship α between the mouth opening amplitude and the overall lip width, wherein the relative relationship α is used to represent the proportional relationship between the mouth opening amplitude and the overall lip width;
[0010] By performing Kalman filtering on the relative relationship α, a continuous change of the processed relative relationship α in the video stream is obtained;
[0011] Diagnose mouth breathing in children based on continuous changes.
[0012] Preferably, before the face recognition process is performed, the original image of the face video stream collected in real time is subjected to contrast enhancement and graying processing, and an output stream having the same size and frame rate as the input image is output to the face detector.
[0013] Preferably, during the facial recognition process, the output stream is sent to a face detector based on the dlib library, and a deep neural network trained on a self-built children's face database is used to identify whether the image is a valid face, thereby obtaining a face image.
[0014] Preferably, in the process of identifying a valid face, a deep neural network ResNet-34 is used to identify whether the image contains a valid face.
[0015] Preferably, before obtaining the relative relationship α between the mouth opening amplitude and the overall lip width, the facial landmarks algorithm is used to generate 68 feature points of the face for the face image to locate the eyes, eyebrows, nose, mouth and jaw line in the image.
[0016] Preferably, in the process of obtaining the relative relationship α, the relative relationship α between the mouth opening amplitude and the overall lip width is obtained by obtaining the inner distance between the two lips, the distance between the two mouth corners, and the distance between the two sides of the mouth corners and the longitudinal center axis of the lips.
[0017] Preferably, in the process of obtaining the relative relationship α, the relative relationship α is expressed as:
[0018]
[0019] where d h,i is the inner distance between the two lips, d w,o is the distance between the two mouth corners, d h,l With d h,r It is the distance between the corners of the mouth on both sides and the longitudinal center axis of the lips.
[0020] Preferably, in the process of obtaining the continuous change situation, according to the continuous change situation of the relative relationship α in the video stream, a specific value is defined for the size of mouth breathing, which is expressed as:
[0021]
[0022] Preferably, in the process of diagnosing mouth breathing in children, the degree of mouth breathing in children is judged based on the number of mouth breathing times, the total duration of mouth breathing, the proportion of mouth breathing duration and the average degree of mouth breathing.
[0023] The present invention discloses a diagnostic system for identifying children's mouth breathing using artificial intelligence, comprising:
[0024] The data collection module is used to collect the real-time video stream of the child's face during sleep based on the set timestamp and send it to the server;
[0025] The data processing module is used to perform facial recognition on the real-time video stream of the face by using a face detector through the server side, and obtain the relative relationship α between the mouth opening amplitude and the overall lip width, wherein the relative relationship α is used to represent the proportional relationship between the mouth opening amplitude and the overall lip width;
[0026] A feature extraction module is used to obtain the continuous change of the processed relative relationship α in the video stream by performing Kalman filtering on the relative relationship α;
[0027] The diagnosis module is used to diagnose mouth breathing in children based on continuous changes.
[0028] The present invention discloses the following technical effects:
[0029] The present invention can record facial images without affecting or contacting children, regardless of whether they are awake or asleep.
[0030] The analysis of the child's facial image by the present invention is dynamic and can achieve long-term monitoring;
[0031] The present invention can judge the severity of mouth breathing by the ratio of the distance between the upper and lower lips to the distance between the two sides of the mouth corners;
[0032] The recording device used in the present invention only needs to be a high-definition camera;
[0033] The present invention does not require professional equipment and a specific place. Parents of children can analyze the changes in the jaws and faces during sleep at home using common mobile devices such as mobile phones and cameras.
[0034] In the present invention, a corresponding application program will be provided to guide parents to complete the video recording of sleep;
[0035] The present invention uses a preset algorithm in the computer to double the speed of analyzing the maxillofacial condition during sleep, thereby saving a lot of time and improving the diagnosis efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the embodiments of the present invention 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 of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0037] Figure 1 is a schematic diagram of the distribution definition of feature points for face recognition according to the present invention;
[0038] Figure 2 It is a schematic diagram of the method flow of the present invention. DETAILED DESCRIPTION
[0039] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0040] like Figure 1-2 As shown, the present invention provides a diagnostic method for identifying mouth breathing in children using artificial intelligence, comprising the following steps:
[0041] Based on the set timestamp, collect the real-time video stream of the child's face while sleeping and send it to the server;
[0042] By using a face detector on the server side, facial recognition is performed on the real-time video stream of the face to obtain a relative relationship α between the mouth opening amplitude and the overall lip width, wherein the relative relationship α is used to represent the proportional relationship between the mouth opening amplitude and the overall lip width;
[0043] By performing Kalman filtering on the relative relationship α, a continuous change of the processed relative relationship α in the video stream is obtained;
[0044] Diagnose mouth breathing in children based on continuous changes.
[0045] Further preferably, the diagnostic method for identifying children's mouth breathing using artificial intelligence provided by the present invention, before performing the facial recognition process, performs contrast enhancement and graying processing on the original image of the real-time collected facial video stream, and outputs an output stream with the same size and frame rate as the input image to the face detector.
[0046] Further preferably, in the diagnostic method for identifying children's mouth breathing using artificial intelligence provided by the present invention, during the facial recognition process, the present invention sends the output stream to a face detector based on the dlib library, and identifies whether the image is a valid face through a deep neural network trained on a self-built children's face database, thereby obtaining a facial image.
[0047] Further preferably, in the diagnostic method for identifying children's mouth breathing using artificial intelligence provided by the present invention, in the process of identifying valid faces, the present invention uses a deep neural network ResNet-34 to identify whether the image contains a valid face.
[0048] Further preferably, in the diagnostic method for identifying children's mouth breathing using artificial intelligence provided by the present invention, before obtaining the relative relationship α between the mouth opening amplitude and the overall lip width, the present invention generates 68 feature points of the face through the facial landmarks algorithm for the face image, and locates the eyes, eyebrows, nose, mouth and jaw line in the image.
[0049] Further preferably, in the diagnostic method for identifying children's mouth breathing using artificial intelligence provided by the present invention, in the process of obtaining the relative relationship α, the present invention obtains the relative relationship α between the mouth opening amplitude and the overall lip width by obtaining the inner distance between the two lips, the distance between the two corners of the mouth, and the distance between the two corners of the mouth and the longitudinal center axis of the lips.
[0050] Further preferably, in the diagnostic method for identifying children's mouth breathing using artificial intelligence provided by the present invention, in the process of obtaining the relative relationship α, the relative relationship α mentioned in the present invention is expressed as:
[0051]
[0052] where d h,i is the inner distance between the two lips, d w,o is the distance between the two mouth corners, d h,l With d h,r It is the distance between the corners of the mouth on both sides and the longitudinal center axis of the lips.
[0053] Further preferably, in the diagnostic method for identifying children's mouth breathing using artificial intelligence provided by the present invention, in the process of obtaining the continuous change situation, the present invention defines a specific value for the size of mouth breathing according to the continuous change situation of the relative relationship α in the video stream, expressed as:
[0054]
[0055] Further preferably, the diagnostic method for identifying mouth breathing in children using artificial intelligence provided by the present invention, during the process of diagnosing mouth breathing in children, the present invention determines the degree of mouth breathing in children based on the number of mouth breathing times, the total duration of mouth breathing, the proportion of mouth breathing duration and the average degree of mouth breathing.
[0056] The present invention discloses a diagnostic system for identifying children's mouth breathing using artificial intelligence, comprising:
[0057] The data collection module is used to collect the real-time video stream of the child's face during sleep based on the set timestamp and send it to the server;
[0058] The data processing module is used to perform facial recognition on the real-time video stream of the face by using a face detector through the server side, and obtain the relative relationship α between the mouth opening amplitude and the overall lip width, wherein the relative relationship α is used to represent the proportional relationship between the mouth opening amplitude and the overall lip width;
[0059] A feature extraction module is used to obtain the continuous change of the processed relative relationship α in the video stream by performing Kalman filtering on the relative relationship α;
[0060] The diagnosis module is used to diagnose mouth breathing in children based on continuous changes.
[0061] Embodiment 1: The purpose of the present invention is to utilize artificial intelligence to identify maxillofacial features, invent a recognition and detection technology, evaluate whether a child has open mouth breathing by the positional relationship between the upper and lower lips during sleep, and judge the severity of the mouth opening based on the ratio of the distance between the upper and lower lips to the bilateral mouth corners. In a certain length of a child's sleep video, objectively calculate and judge whether the child has mouth breathing and its severity (determine whether there are adenoids, maxillofacial deformities, and children's obstructive sleep apnea, etc.), and objectively evaluate whether the child has open mouth breathing during sleep, the time when the mouth breathing occurs, and the severity. Guide the child's parents and medical staff to choose appropriate treatment methods, and conduct evaluation and monitoring before and after treatment. Thereby, intelligent monitoring and evaluation of mouth breathing can be realized, and dento-maxillofacial deformities in children caused by mouth breathing can be prevented, wherein mouth breathing refers to ventilation through the mouth due to partial or complete obstruction of the nasal airway; adenoid facies refers to a characteristic facial feature caused by hypertrophy of the adenoids, mainly manifested by elongated maxilla, retracted mandible, high arched palate, uneven dentition, protruding upper incisors, thickened lips, and lack of facial expression; dento-maxillofacial deformities refer to abnormalities in the volume and shape of the jaw, as well as the relationship between the upper and lower jaws and between them and other craniofacial bones, and the accompanying occlusal relationship and stomatognathic system function abnormalities caused by abnormal growth and development of the jaw; obstructive sleep apnea in children refers to hypoxemia during sleep due to partial or complete upper airway obstruction, leading to clinical manifestations such as growth stagnation, abnormal cardiopulmonary function, neurological damage, and abnormal behavior.
[0062] The present invention predicts the probability of a child having adenoids hypertrophy by systematically learning the characteristics of the "adenoids facies". In actual clinical practice, the causes of facial development in children are not limited to adenoids hypertrophy. Persistent upper airway obstruction caused by tonsil hypertrophy, allergic rhinitis, nasal septum deviation and nasal polyps may all cause "adenoids facies". In clinical practice, many children have one or more of the above causes. Therefore, upper airway endoscopy or impact examination is still indispensable in the preoperative preparation of children who breathe by mouth.
[0063] The occurrence of dentofacial abnormalities mentioned in the present invention does not occur simultaneously with the presence of adenoids hypertrophy. Studies have found that there is a "lag" phenomenon in the effect of mouth breathing caused by upper airway obstruction on maxillofacial development. When many children present with dentofacial deformities and seek medical treatment, both their adenoids and tonsils have already atrophied and do not meet the diagnostic criteria for "hypertrophy". Therefore, it is not accurate to assess the probability of adenoids or tonsils hypertrophy solely through the developmental characteristics of the maxillofacial region.
[0064] Studies have shown that regardless of whether the nasal ventilation volume is reduced or not, as long as the mouth is opened, it will affect the descent of the palate. With the emergence of mouth breathing, the pressure in the mouth and nasal cavity will change at the same time, and the overall force on the hard palate will also change accordingly. This also suggests that in clinical practice, not only does it require timely treatment when upper airway obstruction affects normal life activities, but the most important thing is to screen out children with mouth breathing in a timely manner. Further clarify the cause of the disease, and promptly address upper airway obstruction. For bad mouth breathing habits such as sucking fingers, sticking out the tongue, and biting fingers, children need to be further guided to correct them.
[0065] In order to meet the above technical objectives, the present invention provides a technology for intelligently diagnosing children's mouth breathing using artificial intelligence graphic recognition, which specifically includes the following processes:
[0066] (1) Connect to the real-time video stream, perform contrast enhancement and graying processing on the original image, and output an output stream with the same size and frame rate as the input image;
[0067] (2) Connect the video stream obtained in (1) to the face detector based on the dlib library, and use a deep neural network (such as ResNet-34) trained on the self-built children's face database to identify whether there is a valid face in the image;
[0068] (3) If the face has been identified in (2), a feature vector is established and 68 facial landmarks are generated to locate the eyes, eyebrows, nose, mouth, jawline, etc. in the image. The specific feature point distribution is as follows: Figure 1 As shown;
[0069] (4) Calculate the mouth opening amplitude based on the recognition results in (3). The outer edge of the upper lip is 49-55, the inner edge of the upper lip is 66-68, the outer edge of the lower lip is 56-60, and the inner edge of the lower lip is 61-65. We use the upper and lower vertices of the lips [63, 67] and the left and right corners of the mouth [49, 55] as data input and propose the following calculation formula:
[0070]
[0071] where d h,i is the inner distance between the two lips, d w,o is the distance between the two mouth corners, dh,l With d h,r The formula is the distance between the two corners of the mouth and the longitudinal center axis of the lips. The physical meaning of this formula is to calculate the relative relationship between the mouth opening amplitude and the overall width of the lips, which can play a robust role in the different distances and sizes of the lips of the face when shooting;
[0072] (5) Perform Kalman filtering on α calculated in (4);
[0073] (6) Based on the above calculation results, record the continuous change of α in the video stream and define the specific value of the size of mouth breathing:
[0074]
[0075] (7) Based on the detection results in (6), the following information of the subject in the effective video stream (i.e., the effective detection time period) is counted: number of mouth breathing (times), total mouth breathing duration (s), proportion of mouth breathing duration, and average degree of mouth breathing (none, mild, or severe), and a comprehensive evaluation is performed based on the above four indicators.
[0076] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0077] In the description of the present invention, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0078] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A diagnostic method for identifying mouth breathing in children using artificial intelligence, It is characterized in that The following steps are involved: Based on the set timestamp, collect the real-time video stream of the child's face while sleeping and send it to the server; By using the server side, using a face detector, performing facial recognition on the real-time facial video stream, and obtaining a relative relationship α between the mouth opening amplitude and the overall lip width, wherein the relative relationship α is used to represent the proportional relationship between the mouth opening amplitude and the overall lip width; By performing Kalman filtering on the relative relationship α, a continuous change of the processed relative relationship α in the video stream is obtained; Based on the continuous changes, the child's mouth breathing is diagnosed.
2. A diagnostic method for identifying mouth breathing in children using artificial intelligence according to claim 1, Features: Before the face recognition process is performed, the original image of the face video stream collected in real time is subjected to contrast enhancement and graying processing, and an output stream with the same size and frame rate as the input image is output to the face detector.
3. A diagnostic method for identifying mouth breathing in children using artificial intelligence according to claim 2, Features: During the facial recognition process, the output stream is sent to a face detector based on the dlib library, and a deep neural network trained on a self-built children's face database is used to identify whether the image is a valid face, thereby obtaining a face image.
4. A diagnostic method for identifying mouth breathing in children using artificial intelligence according to claim 3, Features: In the process of identifying valid faces, the deep neural network ResNet-34 is used to identify whether the image contains a valid face.
5. A diagnostic method for identifying mouth breathing in children using artificial intelligence according to claim 4, Features: Before obtaining the relative relationship α between the mouth opening amplitude and the overall lip width, the facial image is subjected to a facial landmarks algorithm to generate 68 feature points of the face and locate the eyes, eyebrows, nose, mouth and jawline in the image.
6. A diagnostic method for identifying mouth breathing in children using artificial intelligence according to claim 5, Features: In the process of obtaining the relative relationship α, the relative relationship α between the mouth opening amplitude and the overall lip width is obtained by obtaining the inner distance between the two lips, the distance between the two mouth corners, and the distance between the two sides of the mouth corners and the longitudinal center axis of the lips.
7. A diagnostic method for identifying mouth breathing in children using artificial intelligence according to claim 6, Features: In the process of obtaining the relative relationship α, the relative relationship α is expressed as: where d h,i is the inner distance between the two lips, d w,o is the distance between the two mouth corners, d h,l With d h,r It is the distance between the corners of the mouth on both sides and the longitudinal center axis of the lips.
8. A diagnostic method for identifying mouth breathing in children using artificial intelligence according to claim 7, Features: In the process of obtaining the continuous change, according to the continuous change of the relative relationship α in the video stream, a specific value is defined for the size of mouth breathing, which is expressed as:
9. A diagnostic method for identifying mouth breathing in children using artificial intelligence according to claim 8, Features: In the process of diagnosing mouth breathing in children, the degree of mouth breathing in children is judged based on the number of mouth breathing times, the total duration of mouth breathing, the proportion of mouth breathing duration and the average degree of mouth breathing.
10. A diagnostic system that uses artificial intelligence to identify mouth breathing in children. It is characterized in that include: The data collection module is used to collect the real-time video stream of the child's face during sleep based on the set timestamp and send it to the server; A data processing module, used to perform facial recognition on the real-time facial video stream by using a face detector through the server side, and obtain a relative relationship α between the mouth opening amplitude and the overall lip width, wherein the relative relationship α is used to represent the proportional relationship between the mouth opening amplitude and the overall lip width; A feature extraction module, configured to obtain a continuous change of the relative relationship α in the video stream by performing Kalman filtering on the relative relationship α; The diagnosis module is used to diagnose the child's mouth breathing according to the continuous changes.
Citation Information
Patent Citations
Distributed human face and physiological feature recognition method facing video streaming
CN109276233A
Mouth breathing face recognition method and apparatus and storage medium
CN111539911A
System and method for digitally screening and diagnosing sleep health of children
CN113871000A
Probability prediction system and prediction method based on facial structure recognition
CN116469148A
Cited By
Children mouth breathing monitoring method, device and equipment and medium
CN121176862A
