TW201837739A - Animation generating system and method thereof - Google Patents

Animation generating system and method thereof Download PDF

Info

Publication number
TW201837739A
TW201837739A TW106111397A TW106111397A TW201837739A TW 201837739 A TW201837739 A TW 201837739A TW 106111397 A TW106111397 A TW 106111397A TW 106111397 A TW106111397 A TW 106111397A TW 201837739 A TW201837739 A TW 201837739A
Authority
TW
Taiwan
Prior art keywords
animation
sub
generating
animations
text
Prior art date
Application number
TW106111397A
Other languages
Chinese (zh)
Inventor
陳建勲
彭儒靜
Original Assignee
集雅科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 集雅科技股份有限公司 filed Critical 集雅科技股份有限公司
Priority to TW106111397A priority Critical patent/TW201837739A/en
Publication of TW201837739A publication Critical patent/TW201837739A/en

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

An animation generating system including an input interface, a database, an analysis module and a generating module is provided. The input interface is provided for a user to input multiple words desired to generate an animation. The database is stored in a server and includes multiple sub animations. The analysis module is disposed at the server for analyzing the words and accordingly generating an analysis result. The generating module is disposed at the server and connected with the database and the analysis module. The generating module searches the sub animations from the database according to the analysis result and synthesizes the sub animations corresponding to the analysis result as an animation corresponding to the words. An animation generating method is also provided for a user to input words and then analysis the words and synthesize and generate an animation corresponding the words.

Description

動畫產生系統以及其方法  Animation generation system and method thereof  

本發明是關於一種經由文字產生動畫的方法與系統,且特別是可自動生成動畫的產生系統及其方法。 The present invention relates to a method and system for generating animation via text, and more particularly to a system and system for automatically generating animations.

現有動態新聞或者教學系統存在以附有文字說明或字幕的動畫為一種表現手段。換言之,現有動態新聞或者教學系統係以所欲傳達的文字內容為基礎,並進一步搭配動畫,以協助觀眾或者使用者理解文字內容。然而,所述動畫通常是基於已經完成的新聞內容或者教學文章所製作,亦即,製作者必須先完成新聞內容或者教學文章的撰寫,而後才據所述新聞內容或者教學文章而逐字逐句完成對應的動畫。由此可知,習知作法在完成整個動畫的過程中成本較高且耗時。 Existing dynamic news or teaching systems have animations with captions or subtitles as a means of expression. In other words, the existing dynamic news or teaching system is based on the text content to be conveyed, and is further combined with animation to assist the audience or users in understanding the text content. However, the animation is usually based on completed news content or teaching articles, that is, the producer must first complete the writing of the news content or the teaching article, and then complete the corresponding word by word according to the news content or the teaching article. Animation. It can be seen that the conventional method is costly and time consuming in completing the entire animation.

本發明的動畫產生系統及其方法可依據輸入內容自動地且即時地產生所需動畫。 The animation production system and method of the present invention can automatically and instantaneously generate a desired animation in accordance with input content.

本發明的動畫產生系統包括一輸入介面、一資料庫、一分 析模組以及一產生模組。輸入介面供使用者輸入欲產生動畫之複數個文字。資料庫儲存於一伺服器,並包括複數個子動畫。分析模組設置於伺服器,用於分析文字,並據以產生一分析結果。產生模組設置於伺服器,並連接於資料庫及分析模組。產生模組依據分析結果從資料庫搜尋子動畫,並將對應分析結果之子動畫合成對應於文字之一動畫。 The animation production system of the present invention includes an input interface, a database, an analysis module, and a production module. The input interface is for the user to input a plurality of characters to be animated. The database is stored in a server and includes a plurality of sub-animations. The analysis module is disposed on the server for analyzing text and generating an analysis result accordingly. The generating module is disposed on the server and connected to the database and the analysis module. The generating module searches the sub-animation from the database according to the analysis result, and synthesizes the sub-animation corresponding to the analysis result to correspond to one of the text animations.

本發明的動畫產生方法係供使用者於輸入文字後,於一伺服器分析文字並組合生成對應文字內容之動畫,其包括下列步驟。於一文字輸入步驟中,使用者經由一輸入介面輸入欲產生動畫之複數個文字。於一分析步驟中,伺服器對文字進行分析,並據以產生一分析結果。於一動畫產生步驟中,伺服器係對應分析結果於一資料庫內搜尋已儲存之複數子動畫,並於取得對應分析結果之子動畫後將子動畫合成對應文字之一動畫。 The animation generating method of the present invention is for the user to analyze the text on a server and combine to generate an animation of the corresponding text content after inputting the text, which includes the following steps. In a text input step, the user inputs a plurality of characters to be animated via an input interface. In an analysis step, the server analyzes the text and generates an analysis result accordingly. In an animation generating step, the server searches for a stored plurality of sub-animations in a database corresponding to the analysis result, and synthesizes the sub-animation into one of the corresponding texts after obtaining the sub-animation corresponding to the analysis result.

在本發明的一實施例中,其中所述文字包括一文章或將用於動畫之一字幕。 In an embodiment of the invention, wherein the text comprises an article or a subtitle to be used for animation.

在本發明的一實施例中,其中所述文字包括至少一主詞、至少一動詞、至少一受詞或至少一場景敘述。 In an embodiment of the invention, the text includes at least one subject, at least one verb, at least one accepted word, or at least one scene narrative.

