Visual speech recognition based on connectionist temporal classification loss

The DNN-based system with CTC and cross-entropy loss functions addresses the challenge of word boundary detection in visual speech recognition by analyzing lip movements, improving accuracy and speed without relying on audio input.

JP2024538692AActive Publication Date: 2024-10-23SONY GROUP CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2024520791
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-03-08
Filing Date
2022-09-22
Publication Date
2024-10-23
Estimated Expiration
2042-09-22

AI Technical Summary

Technical Problem

Conventional visual speech recognition techniques struggle with accurate word boundary detection, particularly in noisy environments or when speakers do not pronounce properly, often relying on audio information that is unreliable.

Method used

An electronic device employing a deep neural network (DNN) with a combination of connectionist temporal classification (CTC) loss and cross-entropy loss functions to analyze lip movements, enabling word boundary detection without audio input, using CTC loss to predict word boundaries and improve accuracy and convergence speed.

Benefits of technology

The system effectively detects word boundaries from lip movements, eliminating the need for audio input and enhancing the accuracy and speed of visual speech recognition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024538692000001_ABST
    Figure 2024538692000001_ABST
Patent Text Reader

Abstract

An electronic device and method for visual speech recognition based on connectionist temporal classification (CTC) loss is disclosed. The electronic device receives a video including a human speaker and generates predictions corresponding to lip movements of the human speaker. The predictions are generated based on application of a deep neural network (DNN) to the video, where the DNN is trained using a CTC loss function. The electronic device detects word boundaries in a sequence of characters corresponding to the lip movements based on the predictions, and segments the video into a sequence of video clips based on the detection. Each video clip corresponds to a word spoken by the human speaker. The electronic device generates a sequence of word predictions by processing the sequence of video clips, and generates a sentence or phrase based on the generated sequence of word predictions.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] [CROSS REFERENCE / INCORPORATION BY REFERENCE TO RELATED APPLICATIONS]

[0001] This application claims the benefit of priority to U.S. patent application Ser. No. 17 / 689,270, filed in the U.S. Patent and Trademark Office on March 8, 2021, which claims the benefit of priority to U.S. Provisional Patent Application No. 63 / 262,049, filed on October 4, 2021, the entire contents of which are incorporated herein by reference.

[0002]

[0002] Various embodiments of the present disclosure relate to speech recognition and deep neural networks. More specifically, various embodiments of the present disclosure relate to electronic devices and methods for visual speech recognition based on connectionist temporal classification losses. [Background technology]

[0003]

[0003] Advances in the field of neural networks have led to the development of various techniques for speech recognition. For example, there are speech-to-text models that can process audio and generate subtitles. Subtitles may not always be perfect, especially if the audio is recorded in a noisy environment or if people in the video do not enunciate properly. To generate subtitles, another option involves analyzing the lip movements of the speaker in the video. However, most conventional techniques for lip reading do not work well at detecting word boundaries and rely on the audio portion of the video to extract word boundaries.

[0004]

[0004] Further limitations and disadvantages of conventional methods will become apparent to those skilled in the art by comparing the described system with certain aspects of the present disclosure illustrated in the remaining portions of this application and with reference to the drawings. Summary of the Invention [Problem to be solved by the invention]

[0005]

[0005] Provided is an electronic device and method for visual speech recognition based on connectionist temporal classification losses, as substantially shown and / or described in connection with at least one of the drawings and more fully set forth in the claims.

[0006]

[0006] These and other features and advantages of the present disclosure can be understood by considering the following detailed description of the disclosure in conjunction with the accompanying drawings, in which like elements are designated with like reference numerals throughout. [Brief description of the drawings]

[0007] [Figure 1] FIG. 1 is a block diagram illustrating an example network environment for visual speech recognition based on connectionist temporal classification loss, according to an embodiment of the present disclosure. [Diagram 2] FIG. 1 is a block diagram illustrating an exemplary electronic device for visual speech recognition, according to an embodiment of the present disclosure. [Diagram 3] FIG. 2 illustrates an exemplary processing pipeline for visual speech recognition, according to an embodiment of the present disclosure. [Figure 4] 1 is a flowchart illustrating an example operation for visual speech recognition based on connectionist temporal classification loss, according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0008]

[0011] The implementation described below can be found in the disclosed electronic device and method for visual speech recognition based on connectionist temporal classification (CTC) loss. An exemplary aspect of the present disclosure provides an electronic device that can provide a method for visual speech recognition based on CTC loss. The electronic device can be configured to receive a video including one or more human speakers and generate predictions corresponding to lip movements of the one or more human speakers in the video. The predictions can be generated based on the application of a deep neural network (DNN) to the video (frame by frame). The loss function that monitors the training of the DNN can be a combination of two separate functions, namely, a connectionist temporal classification (CTC) loss function and a cross-entropy loss function. The predictions can be fed into the CTC loss function to find the best (or optimal) path with the highest probability. The other loss function can be used to compare the predictions (e.g., prediction matrix) with the actual alignment during the training phase. The two loss functions together can increase both the accuracy and convergence speed of the DNN. In contrast to known CTC loss functions, the CTC function of this disclosure can configure a DNN during the training phase to predict word boundaries corresponding to frames of video, in addition to character prediction.

[0009]

