Control method and device of head mounted device and computer readable storage medium
By detecting human body areas and obtaining lip reading information in the headset, it solves the problem that traditional technology cannot effectively collect the voices of people with language impairments and environmental noise, achieving more efficient voice collection and suitable for communication among a variety of people.
Patent Information
- Application Number
- CN202210422839.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-21
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2042-04-21
AI Technical Summary
When traditional head-mounted devices collect speech through microphones, they cannot effectively capture the speech of people with speech impairments, and it is easy to collect environmental noise, resulting in low collection efficiency.
By detecting the human body area within the target area, the voice detection area is determined, and the ultrasonic array or image data is used to obtain lip information, including lip images, lip text and speech, thereby improving the efficiency of speech collection.
Voice information can be captured without the user making a sound, avoiding the collection of environmental noise, which significantly improves the voice collection efficiency of head-mounted devices and is suitable for communication with disabled people such as deaf-mute people.
Smart Images

Figure CN114842846B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing, and in particular to a control method and device for a head mounted device and a computer readable storage medium. Background Art
[0002] With the development of the Internet era, head-mounted devices are widely used in people's lives, such as AR glasses. Generally, head-mounted devices collect the user's voice through MIC (microphone) for transmission, or perform voice-to-text operations. However, the voice of people with language barriers cannot be collected through MIC, and when collecting the user's voice through MIC, it is easy to collect environmental noise, which is not conducive to subsequent operations and requires re-collection of the user's voice. Therefore, in traditional technologies, the efficiency of head-mounted devices in collecting voice is too low.
[0003] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention
[0004] The main purpose of the present invention is to provide a control method, device and computer-readable storage medium for a head-mounted device, aiming to achieve the effect of improving the efficiency of voice collection by the head-mounted device.
[0005] To achieve the above object, the present invention provides a method for controlling a head mounted device, the method comprising:
[0006] When a human body is detected in the target area, determining a human body area corresponding to the human body;
[0007] Determine a speech detection area corresponding to the human body area;
[0008] Acquire detection information corresponding to the voice detection area;
[0009] Lip reading information is determined according to the detection information, where the lip reading information includes a lip reading image, lip reading text and / or voice.
[0010] Optionally, before the step of acquiring the detection information corresponding to the voice detection area, the method further includes:
[0011] According to the position information of the voice detection area, adjusting the detection position of the ultrasonic array;
[0012] The step of obtaining detection information corresponding to the voice detection area includes:
[0013] Controlling each ultrasonic unit corresponding to the ultrasonic array to transmit a detection ultrasonic signal to the voice detection area;
[0014] An echo signal corresponding to the detection ultrasonic signal is received, and the detection information is determined according to the echo signal.
[0015] Optionally, the detection information is a distance matrix, and the step of determining the lip reading information according to the detection information includes:
[0016] Acquire association data of a pre-stored matrix matching the distance matrix;
[0017] The lip reading information is determined according to the associated data.
[0018] Optionally, before the step of acquiring the associated data of the pre-stored matrix matching the distance matrix, the step further includes:
[0019] Acquire multiple lip reading information and a distance matrix corresponding to the lip reading information;
[0020] The lip reading information and the distance matrix are subjected to algorithm processing and learning model inference to establish a pre-stored matrix library.
[0021] Optionally, the step of determining the speech detection area corresponding to the human body area includes:
[0022] Obtaining ultrasonic detection results of each sub-region corresponding to the human body region, and using the sub-region corresponding to the ultrasonic detection result matched with the lip ultrasonic model as the voice detection region; and / or
[0023] Image information corresponding to the human body region is obtained, and the voice detection region is selected in the human body region according to the image information.
[0024] Optionally, the step of determining the detection information according to the echo signal includes:
[0025] Determine the position information corresponding to the preset detection point in the voice detection area according to the detection ultrasonic signal and the echo signal;
[0026] The detection information is determined according to the position information.
[0027] Optionally, the voice detection area includes a human face, and after the step of acquiring detection information corresponding to the voice detection area, the step further includes:
[0028] The expression information is determined according to the detection information.
[0029] Optionally, before the step of determining the human body region corresponding to the human body, the method further includes:
[0030] When a preset condition is met, obtaining ultrasound scanning data and / or image data within a target area corresponding to the head mounted device;
[0031] Determining whether there is a human body in the target area according to the ultrasonic scanning data and / or the image data;
[0032] When there is no human body, a prompt that no user is detected is output;
[0033] When a human body exists, the step of determining a human body region corresponding to the human body is performed.
[0034] In addition, to achieve the above-mentioned purpose, the present invention also provides a control method for a head-mounted device, the control method for the head-mounted device comprising a memory, a processor, and a control program for the head-mounted device stored in the memory and executable on the processor, and when the control program for the head-mounted device is executed by the processor, the steps of the control method for the head-mounted device as described above are implemented.
[0035] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, on which a control program of a head-mounted device is stored. When the control program of the head-mounted device is executed by a processor, the steps of the control method of the head-mounted device as described above are implemented.
[0036] The embodiments of the present invention propose a control method, device and computer-readable storage medium for a head-mounted device. When a human body is detected in a target area, a human body area corresponding to the human body is determined; a voice detection area corresponding to the human body area is determined; detection information corresponding to the voice detection area is acquired; lip reading information is determined based on the detection information, and the lip reading information includes lip reading images, lip reading text and / or voice. After the voice detection area corresponding to the human body area is confirmed in the target area, the detection information corresponding to the voice detection area is acquired, and the lip reading information is determined based on the detection information. The user does not need to actually make a sound, and environmental noise will not be collected. The voice that the user wants to express can be understood through the lip reading information, thereby improving the efficiency of the head-mounted device in collecting voice. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 It is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present invention;
[0038] Figure 2 A schematic diagram of a flow chart of an embodiment of a method for controlling a head mounted device of the present invention;
[0039] Figure 3 FIG. 4 is a flow chart of another embodiment of a method for controlling a head mounted device according to the present invention.
[0040] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0041] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0042] In the related art, head-mounted devices generally collect user voices through MIC, but this method cannot collect the voices of people with speech disorders, and will collect environmental noise, so the efficiency of collecting voices is too low.
[0043] In order to improve the efficiency of sound collection of a head-mounted device, an embodiment of the present invention provides a control method, device and computer-readable storage medium for a head-mounted device, wherein the main steps of the method include:
[0044] When a human body is detected in the target area, determining a human body area corresponding to the human body;
[0045] Determine a speech detection area corresponding to the human body area;
[0046] Acquire detection information corresponding to the voice detection area;
[0047] Lip reading information is determined according to the detection information, where the lip reading information includes a lip reading image, lip reading text and / or voice.
[0048] In this way, when a human body is detected in the target area, the human body area corresponding to the human body is confirmed, and the voice detection area is determined in the human body area, the detection information of the voice detection area is obtained, and the lip reading information is confirmed based on the detection information, without relying on the collected sound to determine the voice that the user wants to express. Therefore, the efficiency of the head-mounted device in collecting voice can be improved.
[0049] The content to be protected by the claims of the present invention will be described in detail below with reference to the accompanying drawings.
[0050] like Figure 1 As shown, Figure 1 It is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present invention.
[0051] The terminal of the embodiment of the present invention may be a control method for a head mounted device.
[0052] like Figure 1 As shown, the terminal may include: a processor 1001, such as a CPU, a memory 1003, and a communication bus 1002. The communication bus 1002 is used to realize the connection and communication between these components. The memory 1003 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1003 may also be a storage device independent of the aforementioned processor 1001.
[0053] Those skilled in the art will understand that Figure 1 The terminal structure shown in the figure does not constitute a limitation on the terminal, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0054] like Figure 1 As shown, the memory 1003 as a computer storage medium may include an operating system and a control program for the head mounted device.
[0055] exist Figure 1 In the terminal shown, the processor 1001 can be used to call the control program of the head mounted device stored in the memory 1003 and perform the following operations:
[0056] When a human body is detected in the target area, determining a human body area corresponding to the human body;
[0057] Determine a speech detection area corresponding to the human body area;
[0058] Acquire detection information corresponding to the voice detection area;
[0059] Lip reading information is determined according to the detection information, where the lip reading information includes a lip reading image, lip reading text and / or voice.
[0060] Further, the processor 1001 may call a control program of the head mounted device stored in the memory 1003, and further perform the following operations:
[0061] According to the position information of the voice detection area, adjusting the detection position of the ultrasonic array;
[0062] The step of obtaining detection information corresponding to the voice detection area includes:
[0063] Controlling each ultrasonic unit corresponding to the ultrasonic array to transmit a detection ultrasonic signal to the voice detection area;
[0064] An echo signal corresponding to the detection ultrasonic signal is received, and the detection information is determined according to the echo signal.
[0065] Further, the processor 1001 may call a control program of the head mounted device stored in the memory 1003, and further perform the following operations:
[0066] Acquire association data of a pre-stored matrix matching the distance matrix;
[0067] The lip reading information is determined according to the associated data.
[0068] Further, the processor 1001 may call a control program of the head mounted device stored in the memory 1003, and further perform the following operations:
[0069] Acquire multiple lip reading information and a distance matrix corresponding to the lip reading information;
[0070] The lip reading information and the distance matrix are subjected to algorithm processing and learning model inference to establish a pre-stored matrix library.
[0071] Further, the processor 1001 may call a control program of the head mounted device stored in the memory 1003, and further perform the following operations:
[0072] Obtaining ultrasonic detection results of each sub-region corresponding to the human body region, and using the sub-region corresponding to the ultrasonic detection result matched with the lip ultrasonic model as the voice detection region; and / or
[0073] Image information corresponding to the human body region is obtained, and the voice detection region is selected in the human body region according to the image information.
[0074] Further, the processor 1001 may call a control program of the head mounted device stored in the memory 1003, and further perform the following operations:
[0075] Determine the position information corresponding to the preset detection point in the voice detection area according to the detection ultrasonic signal and the echo signal;
[0076] The detection information is determined according to the position information.
[0077] Further, the processor 1001 may call a control program of the head mounted device stored in the memory 1003, and further perform the following operations:
[0078] The expression information is determined according to the detection information.
[0079] Further, the processor 1001 may call a control program of the head mounted device stored in the memory 1003, and further perform the following operations:
[0080] When a preset condition is met, obtaining ultrasound scanning data and / or image data within a target area corresponding to the head mounted device;
[0081] Determining whether there is a human body in the target area according to the ultrasonic scanning data and / or the image data;
[0082] When there is no human body, a prompt indicating that no user is detected is output.
[0083] With the development of the Internet era, head-mounted devices are widely used in people's lives, such as AR glasses. In some application scenarios, head-mounted devices have the need to collect user voices. Through the collected user voices, voice transmission and / or voice control are realized. Or, in a multiplayer game scenario, the collected voice data is sent to other players. Generally, head-mounted devices collect user voices through MIC (microphone) for transmission, or perform voice-to-text operations, but the voice of people with language barriers cannot be collected by transmitting sound through MIC, and when the target voice is collected through MIC, the environmental voice is also collected, and the noise in the environment is also collected, which affects the target voice, is not conducive to subsequent operations such as voice recognition and voice control, and leads to errors in the final recognition results. For example, when playing games in the vegetable market, after clicking the voice-to-text function in the game interface, when the user speaks the voice of attack to the microphone, the microphone collects the voice of the vegetable market in addition to the voice of attack, resulting in the recognition result not being the text of attack, or the surrounding noise is continuous and loud, resulting in continuous voice recognition, and the recognition result cannot be given, and the user voice needs to be collected again. Therefore, in traditional technologies, the efficiency of head-mounted devices in collecting voices is too low.
[0084] Therefore, it can be seen that the above defects exist in the control method of the head-mounted device. In order to solve the above defects, the embodiment of the present invention proposes a control method of the head-mounted device, which aims to determine the lip reading information by obtaining the detection information of the voice detection area of the human body area, thereby improving the efficiency of the head-mounted device in collecting voice.
[0085] The following is an explanation of the content claimed in the claims of the present invention through specific exemplary schemes, so that those skilled in the art can better understand the scope of protection of the claims of the present invention. It is understood that the following exemplary schemes do not limit the scope of protection of the present invention, but are only used to explain the present invention.
[0086] For example, refer to Figure 2 In one embodiment of the control method of the head mounted device of the present invention, the control method of the head mounted device comprises the following steps:
[0087] Step S10: when a human body is detected in the target area, determining a human body area corresponding to the human body;
[0088] In this embodiment, the head mounted device may be a smart head mounted device such as a helmet, a hat, VR glasses, AR glasses, etc. The head mounted device is provided with a detection unit, and the detection unit may be an ultrasonic array, an infrared detection device and / or a camera temperature sensing device. The detection unit is used to detect whether there is a human body in the target area. The detection area corresponding to the detection unit includes the target area.
[0089] In some optional implementations, an area within a certain angle range in front of the user wearing the head mounted device can be set as the target area. When a human body is detected in the target area, the human body area corresponding to the position of the human body in the target area is determined. In this way, when a human body appears in front of the wearer, the human body area of the other party can be identified and the lip reading information of the other party can be obtained.
[0090] In some optional implementations, an area within a certain angle range in the direction of the wearer can be set as the target area, so that when the wearer uses the head-mounted device, the wearer's body area can be identified and the wearer's lip reading information can be obtained. This makes it easier for people with disabilities such as the deaf and dumb to use and communicate.
[0091] It should be noted that when the wearer uses the head-mounted device, the head-mounted device can start detecting the human body in the target area, and can confirm the existence of the human body in the target area after detecting the local position of the human body. For example, when the human face is detected in the target area, including the facial features, etc., it is determined that there is a human body in the target area, and the corresponding human body area confirmed is the human face. It can also be confirmed that there is a human body after the entire human body is detected, and the corresponding human body area can be the entire human body area.
[0092] Optionally, when preset conditions are met, ultrasonic scanning data and / or image data within a target area corresponding to the head-mounted device is obtained; whether there is a human body in the target area is determined based on the ultrasonic scanning data and / or image data; when no human body is present, a prompt that no human body is detected is output.
[0093] When the preset conditions are met, ultrasonic scanning data, image data, infrared scanning data, and / or temperature data within the target area detected by the head-mounted device are obtained, and whether there is a human body in the target area is determined based on the above data. The preset condition may be that a lip reading information collection instruction is received, or the device is turned on. If it is detected that there is no human body in the target area, a prompt that no human body is detected is input. If a human body is detected in the target area, the human body area corresponding to the human body is determined, and the voice detection area is further determined.
[0094] Step S20, determining the voice detection area corresponding to the human body area;
[0095] In this embodiment, after detecting the presence of a human body in the target area and determining the human body area, the voice detection area in the human body area is determined, and the voice detection area includes at least the lip area of the human body, and further, may also include the area around the lips or the human face area. The voice detection area can be determined by performing image recognition on the image data, determining the lip contour, and then determining the voice detection area. The human body area can also be divided into several sub-areas, and the human body sub-areas are detected by an ultrasonic array or an infrared detection device, and the detection results of the sub-areas are matched with a preset lip distance matrix to determine the voice detection area. The human body area can also be matched by a preset human body template, and the voice detection area in the current human body area is determined according to the position of the voice detection area in the preset human body template.
[0096] Optionally, ultrasonic detection results of each sub-area corresponding to the human body area are obtained, and the sub-area corresponding to the ultrasonic detection results matched with the lip ultrasonic model is used as the voice detection area; and / or image information corresponding to the human body area is obtained, and the voice detection area is selected in the human body area according to the image information.
[0097] After the ultrasonic array detects the human body area, the ultrasonic detection results of each sub-area are determined, the lip ultrasonic model is matched with the ultrasonic detection results of each sub-area, and the sub-area with the best matching value is used as the voice detection area. The ultrasonic detection device can be an ultrasonic array, and the lip ultrasonic model can be a distance matrix generated when the ultrasonic detection device performs ultrasonic detection on the lip position. Similarly, the ultrasonic detection result can also be a distance matrix.
[0098] Step S30, obtaining detection information corresponding to the voice detection area;
[0099] In this embodiment, when the user speaks, the mouth shape will change differently, the lip contour will also change, and the voice detection area will be detected. The detection information corresponding to different mouth shapes detected in the voice detection area is different.
[0100] Optionally, the voice detection area can be photographed by a photographing device, which may be a lip video. Image recognition processing is performed on each frame of the video or on some image frames to identify the lip contour (which may include human lips, teeth, tongue, etc.) and compare it with the preset lip contour to determine the preset contour associated data that matches it as the detection information of the voice detection area. Lip reading images can also be taken during a preset period of time to perform recognition and then determine the detection information.
[0101] Optionally, each ultrasonic unit corresponding to the ultrasonic array is controlled to transmit a detection ultrasonic signal to the voice detection area; an echo signal corresponding to the detection ultrasonic signal is received, and the detection information is determined according to the echo signal.
[0102] Step S40: determining lip reading information according to the detection information, wherein the lip reading information includes lip reading images, lip reading text and / or voice.
[0103] In this embodiment, the voice detection area at least includes the lip area of the human body. Different lip readings correspond to different mouth shapes, and the corresponding detection information will also be different. Therefore, the lip reading information can be determined based on the detection information. The lip reading information can be a lip reading image, lip reading text and / or voice. Among them, the lip reading image can be directly obtained by taking a photo with a camera, or can be obtained by matching the detection information with preset information and determining related data. Similarly, the voice can also be obtained by matching the detection information with preset information and determining related data.
[0104] Optionally, after the lip reading information is determined, the voice can be used as the basis for voice recognition and converted into corresponding lip reading text. The lip reading image, lip reading text and / or voice can also be sent to other devices, or displayed to the wearer or others through the interactive device of the head-mounted device.
[0105] Optionally, expression information is determined based on the detection information.
[0106] The voice detection area is the human face, which includes the human lips. In addition to detecting the detection information of the human lips and determining the lip reading information based on the detection information, the detection information of the human face can also be detected, and the expression information can be determined based on the detection information. Specifically, the distance matrix of the human face detected by the ultrasonic array is matched with the pre-stored matrix to obtain the associated data of the pre-stored matrix matching the distance matrix, and the expression information is determined based on this associated data.
[0107] For a better understanding, this implementation provides a specific application scenario. A is a deaf-mute who cannot distinguish sounds or make sounds but can read. A wears a head-mounted device to communicate with B. If B's expression is to be collected, the target area faces forward, that is, B's position. B's body can be detected in the target area, and the lip area of B's body area is determined as the voice detection area. The detection information in the voice detection area is determined, and B's lip reading text is determined based on the detection information. The lip reading text is displayed to the wearer A through the interactive device of the head-mounted device; although A cannot make sounds, he can communicate with lip reading. If A's expression is to be collected, the target area faces the direction of the wearer A, and the collection can be done in the target area. When detecting A's body, only part of the body may be detected, such as A's mouth or A's face, that is, the target area includes the human lips, and the lip area of A's body is identified as the voice detection area, and the detection information in the voice detection area is determined. According to the detection information, the lip reading information of B is determined, including lip reading images, voice and lip text. The voice can be broadcast to B through the speaker of the head-mounted device, and the lip reading text can be displayed to B through the interactive device of the head-mounted device. The lip reading text, voice and / or lip reading text can also be sent to other devices. The head-mounted device can also recognize operation instructions based on the lip reading text, voice and / or lip reading text, and the head-mounted device performs corresponding operations according to the operation instructions.
[0108] In the technical solution disclosed in the present embodiment, when a human body is detected in the target area, a human body area corresponding to the human body is determined; a voice detection area corresponding to the human body area is determined; detection information corresponding to the voice detection area is obtained; lip reading information is determined according to the detection information, and the lip reading information includes lip reading images, lip reading text and / or voice. In this way, after the voice detection area corresponding to the human body area is confirmed in the target area, the detection information corresponding to the voice detection area is obtained, and the lip reading information is determined according to the detection information. The user's expression is determined by obtaining the user's lip reading information, thereby replacing the voice. The person being detected does not need to actually make a sound, and environmental noise will not be collected to affect subsequent voice recognition and other operations. The meaning that the person being detected wants to express can be understood through the lip reading information. It is also applicable to people with visual, hearing, and speech disabilities, which expands the audience of the head-mounted device, and the head-mounted device can more conveniently collect lip reading information. Therefore, based on the above embodiment, the efficiency of the head-mounted device in collecting voice can be improved.
[0109] Optionally, refer to Figure 3 Based on any of the above embodiments, in another embodiment of the control method of the head mounted device of the present invention, the control method of the head mounted device further comprises:
[0110] Before determining to obtain the detection information corresponding to the voice detection area, the method further includes:
[0111] Step S50: adjusting the detection position of the ultrasonic array according to the position information of the voice detection area.
[0112] In this embodiment, the detection position of the ultrasonic array is adjusted according to the position information of the voice detection area so that the voice detection area is completely located in the detection area of the ultrasonic array. There are multiple ways to obtain the position information of the voice detection area. The position information is used to adjust the ultrasonic array, and the ultrasonic array is used to obtain the information of the voice detection area.
[0113] Optionally, the method of obtaining the position information of the voice detection area includes photographing the target area, selecting the voice detection area in the human body area according to the photographed image, determining the position information of the voice detection area, and then adjusting the detection position of the ultrasonic array.
[0114] Optionally, the method of obtaining the position information of the voice detection area includes emitting ultrasonic waves to each sub-area of the human body area for detection through an ultrasonic array, obtaining ultrasonic detection results of each sub-area corresponding to the human body area, and taking the sub-area corresponding to the ultrasonic detection result matched with the lip ultrasonic model as the voice detection area, and the position information of the sub-area is the position information of the voice detection area.
[0115] Step S31, controlling each ultrasonic unit corresponding to the ultrasonic array to transmit a detection ultrasonic signal to the voice detection area;
[0116] Step S32: Receive an echo signal corresponding to the detected ultrasonic signal, and determine the detection information according to the echo signal.
[0117] In this embodiment, an ultrasonic array is provided on the head mounted device, and the ultrasonic array includes a plurality of ultrasonic monomers. After determining the human body area, the voice detection area in the human body area is determined, and then the detection information of the voice detection area is determined. The detection information can be obtained through ultrasonic array detection.
[0118] Optionally, each ultrasonic unit corresponding to the ultrasonic array is controlled to transmit a detection ultrasonic signal to the voice detection area, and a return signal corresponding to the detection ultrasonic signal is received, and the detection information is determined according to the echo signal. The receiving time and signal strength of the echo signal can be used as the basis for judging the detection information. The difference in receiving time means the difference in distance between the detected point and the ultrasonic unit, and the difference in signal strength means the difference in material of the reflection position. For example, the lips, teeth, and tongue reflect ultrasonic waves differently. Then, based on the detection information determined by the echo signal, the lip contour of the voice detection area can be further confirmed.
[0119] Optionally, association data of a pre-stored matrix matching the distance matrix is obtained; and the lip reading information is determined according to the association data.
[0120] The detection information may be a distance matrix. After the distance matrix is determined, the distance matrix is matched with a pre-stored matrix library to determine associated data of the pre-stored matrix matching the distance matrix, and the lip reading information is determined based on the associated data. It can be understood that the pre-stored matrix is a pre-stored distance matrix.
[0121] Furthermore, a plurality of lip reading information and a distance matrix corresponding to the lip reading information are obtained; the lip reading information and the distance matrix are subjected to algorithm processing and learning model inference to establish a pre-stored matrix library.
[0122] A pre-stored matrix library is established in advance. First, multiple lip reading information and the distance matrix corresponding to the lip reading information are obtained. The lip reading information is determined by a preset action. When the preset action is performed, the distance matrix can be determined by the ultrasonic array. Different lip reading information can correspond to different distance matrices. The distance matrix can be directly used as a preset matrix and associated with the lip reading information to establish a pre-stored matrix library. In order to obtain a more standard pre-stored matrix, different human bodies can be selected to make the same lip reading information, and the distance matrix can be determined by the ultrasonic array. These distance matrices are processed by algorithms and reasoned by learning models. A unique pre-stored matrix is determined based on these distance matrices. This pre-stored matrix is associated with the lip reading information and saved in the pre-stored matrix library, that is, the associated data of the pre-stored matrix includes the lip reading information.
[0123] Optionally, determining position information corresponding to a preset detection point in a voice detection area according to the detected ultrasonic signal and the echo signal;
[0124] The detection information is determined according to the position information.
[0125] The voice detection area includes multiple preset detection points. One ultrasonic unit may correspond to one preset detection point, that is, one ultrasonic unit sends an ultrasonic signal to one target preset detection point. One ultrasonic unit may also correspond to multiple preset detection points, that is, one ultrasonic unit sends an ultrasonic signal to multiple target detection points. Each ultrasonic unit includes at least one ultrasonic transmitter. The ultrasonic signal is sent by the ultrasonic unit, and the echo signal is uniformly received by a receiver. Each ultrasonic unit may also include an ultrasonic transmitter and an ultrasonic receiver. The ultrasonic signal sent by the ultrasonic transmitter of the ultrasonic unit, and its echo signal is also received by the ultrasonic receiver of the ultrasonic unit. The position information of each preset detection point is determined according to the detection of the ultrasonic signal and the echo signal, and the detection information is determined according to the detection information.
[0126] Optionally, the distance between each ultrasonic monomer and the preset detection point is determined, and the position information of each preset detection point is determined based on the distance. Then, the relative distance between each preset detection point can be determined, and a distance matrix of the voice detection area is established based on the relative distance. The distance matrix is the detection information.
[0127] In the technical solution disclosed in this embodiment, the detection position of the ultrasonic array is adjusted according to the position information of the voice detection area, a detection ultrasonic signal is emitted to the voice detection area through each ultrasonic monomer of the ultrasonic array, and an echo signal corresponding to the detection ultrasonic signal is received, and the detection information is determined according to the echo signal. The speed and accuracy of obtaining the detection information are improved by ultrasonic detection, and the efficiency of the head-mounted device in collecting voice information is further improved.
[0128] In addition, an embodiment of the present invention also proposes a control method for a head-mounted device, which includes a memory, a processor, and a control program for the head-mounted device stored in the memory and executable on the processor. When the control program for the head-mounted device is executed by the processor, the steps of the control method for the head-mounted device described in the above embodiments are implemented.
[0129] In addition, an embodiment of the present invention further proposes a computer-readable storage medium, on which a control program for a head-mounted device is stored. When the control program for the head-mounted device is executed by a processor, the steps of the control method for the head-mounted device described in the above embodiments are implemented.
[0130] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0131] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0132] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for enabling the control device of the head-mounted device to execute the methods described in each embodiment of the present invention.
[0133] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for controlling a head mounted device, characterized in that: The control method of the head mounted device comprises: When a human body is detected in the target area, determining a human body area corresponding to the human body; Determine a speech detection area corresponding to the human body area, wherein the speech detection area includes an area around the lips or a human face area, monitor the human body area through an ultrasonic array, and match a lip ultrasonic model with ultrasonic detection results of each sub-area, and use the sub-area corresponding to the ultrasonic detection result matched with the lip ultrasonic model as the speech detection area, and the lip ultrasonic model is a distance matrix correspondingly generated when an ultrasonic detection device performs ultrasonic detection on the lip position; Acquire detection information corresponding to the voice detection area, wherein the lip contour line is identified in the image frame of the video by shooting a lip video, and the identified lip contour line is compared with a preset lip contour line to determine corresponding matching preset contour line association data as the detection information of the voice detection area; Determine lip reading information according to the detection information, wherein the lip reading information includes lip reading images, lip reading texts and / or voices; Before the step of acquiring the detection information corresponding to the voice detection area, the method further includes: Adjusting the detection position of the ultrasonic array according to the position information of the voice detection area; The step of obtaining detection information corresponding to the voice detection area includes: Controlling each ultrasonic unit corresponding to the ultrasonic array to transmit a detection ultrasonic signal to the voice detection area; Receiving an echo signal corresponding to the detection ultrasonic signal, and determining the detection information according to the echo signal, wherein the receiving time and signal strength of the echo signal are used as the basis for judging the detection signal; The step of determining the detection information according to the echo signal comprises: Determine the position information corresponding to the preset detection point in the voice detection area according to the detection ultrasonic signal and the echo signal; determining the detection information according to the position information; The detection information is a distance matrix, and the step of determining the lip reading information according to the detection information comprises: Acquire association data of a pre-stored matrix matching the distance matrix; The lip reading information is determined according to the associated data.
2. The method for controlling a head mounted device according to claim 1, wherein: Before the step of acquiring the associated data of the pre-stored matrix matching the distance matrix, the method further includes: Acquire multiple lip reading information and a distance matrix corresponding to the lip reading information; The lip reading information and the distance matrix are subjected to algorithm processing and learning model inference to establish a pre-stored matrix library.
3. The method for controlling a head mounted device according to claim 1, wherein: The voice detection area includes a human face, and after the step of acquiring detection information corresponding to the voice detection area, the method further includes: The expression information is determined according to the detection information.
4. The method for controlling a head mounted device according to claim 1, wherein: Before the step of determining the human body region corresponding to the human body, the method further includes: When a preset condition is met, obtaining ultrasound scanning data and / or image data within a target area corresponding to the head mounted device; Determining whether there is a human body in the target area according to the ultrasonic scanning data and / or the image data; When there is no human body, a prompt indicating that no human body is detected is output.
5. A method and device for controlling a head mounted device, characterized in that: The control method of the head-mounted device includes: a memory, a processor, and a control program of the head-mounted device stored in the memory and executable on the processor. When the control program of the head-mounted device is executed by the processor, the steps of the control method of the head-mounted device as described in any one of claims 1 to 4 are implemented.
6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a control program for a head mounted device, and when the control program for the head mounted device is executed by a processor, the steps of the method for controlling a head mounted device according to any one of claims 1 to 4 are implemented.