在本發明的一實施例中,其中分析模組分析辨別所述文字所包括之至少一主詞、至少一動詞、至少一受詞或至少一場景敘述。 In an embodiment of the invention, the analysis module analyzes and distinguishes at least one main word, at least one verb, at least one accepted word or at least one scene narrative included in the text.

在本發明的一實施例中,其中分析步驟包括辨別所述文字所包括之至少一主詞、至少一動詞、至少一受詞或至少一場景敘述。 In an embodiment of the invention, the analyzing step includes discriminating at least one subject, at least one verb, at least one accepted word, or at least one scene narrative included in the text.

在本發明的一實施例中,其中分析模組包括一語法分析器(parser)。 In an embodiment of the invention, the analysis module includes a parser.

在本發明的一實施例中,其中分析步驟包括使用一語法分 析器進行分析。 In an embodiment of the invention, wherein the analyzing step comprises analyzing using a grammar analyzer.

在本發明的一實施例中,其中資料庫包括依照不同詞性對子動畫進行分類之複數個群組,而群組內各自設有對應其詞性之子動畫。 In an embodiment of the invention, the database includes a plurality of groups that classify the sub-animation according to different part of speech, and each of the groups is provided with a sub-animation corresponding to the part of speech.

在本發明的一實施例中,其中動畫產生方法更包括一資料建立步驟,其在資料庫建立依照不同詞性對子動畫進行分類之複數個群組,而群組內各自設有對應其詞性之子動畫。 In an embodiment of the present invention, the animation generating method further includes a data establishing step of establishing a plurality of groups in the database for classifying the sub-animation according to different part of speech, and each group has a sub-character. Animation.

在本發明的一實施例中,其中所述群組包括至少一主詞群組、至少一動詞群組、至少一受詞群組或至少一場景敘述群組。 In an embodiment of the invention, the group includes at least one subject group, at least one verb group, at least one word group, or at least one scene narration group.

在本發明的一實施例中,其中資料庫連接一資料分析模組。資料分析模組分析複數筆資料,並對應製作成子動畫後依群組之類型進行分類儲存於伺服器內。 In an embodiment of the invention, the database is connected to a data analysis module. The data analysis module analyzes the plurality of pieces of data, and correspondingly creates the sub-animations and then stores them in the server according to the type of the group.

在本發明的一實施例中,其中資料建立步驟包括將資料庫連接一資料分析模組。 In an embodiment of the invention, the data establishing step includes connecting the database to a data analysis module.

由此可知,本發明所提供的動畫產生系統及其方法適於在使用者經由輸入介面輸入欲產生動畫之複數個文字之後,透過分析模組對所述文字進行分析並產生分析結果,而後透過產生模組依據分析結果從資料庫搜尋已儲存之子動畫,並將所對應分析結果之子動畫合成對應於文字之動畫。如此,本發明的動畫產生系統及其方法可在使用者依據需求輸入文字之後,依據輸入內容自動地且即時地產生所需動畫,可廣泛應用於動態新聞或者教學系統等以文字搭配動畫進行使用之系統中。 It can be seen that the animation generating system and the method thereof are adapted to analyze the text and generate an analysis result through the analysis module after the user inputs a plurality of characters to be animated through the input interface, and then pass the analysis result. The generating module searches the stored sub-animation from the database according to the analysis result, and synthesizes the sub-animation of the corresponding analysis result into an animation corresponding to the text. In this way, the animation generating system and the method of the present invention can automatically and instantaneously generate the required animation according to the input content after the user inputs the text according to the requirement, and can be widely used in dynamic news or teaching systems, etc. In the system.

100‧‧‧動畫產生系統 100‧‧‧Animation production system

102‧‧‧伺服器 102‧‧‧Server

110‧‧‧輸入介面 110‧‧‧Input interface

120‧‧‧資料庫 120‧‧‧Database

130‧‧‧分析模組 130‧‧‧Analysis module

140‧‧‧產生模組 140‧‧‧ generating module

150‧‧‧資料分析模組 150‧‧‧Data Analysis Module

S110-S140‧‧‧步驟 S110-S140‧‧‧Steps

圖1是本發明一實施例的動畫產生系統的示意圖。 1 is a schematic diagram of an animation generation system in accordance with an embodiment of the present invention.

圖2是本發明一實施例的動畫產生方法的流程圖。 2 is a flow chart of an animation generating method according to an embodiment of the present invention.

圖1是本發明一實施例的動畫產生系統的示意圖。請參考圖1,在本實施例中,動畫產生系統100包括輸入介面110、資料庫120、分析模組130以及產生模組140。輸入介面110供使用者(例如是前述的動畫製作者)輸入欲產生動畫之複數個文字。資料庫120儲存於伺服器102,並包括複數個子動畫(詳如後續說明)。分析模組130設置於伺服器102,用於分析使用者所輸入的文字,並據以產生分析結果。產生模組140設置於伺服器102,並連接於資料庫120及分析模組130。產生模組140依據分析結果從資料庫120搜尋子動畫,並將對應分析結果之子動畫合成對應於文字之動畫。 1 is a schematic diagram of an animation generation system in accordance with an embodiment of the present invention. Referring to FIG. 1 , in the embodiment, the animation generating system 100 includes an input interface 110 , a database 120 , an analysis module 130 , and a generation module 140 . The input interface 110 allows a user (for example, the aforementioned animator) to input a plurality of characters to be animated. The database 120 is stored in the server 102 and includes a plurality of sub-animations (as detailed below). The analysis module 130 is disposed on the server 102 for analyzing text input by the user and generating an analysis result accordingly. The generating module 140 is disposed on the server 102 and connected to the database 120 and the analysis module 130. The generating module 140 searches for the sub-animation from the database 120 according to the analysis result, and synthesizes the sub-animation corresponding to the analysis result into an animation corresponding to the text.

