Method and system for aligning natural and synthetic video to speech synthesis

Abstract: According to MPEG-4's TTS architecture, facial animation can be driven by two streams simultaneously - text, and Facial Animation Parameters. In this architecture, text input is sent to a Text-To-Speech converter at a decoder that drives the mouth shapes of the face. Facial Animation Parameters are sent from an encoder to the face over the communication channel. The present invention includes codes (known as bookmarks) in the text string transmitted to the Text-to-Speech converter, which bookmarks are placed between words as well as inside them. According to the present invention, the bookmarks carry an encoder time stamp. Due to the nature of text-to-speech conversion, the encoder time stamp does not relate to real-world time, and should be interpreted as a counter. In addition, the Facial Animation Parameter stream carries the same encoder time stamp found in the bookmark of the text. The system of the present invention reads the bookmark and provides the encoder time stamp as well as a real-time time stamp to the facial animation system. Finally, the facial animation system associates the correct facial animation parameter with the real-time time stamp using the encoder time stamp of the bookmark as a reference.

Description: BACKGROUND OF THE INVENTION The present invention relates generally to methods and systems for coding of images, and more particularly to a method and system for coding images of facial animation. According to MPEG-4's TTS architecture, facial animation can be driven by two streams simultaneously - text, and Facial Animation Parameters (FAPs). In this architecture, text input is sent to a Text-To-Speech (TTS) converter at a decoder that drives the mouth shapes of the face. FAPs are sent from an encoder to the face over the communication channel. Currently, the Verification Model (VM) assumes that synchronization between the input side and the FAP input stream is obtained by means of timing injected at the transmitter side. However, the transmitter does not know the timing of the decoder TTS. Hence, the encoder cannot specify the alignment between synthesized words and the facial animation. Furthermore, timing varies between different TTS systems. Thus, there currently is no method of aligning facial mimics (e.g., smiles, and expressions) with speech. The present invention is therefore directed to the problem of developing a system and method for coding images for facial animation that enables alignment of facial mimics with speech generated at the decoder. US Patent No. 4,841,575 relates to image encoding and synthesis. Visual images of the face of a speaker are processed to extract during a learning sequence a still frame of the image and a set of typical mouth shapes. Encoding of a sequence to be transmitted, recorded etc. is then achieved by matching the changing mouth shapes to those of the set and generating codewords identifying them. Alternatively, the codewords may be generated to accompany real or synthetic speech using a look-up table relating speech parameters to codewords. In a receiver, the still frames and set of mouth shapes are stored and received codewords used to select successive mouth shapes to be incorporated in the still frame. SUMMARY OF THE INVENTION The invention provides methods for encoding and decoding a facial animation, and an apparatus for decoding an encoded animation, as set out in the accompanying claims. BRIEF DESCRIPTION OF THE DRAWINGS FIG 1 depicts the environment in which the present invention will be applied. FIG 2 depicts the architecture of an MPEG-4 decoder using text-to-speech conversion. DETAILED DESCRIPTION According to the present invention, the synchronization of the decoder system can be achieved by using local synchronization by means of event buffers at the input of FA/AP/MP and the audio decoder. Alternatively, a global synchronization control can be implemented. A maximum drift of 80 msec between the encoder time stamp (ETS) in the text and the ETS in the Facial Animation Parameter (FAP) stream is tolerable. One embodiment for the syntax of the bookmarks when placed in the text stream consists of an escape signal followed by the bookmark content, e.g., \!M{bookmark content}. The bookmark content carries a 16-bit integer time stamp ETS and additional information. The same ETS is added to the corresponding FAP stream to enable synchronization. The class of Facial Animation Parameters is extended to carry the optional ETS. If an absolute clock reference (PCR) is provided, a drift compensation scheme can be implemented. Please note, there is no master slave notion between the FAP stream and the text. This is because the decoder might decide to vary the speed of the text as well as a variation of facial animation might become necessary, if an avatar reacts to visual events happening in its environment. For example, if Avatar 1 is talking to the user. A new Avatar enters the room. A natural reaction of avatar 1 is to look at avatar 2, smile and while doing so, slowing down the speed of the spoken text. Autonomous Animation Driven Mostly by Text In the case of facial animation driven by text, the additional animation of the face is mostly restricted to events that do not have to be animated at a rate of 30 frames per second. Especially high-level action units like smile should be defined at a much lower rate. Furthermore, the decoder can do the interpolation between different action units without tight control from the receiver. The present invention includes action units to be animated and their intensity in the additional information of the bookmarks. The decoder is required to interpolate between the action units and their intensities between consecutive bookmarks. This provides the advantages of authoring animations using simple tools, such as text editors, and significant savings in bandwidth. FIG 1 depicts the environment in which the present invention is to be used. The animation is created and coded in the encoder section 1. The encoded animation is then sent through a communication channel (or storage) to a remote destination. At the remote destination, the animation is recreated by the decoder 2. At this stage, the decoder 2 must synchronize the facial animations with the speech of the avatar using only information encoded with the original animation. FIG 2 depicts the MPEG-4 architecture of the decoder, which has been modified to operate according to the present invention. The signal from the encoder 1 (not shown) enters the Demultiplexer (DMUX) 3 via the transmission channel (or storage, which can also be modeled as a channel). The DMUX 3 separates outs the text and the video data, as well as the control and auxiliary information. The FAP stream, which includes the Encoder Time Stamp (ETS), is also output by the DMUX 3 directly to the FA/AP/MP 4, which is coupled to the Text-to-Speech Converter (TTS) 5, a Phoneme FAP converter 6, a compositor 7 and a visual decoder 8. A Lip Shape Analyzer 9 is coupled to the visual decoder 8 and the TTS 5. User input enters via the compositor 7 and is output to the TTS 5 and the FA/AP/MP 4. These events include start, stop, etc. The TTS 4 reads the bookmarks, and outputs the phonemes along with the ETS as well as with a Real-time Time Stamp (RTS) to the Phoneme FAP Converter 6. The phonemes are used to put the vertices of the wireframe in the correct places. At this point the image is not rendered. This data is then output to the visual decoder 8, which renders the image, and outputs the image in video form to the compositor 7. It is in this stage that the FAPs are aligned with the phonemes by synchronizing the phonemes with the same ETS/RTS combination with the corresponding FAP with the matching ETS. The text input to the MPEG-4 hybrid text-to-speech (TTS) converter 5 is output as coded speech to an audio decoder 10. In this system, the audio decoder 10 outputs speech to the compositor 7, which acts as the interface to the video display (not shown) and the speakers (not shown), as well as to the user. On the video side, video data output by the DMUX 3 is passed to the visual decoder 8, which creates the composite video signal based on the video data and the output from the FA/AP/MP 4. There are two different embodiments of the present invention. In a first embodiment, the ETS placed in the text stream includes the facial animation. That is, the bookmark (escape sequence) is followed by a 16 bit codeword that represents the appropriate facial animation to be synchronized with the speech at this point in the animation. Alternatively, the ETS placed in the text stream can act as a pointer in time to a particular facial animation in the FAP stream. Specifically, the escape sequence is followed by a 16 bit code that uniquely identifies a particular place in the FAP stream. While the present invention has been described in terms of animation data, the animation data could be replaced with natural audio or video data. More specifically, the above description provides a method and system for aligning animation data with text-to-speech data. However, the same method and system applies if the text-to-speech data is replaced with audio or video. In fact, the alignment of the two data streams is independent of the underlying data, at least with regard to the TTS stream.