[0012] For each image frame of the video, the prediction includes a set of probability values ​​corresponding to a set of class labels (e.g., characters including at least one of word characters (i.e., letters), non-word characters, white space, and pseudo characters). This allows the disclosed electronic device to detect overlapping (e.g., repeated) image frames of the video, which may be undesirable, or blank image frames that may be present between each word. The electronic device may be configured to detect one or more word boundaries in a sequence of characters corresponding to lip movement based on the prediction. Each such word boundary may be defined by a word character at a first end of the sequence of characters and a non-word character or character space at a second end of the sequence of characters. The prediction allows the disclosed electronic device to eliminate the use of audio information associated with the received video by detecting word boundaries based on CTC loss and lip movement analysis. Conventionally, audio information is used as prior knowledge in predicting word boundaries because known lip reading techniques do not perform well in predicting word boundaries. The present disclosure eliminates the need to use audio information in predicting word boundaries.

[0010]

[0013] The electronic device may be configured to segment the video into a series of video clips based on the detection. Each video clip in the series of video clips may correspond to a word spoken by one or more human speakers. The electronic device may be further configured to generate a series of word predictions by processing the series of video clips. The electronic device may then be configured to generate a sentence or phrase based on the generated series of word predictions. The generation of the sentence or phrase may include, for example, concatenation of the series of word predictions with character spacing or non-word characters included between adjacent word predictions in the series of word predictions.

[0011]

[0014] FIG. 1 is a block diagram illustrating an exemplary network environment for visual speech recognition based on connectionist temporal classification loss, according to an embodiment of the present disclosure. Referring to FIG. 1, a network environment 100 is shown. The network environment 100 may include an electronic device 102, a server 104, and a video source 106. The electronic device 102, the server 104, and the video source 106 may be communicatively coupled to each other via a communication network 108. The electronic device 102 may further include a display device 110. Also shown in the network environment 100 is a deep neural network (DNN) 112 associated with the electronic device 102. Also shown is a video 114 that may include one or more human speakers 114A as part of a plurality of image frames associated with a scene.

[0012]

[0015] The electronic device 102 may include suitable logic, circuitry, interfaces, and / or code that may be configured to receive the video 114 from the video source 106 and perform visual speech recognition based on the application of the DNN 112 to frames of the video 114. In an exemplary embodiment, the electronic device 102 may be a display-enabled media player, and the display device 110 may be included in the electronic device 102. Examples of such implementations of the electronic device 102 may include, but are not limited to, a television (TV), an Internet Protocol TV (IPTV), a smart TV, a smartphone, a personal computer, a laptop, a tablet, a wearable electronic device, or any other display device capable of receiving, decoding, and playing content encapsulated in a signal from a cable or satellite network, an over-the-air broadcast, or the Internet. In another exemplary embodiment, the electronic device 102 may be a media player that may communicate with the display device 110 via a wired or wireless connection. Examples of such implementations of electronic device 102 may include, but are not limited to, a digital media player (DMP), a microconsole, a TV tuner, an Advanced Television Systems Committee (ATSC) 3.0 tuner, a set-top box, an over-the-top (OTT) player, a digital media streamer, a media extender / regulator, a digital media hub, a computer workstation, a mainframe computer, a handheld computer, a smart appliance, a plug-in device, and / or any other computing device with content streaming capabilities.

[0013]

[0016] The server 104 may include suitable logic, circuitry, interfaces, and / or code that may be configured to store the video 114 and may be used to train the DNN 112 using the CTC loss function and the cross-entropy loss function. According to an embodiment, the server 104 may be implemented as a cloud server and may perform operations through web applications, cloud applications, HTTP requests, repository operations, file transfers, etc. Other implementations of the server 104 may include, but are not limited to, a database server, a file server, a content server, a web server, an application server, a mainframe server, or a cloud computing server.

[0014]

[0017] In at least one embodiment, the server 104 can be implemented as multiple distributed cloud-based resources using a number of techniques known to those of skill in the art. Those skilled in the art will appreciate that the scope of the present disclosure cannot be limited to the implementation of the server 104 and the electronic device 102 as two separate entities. In certain embodiments, the functionality of the server 104 can be incorporated in whole or at least in part into the electronic device 102 without departing from the scope of the present disclosure.

[0015]

[0018] The video source 106 may include suitable logic, circuitry, and interfaces that may be configured to transmit the video 114 to the electronic device 102. The video 114 on the video source 106 may include one or more human speakers 114A. In one embodiment, the video source 106 may be implemented as a storage device that stores the video 114. Examples of such implementations of the video source 106 may include, but are not limited to, a pen drive, a flash USB stick, a hard disk drive (HDD), a solid state drive (SSD), and / or a secure digital (SD) card. In another embodiment, the video source 106 may be implemented as a media streaming server that may transmit media content to the electronic device 102 via the communication network 108. In another embodiment, the video source 106 may be a TV tuner, such as an ATSC tuner, that may receive a digital TV (DTV) signal from an over-the-air broadcast network and may extract media content from the received DTV signal. The video source 106 may then transmit the extracted video 114 to the electronic device 102.

[0016]

[0019] 1 depicts video source 106 and electronic device 102 as two separate devices, however, the disclosure is not so limited and in some embodiments, all or at least a portion of the functionality of video source 106 may be incorporated into electronic device 102 without departing from the scope of the disclosure.

[0017]

[0020] Display device 110 may include suitable logic, circuitry, and interfaces that may be configured to display output generated by electronic device 102. For example, display device 110 may be utilized to display video 114 received from electronic device 102. Display device 110 may be further configured to display subtitles that include sentences or phrases that correspond to the lip movements of a human speaker(s) in video 114. Display device 110 may interface or connect with electronic device 102 through an I / O port (such as a High-Definition Multimedia Interface (HDMI®) port) or a network interface. Alternatively, display device 110 may be an integrated component of electronic device 102.