具體而言,在本實施例中,所述文字例如是欲產生動畫之文章或將用於動畫之字幕,其可以是新聞內容或教學用詞,但本發明不以此為限制。使用者透過輸入介面110輸入上述文字,而輸入結果可以有線地或無線地傳遞至設置於伺服器102的分析模組130。為求了解需對應產生何種動畫,動畫產生系統100在所述文字輸入後藉由分析模組130對其進行分析。其中,所述文字包括至少一主詞、至少一動詞、至少一受詞或至少一場景敘述,而所述分析係指分析所述文字的詞性,即藉由分析模組120分析辨別所述文字所包括之至少一主詞、至少一動詞、至少一受詞或至少一場 景敘述,藉以了解需對應產生何種動畫。 Specifically, in the embodiment, the text is, for example, an article to be animated or a subtitle to be used for animation, which may be a news content or a teaching term, but the invention is not limited thereto. The user inputs the text through the input interface 110, and the input result can be transmitted to the analysis module 130 disposed on the server 102 by wire or wirelessly. In order to understand what kind of animation is required to be generated, the animation generating system 100 analyzes the text by the analysis module 130 after the text is input. The text includes at least one main word, at least one verb, at least one received word, or at least one scene narrative, and the analyzing refers to analyzing the part of speech of the text, that is, analyzing and analyzing the text by the analysis module 120. At least one subject, at least one verb, at least one accepted word, or at least one scene narrative is included to understand what kind of animation needs to be generated correspondingly.

舉例來說,在本實施例中,分析模組130包括語法分析器(parser)。以史丹佛(Stanford)大學之自然語言處理(Natural Language Processing,NLP)小組所提供之依存性語法分析器(Dependency parser)為例進行說明(本發明不限於使用此軟體),在使用者輸入所述文字(例如是文章或者字幕)之後,作為分析模組130之語法分析器從所述文字中逐一取出單字,而後根據每一單字與前後文的關係,選擇shift、arc-left、arc-right三種語法動作之一(即判斷所述單字之詞性)。若所述單字的選擇結果是arc-left或者arc-right,會進一步標註其連接關係。在所有單字均處理結束之後,上述選擇結果將形成剖析樹(parse tree),或稱為依存樹(dependency tree)。之後,語法分析器會進一步找出句子中的主詞與受詞。 For example, in the present embodiment, the analysis module 130 includes a parser. The Dependency Parser provided by the Natural Language Processing (NLP) team at Stanford University is taken as an example (the present invention is not limited to the use of this software), at the user input. After the text (for example, an article or a subtitle), the parser as the analysis module 130 extracts the words one by one from the characters, and then selects shift, arc-left, and arc-right according to the relationship between each word and the context. One of the three grammatical actions (ie, determining the part of speech of the word). If the result of the selection of the word is arc-left or arc-right, the connection relationship is further marked. After the processing of all the words is completed, the above selection result will form a parse tree, or a dependency tree. After that, the parser will further find the main words and the accepted words in the sentence.

以英文為例,當使用者輸入英文「dogs bites me(狗咬我)」時,語法分析器之分析結果以動詞「bites」為根(root),並以名詞「dogs」與「me」為葉(leaves)而建構出剖析樹,而後透過前後文與連接關係判斷「dogs」為語法「nsubj」(即代表主詞)而「me」為語法「dobj」(即代表受詞)。以中文為例,當使用者輸入中文「被害人隨地丟垃圾,意外引發殺機。」時,語法分析器之分析結果逐一分解每個單字如下: In English, for example, when the user enters the English "dogs bites me", the analysis result of the parser uses the verb "bites" as the root (root) and the nouns "dogs" and "me" as the roots. The leaves are constructed to construct a parse tree, and then the "dogs" is judged as the grammar "nsubj" (that is, the main word) and the "me" is the grammar "dobj" (that is, the representative words) through the context of the context. Take Chinese as an example. When the user enters Chinese "the victim throws garbage anywhere and accidentally causes murder.", the parser analysis results decompose each word one by one as follows:

nsubj(丟-3,被害人-1) Nsubj (lost-3, victim-1)

advmod(丟-3,隨地-2) Advmod (lost-3, anywhere -2)

root(ROOT-0,丟-3) Root(ROOT-0, lose-3)

dobj(丟-3,垃圾-4) Dobj (lost-3, garbage-4)

punct(丟-3,,-5) Punct (throw-3,,-5)

nsubj(引發-7,意外-6) Nsubj (trigger -7, accident-6)

conj(丟-3,引發-7) Conj (throw-3, throw -7)

dobj(引發-7,殺機-8) Dobj (trigger -7, killer -8)

punct(丟-3,。-9) Punct (throw-3, .-9)

從而建構出依存樹,其中語法分析器之語法「nsubj」代表主詞,故語法分析器從而判斷「被害人」是主詞而動詞是「丟」,而語法分析器之語法「dobj」代表受詞,故語法分析器從而判斷「丟」的受詞是「垃圾」。類似地,語法分析器也可以利用同樣方法分析出另一句子之「意外」、「引發」與「殺機」之關係。 Thus constructing a dependency tree, in which the grammar of the grammar analyzer "nsubj" represents the subject, so the grammar analyzer judges that "victim" is the subject and the verb is "lost", and the grammar of the parser "dobj" represents the subject, so The parser thus judges that the word "lost" is "junk". Similarly, the parser can use the same method to analyze the relationship between "accident", "trigger" and "killer" in another sentence.