Claims: A method for processing a facial animation including at least one facial mimic and speech-related data in a data stream, comprising the steps of: a) creating a data stream comprising speech-related data to be converted to speech (3); b) creating a facial mimic stream comprising at least one facial mimic (3); c) assigning a predetermined code to the at least one facial mimic (3); and d) placing the predetermined code within the speech-related data stream (3), wherein the predetermined code points to the stream of facial mimics thereby indicating a synchronization relationship between the speech-related data stream and the facial mimic stream. The method according to claim 1, wherein the predetermined code comprises an escape sequence followed by a plurality of bits, which define one of a set of possible facial mimics. The method according to claim 1, wherein the speech-related data stream is a text stream. The method according to claim 3, further comprising the step of placing the predetermined code in between words in the text stream. The method according to claim 3, further comprising the step of placing the predetermined code in between letters in the text stream. The method according to claim 3, further comprising the step of placing the predetermined code inside words in the text stream. The method according to claim 1, wherein the predetermined code comprises a time stamp. The method according to claim 3, further comprising the step of placing the predetermined code in between syllables in the text stream. A method for decoding a facial animation from an encoder signal comprising the steps of: a) creating a speech-related data stream to be converted to speech (3); b) creating a facial mimic stream having an encoder time stamp (ETS) (3); c) converting the speech-related data to phonemes having a second ETS and a real-time time stamp (RTS) (5); and d) aligning the facial mimic stream with the phonemes by synchronizing the second ETS and the RTS with the corresponding ETS in the facial mimic stream (7), whereby facial mimics may be synchronized with speech. A method for decoding a facial animation including speech and at least one facial mimic, characterized by : a) monitoring a text stream for a set of predetermined codes corresponding to a set of facial mimics; and b) sending a signal to a visual decoder to start a particular facial mimic upon detecting the presence of one of the set of predetermines codes, wherein the predetermined code acts as a pointer to a stream of facial mimics thereby indicating a synchronization relationship between the text stream and the facial mimic stream. The method according to claim 10, wherein the predetermined code comprises an escape sequence. The method according to claim 10, further comprising the step of placing the predetermined code in between words in the text stream. The method according to claim 10, further comprising the step of placing the predetermined code in between phonemes in the text stream. The method according to claim 10, further comprising the step of placing the predetermined code inside words in the text stream. An apparatus for decoding an encoded animation comprising: a) a demultiplexer (3) receiving the encoded animation and outputting therefrom a text stream and a facial animation parameter stream, wherein said text stream includes a plurality of codes indicating a synchronization relationship with a plurality of mimics in the facial animation parameter stream and the text in the text stream; b) a text to speech converter (5) coupled to the demultiplexer, converting the text stream to speech, outputting a plurality of phonemes, and a plurality of real-time time stamps and the plurality of codes in a one-to-one correspondence, whereby the plurality of real-time time stamps and the plurality of codes indicate a synchronization relationship between the plurality of mimics and the plurality of phonemes; and c) a phoneme to video converter (6) being coupled to the text to speech converter (5), synchronizing a plurality of facial mimics with the plurality of phonemes based on the plurality of real-time time stamps and the plurality of codes. The apparatus according to claim 15, further comprising a compositor converting the speech and video to a composite video signal. The apparatus according to claim 15, wherein the phoneme to video converter includes: (a) a facial animator creating a wireframe image based on the synchronized plurality of phonemes and the plurality of facial mimics; and (b) a visual decoder being coupled to the demultiplexer and the facial animator, and rendering the video image based on the wireframe image.

Inventors: BASSO ANDREA, BEUTNAGEL MARK CHARLES, OSTERMANN JOERN, BASSO, ANDREA, BEUTNAGEL, MARK CHARLES, OSTERMANN, JOERN
Applicants: AT & T CORP, AT&T CORP.
Application year: 1998
Main classification: G10L21
IPC codes: G10L21, G06T13, G10L15, H04N7, G10L13