[0018]

[0021] In at least one embodiment, the display device 110 may be a touch screen that may allow a user to provide user input via the display device 110. The display device 110 may be implemented through a number of known technologies, such as, but not limited to, at least one of a liquid crystal display (LCD) display, a foldable or rollable display, a light emitting diode (LED) display, a plasma display, or an organic LED (OLED) display technology, or other display device. According to an embodiment, the display device 110 may refer to a display screen of a head mounted device (HMD), a smart glasses device, a see-through display, a projection display, an electrochromic display, or a transparent display.

[0019]

[0022] The DNN 112 may be referred to as a computational network or system of nodes (e.g., artificial neurons). In a deep learning implementation, the nodes of the deep learning model may be arranged in layers as defined in a neural network topology. The layers may include an input layer, one or more hidden layers, and an output layer. Each layer may include one or more nodes (or, e.g., artificial neurons). The output of every node in the input layer may be coupled to at least one node in the hidden layer(s). Similarly, the input of each hidden layer may be coupled to the output of at least one node in another layer of the model. The output of each hidden layer may be coupled to the input of at least one node in another layer of the deep learning model. One or more nodes in the final layer may receive inputs from at least one hidden layer and output results. The number of layers and the number of nodes in each layer may be determined from hyperparameters, which may be set before or after training the DNN 112 with a training dataset.

[0020]

[0023] Each node of the DNN 112 may correspond to a mathematical function (e.g., a sigmoid function or a rectified linear unit) having a set of parameters that can be adjusted during training of the model. The parameter set may include, for example, weight parameters, regularization parameters, etc. Each node may use the mathematical function to calculate an output based on one or more inputs from nodes in other layer(s) (e.g., previous layer(s)) of the deep learning model. All or some of the nodes of the deep learning model may correspond to the same or different mathematical functions.

[0021]

[0024] The DNN 112 can be trained on the task of lip movement analysis (or lip reading) using a video dataset as an input to generate predictions corresponding to lip movements of one or more human speakers in each sample video of the video dataset. In training, the DNN 112 can use a CTC loss function to generate predictions indicating characters / words corresponding to lip movements and respective word boundaries between characters. In general, CTC is a type of neural network output and associated scoring function for training a recurrent neural network (RNN) on a time series input. In this disclosure, the time series input can indicate human mouth movements (i.e., movements shown in the video). The DNN 112 can predict word boundaries by processing frames of the video. The DNN 112 can also be trained based on a cross-entropy loss function. The trained DNN 112 can be used to compare the predictions with reference class labels, which can include ground truth alignment.

[0022]

[0025] The two loss functions (i.e., the CTC loss function and the cross-entropy loss function) can mutually enhance the convergence speed and accuracy in the training phase of the DNN 112. Since the detailed implementation of the cross-entropy loss function may be well known to those skilled in the art, a detailed description of the cross-entropy loss function is omitted from this disclosure for brevity.

[0023]

[0026] The DNN 112 may be defined by its hyperparameters and topology / architecture. For example, the DNN 112 may have a number of nodes (or neurons), an activation function(s), a number of weights, a cost function, a regularization function, an input size, a learning rate, a number of layers, etc.

[0024]

[0027] In training the DNN 112, one or more parameters of each node can be updated based on whether the output of the final layer for a given input (from the training dataset) matches the correct result based on a loss function for the DNN 112. The above process can be repeated for the same or different inputs until a minimum of the loss function is reached and the training error is minimized. Several training methods are known in the art, such as gradient descent, stochastic gradient descent, batch gradient descent, gradient boosting, metaheuristics, etc.

[0025]

[0028] In some embodiments, the DNN 112 may include electronic data that may be implemented, for example, as a software component of an application executable on the electronic device 102. The DNN 112 may include code and routines that may be configured to enable a computing device, such as the electronic device 102, to perform one or more operations for visual speech recognition based on a CTC loss function. Additionally or alternatively, the DNN 112 may be implemented using hardware, including, but not limited to, a processor, a microprocessor (e.g., performing or controlling the execution of one or more operations), a field programmable gate array (FPGA), a coprocessor (such as an AI accelerator), or an application specific integrated circuit (ASIC). In some embodiments, the trained DNN 112 may be implemented using a combination of both hardware and software.

[0026]

[0029] In certain embodiments, the DNN 112 may be implemented based on a hybrid architecture of multiple deep neural networks (DNNs). Examples of the DNN 112 may include neural network models such as, but not limited to, artificial neural networks (ANNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), CNN-recurrent neural networks (CNN-RNNs), R-CNNs, Fast R-CNNs, Faster R-CNNs, You Only Look Once (YOLO) networks, residual neural networks (Res-Nets), feature pyramid networks (FPNs), Retina-Nets, single-shot detectors (SSDs), natural language processing, and possibly OCR (typically using networks such as CNN-recurrent neural networks (CNN-RNNs), long-short-term memory (LSTM) network-based RNNs, LSTM+ANNs, hybrid lip reading (HLR-Net) models, and / or combinations thereof).

[0027]