在此介紹其他另外兩種可使用的語法分析器。首先,語法分析器可採用「rule-based+POS tagging」之語法進行分析,其先將所述文字中之每個單字標註出詞性,而後找出其中的名詞-動詞-名詞之圖案(NOUN-VERB-NOUN pattern),藉此可知第一個名詞為主詞而第二個名詞為受詞,亦可進一步找出其他圖案,例如名詞-BE動詞-動詞-介係詞BY-名詞之圖案(NOUN-BE-VERB-BY-NOUN pattern),藉此可知其中第一個為受詞而第二個為主題。以中文為例,當使用者輸入中文「被害人隨地丟垃圾,意外引發殺機」時,語法分析器首先將所述文字中之單字標註出詞性,即名詞「被害人」為語法「/NN」、副詞「隨地」為語法「/AD」、動詞「丟」為語法「/VV」、名詞「垃圾」為語法「/NN」、標點符號「,」為語法「/PU」、名詞「意外」為語法「/NN」、動詞「引發」為語法「/VV」、名詞「殺機」為語法「「/NN」、標點符號「。」為語法「/PU」。之後,找出預先設定的圖案,例如用名詞-副詞-動詞-名詞之圖案可以找到「被害人」-「隨地」-「丟」-「垃圾」等文字,而用名詞-動詞-名詞之圖案可 以找到「意外」-「引發」-「殺機」等文字,藉此可得知其主詞與受詞等分析結果。另外,語法分析器可採用「semantic role labeling」之語法進行分析,其可在所述文字中找出每個單字的語意類型,例如語法V代表動詞、語法A0代表主詞、語法A1代表直接受詞、而語法A2代表間接受詞,藉此可得知其主詞與受詞等分析結果。同樣地,當所述句子具有場景敘述時,語法分析器也可透過所述文字之每個單字之詞性與文章之前後文進行判斷分析。上述內容僅是其中一實施例之說明,本發明不限制其所用之語法分析器與適用之語系種類。 Here are two other two available parsers. First, the parser can use the syntax of "rule-based + POS tagging" to first mark each word in the text with the part of speech, and then find out the noun-verb-noun pattern (NOUN- VERB-NOUN pattern), by which the first noun is the main word and the second noun is the accepted word, and other patterns can be further found, such as the noun-BE verb-verb-introduction BY-noun pattern (NOUN -BE-VERB-BY-NOUN pattern), which means that the first one is the accepted word and the second one is the subject. In Chinese, for example, when the user inputs Chinese "the victim throws garbage anywhere, the accident triggers the killing machine", the grammar analyzer first marks the word in the text as the part of speech, that is, the noun "victim" is the grammar "/NN", the adverb "place" is the grammar "/AD", the verb "lost" is the grammar "/VV", the noun "junk" is the grammar "/NN", the punctuation mark "," is the grammar "/PU", and the noun "accident" is the grammar. "/NN", the verb "trigger" is the grammar "/VV", the noun "killer" is the grammar ""/NN", and the punctuation mark "." is the grammar "/PU". After that, find the pre-set pattern, for example, use the noun-adverb-verb-noun pattern to find the words "victim" - "place" - "lost" - "junk", and use the noun-verb-noun pattern Find the words "accident" - "trigger" - "killing machine", etc., so that you can know the results of analysis such as subject and subject. In addition, the parser can use the syntax of "semantic role labeling" to analyze the semantic meaning of each word in the text, for example, the grammar V represents a verb, the grammar A0 represents a subject, and the grammar A1 represents a direct vocabulary. The grammar A2 represents the accepted words, so that the analysis results of the subject and the received words can be known. Similarly, when the sentence has a scene narrative, the parser can also perform judgment analysis on the part of the word of the word and the text before and after the article. The above is only an illustration of one of the embodiments, and the present invention does not limit the type of grammar analyzer and the applicable language family.

在分析模組130分析所述文字之後,連接分析模組130之產生模組140取得分析結果,並據此在其所連接之資料庫120中搜尋對應的子動畫。換言之,在使用者透過輸入介面110輸入文字以及分析模組130分析所述文字的動作之前,較佳地是資料庫120已內建複數個子動畫。 After the analysis module 130 analyzes the text, the generation module 140 of the connection analysis module 130 obtains the analysis result, and searches for the corresponding sub-animation in the connected database 120 accordingly. In other words, before the user inputs the text through the input interface 110 and the analysis module 130 analyzes the text, it is preferable that the database 120 has built in a plurality of sub-animations.

詳細而言,在本實施例中,資料庫120包括依照不同詞性對子動畫進行分類之複數個群組,而群組內各自設有對應其詞性之子動畫。其中,所述群組例如是至少一主詞群組、至少一動詞群組、至少一受詞群組或至少一場景敘述群組(但本發明不限制其種類),而前述子動畫事先製作完成後依據其詞性儲存於對應之群組中。亦即,主詞群組中儲存常見用於作為主詞之名詞所對應之子動畫,而動詞群組中儲存常見之動詞所對應之子動畫,以此類推至其他群組。由於資料庫120內已在各種詞性之群組中設置對應其詞性之子動畫,故產生模組140可依據分析模組130之分析結果在資料庫120的各個群組中搜尋對應的子動畫。 In detail, in the embodiment, the database 120 includes a plurality of groups that classify the sub-animation according to different part of speech, and each of the groups is provided with a sub-animation corresponding to the part of speech. The group is, for example, at least one subject group, at least one verb group, at least one vocabulary group, or at least one scene narration group (but the invention does not limit the genre thereof), and the foregoing sub-animation is completed in advance. It is then stored in the corresponding group according to its part of speech. That is, the subject group stores the sub-animations commonly used for the nouns as the subject words, while the verb group stores the sub-animations corresponding to the common verbs, and so on to other groups. Since the sub-animation corresponding to the part of speech is set in the group of various parts of speech in the database 120, the generating module 140 can search for the corresponding sub-animation in each group of the database 120 according to the analysis result of the analysis module 130.

