Sign language translation method and wearable device
By collecting and recognizing sign language images on wearable devices, real-time translation of sign language is achieved, which solves the problem of low sign language communication efficiency and improves communication efficiency and convenience.
Patent Information
- Application Number
- CN202410730444.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-09-06
AI Technical Summary
When people who use sign language communicate with people who do not master sign language skills, the communication efficiency is low, and it is difficult to achieve real-time sign language translation with existing technology.
Use wearable devices to collect sign language images through the image acquisition module, input them to the sign language detection module for gesture feature recognition and translation, and output text information to achieve real-time sign language translation.
It improves the communication efficiency between people who use sign language and those who do not master sign language skills, realizes real-time sign language translation and voice broadcast, and simplifies the communication process.
Smart Images

Figure CN118609166A
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of electronic equipment, and specifically relates to a sign language translation method and a wearable device. Background Art
[0002] In related technologies, sign language is an important means of information communication for people with hearing impairments. However, for people with non-hearing impairments who have not received systematic sign language training, the threshold for understanding sign language is extremely high. Therefore, when people who use sign language need to communicate with people who do not master sign language skills, they can only convey information through writing or typing, which makes communication inconvenient. Summary of the invention
[0003] The purpose of the embodiments of the present application is to provide a sign language translation method and a wearable device, which can solve the problem of low communication efficiency when people who use sign language communicate with people who do not master sign language skills.
[0004] In a first aspect, an embodiment of the present application provides a sign language translation method, which is applied to a wearable device. The translation method includes:
[0005] Capturing a first image of a user, where the first image includes a first gesture feature of the user;
[0006] Inputting the first image into a sign language detection module to obtain first text information corresponding to the first gesture feature;
[0007] Output the first text information.
[0008] In a second aspect, an embodiment of the present application provides a wearable device, the wearable device comprising:
[0009] An image acquisition module, used to acquire a first image of the user, where the first image includes a first gesture feature of the user;
[0010] A data processing module, used for inputting the first image into a sign language detection module to obtain first text information corresponding to the first gesture feature;
[0011] The output module is used to output the first text information.
[0012] In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory, wherein the memory stores programs or instructions that can be executed on the processor, and when the programs or instructions are executed by the processor, the steps of the method of the first aspect are implemented.
[0013] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method of the first aspect are implemented.
[0014] In a fifth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the steps of the method of the first aspect.
[0015] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method of the first aspect.
[0016] In an embodiment of the present application, an image acquisition device provided on a wearable device is used to obtain a sign language image of the user, gesture features of the sign language image are recognized, and the gesture features obtained by image recognition are automatically translated by a sign language detection module to obtain text information, thereby enabling real-time sign language translation and improving the communication efficiency between people who use sign language and those who do not have sign language skills. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 A flowchart showing a sign language translation method according to some embodiments of the present application is shown;
[0018] Figure 2 A schematic diagram showing a wearable device according to some embodiments of the present application;
[0019] Figure 3 A flowchart showing a sign language translation method according to some embodiments of the present application is shown;
[0020] Figure 4 A flowchart showing a sign language translation method according to some embodiments of the present application is shown;
[0021] Figure 5 A flowchart showing a sign language translation method according to some embodiments of the present application is shown;
[0022] Figure 6 A structural block diagram of a wearable device according to some embodiments of the present application is shown;
[0023] Figure 7 A structural block diagram of an electronic device according to an embodiment of the present application is shown;
[0024] Figure 8 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application. DETAILED DESCRIPTION
[0025] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0026] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0027] The sign language translation method and wearable device provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.
[0028] In some embodiments of the present application, a sign language translation method is provided, which is applied to a wearable device for execution. Figure 1 A flowchart of a sign language translation method of some embodiments of the present application is shown. Figure 1 As shown, the translation method includes:
[0029] Step 102: Capture a first image of a user, where the first image includes a first gesture feature of the user.
[0030] In the embodiment of the present application, the wearable device may be smart glasses, augmented reality head-mounted devices, etc., or may be a wearable smart camera device. The wearable device is provided with an image acquisition device. For example, Figure 2 A schematic diagram of a wearable device according to some embodiments of the present application is shown. Figure 2 As shown, the wearable device 200 is a pair of smart glasses, and an image acquisition device 202 is provided on the wearable device 200. Exemplarily, the image acquisition device is an always-on camera (Always on Camera, AON).
[0031] AON technology can achieve always-on and low-power image acquisition. For example, when a user wears smart glasses, the AON camera of the smart glasses is set on the front of the glasses, so the image captured by the AON camera is close to the image seen by the human eye. When a user wears such smart glasses to communicate with people who use sign language, when the user wearing the smart glasses looks at the sign language user, the AON camera can capture the first image of the sign language user, and the first image includes the first gesture feature of the sign language user.
[0032] Step 104: input the first image into a sign language detection module to obtain first text information corresponding to the first gesture feature.
[0033] In the embodiment of the present application, for wearable devices with higher computing power, the algorithm part of the sign language detection module can be deployed locally on the wearable device. For wearable devices with lower computing power or higher energy consumption requirements, they can be coordinated with other electronic devices, such as mobile phones, to deploy the sign language detection module on electronic devices with higher computing power to perform sign language recognition and translation.
[0034] Taking the deployment of the sign language detection module locally on the wearable device as an example, the image acquisition device inputs each frame of the first image acquired into the sign language detection module. The sign language detection module first determines whether there is a valid sign language gesture in the input first image. If no valid sign language gesture is detected, the image is discarded. If a valid sign language gesture is detected, the first gesture feature of the sign language user is detected through a preset sign language recognition algorithm, and the first text information of the translation result is matched according to the recognized first gesture feature, thereby realizing real-time translation of sign language.
[0035] Step 106: output the first text information.
[0036] In an embodiment of the present application, after identifying the first gesture feature of the sign language user and translating the first text information, the wearable device outputs the first text information in real time, so that the user wearing the wearable device can understand the sign language content of the sign language user based on the first text information and achieve communication.
[0037] For example, taking the wearable device as smart glasses, the smart glasses can project the first text information onto the glasses lenses for display through an augmented reality display method, and the user can directly read the first text information.
[0038] Exemplarily, a speaker, such as a bone conduction speaker, may also be provided on the wearable device to convert the first text information into corresponding audio and play it through text-to-speech technology (Text To Speech, TTS).
[0039] Exemplarily, the wearable device can also be linked with other smart devices to output the first text information through the other smart devices, such as playing the audio corresponding to the first text information through a Bluetooth headset, or playing the audio corresponding to the first text information through a mobile phone speaker, or displaying the first text information through a mobile phone display.
[0040] The embodiment of the present application utilizes an image acquisition device provided on a wearable device to obtain a sign language image of the user, performs gesture feature recognition on the sign language image, and automatically translates the gesture features obtained by image recognition through a sign language detection module to obtain text information that can be understood by general users, thereby enabling real-time sign language translation and improving the communication efficiency between people who use sign language and those who do not have sign language skills.
[0041] In some embodiments of the present application, the wearable device can establish a communication connection with the electronic device, and the sign language detection module is an algorithm module deployed on the electronic device.
[0042] Inputting the first image into a sign language detection module to obtain first text information corresponding to the first gesture feature includes: sending the first image to an electronic device so that the electronic device determines the meaning of the first gesture feature through the sign language detection module and the first image, and generates first text information for indicating the meaning of the first gesture feature.
[0043] In the embodiment of the present application, the electronic device may be a mobile phone, a tablet computer, a laptop computer, etc. For some miniaturized wearable devices, such as smart glasses, the performance of these wearable devices may be difficult to meet the computing power requirements for real-time translation of sign language due to the requirements on volume and weight.
[0044] At this time, the sign language detection module can be deployed on a high-performance electronic device, such as a user's mobile phone, by means of a communication connection between the wearable device and other high-performance electronic devices. The following takes the wearable device as smart glasses and the electronic device as a mobile phone as an example to illustrate the translation method of the embodiment of the present application.
[0045] The smart glasses capture the first image of the sign language user through the AON camera, and send the captured multiple frames of the first image to the mobile phone frame by frame through wireless communication such as Bluetooth connection or Wi-Fi (wireless fidelity) connection. After the mobile phone receives the first image sent by the smart glasses, the first image is input into the sign language detection module, and the sign language translation algorithm is used to identify whether there is a valid sign language gesture in the first image. When there is no valid sign language gesture in a frame of the first image, the first image of this frame is discarded. When a valid sign language gesture is detected in the first image, the sign language translation algorithm is called to determine the meaning of the first gesture feature based on the detected first gesture feature, and obtain the first text information.
[0046] After obtaining the first text information, a method for outputting the first text information is selected according to the user settings. For example, the mobile phone can send the translated first text information to the smart glasses, and the smart glasses can display the first text information. For example, the mobile phone can call its own TTS function to convert the first text information into the first voice audio, and send the first voice audio to the smart glasses for playback.
[0047] In some implementations, the first text message may be displayed on the mobile phone screen, or the first voice audio may be played, and the first voice audio may be sent to a Bluetooth headset worn by the user for playback.
[0048] The embodiment of the present application collects images of sign language users through the AON low-power camera of the wearable device, and translates the sign language content through high-performance electronic devices such as mobile phones, thereby achieving real-time sign language translation without increasing the power consumption of the device.
[0049] In some embodiments of the present application, Figure 3 A flowchart of a sign language translation method of some embodiments of the present application is shown. Figure 3 As shown, the wearable device is a smart glasses and the electronic device is a mobile phone. Different steps are performed according to whether the smart glasses support the real-time sign language translation algorithm. Specifically, the method includes:
[0050] Step 302: The smart glasses shoot a sign language video.
[0051] Among them, the smart glasses follow the wearer's line of sight through the AON camera integrated into the frame and monitor the captured video information in real time.
[0052] Step 304, determine whether the voice playback and sign language detection modules are supported; if yes, proceed to step 306, otherwise proceed to step 316.
[0053] Among them, if the performance of the wearable device is sufficient to support voice playback and sign language translation algorithm, if it is supported, go to step 306, if not, go to step 316.
[0054] Step 306: Input the video into a sign language detection module.
[0055] Among them, the AON camera directly transmits video information to the sign language translation algorithm integrated in the device.
[0056] Step 308, determine whether it contains valid sign language information; if so, proceed to step 310, otherwise end.
[0057] Among them, the gesture recognition algorithm identifies whether there is a valid sign language gesture in the incoming video. If it is valid, it starts translating the sign language information, otherwise the process ends.
[0058] Step 310, translation is performed through a sign language algorithm.
[0059] Among them, after recognizing a valid sign language gesture, the algorithm will further analyze the gesture information, associate it with the corresponding sign language grammar and custom gestures, and thus convert the gesture information into corresponding text information.
[0060] Step 312, converting the translated text into speech.
[0061] Among them, sign language text information is converted into voice through TTS technology.
[0062] Step 314: the smart glasses play voice.
[0063] Among them, the smart glasses directly play voice, converting the sign language information detected by the AON camera in real time into voice.
[0064] Step 316, determine whether the mobile phone is connected; if yes, proceed to step 318, otherwise end.
[0065] Among them, when the smart glasses do not support voice playback and sign language translation algorithms, if a connection has been established with a mobile phone through wireless communications such as Bluetooth and Wi-Fi, then step 318 is entered, otherwise the process ends.
[0066] Step 318, sending the sign language video to the mobile phone.
[0067] The video detected by the AON camera is transmitted to the connected mobile phone through wireless communications such as Bluetooth or Wi-Fi, and analyzed by the sign language translation algorithm deployed on the mobile phone.
[0068] Step 320, determine whether it contains valid sign language information; if so, proceed to step 322, otherwise end.
[0069] Among them, the sign language translation algorithm deployed on the mobile phone will identify whether the incoming video contains valid sign language gestures. If it is valid, it will start translating the sign language information, otherwise the process will end.
[0070] Step 322, the mobile phone translates through a sign language algorithm.
[0071] Among them, after recognizing a valid sign language gesture, the sign language translation algorithm deployed in the mobile phone analyzes the gesture information and associates it with the corresponding sign language grammar, thereby converting the gesture information into corresponding text information.
[0072] Step 324, the mobile phone converts the translated text into speech.
[0073] Among them, the sign language text information is converted into voice through the TTS algorithm integrated in the mobile phone.
[0074] Step 326: the mobile phone plays the voice.
[0075] Among them, the mobile phone plays voice through an external speaker or other peripheral devices connected to the mobile phone, such as Bluetooth headsets, to convert the sign language information detected by the AON camera in real time into voice.
[0076] The embodiments of the present application can achieve efficient and real-time sign language semantic translation and voice broadcasting, making communication between ordinary people and people who use sign language more efficient and convenient.
[0077] In some embodiments of the present application, outputting the first text information includes: displaying the first text information; or generating corresponding audio information according to the first text information, and outputting the audio information.
[0078] In the embodiment of the present application, when the first text information is output, the first text information can be directly displayed. For example, the first text information can be displayed by a display device on the wearable device, or by a display screen on an electronic device that wirelessly communicates with the wearable device.
[0079] When outputting the first text information, the first text information can also be converted into corresponding audio information through TTS technology, and the audio information can be artificial voice audio synthesized by a machine. After obtaining the audio information, the audio information can be played through a device such as a speaker or a headset. Exemplarily, a speaker is provided on the wearable device, and the audio information is played through the speaker on the wearable device. Exemplarily, the audio information can be played through a speaker on an electronic device. Exemplarily, the audio information can be played through an external device such as a Bluetooth headset.
[0080] The embodiments of the present application can output text information obtained by translating sign language in a variety of different ways, thereby automatically translating the sign language of the sign language user into text or audio that can be understood by ordinary people, thereby improving the communication efficiency between people who do not master sign language skills and sign language users.
[0081] In some embodiments of the present application, before inputting the first image into the sign language detection module, the translation method further includes:
[0082] When it is determined that the custom gesture library includes a gesture feature that matches the first gesture feature, the first text information is determined based on the custom gesture library; wherein the custom gesture library includes at least one mapping relationship, and the mapping relationship is a mapping relationship between a gesture feature and a text information; or when it is determined that the custom gesture library does not include a gesture feature that matches the first gesture feature, the first text information is determined by a sign language translation algorithm.
[0083] In the embodiments of the present application, for sign language users and general users who do not have sign language skills, in order to achieve rapid communication, sign language users do not necessarily have to use standard sign language gestures. In this case, a mapping relationship between custom gesture features and text information can be defined to form a custom gesture library, and commonly used phrases or sentences in daily life can be defined as custom gestures. In this way, content can be expressed through simple gestures during communication, which is conducive to improving communication efficiency.
[0084] Specifically, after the first image captured by the image acquisition device is input into the sign language detection module, the sign language detection module recognizes the gesture feature therein, assuming that the first gesture feature is recognized here. After recognizing the first gesture feature, the sign language detection module first determines whether the first gesture feature is a custom gesture, and then performs further sign language translation logic according to the judgment result.
[0085] Specifically, the sign language detection module determines whether the first gesture feature is a gesture feature in the custom gesture library. If the first gesture feature matches a gesture feature in the custom gesture library, the custom text matching the first gesture feature is determined according to the mapping relationship associated with the matching gesture feature to obtain the first text information.
[0086] If the first gesture feature does not match any gesture features in the custom gesture library, it means that the first gesture feature is not a custom gesture. At this time, the first image is input into the sign language detection module, and the sign language meaning corresponding to the first gesture feature is translated through the sign language translation algorithm of the sign language detection module.
[0087] When a custom gesture is detected, the embodiment of the present application automatically plays a pre-set voice, which can reduce the computing power required for real-time voice recognition and reduce the burden of learning sign language.
[0088] In some embodiments of the present application, before the image acquisition device acquires the first image of the user, the translation method further includes:
[0089] A second image of the user is captured, where the second image includes a second gesture feature of the user.
[0090] In an embodiment of the present application, a user can customize a gesture and associate the customized gesture with a commonly used word or phrase. Specifically, an image acquisition device of a wearable device is used to capture a gesture image of a sign language user, and in the gesture image, the features of the hand posture of the sign language user and the second gesture features are included.
[0091] A first input from a user is received; wherein the first input is used to input second text information.
[0092] In the embodiment of the present application, after capturing a user's custom gesture, the user further inputs a word or a short sentence. For example, the user can perform the first input through a keyboard, a touch screen, or voice input, thereby inputting the second text information.
[0093] In response to the first input, a mapping relationship between the second text information and the second gesture feature is established.
[0094] In the embodiment of the present application, after capturing a custom gesture, the user enters the text representing the custom gesture, i.e., the second text information. For example, if the user uses a hand gesture as a custom gesture and captures an image of the hand gesture and then enters the text message "what to eat tonight", a mapping relationship between the captured custom gesture and the text message "what to eat tonight" is established.
[0095] The mapping relationship between the second text information and the second gesture feature is stored in the custom gesture library.
[0096] In an embodiment of the present application, the mapping relationship between the user-defined second gesture feature and the input second text information is stored in a custom gesture library. Later, when the wearable device is used to translate sign language, when a sign language user gesture identical to the second gesture feature is recognized, the second text information representing the meaning of the gesture can be quickly obtained according to the custom gesture library and converted into voice for playback.
[0097] For example, Figure 4 A flowchart of a sign language translation method of some embodiments of the present application is shown. Figure 4 As shown, the user can customize the meaning of the gesture. Specifically, taking the wearable device as smart glasses and the electronic device as a mobile phone as an example, the method includes:
[0098] Step 402: The user turns on the custom gesture function on the mobile phone.
[0099] Among them, the user opens the software and adds custom gestures through the software.
[0100] Step 404, determine whether a connection is established with the smart glasses; if yes, proceed to step 408, otherwise proceed to step 406.
[0101] Among them, it detects whether the mobile phone is connected to the smart glasses.
[0102] Step 406, reminding the user to connect.
[0103] Among them, when the mobile phone and smart glasses are not connected, the user is reminded to connect the device.
[0104] Step 408: photograph the custom gesture action.
[0105] Wherein, the user shoots a custom gesture, and illustratively, a video editing function can be provided to help the user shoot a gesture video.
[0106] Step 410, input custom text information.
[0107] Wherein, based on the custom gesture photographed by the user, text information expressing the meaning of the gesture is input.
[0108] Step 412: Map and store the custom text information and the custom gesture action.
[0109] Therein, user-defined gestures are mapped to textual information of meanings.
[0110] Figure 5 A flowchart of a sign language translation method of some embodiments of the present application is shown. Figure 5 As shown, in the case where a custom gesture library is provided, the translation method includes:
[0111] Step 502, shooting a sign language video;
[0112] Step 504, sending the video to the sign language recognition module;
[0113] Step 506, determine whether a valid gesture is recognized; if so, proceed to step 508, otherwise end;
[0114] Step 508, determining whether the valid gesture is a custom gesture; if so, proceeding to step 510A, otherwise proceeding to step 510B;
[0115] After a valid gesture is detected, it is determined whether the gesture is a user-defined gesture.
[0116] Step 510A, determining text information through the custom gesture library.
[0117] In the case of a custom gesture, the text information of the meaning may be determined according to a custom gesture library stored locally.
[0118] Step 510B: The sign language translation algorithm translates the text information.
[0119] Among them, for non-customized gestures, algorithms are used to translate the meaning of text information.
[0120] Step 512, converting the text information into speech;
[0121] Step 514, play the voice.
[0122] The embodiment of the present application can customize the mapping relationship between simple gestures and commonly used sentences, thereby lowering the threshold for communication through sign language and improving the efficiency of barrier-free communication.
[0123] The method for translating sign language provided in the embodiment of the present application can be performed by a sign language translation device or a wearable device. In the embodiment of the present application, the method for translating sign language by a wearable device is taken as an example to illustrate the wearable device provided in the embodiment of the present application.
[0124] In some embodiments of the present application, a wearable device is provided. Figure 6 The structure block diagram of the wearable device of some embodiments of the present application is shown as follows: Figure 6 As shown, the wearable device 600 includes:
[0125] An image acquisition module 602 is used to acquire a first image of a user, where the first image includes a first gesture feature of the user;
[0126] The data processing module 604 is used to input the first image into the sign language detection module to obtain the first text information corresponding to the first gesture feature;
[0127] The output module 606 is used to output the first text information.
[0128] The embodiment of the present application utilizes an image acquisition device provided on a wearable device to obtain a sign language image of the user, performs gesture feature recognition on the sign language image, and automatically translates the gesture features obtained by image recognition through a sign language detection module to obtain text information that can be understood by general users, thereby enabling real-time sign language translation and improving the communication efficiency between people who use sign language and those who do not have sign language skills.
[0129] In some embodiments of the present application, the wearable device can establish a communication connection with the electronic device, and the sign language detection module is an algorithm module deployed on the electronic device;
[0130] The data processing module is also used to send the first image to the electronic device, so that the electronic device determines the meaning of the first gesture feature through the sign language detection module and the first image, and generates first text information for indicating the meaning of the first gesture feature.
[0131] The embodiment of the present application collects images of sign language users through the AON low-power camera of the wearable device, and translates the sign language content through high-performance electronic devices such as mobile phones, thereby achieving real-time sign language translation without increasing the power consumption of the device.
[0132] In some embodiments of the present application, the output module is a display module, and the display module is used to display the first text information;
[0133] The data processing module is further used to generate corresponding audio information according to the first text information;
[0134] The output module is a speaker module, which is used to output audio information.
[0135] The embodiments of the present application can achieve efficient and real-time sign language semantic translation and voice broadcasting, making communication between ordinary people and people who use sign language more efficient and convenient.
[0136] In some embodiments of the present application, the data processing module is further used to:
[0137] When it is determined that the custom gesture library includes a gesture feature that matches the first gesture feature, the first text information is determined based on the custom gesture library; wherein the custom gesture library includes at least one mapping relationship, and the mapping relationship is a mapping relationship between a gesture feature and a text information; or when it is determined that the custom gesture library does not include a gesture feature that matches the first gesture feature, the first text information is determined by a sign language translation algorithm.
[0138] When a custom gesture is detected, the embodiment of the present application automatically plays a pre-set voice, which can reduce the computing power required for real-time voice recognition and reduce the burden of learning sign language.
[0139] In some embodiments of the present application, the image acquisition module is further used to acquire a second image of the user, where the second image includes a second gesture feature of the user; and the wearable device further includes:
[0140] A receiving module, used for receiving a first input from a user, where the first input is used for inputting second text information;
[0141] The data processing module is further used to establish a mapping relationship between the second text information and the second gesture feature in response to the first input; and store the mapping relationship between the second text information and the second gesture feature in the custom gesture library.
[0142] The embodiment of the present application can customize the mapping relationship between simple gestures and commonly used sentences, thereby lowering the threshold for communication through sign language and improving the efficiency of barrier-free communication.
[0143] The sign language translation device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a palmtop computer, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., and the embodiment of the present application is not specifically limited.
[0144] The sign language translation device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0145] The sign language translation device provided in the embodiment of the present application can implement each process implemented in the above method embodiment, and will not be described again here to avoid repetition.
[0146] Optionally, an embodiment of the present application further provides an electronic device, Figure 7 A structural block diagram of an electronic device according to an embodiment of the present application is shown. Figure 7 As shown, the electronic device 700 includes a processor 702, a memory 704, and a program or instruction stored in the memory 704 and executable on the processor 702. When the program or instruction is executed by the processor 702, each process of the above-mentioned method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0147] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
[0148] Figure 8 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0149] The electronic device 800 includes but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810 and other components.
[0150] Those skilled in the art will appreciate that the electronic device 800 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 810 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 8 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0151] Among them, the processor 810 is used to capture a first image of the user through an image capture device, the first image including a first gesture feature of the user; input the first image to a sign language detection module to obtain first text information corresponding to the first gesture feature; and output the first text information.
[0152] The embodiment of the present application utilizes an image acquisition device provided on a wearable device to obtain a sign language image of the user, performs gesture feature recognition on the sign language image, and automatically translates the gesture features obtained by image recognition through a sign language detection module to obtain text information that can be understood by general users, thereby enabling real-time sign language translation and improving the communication efficiency between people who use sign language and those who do not have sign language skills.
[0153] Optionally, the processor 810 is further used to send the first image to an electronic device, so that the electronic device determines the meaning of the first gesture feature through the sign language detection module and the first image, and generates first text information indicating the meaning of the first gesture feature.
[0154] The embodiment of the present application collects images of sign language users through the AON low-power camera of the wearable device, and translates the sign language content through high-performance electronic devices such as mobile phones, thereby achieving real-time sign language translation without increasing the power consumption of the device.
[0155] Optionally, the display unit 806 is used to display the first text information;
[0156] The processor 810 is further configured to generate corresponding audio information according to the first text information; and output the audio information.
[0157] The embodiments of the present application can achieve efficient and real-time sign language semantic translation and voice broadcasting, making communication between ordinary people and hearing-impaired people more efficient and convenient.
[0158] Optionally, the processor 810 is further used to determine the first text information based on the custom gesture library when it is determined that the custom gesture library includes a gesture feature that matches the first gesture feature; wherein the custom gesture library includes at least one mapping relationship, and the mapping relationship is a mapping relationship between a gesture feature and a text information; or when it is determined that the custom gesture library does not include a gesture feature that matches the first gesture feature, determine the first text information through a sign language translation algorithm.
[0159] When a custom gesture is detected, the embodiment of the present application automatically plays a pre-set voice, which can reduce the computing power required for real-time voice recognition and reduce the burden of learning sign language.
[0160] Optionally, the user input unit 807 is used to receive a first input from a user, where the first input is used to input second text information;
[0161] The processor 810 is further configured to establish a mapping relationship between the second text information and the second gesture feature in response to the first input; and store the mapping relationship between the second text information and the second gesture feature in the custom gesture library.
[0162] The embodiment of the present application can customize the mapping relationship between simple gestures and commonly used sentences, thereby lowering the threshold for communication through sign language and improving the efficiency of barrier-free communication.
[0163] It should be understood that in the embodiment of the present application, the input unit 804 may include a graphics processor (Graphics Processing Unit, GPU) 8041 and a microphone 8042, and the graphics processor 8041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 807 includes a touch panel 8071 and at least one of other input devices 8072. The touch panel 8071 is also called a touch screen. The touch panel 8071 may include two parts: a touch detection device and a touch controller. Other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0164] The memory 809 can be used to store software programs and various data. The memory 809 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 809 may include a volatile memory or a non-volatile memory, or the memory 809 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 809 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0165] The processor 810 may include one or more processing units; optionally, the processor 810 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 810.
[0166] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0167] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0168] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0169] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0170] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0171] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0172] 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 such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of each embodiment of the present application.
[0173] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A method for translating sign language, characterized in that: Applied to a wearable device, the translation method includes: Capturing a first image of a user, where the first image includes a first gesture feature of the user; Inputting the first image into a sign language detection module to obtain first text information corresponding to the first gesture feature; The first text information is output.
2. The translation method according to claim 1, characterized in that: A communication connection is established between the wearable device and the electronic device, and the sign language detection module is an algorithm module deployed on the electronic device; Inputting the first image into a sign language detection module to obtain first text information corresponding to the first gesture feature includes: The first image is sent to the electronic device, so that the electronic device determines the meaning of the first gesture feature through the sign language detection module and the first image, and generates first text information for indicating the meaning of the first gesture feature.
3. The translation method according to claim 1, characterized in that: The outputting the first text information includes: display the first text information; or Generate corresponding audio information according to the first text information, and output the audio information.
4. The translation method according to claim 1, characterized in that: The step of inputting the first image into a sign language detection module comprises: In the case where it is determined that the custom gesture library includes a gesture feature that matches the first gesture feature, determining the first text information according to the custom gesture library; wherein the custom gesture library includes at least one mapping relationship, and the mapping relationship is a mapping relationship between a gesture feature and a text information; or When it is determined that the custom gesture library does not include a gesture feature matching the first gesture feature, the first text information is determined by a sign language translation algorithm.
5. The translation method according to claim 4, characterized in that: Before collecting the first image of the user, the translation method further includes: capturing a second image of the user, where the second image includes a second gesture feature of the user; Receive a first input from a user; wherein the first input is used to input second text information; In response to the first input, establishing a mapping relationship between the second text information and the second gesture feature; The mapping relationship between the second text information and the second gesture feature is stored in the custom gesture library.
6. A wearable device, characterized in that: The wearable device comprises: An image acquisition module, used to acquire a first image of a user, wherein the first image includes a first gesture feature of the user; A data processing module, configured to input the first image into a sign language detection module to obtain first text information corresponding to the first gesture feature; An output module is used to output the first text information.
7. The wearable device according to claim 6, characterized in that: A communication connection is established between the wearable device and the electronic device, and the sign language detection module is an algorithm module deployed on the electronic device; The data processing module is also used to send the first image to the electronic device, so that the electronic device determines the meaning of the first gesture feature through the sign language detection module and the first image, and generates first text information for indicating the meaning of the first gesture feature.
8. The wearable device according to claim 6, characterized in that: The output module is a display module, and the display module is used to display the first text information; The data processing module is further used to generate corresponding audio information according to the first text information; The output module is a speaker module, and the speaker module is used to output the audio information.
9. The wearable device according to claim 6, characterized in that: The data processing module is also used for: In the case where it is determined that the custom gesture library includes a gesture feature that matches the first gesture feature, determining the first text information according to the custom gesture library; wherein the custom gesture library includes at least one mapping relationship, and the mapping relationship is a mapping relationship between a gesture feature and a text information; or When it is determined that the custom gesture library does not include a gesture feature matching the first gesture feature, the first text information is determined by a sign language translation algorithm.
10. The wearable device according to claim 9, characterized in that: The image acquisition module is further used to acquire a second image of the user, where the second image includes a second gesture feature of the user; The wearable device further comprises: A receiving module, used for receiving a first input from a user, where the first input is used for inputting second text information; The data processing module is further configured to establish a mapping relationship between the second text information and the second gesture feature in response to the first input; and store the mapping relationship between the second text information and the second gesture feature in the custom gesture library.
Citation Information
Patent Citations
Sign language translation system, device and method
CN102236986A
Intelligent glasses for speech recognition and sign language recognition
CN106205293A
Sign language inter-translation method and system
CN113407034A