[0030] The communication network 108 may include a communication medium that allows the electronic device 102, the server 104, and the video source 106 to communicate with each other. Examples of the communication network 108 may include, but are not limited to, the Internet, a cloud network, a wireless local area network (WLAN), a wireless fidelity (Wi-Fi) network, a personal area network (PAN), a local area network (LAN), a plain old telephone (POTS), and / or a mobile wireless network such as a metropolitan area network (MAN), a long-term evolution (LTE) network (e.g., a fourth or fifth generation (5G) mobile network (i.e., 5G New Radio)). Various devices in the network environment 100 may be configured to connect to the communication network 108 according to various wired and wireless communication protocols. Examples of such wired and wireless communication protocols include, but are not limited to, at least one of Transmission Control Protocol and Internet Protocol (TCP / IP), User Datagram Protocol (UDP), Hypertext Transfer Protocol (HTTP), File Transfer Protocol (FTP), ZigBee, EDGE, IEEE 802.11, Light Fidelity (Li-Fi), 802.16, IEEE 802.11s, IEEE 802.11g, multi-hop communication, wireless access point (AP), device-to-device communication, cellular communication protocols, and Bluetooth (BT) communication protocols, or combinations thereof.

[0028]

[0031] In operation, the electronic device 102 may receive an input, for example, to turn on the electronic device 102 or activate a visual speech recognition mode. Based on the input, the electronic device 102 may be configured to perform a set of actions to perform visual speech recognition as described herein.

[0029]

[0032] At any instant in time, the electronic device 102 can receive a video 114 from a video source 106. The video 114 can be any digital media that can be rendered, streamed, broadcast, and stored on any electronic device or storage. The video 114 can include one or more human speakers 114A. For example, the video 114 can be a movie clip showing a scene in which two or more actors may be having a conversation. Examples of the video 114 can include, but are not limited to, images (such as overlay graphics), animation (such as 2D / 3D animation or motion graphics), audio / video data, traditional television programs (provided via traditional broadcast, cable, satellite, Internet, or other means), pay-per-view programs, on-demand programs (such as in a video-on-demand (VOD) system), or Internet content (e.g., streaming media, downloadable media, webcasts, etc.). In some embodiments, the received video 114 can be pre-recorded video or live video.

[0030]

[0033] The electronic device 102 may be configured to generate predictions corresponding to lip movements of one or more human speakers 114A in the video 114. The predictions may be generated based on application of a DNN 112 to the video 114. The DNN 112 may be a pre-trained network using a CTC loss function in a training phase. Details regarding the generation of the predictions are shown, for example, in FIG. 3. According to an embodiment, for each image frame of the video 114, the predictions may include a set of probability values ​​corresponding to a set of class labels. The set of class labels may include characters including at least one of word characters (i.e., characters), non-word characters, blanks, whitespaces, and pseudo-characters (as defined in the CTC loss).

[0031]

[0034] Based on the prediction, the electronic device 102 can detect one or more word boundaries in the series of characters corresponding to the lip movement. Each of the detected one or more word boundaries can be defined by a word character at a first end of the series of characters and a non-word character (e.g., a hyphen, punctuation mark, etc.) or a character space at a second end of the series of characters. More details regarding the detection of one or more word boundaries are shown, for example, in FIG. 3.

[0032]

[0035] The electronic device 102 may further be configured to segment the video 114 into a series of video clips based on the detection. Each video clip in the series of video clips may correspond to a word spoken by one or more human speakers 114A. After segmentation, the electronic device 102 may be configured to generate a series of word predictions by processing the series of video clips, for example, as described in FIG. 3. The electronic device 102 may generate sentences or phrases based on the series of word predictions. The generation of the sentences or phrases may include concatenation of the series of word predictions with character spacing or non-word characters included between adjacent word predictions in the series of word predictions. The generation of the sentences or phrases may be described, for example, in FIG. 3.

[0033]

[0036] FIG. 2 is a block diagram illustrating an exemplary electronic device for visual speech recognition according to an embodiment of the present disclosure. The description of FIG. 2 is provided in relation to the elements of FIG. 1. Referring to FIG. 2, an electronic device 102 is shown. The electronic device 102 can include a circuit 202, a memory 204, a lip movement detector 206, an input / output (I / O) device 208, and a network interface 210. The I / O device 208 can include a display device 110. The memory 204 can include a DNN 112. The network interface 210 can connect the electronic device 102 to the server 104 and the video source 106 via a communication network 108.

[0034]

[0037] The circuitry 202 may include suitable logic, circuits, and / or interfaces that may be configured to execute program instructions associated with different operations to be performed by the electronic device 102. The circuitry 202 may include one or more processing units that may be implemented as an integrated processor or a group of processors that jointly perform the functions of the one or more processing units. The circuitry 202 may be implemented based on several processor technologies known in the art. Examples of implementations of the circuitry 202 may be an X86-based processor, a graphics processing unit (GPU), a reduced instruction set computer (RISC) processor, an application specific integrated circuit (ASIC) processor, a complex instruction set computer (CISC) processor, a microcontroller, a central processing unit (CPU), and / or other control circuitry.

[0035]

