Various embodiments of the disclosure provide a method and a device for generating a personalized lip reading model.
Development of digital technologies has been followed by widespread use of various types of electronic devices, such as a personal digital assistant (PDA), an electronic wallet, a smartphone, a tablet personal computer, and a wearable device. In order to support and enhance functions of such electronic devices, the hardware part and/or software part of electronic devices are continuously improved. For example, an electronic device may provide an intelligence agent service such that the same performs various functions in response to a user speech input.
The intelligence agent service may recognize a speech, analyze (or understand) the recognized speech, and provide a service desired by the user. For example, if the user speaks “Text Jack to let him know that I will be late a little”, the electronic device may execute a message application and enter a message composition field. The electronic device may then designate, as the message recipient, the telephone number of a person registered as “Jack” in the telephone directory, may compose a message “I will be late a little”, and may transmit the message. Since the intelligence agent service operates based on a user speech, the speech recognition performance can be improved only if there is little noise (for example, peripheral noise) other than the user's speech. For example, there may be a difference in performance between when a user speech is recognized in a quiet state (for example, a low level of noise) and when a user speech is recognized with peripheral noise (for example, a high level of peripheral noise).
The higher the speech recognition performance of an electronic device, the higher accuracy the intelligence agent service may have. In order to improve the speech recognition performance, the electronic device may use a lip reading technology such that the shape of the user's mouth, together with a user speech, may be used to provide the intelligence agent service. The electronic device may detect the timepoint at which a user utterance starts and the timepoint at which the user utterance ends, based on the shape of the user's mouth, or may correct an inaccurate pronunciation with reference to the mouth shape, thereby recognizing the speech more accurately.
According to the conventional lip reading technology, images including lip movements during multiple unspecific utterances are used for learning, in order to recognize mouth shapes. If multiple unspecific utterances are learnt, various errors may because respective users have different mouth shapes, different skin colors around mouths, different utterance rates, and different personal accents. The more utterance images are learnt, the better the mouth shape recognition performance may be. However, there may be a limit to developing the lip reading technology according to linguistic characteristics (for example, personal utterance habits and dialects).
Various embodiments may disclose a method and a device wherein the validity of an image is determined based on a distinction between an image including a speech and an image including no speech, and the image is useable as a personalized lip reading model according to the result of determination.
An electronic device according to various embodiments of the disclosure may include: a memory; a display; a camera; and a processor. The processor may be configured to: display a user interface, including at least one expression, on the display; acquire a user image associated with the expression from the camera; verify the user image, based on whether speech is included in the user image; and store the user image in the memory as an image which is to be used as a personalized lip reading model, based on a result of the verification.
An electronic device according to various embodiments of the disclosure may include: a memory; a display; and a processor. The processor may be configured to: provide an image list including at least one image, based on a request to use the image as a personalized lip reading model; select at least one image from the image list; and verify the selected image and store the selected image in the memory as an image which is to be used as the personalized lip reading model.
An operation method of an electronic device according to various embodiments of the disclosure may include: driving a camera of the electronic device in response to a speech call; determining whether movement of a mouth is detected in a user image received from the driven camera; recording the user image when movement of the mouth is detected in the user image; providing a service corresponding to speech received during the speech call; and using the recorded user image as a personalized lip reading model.
According to various embodiments, the validity of an image is determined based on a distinction between an image including a speech and an image including no speech, and the image is useable as a personalized lip reading model according to the result of determination.
According to various embodiments, a personalized lip reading model is learnt by using images of a user who has uttered expressions provided on a user interface, thereby generating a personalized lip reading model that reflects personal utterance characteristics.
According to various embodiments, a personalized lip reading model is used to correct inaccurate pronunciations with reference to mouth shapes, thereby improving the speech recognition accuracy.
According to various embodiments, a user interface including expressions is provided, images of the user who has uttered the provided expressions are acquired, and the acquired images are useable as a personalized lip reading model or a normal lip reading model.
The electronic device according to various embodiments may be one of various types of electronic devices. The electronic devices may include, for example, a portable communication device (e.g., a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, a home appliance, or the like. According to an embodiment of the disclosure, the electronic devices are not limited to those described above.
It should be appreciated that various embodiments of the present disclosure and the terms used therein are not intended to limit the technological features set forth herein to particular embodiments and include various changes, equivalents, or replacements for a corresponding embodiment. With regard to the description of the drawings, similar reference numerals may be used to refer to similar or related elements. It is to be understood that a singular form of a noun corresponding to an item may include one or more of the things, unless the relevant context clearly indicates otherwise. As used herein, each of such phrases as “A or B,” “at least one of A and B,” “at least one of A or B,” “A, B, or C,” “at least one of A, B, and C,” and “at least one of A, B, or C,” may include all possible combinations of the items enumerated together in a corresponding one of the phrases. As used herein, such terms as “1st” and “2nd,” or “first” and “second” may be used to simply distinguish a corresponding component from another, and does not limit the components in other aspect (e.g., importance or order). It is to be understood that if an element (e.g., a first element) is referred to, with or without the term “operatively” or “communicatively”, as “coupled with,” “coupled to,” “connected with,” or “connected to” another element (e.g., a second element), the element may be coupled with the other element directly (e.g., wiredly), wirelessly, or via a third element.
As used herein, the term “module” may include a unit implemented in hardware, software, or firmware, or any combination thereof, and may interchangeably be used with other terms, for example, “logic,” “logic block,” “part,” or “circuitry”. A module may be a single integral component, or a minimum unit or part thereof, adapted to perform one or more functions. For example, according to an embodiment, the module may be implemented in a form of an application-specific integrated circuit (ASIC).
Referring to
The processor 120 may execute, for example, software (e.g., a program 140) to control at least one other component (e.g., a hardware or software component) of the electronic device 101 coupled with the processor 120, and may perform various data processing or computation. According to an embodiment, as at least part of the data processing or computation, the processor 120 may load a command or data received from another component (e.g., the sensor module 176 or the communication module 190) in volatile memory 132, process the command or the data stored in the volatile memory 132, and store resulting data in non-volatile memory 134. According to an embodiment, the processor 120 may include a main processor 121 (e.g., a central processing unit (CPU) or an application processor (AP)), and an auxiliary processor 123 (e.g., a graphics processing unit (GPU), an image signal processor (ISP), a sensor hub processor, or a communication processor (CP)) that is operable independently from, or in conjunction with, the main processor 121. Additionally or alternatively, the auxiliary processor 123 may be adapted to consume less power than the main processor 121, or to be specific to a specified function. The auxiliary processor 123 may be implemented as separate from, or as part of the main processor 121.
The auxiliary processor 123 may control at least some of functions or states related to at least one component (e.g., the display device 160, the sensor module 176, or the communication module 190) among the components of the electronic device 101, instead of the main processor 121 while the main processor 121 is in an inactive (e.g., sleep) state, or together with the main processor 121 while the main processor 121 is in an active state (e.g., executing an application). According to an embodiment, the auxiliary processor 123 (e.g., an image signal processor or a communication processor) may be implemented as part of another component (e.g., the camera module 180 or the communication module 190) functionally related to the auxiliary processor 123.
The memory 130 may store various data used by at least one component (e.g., the processor 120 or the sensor module 176) of the electronic device 101. The various data may include, for example, software (e.g., the program 140) and input data or output data for a command related thereto. The memory 130 may include the volatile memory 132 or the non-volatile memory 134.
The program 140 may be stored in the memory 130 as software, and may include, for example, an operating system (OS) 142, middleware 144, or an application 146.
The input device 150 may receive a command or data to be used by other component (e.g., the processor 120) of the electronic device 101, from the outside (e.g., a user) of the electronic device 101. The input device 150 may include, for example, a microphone, a mouse, or a keyboard.
The sound output device 155 may output sound signals to the outside of the electronic device 101. The sound output device 155 may include, for example, a speaker or a receiver. The speaker may be used for general purposes, such as playing multimedia or playing record, and the receiver may be used for an incoming calls. According to an embodiment, the receiver may be implemented as separate from, or as part of the speaker.
The display device 160 may visually provide information to the outside (e.g., a user) of the electronic device 101. The display device 160 may include, for example, a display, a hologram device, or a projector and control circuitry to control a corresponding one of the display, hologram device, and projector. According to an embodiment, the display device 160 may include touch circuitry adapted to detect a touch, or sensor circuitry (e.g., a pressure sensor) adapted to measure the intensity of force incurred by the touch.
The audio module 170 may convert a sound into an electrical signal and vice versa. According to an embodiment, the audio module 170 may obtain the sound via the input device 150, or output the sound via the sound output device 155 or a headphone of an external electronic device (e.g., an electronic device 102) directly (e.g., wiredly) or wirelessly coupled with the electronic device 101.
The sensor module 176 may detect an operational state (e.g., power or temperature) of the electronic device 101 or an environmental state (e.g., a state of a user) external to the electronic device 101, and then generate an electrical signal or data value corresponding to the detected state. According to an embodiment, the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, an atmospheric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an infrared (IR) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.
The interface 177 may support one or more specified protocols to be used for the electronic device 101 to be coupled with the external electronic device (e.g., the electronic device 102) directly (e.g., wiredly) or wirelessly. According to an embodiment, the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, a secure digital (SD) card interface, or an audio interface.
A connecting terminal 178 may include a connector via which the electronic device 101 may be physically connected with the external electronic device (e.g., the electronic device 102). According to an embodiment, the connecting terminal 178 may include, for example, a HDMI connector, a USB connector, a SD card connector, or an audio connector (e.g., a headphone connector),
The haptic module 179 may convert an electrical signal into a mechanical stimulus (e.g., a vibration or a movement) or electrical stimulus which may be recognized by a user via his tactile sensation or kinesthetic sensation. According to an embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electric stimulator.
The camera module 180 may capture a still image or moving images. According to an embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
The power management module 188 may manage power supplied to the electronic device 101. According to an example embodiment, the power management module 188 may be implemented as at least part of, for example, a power management integrated circuit (PMIC).
The battery 189 may supply power to at least one component of the electronic device 101. According to an embodiment, the battery 189 may include, for example, a primary cell which is not rechargeable, a secondary cell which is rechargeable, or a fuel cell.
The communication module 190 may support establishing a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device 101 and the external electronic device (e.g., the electronic device 102, the electronic device 104, or the server 108) and performing communication via the established communication channel. The communication module 190 may include one or more communication processors that are operable independently from the processor 120 (e.g., the application processor (AP)) and supports a direct (e.g., wired) communication or a wireless communication. According to an embodiment, the communication module 190 may include a wireless communication module 192 (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (e.g., a local area network (LAN) communication module or a power line communication (PLC) module). A corresponding one of these communication modules may communicate with the external electronic device via the first network 198 (e.g., a short-range communication network, such as Bluetooth™, wireless-fidelity (Wi-Fi) direct, or infrared data association (IrDA)) or the second network 199 (e.g., a long-range communication network, such as a cellular network, the Internet, or a computer network (e.g., LAN or wide area network (WAN)). These various types of communication modules may be implemented as a single component (e.g., a single chip), or may be implemented as multi components (e.g., multi chips) separate from each other. The wireless communication module 192 may identify and authenticate the electronic device 101 in a communication network, such as the first network 198 or the second network 199, using subscriber information (e.g., international mobile subscriber identity (IMSI)) stored in the subscriber identification module 196.
The antenna module 197 may transmit or receive a signal or power to or from the outside (e.g., the external electronic device) of the electronic device 101. According to an embodiment, the antenna module 197 may include one or more antennas, and, therefrom, at least one antenna appropriate for a communication scheme used in the communication network, such as the first network 198 or the second network 199, may be selected, for example, by the communication module 190 (e.g., the wireless communication module 192). The signal or the power may then be transmitted or received between the communication module 190 and the external electronic device via the selected at least one antenna.
At least some of the above-described components may be coupled mutually and communicate signals (e.g., commands or data) therebetween via an inter-peripheral communication scheme (e.g., a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)).
According to an embodiment, commands or data may be transmitted or received between the electronic device 101 and the external electronic device 104 via the server 108 coupled with the second network 199. Each of the electronic devices 102 and 104 may be a device of a same type as, or a different type, from the electronic device 101. According to an embodiment, all or some of operations to be executed at the electronic device 101 may be executed at one or more of the external electronic devices 102, 104, or 108. For example, if the electronic device 101 should perform a function or a service automatically, or in response to a request from a user or another device, the electronic device 101, instead of, or in addition to, executing the function or the service, may request the one or more external electronic devices to perform at least part of the function or the service. The one or more external electronic devices receiving the request may perform the at least part of the function or the service requested, or an additional function or an additional service related to the request, and transfer an outcome of the performing to the electronic device 101. The electronic device 101 may provide the outcome, with or without further processing of the outcome, as at least part of a reply to the request. To that end, a cloud computing, distributed computing, or client-server computing technology may be used, for example.
Various embodiments as set forth herein may be implemented as software (e.g., the program 140) including one or more instructions that are stored in a storage medium (e.g., internal memory 136 or external memory 138) that is readable by a machine (e.g., the electronic device 101). For example, a processor (e.g., the processor 120) of the machine (e.g., the electronic device 101) may invoke at least one of the one or more instructions stored in the storage medium, and execute it, with or without using one or more other components under the control of the processor. This allows the machine to be operated to perform at least one function according to the at least one instruction invoked. The one or more instructions may include a code generated by a complier or a code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Wherein, the “non-transitory” storage medium is a tangible device, and may not include a signal (e.g., an electromagnetic wave), but this term does not differentiate between where data is semi-permanently stored in the storage medium and where the data is temporarily stored in the storage medium.
According to an embodiment, a method according to various embodiments of the disclosure may be included and provided in a computer program product. The computer program product may be traded as a product between a seller and a buyer. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., compact disc read only memory (CD-ROM)), or be distributed (e.g., downloaded or uploaded) online via an application store (e.g., Play Store™), or between two user devices (e.g., smart phones) directly. If distributed online, at least part of the computer program product may be temporarily generated or at least temporarily stored in the machine-readable storage medium, such as memory of the manufacturer's server, a server of the application store, or a relay server.
According to various embodiments, each component (e.g., a module or a program) of the above-described components may include a single entity or multiple entities. According to various embodiments, one or more of the above-described components may be omitted, or one or more other components may be added. Alternatively or additionally, a plurality of components (e.g., modules or programs) may be integrated into a single component. In such a case, according to various embodiments, the integrated component may still perform one or more functions of each of the plurality of components in the same or similar manner as they are performed by a corresponding one of the plurality of components before the integration. According to various embodiments, operations performed by the module, the program, or another component may be carried out sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations may be executed in a different order or omitted, or one or more other operations may be added.
An electronic device (e.g., the electronic device 101 in
The processor may be configured to: when speech is included in the user image, extract the speech included in the user image; convert the extracted speech into text; and verify the user image, based on whether the converted text matches the expression.
The processor may be configured to: detect the movement of a mouth included in the user image when speech is not included in the user image; recognize a word or a sentence corresponding to the detected movement of the mouth; and verify the user image, based on whether the recognized word or sentence matches the expression.
The processor may be configured to use the user image as a personalized lip reading model corresponding to the expression when a word or sentence recognized from the user image is identical to the expression.
The processor may be configured to: when a word or sentence recognized from the user image is not identical to the expression, provide a user interface including the recognized word or sentence; and store the user image in the memory as an image which is to be used, based on a user's selection, as a personalized lip reading model corresponding to the recognized word or sentence.
The processor may be configured to: receive, from the user, a request to correct the recognized word or sentence; and store the user image in the memory as an image which is to be used as a personalized lip reading model corresponding to the word or sentence corrected by the correction request.
The processor may be configured to provide a user interface including an expression different from the expression when a word or sentence recognized from the user image is not identical to the expression.
An electronic device (e.g., the electronic device 101 in
The processor may be configured to provide the image list, based on a file extension or a reproduction time of each of images stored in the memory.
The processor may be configured to: determine whether the selected image is usable as the personalized lip reading model; and request image reselection when it is determined that the selected image is not usable as the personalized lip reading model.
The processor may be configured to: recognize a face from the selected image; determine whether the recognized face corresponds to a user registered in the electronic device; and output an error message when it is determined that the recognized face does not correspond to the user registered in the electronic device.
The processor may be configured to: recognize faces from the selected image; and output an error message when the number of recognized faces is equal to or greater than two.
The processor may be configured to: recognize faces from the selected image; and, when the number of recognized faces is equal to or greater than two, recognize a user registered in the electronic device from among the two or more faces; recognize a word or a sentence, based on the shape of the mouth of the recognized user; and perform a lip reading model usage process for the recognized word or sentence.
The processor may be configured to: detect a lip reading usage section from the selected image; convert speech extracted from the detected lip reading usage section into text; provide a user interface including the converted text; and store the selected image in the memory as an image which is to be used as the personalized lip reading model, based on a user's selection.
The processor may be configured to: receive a registration request from the user when the converted text corresponds to an expression intended by the user; and use, based on the registration request, the selected image as a personalized lip reading model corresponding to the converted text.
The processor may be configured to include an image related to a video call in the image list, based on the configuration of the electronic device or a user's selection.
Referring to
According to various embodiments, the processor 120 may provide a user interface for generating a personalized lip reading model. A method for generating a personalized lip reading model may use an image pre-stored in the electronic device 101, or may use an image newly acquired from a user. In
In operation 203, the processor 120 may acquire a user image associated with the expression. The processor 120 may drive (or activate) a camera (e.g., the camera module 180 in
According to various embodiments, the processor 120 may adjust the image-capturing mode of the camera module 180 in order to use a user image acquired from the camera module 180 as a personalized lip reading model. For example, when the user image is very dark or bright due to the influence of ambient brightness, it is difficult to use the user image as a personalized lip reading model, and thus the processor 120 may adjust the image-capturing mode of the camera module 180. The processor 120 may detect the brightness of a user image, may determine whether the detected brightness corresponds to a preset image-capturing state, and, when the detected brightness does not correspond to the preset image-capturing state, may adjust the image-capturing mode of the camera module 180. Alternatively, the processor 120 may adjust the magnitude of an audio signal acquired from the input device 150. For example, when the magnitude of an audio signal is large and thus an echo occurs, speech recognition is difficult, and thus the processor 120 may adjust the magnitude of the signal received from the input device 150. Alternatively, when noise (e.g., ambient noise) that has a value equal to or greater than a reference value is detected in the audio signal acquired from the input device 150, speech recognition is difficult, and thus the processor 120 may request a user to capture an image in a quiet place.
According to various embodiments, the processor 120 may analyze the audio signal or the video signal to determine whether the user ends utterance. The processor 120 may determine whether utterance is ended, by determining whether an audio signal is detected from the input device 150 after an expression utterance time (e.g., 3 seconds, 5 seconds, or 10 seconds) passes. The expression utterance time may vary depending on the expression provided in the user interface. For example, the processor 120 may adjust the expression utterance time according to the number of syllables. The processor 120 may determine whether utterance is ended, by determining whether movement is detected in a video signal received from the camera module 180 after the expression utterance time passes. The movement of the video signal may refer to a change in the shape of a user's face, lips or mouth. When it is determined that the user has ended utterance, the processor 120 may stop driving the camera module 180 and the input device 150 and acquire a user image. According to various embodiments, the processor 120 may determine whether the user's face included in the video signal corresponds to a user registered in the electronic device 101. The processor 120 may perform operation 205 when the user's face included in the video signal corresponds to a user registered in the electronic device 101.
In operation 205, the processor 120 may analyze whether speech is included in a user image. The processor 120 may remove noise (e.g., ambient noise) from the user image, and may determine whether speech of a user that utters the expression is included in the user image from which the noise is removed. The user may read the expression provided in operation 201 out loud or silently. Alternatively, the user may read the expression in a quiet voice. If the user reads in a quiet voice, the user's speech may be removed when removing the noise. Alternatively, when the user reads in a quiet voice, the sound may not be loud enough to recognize the speech (e.g., having a value equal to or greater than a reference value). The processor 120 may determine whether user speech having a value equal to or greater than a reference value is detected from the user image, and when user speech having a value equal to or greater than the reference value is detected, may determine that speech is included in the user image. The processor 120 may determine that speech is not included in the user image when user speech that has a value equal to or smaller than the reference value is detected from the user image. The technology for determining whether user speech is included in an image corresponds to the prior art, and thus a detailed description thereof may be omitted.
According to various embodiments, the processor 120 may determine whether an audio signal (e.g., user speech acquired from a microphone) is detected in the user image. According to various embodiments, when user speech is included in the audio signal, the processor 120 may determine whether the user speech corresponds to a user registered in the electronic device 101. The processor 120 may perform operation 207 when the user speech included in the audio signal corresponds to a user registered in the electronic device 101.
In operation 207, the processor 120 may perform an image verification process according to whether speech is included. For example, when speech is included in the user image, the processor 120 may perform a verification process (e.g., a speech verification process) on the image including the speech. The speech verification process may be a process of extracting the speech included in the user image, converting the extracted speech into text by using automatic speech recognition (ASR) technology, and determining whether the converted text matches the expression. According to various embodiments, the processor 120 may determine whether the user speech included in the audio signal corresponds to a user registered in the electronic device 101, and may perform a speech verification process when the user speech corresponds to a registered user. When speech is not included in the user image, the processor 120 may perform a verification process (e.g., a lip verification process) on the image that does not include the speech. The lip verification process may be a process of detecting movement of a mouth included in the user image, converting the detected movement of the mouth (e.g., a change in mouth shape) into text corresponding to the detected movement of the mouth by using lip recognizer technology, and verifying whether the converted text matches the expression.
In operation 209, the processor 120 may use the user image as a personalized lip reading model. When the converted text matches the expression, the processor 120 may use the user image as the personalized lip reading model (or a personalized lip reading learning model). The processor 120 may store the user image in a database for the personalized lip reading model (e.g., the memory 130 in
According to various embodiments, the processor 120 may transmit, based on a setting in the electronic device 101 or user input, the user image to a server (e.g., the server 108 in
According to various embodiments, the processor 120 may synchronize the time sequence of a mouth movement section with converted text in the user image. The synchronization may refer to matching the mouth movement section with the converted text.
Referring to
According to various embodiments, the processor 120 may provide a second user interface 320 when “directly learn” 313 is selected in the first user interface 310. The second user interface 320 may include a guide message 321 and a start button 323. The guide message 321 may provide a user action guide in order to acquire an image necessary for learning a personalized lip reading model. For example, the guide message 321 may be a message making a request for reading a provided expression while looking at a camera frontally. The processor 120 may provide a third user interface 330 when the start button 323 is selected in the second user interface 320. When the start button 323 is selected, the processor 120 may drive a camera (e.g., the camera module 180 in
Referring to
According to various embodiments, the processor 120 may provide the fifth user interface 360 when text converted using the lip verification process does not match the expression. The fifth user interface 360 may include a guide message 361 including the converted text, a registration button (YES) 363, and a cancel button (NO) 365. The guide message 361 may include: text (e.g., “Goot morning”) converted using the lip verification process; and a message confirming whether to register the converted text as a mouth shape. When the registration button 363 is selected, the processor 120 may register, as a personalized lip reading model, a mouth shape which is extracted from the user image 333 and corresponds to the converted text or displayed expression. Alternatively, when the cancel button 365 is selected, the processor 120 may provide any one of the first user interface 310, the second user interface 320, or the third user interface 330. When the registration button 363 is selected, the processor 120 may register a mouth shape corresponding to the converted text as a personalized lip reading model, and when the cancel button 365 is selected, the processor 120 may provide the third user interface 330. Alternatively, when the registration button 363 is selected, the processor 120 may register a mouth shape corresponding to the displayed expression as a personalized lip reading model, and when the cancel button 365 is selected, the processor 120 may provide the first user interface 310.
According to various embodiments, the processor 120 may provide the sixth user interface 370 when text converted using a speech verification process does not match the expression. The sixth user interface 370 may include a guide message 371 including the converted text, a registration button (YES) 373, and a cancel button (NO) 375. The guide message 371 may include: text (e.g., “God morning”) converted using a speech verification process; and a message confirming whether to register the converted text as a mouth shape. When the registration button 373 is selected, the processor 120 may register, as a personalized lip reading model, a mouth shape corresponding to the converted text or displayed expression. When the cancel button 375 is selected, the processor 120 may provide any one of the first user interface 310, the second user interface 320, or the third user interface 330.
According to various embodiments, since there may be an error in speech recognition, when the registration button 363 is selected, the processor 120 may provide a user interface in which the user corrects the converted text. The user may correct the converted text through the user interface, and the processor 120 may register a mouth shape corresponding to the corrected text as a personalized lip reading model.
Referring to
According to various embodiments, when a user's mouth region is not recognized from the user image, the processor 120 may determine that the selected image is not usable as a personalized lip reading model. When it is determined that the selected image is not usable as a personalized lip reading model, the processor 120 may request user image recapturing.
In operation 403, the processor 120 may analyze a mouth shape in the user image to recognize a word or sentence corresponding to the mouth shape. The processor 120 may analyze a feature point in the user image to detect a facial region including eyes, a nose, and a mouth, may detect the movement of the mouth in the detected facial region, and may recognize a word or sentence corresponding to the detected movement of the mouth. The processor 120 may recognize an uttered sentence or word, uttered by the user and corresponding to movement of the mouth, by using lip recognition technology (e.g., a typical lip reading model stored in the memory 130). According to various embodiments, the processor 120 may recognize a word or sentence corresponding to a mouth shape in conjunction with the server 108. For example, the processor 120 may transmit a user image to the server 108 and receive a word or sentence corresponding to a mouth shape from the server 108.
In operation 405, the processor 120 may determine whether the recognized word or sentence is the same as a displayed expression. The displayed expression may be displayed on a display (e.g., the display device 160) when a user image is acquired. The processor 120 may perform operation 407 when the recognized word or sentence is the same as the displayed expression (YES), and may perform operation 409 when the recognized word or sentence is not the same as the displayed expression (NO).
When the recognized word or sentence is the same as the displayed expression (YES), in operation 407, the processor 120 may use the user image as a personalized lip reading model. In operation 407, the processor 120 may provide the fourth user interface 350 in
When the recognized word or sentence is not the same as the displayed expression (NO), in operation 409, the processor 120 may provide a user interface including the recognized word or sentence. The recognized word or sentence may be different from the displayed expression, but may have been intentionally spoken by the user differently from the displayed expression. Even when the user intentionally speaks differently from the displayed expression, the processor 120 may provide the fifth user interface 360 in
In operation 411, the processor 120 may determine whether there is a request from the user to use the recognized word or sentence as a personalized lip reading model. The user may request that the recognized word or sentence be used as a personalized lip reading model when the recognized word or sentence is different from the displayed expression but corresponds to the shape of his/her mouth. When the registration button 363 is selected while the fifth user interface 360 is displayed, the processor 120 may determine that there is a request to use the recognized word or sentence as a personalized lip reading model (e.g., that usage is allowed). When the cancel button 365 is selected while the fifth user interface 360 is displayed, the processor 120 may determine that there is no request to use the recognized word or sentence as a personalized lip reading model (e.g., that usage is not allowed). The processor 120 may perform operation 415 when there is a request to use the recognized word or sentence as a personalized lip reading model (YES), and may perform operation 413 when there is no request to use the recognized word or sentence as a personalized lip reading model (NO).
When there is no request to use the recognized word or sentence as a personalized lip reading model (NO), in operation 413, the processor 120 may request an additional utterance for another expression. The processor 120 may provide a user interface including an expression different from an expression provided when acquiring the user image. The processor 120 may use the user image as a personalized lip reading model by performing operations 201 to 209 in
When there is a request to use the recognized word or sentence as a personalized lip reading model (YES), in operation 415, the processor 120 may use the recognized word or sentence as the personalized lip reading model corresponding thereto. The processor 120 may store the user image in a database for a personalized lip reading model corresponding to the recognized word or sentence. According to various embodiments, the processor 120 may transmit, based on a setting in the electronic device 101 or user input, the user image to the server 108 associated with the typical lip reading model.
Referring to
According to various embodiments, when the user's mouth region is not recognized in the user image, the processor 120 may determine that the selected image is not usable as a personalized lip reading model. When it is determined that the selected image is not usable as a personalized lip reading model, the processor 120 may request user image recapturing.
In operation 503, the processor 120 may convert text corresponding to the speech. The processor 120 may convert the extracted speech into text by using automatic speech recognition (ASR) technology. According to various embodiments, the processor 120 may convert the speech to text corresponding thereto in conjunction with the server 108 or by using the ASR inside the electronic device 101. For example, the processor 120 may transmit a user image to the server 108, and may receive text corresponding to speech extracted from the user image from the server 108.
In operation 505, the processor 120 may determine whether the converted text is the same as a displayed expression. The displayed expression may be displayed on a display (e.g., the display device 160) when a user image is acquired. The processor 120 may perform operation 507 when the converted text is the same as the displayed expression (YES), and may perform operation 509 when the converted text is not the same as the displayed expression (NO).
When the converted text is the same as the displayed expression (YES), in operation 507, the processor 120 may use the user image as a personalized lip reading model. The processor 120 may store the user image in a database for the personalized lip reading model (e.g., the memory 130 in
When the converted text is not the same as the displayed expression (NO), in operation 509, the processor 120 may provide a user interface including the converted text. The converted text may be different from the displayed expression, but may have been intentionally spoken by the user differently from the displayed expression. The processor 120 may provide the fifth user interface 360 in
In operation 511, the processor 120 may determine whether there is a request from the user to use the converted text as a personalized lip reading model. The processor 120 may perform operation 515 when there is a request to use the converted text as a personalized lip reading model (YES), and may perform operation 513 when there is no request to use the converted text as a personalized lip reading model (NO). Since operation 511 is the same as or similar to operation 411 in
When there is no request to use the converted text as a personalized lip reading model (NO), in operation 513, the processor 120 may request additional utterance of another expression. The processor 120 may provide a user interface including an expression different from an expression provided when acquiring the user image. According to various embodiments, when there is no request to use the converted text as a personalized lip reading model, the processor 120 may provide the first user interface 310 in
When there is a request to use the converted text as a personalized lip reading model (YES), in operation 515, the processor 120 may use a word or sentence corresponding to the converted text as a personalized lip reading model. The processor 120 may store the user image in a database for a personalized lip reading model corresponding to a recognized word or sentence. Since operation 515 is the same as or similar to operation 415 in
Referring to
In operation 603, the processor 120 may provide an image list including at least one image. The image list may include images stored in a memory (e.g., the memory 130 in
In operation 605, the processor 120 may receive selection of an image. The processor 120 may receive, from a user, selection of any one image in the image list. When more than one image is selected, the processor 120 may sequentially perform operations 607 and 609 for each image.
According to various embodiments, the processor 120 may determine whether the selected image is usable as a personalized lip reading model. For example, when a selected image is very dark or bright, it is difficult to use the selected image as a personalized lip reading model, and thus the processor 120 may request the user to reselect an image. When at least two faces are detected from a selected image, it is difficult to use the selected image as a personalized lip reading model, and thus the processor 120 may request the user to reselect an image. When noise (e.g., ambient noise) that has a value equal to or greater than a reference value is detected in a selected image, speech recognition is difficult, and thus the processor 120 may request the user to reselect an image. The processor 120 may selectively request image reselection depending on whether lip recognition is possible in an image in which noise having a value equal to or greater than the reference value is detected. The processor 120 may not request image reselection when lip recognition is possible, and may request image reselection when lip recognition is not possible.
In operation 607, the processor 120 may perform an image verification process for the selected image. The processor 120 may detect whether speech is included in the selected image. When speech is included in the selected image, the processor 120 may perform a verification process (e.g., a speech verification process) for the image including the speech. The speech verification process may be a process of extracting speech included in the selected image, converting the extracted speech into text by using automatic speech recognition (ASR) technology, and verifying whether the converted text is an expression uttered in the selected image. When speech is not included in the selected image, the processor 120 may perform a verification process (e.g., a lip verification process) for the image that does not include the speech. The lip verification process may be a process of detecting the movement of a mouth included in the selected image, recognizing a word or sentence corresponding to the detected movement of the mouth (e.g., a mouth shape change) by using lip recognition technology, and verifying whether the recognized word or sentence is an expression intended by the user in the selected image.
In operation 609, the processor 120 may use the selected image as a personalized lip reading model. When the converted text (e.g., at the time of performing a speech verification process) matches the expression uttered in the selected image, or when the recognized word or sentence (e.g., at the time of performing the lip verification process) matches the expression intended by the user in the selected image, the processor 120 may use the user image or a partial image (a partial image including a lip) of the user image as the personalized lip reading model (or personalized lip reading learning model). The processor 120 may store the selected image in the memory 130. The user image may be used to learn a personalized lip reading model with respect to a mouth shape and a word or sentence corresponding to the mouth shape. According to various embodiments, the processor 120 may transmit, based on user input or a setting in the electronic device 101, the selected image to a server (e.g., the server 108 in
Referring to
According to various embodiments, the processor 120 may provide a second user interface 720 when “find my image” 711 is selected in the first user interface 710. The second user interface 720 may include an image list 721. The image list 721 may include at least one image stored in a memory (e.g., the memory 130 in
According to various embodiments, the third user interface 730 may include a message 731 indicating that an image verification process is being performed on the selected image, a stop button 733, and a cancel button 735. The processor 120 may determine whether speech is included in the selected image, and may perform an image verification process (e.g., a speech verification process or a lip verification process) depending on whether speech is included. When the stop button 733 is selected, the processor 120 may stop the image verification process and provide the second user interface 720. When the stop button 733 is selected, the processor 120 may provide the second user interface 720 including an image list for image reselection. When the cancel button 735 is selected, the processor 120 may stop the image verification process and provide the first user interface 710. When the cancel button 735 is selected, the processor 730 may return to the initial screen of an application (e.g., the first user interface 710).
According to various embodiments, the processor 120 may provide a fourth user interface 740, based on the result of verification in the image verification process. The fourth user interface 740 may include a guide message 741 including converted text, a confirmation button (YES) 743, and a cancel button (NO) 745. The processor 120 may provide the fourth user interface 740 in order to check whether the converted text is an expression intended (or uttered) by the user in the selected image. When the confirmation button 743 is selected, the processor 120 may use the selected image as a lip reading model corresponding to the converted text. When the cancel button 745 is selected, the processor 120 may provide the first user interface 710 or the second user interface 720.
Referring to
In operation 803, the processor 120 may recognize a face included in the selected image. The processor 120 may extract a feature point from the selected image, and may detect a facial region including eyes, a nose, and a mouth by using the extracted feature point. When a facial region is not detected in the selected image, the processor 120 may request image reselection. According to various embodiments, the processor 120 may determine whether the selected image is usable as a personalized lip reading model. When it is determined that the selected image is not usable as a personalized lip reading model, the processor 120 may request the user to reselect an image. For example, when the selected image is too dark or bright, it is difficult to use the selected image as a personalized lip reading model, and thus the processor 120 may request the user to reselect an image.
In operation 805, the processor 120 may determine whether the recognized face corresponds to a registered user. In the electronic device 101, information about a user of the electronic device 101 may be registered in the electronic device (e.g., may be stored in the memory 130) in advance. The information about the user may include at least one of a name, a phone number, an address, or the user's face. The processor 120 may determine whether the recognized face corresponds to a user registered in the electronic device 101. The personalized lip reading model is designed to generate a learning model for an individual user, and when the recognized face does not correspond to a registered user, the selected image may not be used as a personalized lip reading model. The processor 120 may perform operation 807 when the recognized face corresponds to a user registered in the electronic device 101 (YES), and may perform operation 817 when the recognized face does not correspond to a registered user (NO).
When the recognized face corresponds to a registered user (YES), in operation 807, the processor 120 may detect whether there are two or more recognized faces. When the number of people included in the selected image is two or more, it may be difficult to perform the image verification process, or the image verification process may be different. The processor 120 may perform operation 817 when two or more people are detected in the selected image (YES), and may perform operation 809 when two or more people are not detected in the selected image (NO).
In
When two or more people are not detected in the selected image (NO), in operation 809, the processor 120 may detect a lip reading usage section. The lip reading usage section may include all or part of the selected image. The processor 120 may determine that the section, in which the movement of a mouth is detected in the facial region of the selected image and in which the detection time of the movement of the mouth is equal to or longer than a reference time (e.g., 5 seconds or 10 seconds), is a lip reading usage section. The processor 120 may perform operations 811 to 815 in the entire section of the selected image, but may perform operations 811 to 815 in the lip reading usage section in order to reduce a load on the processor 120.
In operation 811, the processor 120 may recognize a word or a sentence from the lip reading usage section. For example, when the speech is included in the lip reading usage section, the processor 120 may extract the speech included in the lip reading usage section, and may convert the extracted speech into text by using automatic speech recognition (ASR) technology, thereby recognizing the word or the sentence. When the speech is not included in the lip reading usage section, the processor 120 may detect movement of the mouth included in the lip reading usage section, and may recognize a word or sentence corresponding to the detected movement of the mouth (e.g., a change in mouth shape) by using lip recognition technology.
In operation 813, the processor 120 may provide a user interface including the recognized word or sentence. The processor 120 may display the user interface on a display (e.g., the display device 160) in order to determine whether the recognized word or sentence is an expression intended (or uttered) by the user in the lip reading usage section. For example, the user interface may include the fifth user interface 360 or the sixth user interface 370 in
In operation 815, the processor 120 may use the selected image as a personalized lip reading model corresponding to the recognized word or sentence. The processor 120 may register the recognized word or sentence as a personalized lip reading model corresponding to a mouth shape. The processor 120 may store the selected image in a database for the personalized lip reading model (e.g., the memory 130 in
When the recognized face does not correspond to a registered user (NO) or when two or more people are detected in the selected image (YES), the processor 120 may output an error message in operation 817. The selected image is used to generate a personalized lip reading model. When the selected image is difficult to use as a personalized lip reading model, the processor 120 may output the error message. For example, the error message may include a message requesting image reselection. When the recognized face does not correspond to a registered user, the processor 120 may include, in the error message, a guide message to select an image that includes the registered user. When two or more people are detected in the selected image, the processor 120 may include, in the error message, a guide message to select an image that includes one registered user.
Referring to
In operation 903, the processor 120 may detect a user's lip reading usage section. The lip reading usage section may include all or part of the selected image. The processor 120 may determine that a section, in which the movement of the recognized user's mouth is detected in the selected image and in which the detection time of the movement of the mouth is equal to or longer than a reference time (e.g., 5 seconds or 10 seconds), is the lip reading usage section. Since operation 903 is the same as or similar to operation 809, a detailed description thereof may be omitted.
In operation 905, the processor 120 may determine whether a lip reading usage section is detected in the selected image. The processor 120 may detect whether there is a section in which the movement of the recognized user's mouth is detected in the selected image for a time equal to or longer than the reference time. The processor 120 may perform operation 907 when the lip reading usage section is detected (YES), and may perform operation 909 when the lip reading usage section is not detected (NO).
When the lip reading usage section is detected (YES), in operation 907, the processor 120 may perform a lip reading model usage process according to a word or a sentence. The lip reading use process may be a process of: recognizing a word or sentence corresponding to the shape of the recognized user's mouth from the lip reading usage section; and using the selected image as a personalized lip reading model, based on whether the recognized word or sentence is the same as an expression intended (or uttered) by the recognized user. The lip reading use process may include operations 811 to 815 in
According to various embodiments, the processor 120 may extract speech from the lip reading usage section, and may convert text, based on the extracted speech. Alternatively, the processor 120 may detect movement of the mouth from the lip reading usage section, and may recognize a word or sentence corresponding to the detected movement of the mouth.
When the lip reading usage section is not detected (NO), the processor 120 may output an error message in operation 909. For example, the error message may include a message requesting image reselection. The processor 120 may include, in the error message, a guide message to select an image including one registered user. Since operation 909 is the same as or similar to operation 817, a detailed description thereof may be omitted.
Referring to
According to various embodiments, the processor 120 may store the execution screen in a memory (e.g., the memory 130 in
In operation 1003, the processor 120 may recognize a mouth shape and speech from the video call. The processor 120 may recognize a mouth shape from the execution screen or the user image, and may recognize speech by using an audio signal acquired from a microphone (e.g., the input device 150 in
In operation 1005, the processor 120 may determine whether the video call is usable as a personalized lip reading model. According to various embodiments, the processor 120 may determine whether the video call is usable as a personalized lip reading model, based on at least one of whether a user registered in the electronic device 101 is included in the video call, whether two or more people are included in the video call, and an image-capturing state. For example, the processor 120 may determine whether the user whose speech is recognized is the registered user, and may determine that the video call is usable as a personalized lip reading model when it is determined that the user whose speech is recognized is the registered user. Alternatively, the processor 120 may extract a feature point from a user image acquired from the camera module 180, and may determine, based on the extracted feature point, whether the user whose speech is recognized is the registered user. The processor 120 may extract a feature point from a user image acquired from the camera module 180, and when the facial region of one person is detected based on the extracted feature point, may determine that the video call is usable as a personalized lip reading model.
According to various embodiments, the image-capturing state may include whether the brightness of a user image acquired from the camera module 180 falls within a predetermined range or whether detected noise (e.g., ambient noise) of an audio signal acquired from a microphone (e.g., the input device 150 in
According to various embodiments, when the video call is not usable as a personalized lip reading model (NO), the processor 120 may inform the user that the video call is not usable as a personalized lip reading model.
When the video call is usable as a lip reading model (YES), in operation 1007, the processor 120 may output guidance information for using the video call as a personalized lip reading model. The processor 120 may include the guidance information in the execution screen of an application associated with the video call. The guidance information may be displayed as text or an image. For example, the guidance information may include an icon-type guide image or a guide message indicating that a video call can be recorded.
In operation 1009, the processor 120 may record (or store) a video call. When the output guide image is selected, the processor 120 may record the video call. According to various embodiments, the processor 120 may store an execution screen of an application associated with the video call or a user image in the memory 130. The processor 120 may store the entire image of the video call or a partial image thereof usable as a personalized lip reading model. The recorded image may be included in the image list provided in operation 603 shown in
In operation 1011, the processor 120 may detect whether the video call is terminated. When an end button is selected on the execution screen or when a request for call termination is made by a counterpart electronic device, the processor 120 may determine that the video call is terminated. When video call termination is detected, the processor 120 may stop driving the camera module 180 or the sound output device 155.
In operation 1013, when the video call is terminated, the processor 120 may analyze the recorded video. Different processes may be performed depending on whether the recorded video includes speech. When the recorded video includes speech, the processor 120 may extract the speech included in the recorded video, may convert the extracted speech into text by using automatic speech recognition (ASR) technology, and may acquire a word or sentence corresponding to the converted text. Alternatively, when speech is not included in the recorded image, the processor 120 may detect movement of a mouth included in the recorded image, and may recognize a word or sentence corresponding to the detected movement of the mouth by using lip recognition technology.
In operation 1015, the processor 120 may provide a user interface including the word or sentence. The processor 120 may display the user interface on a display (e.g., the display device 160) in order to determine whether the recognized (or acquired) word or sentence is an expression intended (or uttered) by the user. For example, the user interface may include the fifth user interface 360 or the sixth user interface 370 in
In operation 1017, the processor 120 may use a personalized lip reading model corresponding to the word or sentence. The processor 120 may register the word or sentence as a personalized lip reading model corresponding to the mouth shape. The processor 120 may store the recorded image in a database for the personalized lip reading model (e.g., the memory 130 in
Referring to
According to various embodiments, the processor 120 may store the first user interface 1110 or the user image 1105 in a memory (e.g., the memory 130 in
According to various embodiments, the processor 120 may provide a second user interface 1120 in relation to a video call. The second user interface 1120 may include a user image including a first user 1121 and a second user 1123. When two people are included in the user image, the processor 120 may not store the second user interface 1120 or the user image including two people. Alternatively, when one of the first user 1121 or the second user 1123 is a user registered in the electronic device 101, the processor 120 may detect a lip reading usage section and store the detected lip reading usage section.
Referring to
In operation 1203, the processor 120 may drive (or activate) a camera (e.g., the camera module 180 in
In operation 1205, the processor 120 may determine whether movement of a mouth is detected in the user image. The processor 120 may extract a feature point from the user image, may recognize a facial region by using the extracted feature point, and may detect the movement of the mouth from the recognized facial region. The processor 120 may perform operation 1207 when movement of the mouth is detected (YES), and may perform operation 1221 when movement of the mouth is not detected (NO).
When the movement of the mouth is detected (YES), in operation 1207, the processor 120 may output guidance information for personalized lip reading model usage. The processor 120 may include the guidance information in an execution screen of an application associated with an integrated intelligence system call. The guidance information may be displayed as text or an image. For example, the guidance information may include an icon-type guide image or a guide message indicating that a user image can be recorded.
In operation 1209, the processor 120 may recognize speech, and may record the user image. The processor 120 may acquire speech received after the preset wake-up word, and may recognize the acquired speech. The processor 120 may interwork with a speech recognition server (e.g., the server 108) in order to perform speech recognition. According to various embodiments, the processor 120 may record the user image, based on a setting in the electronic device 101 or user selection. When the electronic device 101 is set to “automatically store during a speech call”, the processor 120 may record the user image. When the guide image is selected, the processor 120 may record the user image.
In operation 1211, the processor 120 may provide a service corresponding to recording termination and the recognized speech. The processor 120 may transmit the speech acquired from the input device 150 to the speech recognition server (e.g., the server 108), and may receive an instruction corresponding to the speech from the server 108. The processor 120 may provide, based on the received instruction, a service corresponding to the recognized speech. For example, the processor 120 may play song XX in response to the speech “play song XX”. When speech is not acquired from the input device 150, the processor 120 may stop driving the camera module 180, and may terminate recording (or storage) of the user image.
In operation 1213, the processor 120 may analyze the recorded image. The processor 120 may extract speech included in the recorded user image, may convert the extracted speech into text by using automatic speech recognition (ASR) technology, and may acquire a word or sentence from the converted text. In addition, the processor 120 may detect movement of the mouth included in the recorded user image, and may recognize a word or sentence corresponding to the detected movement of the mouth by using lip recognition technology. According to various embodiments, the processor 120 may synchronize the time sequence of a mouth movement section with the word or sentence recognized (or acquired) in the user image. The synchronization may refer to matching a mouth movement section with a recognized word or sentence.
In operation 1215, the processor 120 may determine whether the recorded user image is usable as a personalized lip reading model. According to various embodiments, the processor 120 may determine whether the user image is usable as a personalized lip reading model, based on at least one of whether two or more people are included in the user image, an image-capturing state, and an image length. When the user image is long to be reproducible for a reference time or more, the processor 120 may determine that the user image is usable as a personalized lip reading model. Since operation 1215 is the same as or similar to operation 1005, a detailed description thereof may be omitted. The processor 120 may perform operation 1217 when the user image is usable as a personalized lip reading model (YES), and may perform operation 1227 when the user image is not usable as a personalized lip reading model (NO).
When the user image is usable as a personalized lip reading model (YES), in operation 1217, the processor 120 may provide a user interface including the word or sentence. The processor 120 may display the user interface on a display (e.g., the display device 160) in order to determine whether the word or sentence is an expression intended (or uttered) by the user in the lip reading usage section. Since operation 1217 is the same as or similar to operation 813, a detailed description thereof may be omitted.
In operation 1219, the processor 120 may use a personalized lip reading model corresponding to the recognized word or sentence. The processor 120 may register the recognized word or sentence as a personalized lip reading model corresponding to a mouth shape. The processor 120 may store the recorded image in a database for the personalized lip reading model (e.g., the memory 130 in
When the movement of the mouth is not detected (NO), the processor 120 may stop driving the camera in operation 1221. The processor 120 may drive the camera module 180 to acquire a user image, but may stop driving the camera module 180 when movement of the mouth is not detected in the acquired user image.
In operation 1223, the processor 120 may recognize speech. The processor 120 may acquire speech received after the preset wake-up word, and may recognize the acquired speech. The processor 120 may interwork with the speech recognition server (e.g., the server 108) in order to perform speech recognition.
In operation 1225, the processor 120 may provide a service corresponding to the recognized speech. The processor 120 may transmit the speech acquired from the input device 150 to the server 108, and may receive an instruction corresponding to the speech from the server 108. The processor 120 may provide, based on the received instruction, a service corresponding to the recognized speech. The processor 120 may end the operation after providing the service. Alternatively, after providing the service, the processor 120 may activate the input device 150 to detect whether a preset wake-up word is received.
When the user image is not usable as a personalized lip reading model (NO), the processor 120 may delete the recorded user image in operation 1227. The processor 120 may not store the recorded user image in the memory 130.
Referring to
An operation method of an electronic device according to various embodiments of the disclosure may include: driving a camera of the electronic device in response to a speech call; determining whether movement of a mouth is detected in a user image received from the driven camera; recording the user image when the movement of the mouth is detected in the user image; providing a service corresponding to speech received during the speech call; and using the recorded user image as a personalized lip reading model.
The method may further include outputting guidance information for using the user image as the personalized lip reading model when movement of the mouth is detected in the user image.
The method may further include stopping the driving of the camera when movement of the mouth is not detected in the user image.
The method may include: determining whether the recorded user image is usable as the personalized lip reading model; when the recorded user image is usable as the personalized lip reading model on the basis of the determination result, storing the recorded user image in a memory of the electronic device as the personalized lip reading model corresponding to a word or sentence recognized from the recorded user image; and deleting the recorded user image when the recorded user image is not usable as the personalized lip reading model on the basis of the determination result.
The various embodiments of the disclosure, disclosed in the specification and drawings, are merely specific examples provided to easily explain the technical content of the disclosure and to help understand the disclosure, and are not intended to limit the scope of the disclosure. Therefore, it should be construed that all modifications or modified forms capable of being derived from the technical spirit of the disclosure, in addition to the embodiments disclosed herein, fall within the scope of the disclosure.
Number | Date | Country | Kind |
---|---|---|---|
10-2018-0140812 | Nov 2018 | KR | national |
This application is a 371 of International Application No. PCT/KR2019/012775 filed on Sep. 30, 2019, which claims priority to Korean Patent Application No. 10-2018-0140812 filed on Nov. 15, 2018, the disclosures of which are herein incorporated by reference in their entirety.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/KR2019/012775 | 9/30/2019 | WO | 00 |