更進一步地說,在本實施例中,資料庫120連接資料分析模 組150。資料分析模組150分析複數筆資料,並對應製作成子動畫後依所述群組之類型進行分類儲存於伺服器102內。其中,所述資料例如是現有的大量新聞,但本發明不以此為限制。透過資料分析模組150分析大量資料,可以歸納出常見的人物、場景以及動作等狀態。之後,依據上述分析與歸納之結果,可以對應建立出新的多種子動畫,或者從已有之影像擷取出多種子動畫,而後將所得子動畫儲存在資料庫120中對應之群組內。以場景敘述為例,資料庫中可以事先在場景敘述群組內建大量有關場景敘述之子動畫,而後在分析模組分析完所述文字之後,依照分析結果中之動作以及文章情境而搜尋資料庫並選出最適合的場景。例如,當所輸入之文字為「馬拉松」時,則對應搜尋到之子動畫可以是數個人在戶外場景跑步之畫面,而當所輸入之文字為「寫程式」時,則對應搜尋到之子動畫可以是一至數人在辦公室操作電腦之畫面(僅用於舉例說明,本發明不限於上述形式)。事先透過資料分析模組150分析的資料越多,資料庫120內各個群組所設置子動畫也越多,且後續在動畫產生系統100產生動畫的過程中,產生模組140從資料庫120搜尋對應所輸入之文字之子動畫的動作也更精準。 Further, in the present embodiment, the database 120 is connected to the data analysis module 150. The data analysis module 150 analyzes the plurality of pieces of data and stores them in the server 102 according to the type of the group. The information is, for example, a large amount of news available, but the invention is not limited thereto. By analyzing a large amount of data through the data analysis module 150, it is possible to summarize common characters, scenes, and actions. Then, according to the result of the above analysis and induction, a new plurality of sub-animations can be created correspondingly, or a plurality of sub-animations can be extracted from the existing images, and then the obtained sub-animations are stored in corresponding groups in the database 120. Taking the scene description as an example, a large number of sub-animations about the scene narrative can be built in the scene narrative group in advance, and then after the analysis module analyzes the text, the database is searched according to the action in the analysis result and the article context. And choose the most suitable scene. For example, when the input text is "marathon", the corresponding sub-animation can be a picture of a person running in an outdoor scene, and when the input text is "writing program", the corresponding sub-animation can be searched. It is a screen in which one to several people operate a computer in the office (for illustrative purposes only, the present invention is not limited to the above form). The more data analyzed in advance by the data analysis module 150, the more sub-animations are set in each group in the database 120, and in the subsequent animation process by the animation generation system 100, the generation module 140 searches from the database 120. The motion of the sub-animation corresponding to the entered text is also more precise.

另外,在本實施例中,在產生模組140依據分析模組130分析文字所得之分析結果從資料庫120搜尋得到對應的複數個子動畫之後,產生模組140進一步將所述對應的子動畫合成完整動畫。具體來說,在分析模組130分析文字內所含之所有單字而得到分析結果,且產生模組140依據所述分析結果從資料庫120搜尋到對應的子動畫之後,產生模組140可以依照所述文字中的各個單字的關聯性以及時序將所述子動畫合成完整動畫。所述合成例如是將兩個以上之子動畫重疊在一起,或者是將兩個以上之子動 畫沿著時間軸依序疊加,本發明不限制所述合成方式。藉此,所述動畫產生系統100所完成之動畫係基於使用者所輸入之文字而產生,且前述之分析、搜尋及合成動作都在伺服器102中執行,故本實施例所述之動畫產生系統100可廣泛應用於動態新聞或者教學系統等以文字搭配動畫進行使用之系統中,以依據輸入內容自動地且即時地產生所需動畫。 In addition, in this embodiment, after the generating module 140 searches for the corresponding plurality of sub-animations from the database 120 according to the analysis result obtained by analyzing the characters by the analysis module 130, the generating module 140 further synthesizes the corresponding sub-animations. Complete animation. Specifically, after the analysis module 130 analyzes all the words contained in the text to obtain an analysis result, and after the generation module 140 searches for the corresponding sub-animation from the database 120 according to the analysis result, the generation module 140 can follow the The association and timing of the individual words in the text combines the sub-animations into a complete animation. The synthesizing is, for example, superimposing two or more sub-animations together, or sequentially superimposing two or more sub-animations along a time axis, and the present invention does not limit the synthesizing manner. Therefore, the animation performed by the animation generating system 100 is generated based on the text input by the user, and the foregoing analysis, searching, and synthesizing actions are all performed in the server 102, so the animation generated in the embodiment is generated. The system 100 can be widely applied to systems such as dynamic news or teaching systems that use text matching animations to automatically and instantly generate desired animations based on input content.