[0038] The memory 204 may include suitable logic, circuitry, interfaces, and / or code that may be configured to store one or more instructions to be executed by the circuit 202. The memory 204 may be configured to store the DNN 112 and the video 114. The memory 204 may further be configured to store a set of class labels. Examples of implementations of the memory 204 may include, but are not limited to, a random access memory (RAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a hard disk drive (HDD), a solid state drive (SSD), a CPU cache, and / or a secure digital (SD) card.

[0036]

[0039] The lip movement detector 206 may include suitable logic, circuitry, interfaces, and / or code that may be configured to detect lip movements in the video 114. According to an embodiment, the lip movement detector 206 may be configured to generate predictions corresponding to detected lip movements of one or more human speakers 114A in the video 114. The lip movement detector 206 may be implemented as an AI model or in an image recognition tool. The lip movement detector 206 may further be implemented based on several processor technologies known in the art. Examples of processor technologies may include, but are not limited to, a central processing unit (CPU), an X86-based processor, a reduced instruction set computer (RISC) processor, an application specific integrated circuit (ASIC) processor, a complex instruction set computer (CISC) processor, a graphics processing unit (GPU), and other processors.

[0037]

[0040] The I / O device(s) 208 may include suitable logic, circuitry, interfaces, and / or code that may be configured to receive input and provide output based on the received input. The I / O device(s) 208 may include a variety of input and output devices, which may be configured to communicate with the circuitry 202. In one example, the electronic device 102 may display the generated sentence or phrase (via a display device 110 associated with the I / O device(s) 208). Examples of the I / O device(s) 208 may include, but are not limited to, a touch screen, a keyboard, a mouse, a joystick, a display device (e.g., the display device 110), a microphone, or a speaker.

[0038]

[0041] The network interface 210 may include suitable logic, circuitry, interfaces, and / or code that may be configured to facilitate communication between the electronic device 102, the server 104, and the video source 106 over the communications network 108. The network interface 210 may be implemented using various known technologies that support wired or wireless communication between the electronic device 102 and the communications network 108. The network interface 210 may include, but is not limited to, an antenna, a radio frequency (RF) transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a coder-decoder (CODEC) chipset, a subscriber identity module (SIM) card, or a local buffer circuit.

[0039]

[0042] The network interface 210 may be configured to communicate via wireless communication with a network, such as the Internet, an intranet, a wireless network, a cellular telephone network, a wireless local area network (LAN), or a metropolitan area network (MAN), etc. The wireless communication may be configured to use one or more of a number of communication standards, protocols, and technologies, such as Global System for Mobile Communications (GSM), Enhanced Data GSM Environment (EDGE), Wideband Code Division Multiple Access (W-CDMA), Long Term Evolution (LTE), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Bluetooth, Wireless Fidelity (Wi-Fi) (e.g., IEEE 802.11a, IEEE 802.11b, IEEE 802.11g, or IEEE 802.11n), Voice over Internet Protocol (VoIP), Light Fidelity (Li-Fi), Worldwide Interoperability for Microwave Access (Wi-MAX), email protocols, instant messaging, and short message service (SMS). Various operations of the circuit 202 for visual speech recognition based on connectionist temporal classification losses are further described, for example, in FIGS.

[0040]

[0043] Figure 3 illustrates an example processing pipeline for visual speech recognition, according to an embodiment of the present disclosure. The description of Figure 3 is provided with reference to elements of Figures 1 and 2. Referring to Figure 3, an example processing pipeline 300 illustrating example operations for visual speech recognition is shown. The example operations may be performed by any computer system, such as by electronic device 102 of Figure 1 or by circuit 202 of Figure 2.

[0041]

[0044] In operation, the circuitry 202 may be configured to receive video 114 from the video source 106. The video 114 may include one or more human speakers 114A as part of a number of image frames corresponding to a scene. For example, the video 114 may correspond to a television program in which one or more human speakers 114A may speak while acting in the scene.

[0042]

[0045] In one embodiment, the circuit 202 can be configured to extract image frames of the video 114. Each image frame of the video 114 can be associated with a frame number. The frame number can be any number between 1 and the total number of image frames of the video 114, such as 1, 2, 3, 4, or any other number. For example, if the video 114 is a high definition (HD) video, the size of each corresponding image frame can be 1280x720 pixels. In one embodiment, the circuit 202 can extract image frames of the video 114. Each image frame of the video 114 can be associated with a frame number. The frame number can be any number between 1 and the total number of image frames of the video 114, such as 1, 2, 3, 4, or any other number. For example, if the video 114 is a high definition (HD) video, the size of each corresponding image frame can be 1280x720 pixels.

number

number

[0043]

[0046] At 302, lip movement analysis can be performed. The circuit 202 can be configured to generate predictions 304 corresponding to lip movements of one or more human speakers 114A in the video 114. The predictions 304 can be generated based on application of the DNN 112 to the video 114. According to an embodiment, the predictions 304 can include a T×N matrix corresponding to frames of the video 114, where T can indicate a frame number associated with the video 114, and N can indicate all possible class labels. For example, if two words (such as "Hello" and "World") are to be detected, the predictions 304 can correspond to a T×(10+1) or T×11 matrix, where 10 can indicate the number of character classes (5 for Hello and 5 for World) and 1 can indicate a blank class for the character interval between Hello and World. Here, the number of classes (11) should be equal to the number of characters (10) and the blank class (1).

[0044]

[0047] According to an embodiment, the DNN 112 can receive as input a sequence of frames (contained in the video 114) and can detect one or more human speakers 114A in each frame of the sequence of frames. Further, the DNN 112 can track the position of the lips of the one or more human speakers 114A detected in each frame. Based on the position, the DNN 112 can extract lip movement information from each frame of the sequence of images. In an embodiment, the video 114 can be analyzed to detect lip movement and extract lip movement information using one or more image processing techniques.

[0045]

[0048] The DNN 112 can process the lip movement information to generate predictions 304. For each frame of the video 114, the predictions 304 can include a set of probability values ​​corresponding to a set of class labels. For each class label, the probability value can specify the confidence (in terms of a probability value between 0 and 1) of the DNN 112 in predicting the class label for a given pattern of lip movement. A higher probability value can indicate a higher likelihood or confidence. The set of class labels can include soft or hard labels and represent classes. The prediction 304 corresponding to the lip movement can belong to one of such classes. By way of example and not limitation, the set of class labels can include letters or blanks. The letters can include at least one of word characters (i.e., letters), non-word characters, spaces, and / or pseudo characters. Examples of non-word characters can include, but are not limited to, a hyphen, a punctuation mark, a set of special characters (e.g., "*", "&"), and a set of non-English alphabet characters (e.g., "β" and "π").

[0046]

[0049] In an example scenario, where the prediction 304 includes a set of probability values ​​corresponding to a set of class labels (class A, class B, class C, and blank), the prediction 304 (in matrix form) is shown in Table 1 below. prediction [Table 1] For frames (11-12 and 26) of the video, the prediction 304 may give the blank class a probability of greater than 0.8. The blank class may indicate a word boundary in the prediction 304.

[0047]

[0050] The circuit 202 can be configured to detect one or more word boundaries in the sequence of characters corresponding to the lip movements based on the predictions. The one or more word boundaries can include the start and end points of each word associated with a dialogue between the one or more human speakers 114A and / or other words pronounced or spoken by the one or more human speakers 114A in the video 114.

[0048]

[0051] In an embodiment, each of the one or more detected word boundaries can be defined by a word character at a first end of the series of characters and a non-word character or character space at a second end of the series of characters. For example, if the series of characters corresponding to the lip movement is "how are you", the circuit 202 can be configured to detect two word boundaries to mark the beginning and end of each predicted word. Figure 3 illustrates example word boundaries (such as word boundaries WB1 and WB2), and such boundaries can correspond to frames of the video 114 that can be classified as blank frames in the prediction 304.

[0049]

[0052] Based on the detection, the circuit 202 can be configured to split the video 114 into a series of video clips. Each video clip in the series of video clips can correspond to a word spoken by one or more human speakers 114A. For example, the sentence or phrase spoken by the one or more human speakers 114A can be "how are you". The circuit 202 can be configured to split the video 114 into three video clips (e.g., VC1, VC2, and VC3 as shown in FIG. 3). The video clips VC1, VC2, and VC3 can correspond to spoken words such as "how", "are", and "you".

[0050]

[0053] The circuit 202 may further be configured to generate a series of word predictions by processing the series of video clips. Each word prediction in the series of word predictions may be generated based on application of the DNN 112 to a corresponding video clip in the series of video clips. The circuit 202 may then be configured to generate a sentence or phrase based on the generated series of word predictions. The generation of the sentence or phrase may include concatenation of the series of word predictions with character spacing or non-word characters included between adjacent word predictions in the series of word predictions. For example, FIG. 3 shows a series of word predictions "how", "are", and "you". The circuit 202 may be configured to concatenate the series of word predictions to generate the phrase "how are you". Punctuation or other formatting rules may be applied to the sentence or phrase based on facial expressions of one or more human speakers 114A and / or semantic rules associated with the language in which the sentence or phrase is generated. For example, "how are you" may be updated to "How are you?".

[0051]

[0054] FIG 4 is a flowchart illustrating an example operation for visual speech recognition based on connectionist temporal classification loss, according to an embodiment of the present disclosure. The description of FIG 4 is provided with reference to elements of FIG 1, FIG 2, and FIG 3. Referring to FIG 4, a flowchart 400 is shown. The flowchart 400 may include operations 402-414 and may be implemented by the electronic device 102 of FIG 1 or by the circuit 202 of FIG 2. The flowchart 400 may start at 402 and proceed to 404.

[0052]

[0055] At 404, a video including one or more human speakers may be received. In one embodiment, the circuitry 202 may be configured to receive a video 114 including one or more human speakers 114A, for example as illustrated in FIG.

[0053]

[0056] At 406, a prediction corresponding to lip movements of one or more human speakers in the video can be generated. In an embodiment, the circuit 202 can be configured to generate a prediction 304 corresponding to lip movements of one or more human speakers 114A in the video 114. The prediction 304 can be generated based on application of the DNN 112 to the video 114, where the DNN 112 can be trained using a CTC loss function. In one example, for each image frame of the video 114, the prediction 304 can include a set of probability values ​​corresponding to a set of class labels. The set of class labels can include, but are not limited to, words or characters including at least one of a word character, a non-word character, a space, and a pseudo character. Generation of the prediction 304 is described, for example, in FIG. 3.

[0054]

[0057] At 408, one or more word boundaries may be detected in the sequence of characters corresponding to the lip movement. In an embodiment, the circuit 202 may be configured to detect one or more word boundaries in the sequence of characters corresponding to the lip movement based on the prediction 304. For example, each of the detected one or more word boundaries may be defined by a word character at a first end of the sequence of characters and a non-word character or character space at a second end of the sequence of characters. The detection of the one or more word boundaries may be described, for example, in FIG. 3.

[0055]

[0058] At 410, the video can be segmented into a sequence of video clips, where the video clips in the sequence of video clips correspond to words spoken by one or more human speakers. In one embodiment, the circuitry 202 can be configured to segment the video 114 into a sequence of video clips based on the detection. Video segmentation is described, for example, in FIG. 3.

[0056]

[0059] At 412, a sequence of word predictions may be generated by processing the sequence of video clips. In an embodiment, the circuit 202 may be configured to generate a sequence of word predictions by processing the sequence of video clips. Generation of the sequence of word predictions is described, for example, in FIG. 3.

[0057]

[0060] At 414, a sentence or phrase may be generated based on the generated set of word predictions. In an embodiment, the circuitry may be configured to generate a sentence or phrase based on the generated set of word predictions. The generation of the sentence or phrase may include, but is not limited to, concatenation of the set of word predictions with character spacing or non-word characters included between adjacent word predictions of the set of word predictions. The generation of the sentence or phrase may be described, for example, in FIG. 3. Control may proceed to an end.

[0058]

[0061] Although flowchart 400 is illustrated with individual operations such as 404, 406, 408, 410, 412, and 414, the disclosure is not limited in this respect, and thus, in particular embodiments, such individual operations may be further divided into additional operations, combined into fewer operations, or eliminated, depending on the implementation, without departing from the essence of the disclosed embodiments.

[0059]

[0062] Various embodiments of the present disclosure may provide a non-transitory computer-readable medium and / or storage medium having computer-executable instructions stored thereon that a machine and / or computer may execute to operate an electronic device (e.g., electronic device 102). The instructions may cause electronic device 102 to perform operations including retrieving a video 114 including one or more human speakers 114A. The operations may further include generating predictions 304 corresponding to lip movements of one or more human speakers 114A in the video 114. The predictions 304 may be generated based on application of a DNN 112 to the video 114, where the DNN 112 may be trained using a connectionist temporal classification (CTC) loss function. The operations may further include detecting one or more word boundaries in a sequence of characters corresponding to the lip movements based on the predictions 304. The operations may further include segmenting the video into a sequence of video clips based on the detection. Each video clip in the sequence of video clips corresponds to a word spoken by one or more human speakers 114A. The operations may further include generating a set of word predictions by processing the set of video clips. The operations may further include generating a sentence or phrase based on the generated set of word predictions.

[0060]

[0063] An exemplary aspect of the disclosure may provide an electronic device (such as the electronic device 102 of FIG. 1 ) including a circuit (such as the circuit 202). The circuit 202 may be configured to receive a video 114 including one or more human speakers 114A. The circuit 202 may be configured to generate a prediction 304 corresponding to lip movements of the one or more human speakers 114A in the video 114. The prediction 304 may be generated based on application of a DNN 112 to the video 114, where the DNN 112 may be trained using a connectionist temporal classification (CTC) loss function. The circuit 202 may be configured to detect one or more word boundaries in a sequence of characters corresponding to the lip movements based on the prediction 304. The circuit 202 may be configured to segment the video into a sequence of video clips based on the detection. Each video clip in the sequence of video clips corresponds to a word spoken by the one or more human speakers 114A. The circuit 202 may be configured to generate a sequence of word predictions by processing the sequence of video clips. The circuitry 202 can be configured to generate a sentence or phrase based on the generated sequence of word predictions.

[0061]

[0064] In one embodiment, each of the one or more detected word boundaries can be defined by a word character at a first end of the series of characters and a non-word character or a character space at a second end of the series of characters.

[0062]

[0065] In one embodiment, for each image frame of the video, the prediction 304 includes a set of probability values ​​that correspond to a set of class labels.

[0063]

[0066] In one embodiment, the set of class labels includes words or characters including at least one of word characters, non-word characters, white space, and pseudo characters.

[0064]

[0067] In one embodiment, the DNN 112 can be trained further based on a cross-entropy loss function.

[0065]

[0068] In one embodiment, each word prediction in the sequence of word predictions can be generated based on application of the DNN 112 to a corresponding video clip in the sequence of video clips.

[0066]

[0069] In some embodiments, generating a sentence or phrase includes concatenating a series of word predictions with letter spacing or non-word characters contained between adjacent word predictions in the series of word predictions.

[0067]

[0070] The present disclosure can be realized in the form of hardware or in the form of a combination of hardware and software. The present disclosure can be realized in a centralized manner in at least one computer system or in a distributed manner where different elements can be distributed across several interconnected computer systems. Any computer system or other device adapted to perform the methods described herein can be suitable. The combination of hardware and software can be a general-purpose computer system that includes a computer program that, when loaded and executed, can control a computer system to perform the methods described herein. The present disclosure can be realized in the form of hardware, including parts of an integrated circuit that also perform other functions.

[0068]

[0071] The present disclosure may also be embodied in a computer program product, which includes all features enabling the implementation of the methods described herein and which is capable of executing these methods when loaded into a computer system. A computer program in this context means any expression, in any language, code or notation, of a set of instructions intended to cause a system capable of processing information to perform a particular function, either directly or after a) conversion into another language, code or notation, b) reproduction in a different content form, or both.

[0069]

[0072] Although the present disclosure has been described with reference to several embodiments, those skilled in the art will recognize that various modifications can be made and equivalents can be substituted without departing from the scope of the present disclosure. Many modifications can also be made to adapt a particular situation or content to the teachings of the present disclosure without departing from the scope of the present disclosure. Therefore, it is intended that the present disclosure not be limited to the disclosed embodiments, but rather to include all embodiments falling within the scope of the appended claims. [Explanation of symbols]

[0070] 100 Network Environment 102 Electronic equipment 104 Server 106 Video Sources 108 Communication Network 110 Display Devices 112 Deep Neural Networks (DNN) 114 Videos 114A One or more human speakers 202 Circuit 204 Memory 206 Lip Movement Detector 208 Input / Output (I / O) Devices 210 Network Interface 300 Processing Pipeline 302 Lip Movement Analysis 304 Predictions 400 Flowchart 402 start 404 Receive a video that contains one or more human speakers 406 Generate predictions corresponding to lip movements of one or more human speakers in a video 408 Based on the prediction, one or more word boundaries are detected in a sequence of characters corresponding to lip movements. 410 Segment the video into a sequence of video clips based on the detection, the video clips in the sequence of video clips corresponding to words spoken by one or more human speakers. 412 Generate a set of word predictions by processing a set of video clips. 414 Generate sentences or phrases based on the generated set of word predictions VC1,VC2,VC3 Video Clips WB1,WB2 word boundaries