圖2是本發明一實施例的動畫產生方法的流程圖。請參考圖1與圖2,在本實施例中,動畫產生方法係供使用者於輸入文字後,於伺服器102分析文字並組合生成對應文字內容之動畫,其包括下列步驟。首先,於文字輸入步驟S110中,使用者經由輸入介面110輸入欲產生動畫之複數個文字。接著,於分析步驟S120中,伺服器102對文字進行分析,並據以產生分析結果。最後,於動畫產生步驟S130中,伺服器102係對應分析結果於資料庫120內搜尋已儲存之複數子動畫,並於取得對應分析結果之子動畫後將子動畫合成對應文字之動畫。 2 is a flow chart of an animation generating method according to an embodiment of the present invention. Referring to FIG. 1 and FIG. 2, in the embodiment, the animation generating method is used by the user to analyze the text on the server 102 and generate an animation corresponding to the text content after inputting the text, which includes the following steps. First, in the character input step S110, the user inputs a plurality of characters to be animated via the input interface 110. Next, in the analyzing step S120, the server 102 analyzes the text and generates an analysis result accordingly. Finally, in the animation generating step S130, the server 102 searches the database 120 for the stored plurality of sub-animations corresponding to the analysis result, and synthesizes the sub-animation into the corresponding text animation after obtaining the sub-animation corresponding to the analysis result.

具體而言,在本實施例中,使用者在文字輸入步驟S110所輸入之文字包括文章或將用於動畫之字幕,其例如是包括至少一主詞、至少一動詞、至少一受詞或至少一場景敘述,而分析步驟S120包括例如是使用設置於伺服器102之分析模組130辨別文字所包括之至少一主詞、至少一動詞、至少一受詞或至少一場景敘述,且例如是包括使用語法分析器進行分析。然而,本發明不以此為限制。於文字輸入步驟S110所輸入之文字之種類以及於分析步驟S120中所用之分析方法可依據需求調整。 Specifically, in this embodiment, the text input by the user in the text input step S110 includes an article or a subtitle to be used for animation, which includes, for example, at least one main word, at least one verb, at least one accepted word, or at least one. The scenario description, and the analyzing step S120 includes, for example, using the analysis module 130 disposed on the server 102 to identify at least one subject, at least one verb, at least one vocabulary, or at least one scene narration included in the text, and includes, for example, using a grammar. The analyzer performs the analysis. However, the invention is not limited thereto. The type of the character input in the character input step S110 and the analysis method used in the analysis step S120 can be adjusted according to the demand.