Claims

1. 1. An electronic device comprising: receiving a video including one or more human speakers; generating a prediction corresponding to lip movements of the one or more human speakers in the video, The prediction is generated based on application of a deep neural network (DNN) to the video; and The DNN is trained using a connectionist temporal classification (CTC) loss function; and detecting one or more word boundaries in a sequence of characters corresponding to the lip movements based on the prediction; based on the detection, segmenting the video into a series of video clips, each video clip in the series of video clips corresponding to a word spoken by the one or more human speakers; generating a set of word predictions by processing the set of video clips; generating a sentence or phrase based on the generated set of word predictions; a circuit configured to:

16. An electronic device comprising:

2. 2. The electronic device of claim 1, wherein each of the one or more detected word boundaries is defined by a word character at a first end of the series of characters and a non-word character or character space at a second end of the series of characters.

3. The electronic device of claim 1 , wherein for each image frame of the video, the prediction comprises a set of probability values ​​corresponding to a set of class labels.

4. The electronic device of claim 3 , wherein the set of class labels includes words or characters including at least one of word characters, non-word characters, white space, and pseudo characters.

5. The electronic device of claim 1 , wherein the DNN is further trained based on a cross-entropy loss function.

6. The electronic device of claim 1 , wherein each word prediction in the sequence of word predictions is generated based on application of the DNN to a corresponding video clip in the sequence of video clips.