再者,在本實施例中,所述動畫產生步驟S130實際上包括在伺服器102(例如是藉由其產生模組140)依據分析結果於資料庫120內搜 尋已儲存之複數子動畫以及於取得對應分析結果之子動畫後將子動畫合成對應文字之動畫之兩個步驟。因此,所述動畫產生方法更包括資料建立步驟S140,其在資料庫120建立依照不同詞性對所述子動畫進行分類之複數個群組(例如包括至少一主詞群組、至少一動詞群組、至少一受詞群組或至少一場景敘述群組),而所述群組內各自設有對應其詞性之子動畫。 Furthermore, in the embodiment, the animation generating step S130 is actually included in the server 102 (for example, by using the generating module 140) to search for the stored plurality of sub-animations in the database 120 according to the analysis result. After obtaining the sub-animation corresponding to the analysis result, the sub-animation is synthesized into two steps of the animation of the corresponding text. Therefore, the animation generating method further includes a data establishing step S140, which establishes, in the database 120, a plurality of groups for classifying the sub-animation according to different part of speech (for example, including at least one subject group, at least one verb group, At least one word group or at least one scene description group, and each of the groups is provided with a sub-animation corresponding to its part of speech.

詳細而言,在本實施例中,資料建立步驟S140包括將資料庫120連接資料分析模組150。資料分析模組150分析複數筆資料,並對應製作成子動畫後依所數群組之類型進行分類儲存於伺服器102內。有關資料建立的手段可參考前述內容,例如是分析現有的大量新聞以歸納出常見的人物、場景以及動作等狀態,並可據此對應建立出新的多種子動畫,或者從已有之影像擷取出多種子動畫,而後儲存在資料庫120中對應之群組內。因此,資料建立步驟S140應在動畫產生步驟S130之前。較佳地,資料建立步驟S140可以在文字輸入步驟S110之前,亦即在所述動畫產生方法的第一步驟,以使後續在動畫產生步驟S130之搜尋動作更為快速且精準。然而,本發明不限制上述順序,其可依據需求調整,只要在各步驟執行前已具有對應條件(例如在動畫產生步驟S130中執行搜尋動作時資料庫120已例如透過資料建立步驟S140而儲存有多種子動畫)即可。 In detail, in the embodiment, the data establishing step S140 includes connecting the database 120 to the data analysis module 150. The data analysis module 150 analyzes the plurality of pieces of data, and stores them in the server 102 according to the type of the group after the sub-animation is created. The means for establishing the data can refer to the foregoing content, for example, analyzing a large amount of existing news to summarize common characters, scenes, and actions, and accordingly, to create a new variety of sub-animations, or to view images from existing ones. A plurality of sub-animations are taken out and then stored in the corresponding group in the database 120. Therefore, the material creation step S140 should be before the animation generation step S130. Preferably, the data establishing step S140 can be performed before the text input step S110, that is, in the first step of the animation generating method, so that the subsequent searching operation in the animation generating step S130 is faster and more accurate. However, the present invention does not limit the above-described order, and it can be adjusted according to requirements, as long as there is a corresponding condition before each step is executed (for example, when the search operation is performed in the animation generating step S130, the database 120 has been stored, for example, through the material establishing step S140. Multi-seed animation).

綜上所述,本發明所提供的動畫產生系統及其方法適於在使用者經由輸入介面輸入欲產生動畫之複數個文字(例如是文章或是將用於動畫之字幕)之後,透過分析模組對所述文字進行分析並產生分析結果,而後透過產生模組依據分析結果從資料庫搜尋已儲存之子動畫,並將對應分析結果之子動畫合成對應於文字之動畫。其中,資料庫中所儲存之子動 畫可以是事先透過分析複數筆資料(例如是現有之大量新聞)後依據分析結果對應製作子動畫或對應從現有動畫中擷取出子動畫。如此,本發明的動畫產生系統及其方法可在使用者依據需求輸入文字之後,依據輸入內容自動地且即時地產生所需動畫,可廣泛應用於動態新聞或者教學系統等以文字搭配動畫進行使用之系統中。 In summary, the animation generating system and the method thereof are adapted to pass through an analysis mode after a user inputs a plurality of characters (for example, an article or a subtitle to be used for animation) through an input interface. The group analyzes the text and generates an analysis result, and then searches the stored sub-animation from the database according to the analysis result through the generation module, and synthesizes the sub-animation corresponding to the analysis result into an animation corresponding to the text. The sub-pictures stored in the database may be obtained by analyzing the plurality of pieces of data (for example, a large amount of existing news) in advance, and then sub-animation is performed according to the analysis result or the sub-animation is extracted from the existing animation. In this way, the animation generating system and the method of the present invention can automatically and instantaneously generate the required animation according to the input content after the user inputs the text according to the requirement, and can be widely used in dynamic news or teaching systems, etc. In the system.

Claims (16)

一種動畫產生系統,包括:一輸入介面,供使用者輸入欲產生動畫之複數個文字;一資料庫,其儲存於一伺服器,並包括複數個子動畫;一分析模組,其設置於該伺服器,用於分析該些文字,並據以產生一分析結果;以及一產生模組,其設置於該伺服器,並連接於該資料庫及該分析模組,該產生模組依據該分析結果從該資料庫搜尋該些子動畫,並將對應該分析結果之該些子動畫合成對應於該些文字之一動畫。  An animation generating system includes: an input interface for a user to input a plurality of characters to be animated; a database stored in a server and including a plurality of sub-animations; and an analysis module disposed on the servo And generating a module, the generating module is disposed on the server, and is connected to the database and the analysis module, and the generating module is configured according to the analysis result Searching for the sub-animations from the database, and synthesizing the sub-animations corresponding to the analysis results corresponding to one of the texts.   如申請專利範圍第1項所述之動畫產生系統,其中該些文字包括一文章或將用於該動畫之一字幕。  The animation production system of claim 1, wherein the text comprises an article or a subtitle to be used for the animation.   如申請專利範圍第1項所述之動畫產生系統,其中該些文字包括至少一主詞、至少一動詞、至少一受詞或至少一場景敘述。  The animation production system of claim 1, wherein the characters include at least one subject, at least one verb, at least one vocabulary or at least one scene narration.   如申請專利範圍第1項所述之動畫產生系統,其中該分析模組分析辨別該些文字所包括之至少一主詞、至少一動詞、至少一受詞或至少一場景敘述。  The animation generating system of claim 1, wherein the analyzing module analyzes and distinguishes at least one subject, at least one verb, at least one accepted word or at least one scene narrative included in the characters.   如申請專利範圍第1項所述之動畫產生系統,其中該分析模組包括一語法分析器(parser)。  The animation production system of claim 1, wherein the analysis module comprises a parser.   如申請專利範圍第1項所述之動畫產生系統,其中該資料庫包括依照不同詞性對該些子動畫進行分類之複數個群組,而該些群組內各自設有對應其詞性之該些子動畫。  The animation generating system of claim 1, wherein the database comprises a plurality of groups for classifying the sub-animations according to different part of speech, and each of the groups is provided with corresponding words. Sub animation.   如申請專利範圍第6項所述之動畫產生系統,其中該些群組包括至少一主詞群組、至少一動詞群組、至少一受詞群組或至少一場景敘述群組。  The animation generating system of claim 6, wherein the groups comprise at least one subject group, at least one verb group, at least one word group, or at least one scene narration group.   如申請專利範圍第7項所述之動畫產生系統,其中該資料庫連接一資料分析模組,該資料分析模組分析複數筆資料,並對應製作成該些子動畫後依該些群組之類型進行分類儲存於該伺服器內。  The animation generating system of claim 7, wherein the database is connected to a data analysis module, and the data analysis module analyzes the plurality of data, and correspondingly creates the sub-animations according to the groups. Types are classified and stored in the server.   一種動畫產生方法,係供使用者於輸入文字後,於一伺服器分析文字並組合生成對應文字內容之動畫,其包括下列步驟:一文字輸入步驟:使用者經由一輸入介面輸入欲產生動畫之複數個文字;一分析步驟:該伺服器對該些文字進行分析,並據以產生一分析結果;以及一動畫產生步驟:該伺服器係對應該分析結果於一資料庫內搜尋已儲存之複數子動畫,並於取得對應該分析結果之該些子動畫後將該些子動畫合成對應該些文字之一動畫。  An animation generating method is provided for a user to analyze text and combine to generate an animation of a corresponding text content after inputting a text, and the method includes the following steps: a text input step: the user inputs an plural number of animations to be generated via an input interface. Text analysis; an analysis step: the server analyzes the text and generates an analysis result; and an animation generation step: the server searches for the stored result in a database corresponding to the analysis result Animating, and after obtaining the sub-animations corresponding to the analysis results, synthesizing the sub-animations into one of the texts.   如申請專利範圍第9項所述之動畫產生方法,其中該些文字包括一文章或將用於該動畫之一字幕。  The animation generating method of claim 9, wherein the text includes an article or a subtitle to be used for the animation.   如申請專利範圍第9項所述之動畫產生方法,其中該些文字包括至少一主詞、至少一動詞、至少一受詞或至少一場景敘述。  The animation generating method according to claim 9, wherein the characters include at least one main word, at least one verb, at least one accepted word, or at least one scene description.   如申請專利範圍第9項所述之動畫產生方法,其中該分析步驟包括辨別該些文字所包括之至少一主詞、至少一動詞、至少一受詞或至少一場景敘述。  The method for generating animation according to claim 9, wherein the analyzing step comprises discriminating at least one subject, at least one verb, at least one accepted word or at least one scene narrative included in the characters.   如申請專利範圍第9項所述之動畫產生方法,其中該分析步驟包括使用一語法分析器進行分析。  The animation generating method of claim 9, wherein the analyzing step comprises analyzing using a parser.   如申請專利範圍第9項所述之動畫產生方法,更包括:一資料建立步驟,其在該資料庫建立依照不同詞性對該些子動畫進行分類之複數個群組,而該些群組內各自設有對應其詞性之該些子動畫。  The method for generating an animation according to claim 9 further includes: a data establishing step of establishing, in the database, a plurality of groups for classifying the sub-animations according to different part of speech, and within the groups Each of these sub-animations corresponding to their part of speech is provided.   如申請專利範圍第14項所述之動畫產生方法,其中該些群組包括至少一主詞群組、至少一動詞群組、至少一受詞群組或至少一場景敘述群組。  The method for generating animation according to claim 14, wherein the groups comprise at least one group of subjects, at least one group of verbs, at least one group of words, or at least one group of scene descriptions.   如申請專利範圍第15項所述之動畫產生方法,其中該資料建立步驟包括將該資料庫連接一資料分析模組,該資料分析模組分析複數筆資料,並對應製作成該些子動畫後依該些群組之類型進行分類儲存於該伺服器內。  The method for generating an animation according to claim 15, wherein the data establishing step comprises connecting the database to a data analysis module, wherein the data analysis module analyzes the plurality of data and correspondingly creates the sub-animations. The categories are stored in the server according to the types of the groups.  
TW106111397A 2017-04-05 2017-04-05 Animation generating system and method thereof TW201837739A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106111397A TW201837739A (en) 2017-04-05 2017-04-05 Animation generating system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106111397A TW201837739A (en) 2017-04-05 2017-04-05 Animation generating system and method thereof

Publications (1)

Publication Number Publication Date
TW201837739A true TW201837739A (en) 2018-10-16

Family

ID=64797128

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106111397A TW201837739A (en) 2017-04-05 2017-04-05 Animation generating system and method thereof

Country Status (1)

Country Link
TW (1) TW201837739A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021082742A1 (en) * 2019-10-29 2021-05-06 华为技术有限公司 Data display method and media processing apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021082742A1 (en) * 2019-10-29 2021-05-06 华为技术有限公司 Data display method and media processing apparatus

Similar Documents

Publication Publication Date Title
KR101994592B1 (en) AUTOMATIC VIDEO CONTENT Metadata Creation METHOD AND SYSTEM
CN110020437B (en) Emotion analysis and visualization method combining video and barrage
CN108287858B (en) Semantic extraction method and device for natural language
KR102061044B1 (en) Method and system for translating sign language and descriptive video service
CN105975558B (en) Establish method, the automatic edit methods of sentence and the corresponding intrument of statement editing model
KR20180087969A (en) Device for authoring video scene and metadata
US9015168B2 (en) Device and method for generating opinion pairs having sentiment orientation based impact relations
CN104166462A (en) Input method and system for characters
JP2008234431A (en) Comment accumulation device, comment creation browsing device, comment browsing system, and program
CN110781328A (en) Video generation method, system, device and storage medium based on voice recognition
CN107491435A (en) Method and device based on Computer Automatic Recognition user feeling
JP2009026108A (en) Idea support apparatus, idea support system, idea support program, and idea support method
Lison et al. Automatic turn segmentation for movie & tv subtitles
KR20120070850A (en) System and method for generating content tag with web mining
CN112182297A (en) Training information fusion model, and method and device for generating collection video
US20240071113A1 (en) Video manual generation device, video manual generation method, and storage medium storing video manual generation program
CN115580758A (en) Video content generation method and device, electronic equipment and storage medium
JP2023062173A (en) Video generation method and apparatus of the same, and neural network training method and apparatus of the same
Bull et al. MEDIAPI-SKEL-a 2D-skeleton video database of French Sign Language with aligned French subtitles
JP6389296B1 (en) VIDEO DATA PROCESSING DEVICE, VIDEO DATA PROCESSING METHOD, AND COMPUTER PROGRAM
CN113923475B (en) Video synthesis method and video synthesizer
CN113901263B (en) Label generation method and device for video material
CN114996506A (en) Corpus generation method and device, electronic equipment and computer-readable storage medium
CN110866408A (en) Database creation device and search system
TW201837739A (en) Animation generating system and method thereof