7. 2. The electronic device of claim 1, wherein generating the sentence or phrase includes concatenating the series of word predictions with letter spacing or non-word characters included between adjacent word predictions in the series of word predictions.

8. 1. A method comprising: receiving a video including one or more human speakers; generating predictions corresponding to lip movements of the one or more human speakers in the video, The prediction is generated based on application of a deep neural network (DNN) to the video; and The DNN is trained using a connectionist temporal classification (CTC) loss function; detecting one or more word boundaries in a sequence of characters corresponding to the lip movements based on the prediction; based on the detection, segmenting the video into a series of video clips, each video clip in the series of video clips corresponding to a word spoken by the one or more human speakers; generating a set of word predictions by processing the set of video clips; generating a sentence or phrase based on the generated set of word predictions; The method according to claim 1, further comprising:

9. 9. The method of claim 8, wherein each of the one or more detected word boundaries is defined by a word character at a first end of the series of characters and a non-word character or a character space at a second end of the series of characters.

10. The method of claim 8, wherein for each image frame of the video, the prediction comprises a set of probability values ​​corresponding to a set of class labels.

11. 11. The method of claim 10, wherein the set of class labels includes words or characters including one of word characters, non-word characters, white space, and pseudo characters.

12. The method of claim 8 , wherein the DNN is further trained based on a cross-entropy loss function.

13. 10. The method of claim 8, wherein each word prediction in the sequence of word predictions is generated based on application of the DNN to a corresponding video clip in the sequence of video clips.

14. 9. The method of claim 8, wherein generating the sentence or phrase includes concatenating the series of word predictions with letter spacing or non-word characters included between adjacent word predictions in the series of word predictions.

15. A non-transitory computer-readable medium having stored thereon computer-executable instructions that, when executed by an electronic device, cause the electronic device to perform an operation, the operation including: receiving a video including one or more human speakers; generating a prediction corresponding to lip movements of the one or more human speakers in the video, The prediction is generated based on application of a deep neural network (DNN) to the video; and The DNN is trained using a connectionist temporal classification (CTC) loss function; and detecting one or more word boundaries in a sequence of characters corresponding to the lip movements based on the prediction; based on the detection, segmenting the video into a series of video clips, each video clip in the series of video clips corresponding to a word spoken by the one or more human speakers; generating a set of word predictions by processing the set of video clips; generating a sentence or phrase based on the generated set of word predictions; Including, A non-transitory computer-readable medium comprising:

16. 16. The non-transitory computer-readable medium of claim 15, wherein each of the one or more detected word boundaries is defined by a word character at a first end of the series of characters and a non-word character or character space at a second end of the series of characters.

17. 16. The non-transitory computer-readable medium of claim 15, wherein for each image frame of the video, the prediction includes a set of probability values ​​corresponding to a set of class labels.

18. 20. The non-transitory computer-readable medium of claim 17, wherein the set of class labels includes words or characters including one of word characters, non-word characters, white space, and pseudo characters.

19. 16. The non-transitory computer-readable medium of claim 15, wherein the DNN is trained further based on a cross-entropy loss function.

20. 16. The non-transitory computer-readable medium of claim 15, wherein generating the sentence or phrase includes concatenating the series of word predictions with letter spacing or non-word characters included between adjacent word predictions in the series of word predictions.

Citation Information

Patent Citations

  • Voice reproducer

    JP1997293328A

  • Image determination apparatus, image determination method, and image determination program

    JP2015028691A

  • Dialogue action estimation method, dialogue action estimation device and program

    JP2020095732A