WO2019233348A1 - Method and device for displaying and producing animation - Google Patents

Method and device for displaying and producing animation Download PDF

Info

Publication number
WO2019233348A1
WO2019233348A1 PCT/CN2019/089510 CN2019089510W WO2019233348A1 WO 2019233348 A1 WO2019233348 A1 WO 2019233348A1 CN 2019089510 W CN2019089510 W CN 2019089510W WO 2019233348 A1 WO2019233348 A1 WO 2019233348A1
Authority
WO
WIPO (PCT)
Prior art keywords
animation
image
action
action template
file
Prior art date
Application number
PCT/CN2019/089510
Other languages
French (fr)
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 北京小小牛创意科技有限公司
Publication of WO2019233348A1 publication Critical patent/WO2019233348A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation

Definitions

  • the present application relates to the field of animation images, and in particular, to a method and device for displaying and producing animation.
  • stories are usually presented to readers or viewers in text or video through books or animations.
  • Books and animation allow readers or viewers to obtain a single text or picture through visual and auditory senses.
  • reading books or watching animations has limited understanding of stories.
  • the simpler text and pictures make the display of the story more monotonous, and the readers or viewers cannot participate in the stories displayed by the books or animations, making the readers or viewers less interactive with the stories displayed by the books or animations.
  • the application provides an animation display, production method and device, which can improve the interaction between the user and the animation.
  • the present application provides a method for displaying animation, including: outputting prompt information contained in the animation file during the process of playing the animation file, and the prompt information is used to prompt the user to provide an animation image material; Animate the image material to get the animated image; match to get the target action template corresponding to the animated image in the animation file; based on the target action template, control the animated image to move.
  • controlling the animation image to perform actions based on the target action template includes: using a handle node in the target action template as a handle node of the animation image; and controlling according to a preset action of the handle node in the target action template.
  • the handle node of the animated image moves according to a preset action.
  • matching to obtain the target action template corresponding to the animation image in the animation file includes: using the specified action template in the animation file as the target action template corresponding to the animation image; or obtaining the image characteristics of the animation image ; Respectively compare the image features of the animated image with the image features of the subject in each action template in the animation file; use the action template corresponding to the image feature of the subject that matches the image feature of the animation image as the target action template.
  • obtaining an animated image based on an animated image material includes: obtaining a planar image feature of the animated image material; transforming to obtain a three-dimensional image feature of the animated image material based on the planar image feature of the animated image material; based on the animated image The three-dimensional image features of the material to obtain a three-dimensional animation image.
  • the foregoing animation display method further includes: selecting at least one frame image in an animation for displaying an animation file with an animation image to form an image set.
  • the foregoing animation display method further includes: adding an animation material including an image material and a sound material; receiving a first setting instruction, and designing a preset action in an action template according to the first setting instruction; receiving The second setting instruction sets prompt information according to the second setting instruction, and generates an animation file according to the animation material, the action template, and the prompt information.
  • the first setting instruction is used to set a position of each handle node of the subject in the action template in at least a part of the frame image in the animation file.
  • the present application provides a method for producing an animation, including: adding an animation material including an image material and a sound material; receiving a first setting instruction and designing a preset action in an action template according to the first setting instruction; Receive a second setting instruction, and set prompt information according to the second setting instruction.
  • the prompt information is used to prompt the user to provide an animation image material; and an animation file is generated according to the animation material, the action template, and the prompt information.
  • the first setting instruction is used to set a position of each handle node of the subject in the action template in at least a part of the frame image in the animation file.
  • the present application provides an animation display device, including: an output module for outputting prompt information contained in the animation file during the process of playing the animation file, and the prompt information is used to prompt the user to provide an animation image material; Module for obtaining animated image material and obtaining animated image based on the animated image material; matching module for matching and obtaining a target action template corresponding to the animated image in the animation file; an action module for controlling the animated image based on the target action template Take action.
  • the action module is specifically configured to: use the handle node in the target action template as the handle node of the animation image; and according to the preset action of the handle node in the target action template, control the handle node of the animation image in accordance with the preset Set action to action.
  • the matching module is specifically used to: use the specified action template in the animation file as the target action template corresponding to the animation image; or, the matching module is specifically used to: obtain the image characteristics of the animation image; compare the animations separately The image feature of the image and the image feature of the subject in each action template in the animation file; the action template corresponding to the image feature of the subject that matches the image feature of the animation image is used as the target action template.
  • the acquisition module is specifically used to: obtain the planar image features of the animated image material; convert the three-dimensional image features of the animated image material according to the planar image characteristics of the animated image material; based on the three-dimensional image characteristics of the animated image material To get a three-dimensional animated image.
  • the animation display device further includes an atlas generating module, configured to select at least one frame of an image in an animation of an animation file displayed with an animation image to perform an action to form an image set.
  • the animation display device further includes a file generation module, which is used to: add an animation material, the animation material includes an image material and a sound material; receive a first setting instruction, and design an action according to the first setting instruction A preset action in a template; receiving a second setting instruction and setting prompt information according to the second setting instruction; generating an animation file according to the animation material, the action template, and the prompt information.
  • a file generation module which is used to: add an animation material, the animation material includes an image material and a sound material; receive a first setting instruction, and design an action according to the first setting instruction A preset action in a template; receiving a second setting instruction and setting prompt information according to the second setting instruction; generating an animation file according to the animation material, the action template, and the prompt information.
  • the first setting instruction is used to set a position of each handle node of the subject in the action template in at least a part of the frame image in the animation file.
  • the present application provides an animation production device, including: a material adding module for adding an animation material, the animation material includes an image material and a sound material; a first setting module for receiving a first setting instruction according to the first A setting instruction, designing a preset action in an action template; a second setting module for receiving the second setting instruction, setting prompt information according to the second setting instruction, the prompt information is used to prompt a user to provide an animation image material; a file generation module , Used to generate animation files based on animation materials, action templates and prompt information.
  • the first setting instruction is used to set a position of each handle node of the subject in the action template in at least a part of the frame image in the animation file.
  • the present application provides a method and device for displaying an animation.
  • an animation image material provided by a user can be obtained, and the animation image obtained according to the animation image material provided by the user is substituted into the animation file being played In the displayed animation, the animation image corresponding to the animation image material provided by the user is involved in the displayed animation.
  • the user's participation in the displayed animation is improved, and the user's interaction with the displayed animation is enhanced.
  • This application provides a method and a device for producing an animation.
  • An animation file is generated by using an added animation material, an action template obtained according to a first setting instruction, and prompt information obtained according to a second setting instruction. Therefore, when the animation file is played, the user can be prompted to provide an animation image material. As a result, the animation image corresponding to the animation image material provided by the user participates in the displayed animation, which improves the user's participation in the animation and also enhances the interaction between the user and the animation.
  • FIG. 1 is a flowchart of an animation display method according to an embodiment of the present application
  • FIG. 2 is a schematic diagram of a handle node of an animated image according to an embodiment of the present application
  • FIG. 3 is a flowchart of an animation display method in another embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of an animation display device according to an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of an animation display device according to another embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of an animation display device provided in an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of an animation production device according to an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of an animation production device provided in an embodiment of the present application.
  • the embodiments of the present application provide an animation display method and device, which can be applied to a human-computer interaction scene.
  • the animation image created by the children or teenagers can be introduced into the story scene or learning scene of the learning machine to enhance the interaction between the children or teenagers and the learning machine, thereby improving children.
  • the interaction between the content of the story or the learning content in the learning machine and the teenagers so as to enhance the understanding effect of the content of the story or the learning content by the children or teenagers.
  • the interestingness of the displayed story content or learning content is improved, thereby increasing the interest of children or young people in the story content or learning content.
  • animation display method and device provided in the embodiments of the present application can also be applied to other scenes that need to use animation to display content, which is not limited herein.
  • FIG. 1 is a flowchart of an animation display method according to an embodiment of the present application. As shown in FIG. 1, the animation display method may include steps S101 to S104.
  • step S101 during the process of playing the animation file, the prompt information contained in the animation file is output.
  • the animation file may include pre-set scenes, text, sounds, characters, and other content. Play an animation file to show a storyline animation. Specifically, an animation with a plot can be displayed through an animation scene, text, sound, and prompt information. For example, playing an animation file shows an animation of a child going up the stairs.
  • the prompt information is used to prompt the user to provide animated image material.
  • the prompt information may be text, graphics, sound, or video, which is not limited herein.
  • the prompt information may be text, graphics, sound, or video, which is not limited herein.
  • the prompt information may be text, graphics, sound, or video, which is not limited herein.
  • the text "draw the protagonist” may prompt the user to provide an animated image.
  • the outline of the animation image that needs to be provided by the user is displayed in the form of an image to prompt the user to provide the animation image.
  • a voice prompt message "Draw an Apple" is issued to prompt the user to provide an animation image of "Apple”.
  • the animation display method may receive a loading instruction from the user, load the animation file selected by the user, and play the loaded animation file. For each animation file played, the interaction between the user and the animation displayed by the animation file can be implemented through steps S101 to S103.
  • step S102 an animation image material is acquired, and an animation image is obtained according to the animation image material.
  • the animation image material is a material required to generate an animation image.
  • the manner in which the user provides the animation image material is not limited.
  • users can provide animated image materials through painting, hand-made, etc.
  • different animated image materials can be obtained, and correspondingly, animated images can be obtained in different ways.
  • the animated image material can be a flat graphic drawn by a user on an artboard, paper, or touch screen.
  • the animated image material may be a three-dimensional graphic such as origami or clay sculpture.
  • the animation display device may obtain an animation image by using a planar graphic or a stereo image provided by a user through shooting, scanning, and the like.
  • the animation image may also be obtained by the animation display device according to the graphics obtained by shooting and scanning, which is not limited herein.
  • an unclosed line graphic obtained by scanning and scanning by the animation display device may be adjusted to a closed line graphic.
  • the arc of the lines in the graphics obtained by the animation display device can be adjusted.
  • step S103 the target action template corresponding to the animation image in the animation file is obtained by matching.
  • An animation file can include one or more action templates.
  • the action template is used to specify the action trajectory of the subject making the action.
  • the target action template is the action template corresponding to the animation image. You can set matching rules, and according to the matching rules, get the target action template corresponding to the animation image in the animation file. For example, if a certain action template is specified in the animation file, or if a certain action template is specified according to the user's selection instruction, the action template may be directly used as the target action template. For another example, if the animation file includes multiple action templates, the animation image may be compared with the multiple action templates to obtain a target action template matching the animation image.
  • step S104 based on the target action template, the animated image is controlled to perform an action.
  • the animation image can be controlled to move according to the motion trajectory of the subject moving in the target action template, so that the animation image moves.
  • the animation image may be bound to the target action template, and the animation image bound to the target action template may be driven, so as to control the animation image to perform an action corresponding to the motion trajectory of the subject in the target action template.
  • the animation file can contain multiple prompt information, which can be output at different times, thereby prompting the user to provide multiple animation image materials for the animation, and introducing multiple animation images into the animation displayed by the animation file.
  • the animation file may require the user to provide animated image material multiple times.
  • steps S101 to S104 may be repeatedly performed in cycles. Output prompt information at different time points of the same animation file and obtain the corresponding animation image. It enables users to interact with the animation displayed by the animation file multiple times and participate in all developments of the animation plot.
  • an animation image material provided by the user can be obtained, and the animation image obtained according to the animation image material provided by the user is substituted into the animation displayed by the animation file being played.
  • the user's participation in the displayed animation is improved, and the user's interaction with the displayed animation is enhanced.
  • it also improves the fun of animation display.
  • the above-mentioned step S102 may be specifically implemented as: obtaining the planar image features of the animated image material; converting the three-dimensional image features of the animated image material according to the planar image characteristics of the animated image material; based on the three-dimensional image characteristics of the animated image material To get a three-dimensional animated image.
  • a conversion model of a planar graphic and a three-dimensional graphic may be set in advance.
  • the transformation model is used to analyze the animated image material to obtain the flat image characteristics of the animated image material.
  • the transformation model is also used to obtain the stereoscopic image features corresponding to the planar image features based on the planar image features.
  • the transformation model can output a three-dimensional animation image corresponding to the three-dimensional image feature according to the three-dimensional image feature.
  • the transformation model can transform planar image features into stereo image features through algorithms such as rotation or padding.
  • the planar image features may include contour features of the plane, area shape features of the plane, and the like.
  • the three-dimensional image features may include three-dimensional contour line features, three-dimensional volume shape features, and three-dimensional surface area shape features. The selection of planar image features and stereo image features is not limited herein.
  • the above step S103 may be specifically implemented as: using the action template specified in the animation file as the target action template corresponding to the animation image.
  • the specified action template is the one in the animation file.
  • the specified action template may be a certain action template specified by the animation display device by default, or a certain action template specified according to a user's selection instruction.
  • the above step S103 may be specifically implemented as: obtaining the image features of the animation image; comparing the image features of the animation image with the image features of the subject in each action template in the animation file; matching the image features of the animation image
  • the action template corresponding to the image feature of the subject is used as the target action template.
  • the animation file includes multiple action templates.
  • Image features may include contour features, shape features, and attribute features, which are not limited herein.
  • Contour features can be used to characterize contour fluctuations, etc.
  • the object to which the contour belongs can be identified based on the contour characteristics.
  • Shape features can be used to characterize shapes. According to the shape feature, the object to which the shape belongs can be identified.
  • Attribute characteristics can be used to represent abstract objects. Images with different shapes and contours may have the same attributes. For example, for the images of dogs of different shapes and contours, their attribute characteristics are "dogs".
  • the prompt information output by the animation display device can prompt the user to provide a type of animated image material, and is not limited to only an animated image material.
  • the animation file can be configured with multiple action templates. Each action template can correspond to an animation image in a type of animation image.
  • the animation display device may output prompt information prompting the user to provide “swimming animals”, and then the user may provide an animation image material of any kind of animation image of the swimming animals.
  • a plurality of action templates can be set in advance, and different action templates correspond to different animated images of swimming animals.
  • the animation display device may analyze the animated image obtained from the animated image material of the swimming animal provided by the user, and obtain the image characteristics of the animated image of the animated image material of the swimming animal provided by the user. According to the obtained image feature, an action template corresponding to the image feature is found as a target action template among multiple action templates.
  • the user draws an animated image of a fish.
  • the contour features of the animated image obtained by the user's animated image of the fish the contour features of the subject in the three action templates of the fish, the turtle and the duck can be compared respectively.
  • the contour features of the subject in the action template of the turtle are compared to the contour features of the subject in the action template of the fish.
  • Mismatch That is, the contour features of the animated image obtained by the user-provided animated image material do not match the contour features of the subject in the action template of the turtle.
  • the contour features of the subject in the duck's action template are compared with the contour features of the subject in the fish's action template. Mismatch.
  • the contour features of the animated image obtained by the user-provided animated image material do not match the contour features of the subject in the duck action template.
  • the contour features of the animated image obtained by the user-provided animated image material match the contour features of the subject in the action template of the fish. Therefore, the action template of the fish is selected as the target action template.
  • the user draws an animated image material of the fish.
  • the attribute characteristics of the animated image obtained by the animated image material of the fish drawn by the user it can be determined that the animated image obtained by the animated image material drawn by the user is an animated image of "fish”.
  • the action template of the fish that matches the animated image of "fish” is selected as the target action template.
  • attribute characteristics can be obtained using artificial intelligence technologies, such as machine learning, evolutionary computing and other technologies.
  • the above step S104 may be specifically implemented as: using the handle node in the target action template as the handle node of the animation image; and controlling the handle node of the animation image according to the preset action according to the preset action of the handle node in the target action template. Set action to action.
  • the body in the target action template has a handle node.
  • the handle node may be an identification point for each part of the body.
  • the joints of the subject, the center of the limb, or the endpoints of the limb in the target action template can be considered as handle nodes.
  • the main body can be moved.
  • the motion trajectory of the subject is preset in the target action template. Specifically, the motion trajectory of the handle node is set in the target action template in advance, thereby setting the motion trajectory of the subject.
  • FIG. 2 is a schematic diagram of a handle node of an animation image according to an embodiment of the present application.
  • the points A1 to A15 are all handle nodes of the animated image (humanoid). If you change the position of the handle node, the action of the corresponding animation image will also change. In multi-frame images, as the position of the handle node gradually changes, the animated image makes corresponding actions.
  • At least one frame image is selected in the animation of the animation file display having the above animation image to perform an action to form an image set.
  • the image set can be used to generate an electronic picture book, an electronic storybook, and print as a picture book or storybook, which is not limited herein.
  • one or more images in the animation displayed by the animation file having the animation image to perform the action may be selected according to a preset rule. For example, in the animation shown in the animation file with the above animation image, one frame image is selected every fifteen frame images.
  • the animation display device can also receive an image selection instruction, and select one or more images indicated by the image selection instruction.
  • the animation display device receives an instruction of dragging the time axis multiple times by the user through a mouse operation.
  • the frame image that stays at the end of each drag is the frame image selected as the image set image.
  • FIG. 3 is a flowchart of an animation display method in another embodiment of the present application. As shown in FIG. 3, the animation display method includes steps S201 to S207.
  • step S201 an animation material is added.
  • Animation material is used to generate an animation file.
  • Animation material may include image material and sound material.
  • the image materials may include scene images and non-user-provided animation images, etc., which are not limited herein.
  • the sound material may include music and sound effects, and the like is not limited herein. It should be noted that the number and types of added animation materials are not limited herein.
  • step 202 a first setting instruction is received, and a preset action in an action template is designed according to the first setting instruction.
  • the preset action in the action template in the animation file can be set through the first setting instruction.
  • the first setting instruction may be input by a user or a manufacturer, which is not limited herein.
  • a sub-action database may be set in advance, and the sub-action database is used to store sub-actions.
  • the first setting instruction may be used to select multiple partial actions in the partial action database, and arrange the selected multiple partial actions in a certain order. Multiple sub-actions are arranged in sequence to generate a preset action. Thereby, a preset action in the action template is set.
  • the first setting instruction may be used to set a position of each handle node of the subject in the action template in at least a part of the frame image in the animation file.
  • the animation display device may set the position of the handle node in all frames of the image according to the first setting instruction.
  • the animation display device may set the position of the handle node in some frame images in all frame images according to the first setting instruction.
  • the number of handle nodes to be set may be one or multiple, which is not limited herein.
  • the setting can be achieved by dragging the handle node or inputting the position coordinates of the handle node, but the specific setting method is not limited here.
  • the position of a handle node in a frame image between two frames of an image in which adjacent handle node positions are set may be automatically set.
  • the animation file includes 100 frames of images
  • the positions of the handle nodes in the second frame image to the nineth frame image can be automatically set according to the change trend of the position of the handle node in the first frame image and the position of the handle node in the tenth frame image, so that the first frame image to the first
  • the movement of the subject in the 10 frames is continuous.
  • the position of the handle node in the 11th to 19th images, the position of the handle node in the 21st to 29th images, the position of the handle node in the 31st to 39th images, the 41st The position of the handle node in the frame image to the 49th frame image, the position of the handle node in the 51st frame to the 59th frame image, the position of the handle node in the 61st frame to the 69th frame image, and the 71st frame to the 79th frame image
  • the position of the handle node in the frame image, the position of the handle node in the 81st frame image to the 89th frame image, and the position of the handle node in the 91st frame to the 99th frame image can be automatically set, so that the subject's action in all frames coherent.
  • the animation shown in the animation file is a character walking from the shore to the turtle's back.
  • the fish in the water is accompanied by swimming movements.
  • positions of handle nodes of characters, turtles, and fish in frame images at different time points corresponding to the time axis may be set to generate an animation file that can show the plot of a desired animation.
  • step S203 a second setting instruction is received, and prompt information is set according to the second setting instruction.
  • the second setting instruction is used to set an appearance position, an appearance time, and the like of the prompt information in the animation displayed by the animation file.
  • the second setting instruction may be input by a user or a manufacturer, and is not limited herein.
  • the appearance time of the animated character in the animation displayed by the animation file may be queried in advance, and the animated character in the animation may be obtained by using the animated image obtained from the animated image material provided by the user.
  • the second setting instruction can be used to set the appearance time of the animated character in the animation displayed by the animation file to output prompt information, and set the form of the prompt information to prompt the user to provide an animated image as an animated character. It should be noted that the number of the second setting instructions may be one or multiple, which is not limited herein.
  • the second setting instruction can be set to output the prompt information at the 10th second of the animation playback, and the prompt information can be set to display the outline of the tree on the left side of the animation image.
  • the second setting instruction can also be set to output a prompt message at the 50th second of the animation playback, and the prompt message can be set to be expressed as the text "Draw a bunny under the tree”.
  • the second setting instruction can also be set to output a prompt message at the first minute and 20 seconds of the animation playback, and the setting prompt message can be expressed as a voice prompt "prepare a carrot for the bunny".
  • step S204 an animation file is generated according to the animation material, the action template, and the prompt information.
  • the animation display device can integrate the added animation material, the action template obtained through the first setting instruction, and the prompt information obtained through the second setting instruction to obtain an animation file.
  • the animation file playable it can show the animation with the plot and the user can participate in the interaction.
  • step S205 during the process of playing the animation file, the prompt information contained in the animation file is output.
  • step S206 an animation image is acquired, and a target action template corresponding to the animation image in the animation file is obtained by matching.
  • step S207 based on the target action template, the animated image is controlled to operate.
  • steps S205 to S207 reference may be made to related content of steps S101 to S103 in the foregoing embodiment, and related content of specific implementation of steps S101 to S103, and details are not described herein.
  • an animation file having the above-mentioned elements (that is, an animation material, an action template, and prompt information) is generated by using an animation material, an action template and prompt information set according to a setting instruction.
  • the user can participate in the development of the animation of the animation file display, and improve the interaction between the user and the animation.
  • steps S201 to S204 in the above embodiments may be used separately as a process step of an animation production method. That is, the embodiment of the present application further provides an animation production method, and the animation production method includes steps S201 to S204 in the foregoing embodiment.
  • the animation production method in the embodiment of the present application generates an animation file by using the added animation material, an action template obtained according to a first setting instruction, and prompt information obtained according to a second setting instruction. Therefore, when the animation file is played, the user can be prompted to provide an animation image material. As a result, the animation image corresponding to the animation image material provided by the user participates in the displayed animation, which improves the user's participation in the animation and also enhances the interaction between the user and the animation.
  • FIG. 4 is a schematic structural diagram of an animation display device according to an embodiment of the present application.
  • the animation display device 300 may include an output module 301, an acquisition module 302, a matching module 303, and an action module 304.
  • the output module 301 is configured to output the prompt information contained in the animation file during the process of playing the animation file.
  • the prompt information is used to prompt the user to provide an animation image material.
  • the obtaining module 302 is configured to obtain an animated image material, and obtain an animated image according to the animated image material.
  • the matching module 303 is configured to match and obtain a target action template corresponding to the animation image in the animation file.
  • An action module 304 is configured to control an animation image to perform actions based on a target action template.
  • the output module 301 can prompt the user to provide an animation image material.
  • the acquisition module 302 obtains the animation image material provided by the user, and substitutes the animation image obtained according to the animation image material provided by the user into the animation displayed by the animation file being played through the matching module 303 and the action module 304, so that the animation image provided by the user
  • the animation image corresponding to the material participates in the displayed animation.
  • the user's participation in the displayed animation is improved, and the user's interaction with the displayed animation is enhanced.
  • it also improves the fun of animation display.
  • the above-mentioned obtaining module 302 may be specifically configured to obtain a planar image feature of the animated image material; and used to convert the three-dimensional image feature of the animated image material according to the planar image feature of the animated image material; and Features of the three-dimensional image of the animated image material to obtain a three-dimensional animated image.
  • the above-mentioned matching module 303 may be specifically configured to use the action template specified in the animation file as a target action template corresponding to the animation image.
  • the matching module 303 may be specifically configured to obtain the image features of the animation image; and, respectively, to compare the image features of the animation image with the image features of the subject in each action template in the animation file; and, An action template corresponding to the image feature of the subject matching the image feature of the animated image is used as the target action template.
  • the action module 304 is specifically configured to: use the handle node in the target action template as the handle node of the animation image; and control the handle of the animation image according to the preset action of the handle node in the target action template. Nodes act according to preset actions.
  • FIG. 5 is a schematic structural diagram of an animation display device in another embodiment of the present application. 5 is different from FIG. 4 in that the animation display device 300 shown in FIG. 5 further includes a file generating module 305 and an atlas generating module 306.
  • the file generating module 305 is configured to add an animation material including an image material and a sound material; and is configured to receive a first setting instruction and design a preset action in an action template according to the first setting instruction; and The second setting instruction sets prompt information according to the second setting instruction; and is used to generate an animation file according to the animation material, the action template, and the prompt information.
  • the atlas generating module 306 is configured to select at least one frame of an image in an animation of an animation file displayed with an animated image to form an image set.
  • FIG. 6 is a schematic structural diagram of an animation display device provided in an embodiment of the present application.
  • the animation display device 400 may include a memory 401 and a processor 402.
  • the memory 401 may be used to store an animation file, an acquired animation image, and a program for implementing an animation display method.
  • the memory 401 may include a mass storage for data or instructions.
  • the memory 401 may include an HDD, a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these.
  • the memory 401 may include removable or non-removable (or fixed) media.
  • the memory 401 may be internal or external to the animation display device 400.
  • the memory 401 is a non-volatile solid-state memory.
  • the memory 401 includes a read-only memory (ROM).
  • the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or a flash memory, or A combination of two or more of these.
  • PROM programmable ROM
  • EPROM erasable PROM
  • EEPROM electrically erasable PROM
  • EAROM electrically rewritable ROM
  • flash memory or A combination of two or more of these.
  • the processor 402 runs the slave program corresponding to the program code by reading the program code stored in the memory 401, so as to execute the animation display method in the foregoing embodiment.
  • the above-mentioned processor 402 may include a central processing unit (CPU), or a specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
  • CPU central processing unit
  • ASIC specific integrated circuit
  • the animation display device may further include an input interface 403 and an output interface 404.
  • the input interface can be connected to input components, for example, the input interface can be connected to input components such as a mouse, a keyboard, an artboard, a camera, and a scanner.
  • the output interface can be connected to output components, for example, the output interface can be connected to output components such as monitors and speakers.
  • the memory 401, the processor 402, the input interface 403, and the output interface 404 may be connected to each other through a neutral line 405.
  • the input device and the output device may also be connected to the bus 405 through an input interface 403 and an output interface 404, respectively.
  • the animation display device in the embodiment of the present application may be specifically implemented as a computer, a mobile phone, a tablet computer, or the like, which is not limited herein.
  • the embodiment of the present application further provides a storage medium, and a program is stored on the storage medium, and the program is executed by the processor to implement the animation display method provided by the embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of an animation production device according to an embodiment of the present application.
  • the animation production device 500 may include a material adding module 501, a first setting module 502, a second setting module 503, and a file generating module 504.
  • the material adding module 501 is configured to add an animation material.
  • Animation material includes image material and sound material.
  • the first setting module 502 is configured to receive a first setting instruction and design a preset action in an action template according to the first setting instruction.
  • the first setting instruction is used to set a position of each handle node of the subject in the action template in at least a part of the frame image in the animation file.
  • the second setting module 503 is configured to receive a second setting instruction and set prompt information according to the second setting instruction.
  • the prompt information is used to prompt the user to provide animated image material.
  • the file generating module 504 is configured to generate an animation file according to the animation material, the action template, and the prompt information.
  • the present application provides a device 500 for producing animation, a material adding module 501, a first setting module 502, a second setting module 503 and a file generating module 504 using the added animation material, an action template obtained according to a first setting instruction, and An animation file is generated according to the prompt information obtained by the second setting instruction. Therefore, when the animation file is played, the user can be prompted to provide an animation image material. As a result, the animation image corresponding to the animation image material provided by the user participates in the displayed animation, which improves the user's participation in the animation and also enhances the interaction between the user and the animation.
  • FIG. 8 is a schematic structural diagram of an animation production device provided in an embodiment of the present application.
  • the animation production apparatus 600 may include a memory 601 and a processor 602.
  • the memory 601 may be used to store an animation file, an acquired animation image, and a program for implementing an animation production method.
  • the memory 601 may include a mass storage for data or instructions.
  • the memory 601 may include an HDD, a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape or a universal serial bus (USB) drive, or a combination of two or more of these.
  • the memory 601 may include removable or non-removable (or fixed) media.
  • the memory 601 may be internal or external to the animation production apparatus 600.
  • the memory 601 is a non-volatile solid-state memory.
  • the memory 601 includes a read-only memory (ROM).
  • the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or a flash memory, or A combination of two or more of these.
  • PROM programmable ROM
  • EPROM erasable PROM
  • EEPROM electrically erasable PROM
  • EAROM electrically rewritable ROM
  • flash memory or A combination of two or more of these.
  • the processor 602 runs the slave program corresponding to the program code by reading the program code stored in the memory 601, so as to execute the animation production method in the foregoing embodiment.
  • the above-mentioned processor 602 may include a central processing unit (CPU), or a specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
  • CPU central processing unit
  • ASIC specific integrated circuit
  • the animation production device may further include an input interface 603 and an output interface 604.
  • the input interface can be connected to input components, for example, the input interface can be connected to input components such as a mouse, a keyboard, an artboard, a camera, and a scanner.
  • the output interface can be connected to output components, for example, the output interface can be connected to output components such as monitors and speakers.
  • the memory 601, the processor 602, the input interface 603, and the output interface 604 can be connected to each other through a neutral line 605.
  • the input device and the output device may also be connected to the bus 605 through an input interface 603 and an output interface 604, respectively.
  • the animation production equipment in the embodiment of the present application may be specifically implemented as a computer, a mobile phone, a tablet computer, or the like, which is not limited herein.
  • An embodiment of the present application further provides a storage medium, and a program is stored on the storage medium, and the program is executed by the processor to implement the animation production method provided by the embodiment of the present application.
  • the functional modules shown in the above structural block diagram can be implemented as hardware, software, firmware, or a combination thereof.
  • it may be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, and the like.
  • ASIC application specific integrated circuit
  • the elements of this application are programs or code segments that are used to perform the required tasks.
  • the program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link through a data signal carried on a carrier wave.
  • Storage medium may include any medium capable of storing or transmitting information.
  • Examples of the storage medium include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, and the like.
  • the code segments can be downloaded via a computer network such as the Internet, an intranet, and the like.

Abstract

The present application relates to a method and device for displaying and producing animation. The display method comprises: during display of an animation file, outputting an indication message contained in the animation file, the indication message being used to prompt a user to provide an animated image material; acquiring the animated image material and generating, according to the animated image material, an animated image; matching to obtain from the animation file a target action module corresponding to the animated image; and controlling the animated image to perform an action on the basis of the target action module. The technical solutions of the embodiments of the present application can improve interactions between the user and animation.

Description

动画展示、制作方法及装置Animation display, production method and device
相关申请的交叉引用Cross-reference to related applications
本申请要求享有于2018年06月08日提交的名称为“动画展示、制作方法及装置”的中国专利申请201810585375.7的优先权,该申请的全部内容通过引用并入本文中。This application claims priority from Chinese patent application 201810585375.7 entitled "Animation Display, Production Method and Device", filed on June 08, 2018, the entire contents of which are incorporated herein by reference.
技术领域Technical field
本申请涉及动画图像领域,尤其涉及一种动画展示、制作方法及装置。The present application relates to the field of animation images, and in particular, to a method and device for displaying and producing animation.
背景技术Background technique
目前,一般通过书籍或动画以文字或视频的方式向读者或观众展示故事。书籍和动画使读者或观众通过视觉和听觉获得比较单一的文字或画面。尤其对于儿童和青少年来说,通过阅读书籍或观看动画对故事的理解效果有限。而且,较为单一的文字和画面使得故事的展示形式也较为单调,读者或观众无法参与到书籍或动画所展示的故事中,使得读者或观众与书籍或动画所展示的故事的互动性较差。At present, stories are usually presented to readers or viewers in text or video through books or animations. Books and animation allow readers or viewers to obtain a single text or picture through visual and auditory senses. Especially for children and adolescents, reading books or watching animations has limited understanding of stories. Moreover, the simpler text and pictures make the display of the story more monotonous, and the readers or viewers cannot participate in the stories displayed by the books or animations, making the readers or viewers less interactive with the stories displayed by the books or animations.
发明内容Summary of the Invention
本申请提供了一种动画展示、制作方法及装置,能够提高用户与动画之间的互动性。The application provides an animation display, production method and device, which can improve the interaction between the user and the animation.
第一方面,本申请提供了一种动画展示方法,包括:在播放动画文件的过程中,输出动画文件中包含的提示信息,提示信息用于提示用户提供动画形象素材;获取动画形象素材,依据动画形象素材,得到动画形象;匹配得到动画文件中与动画形象对应的目标动作模板;基于目标动作模板,控制动画形象进行动作。In a first aspect, the present application provides a method for displaying animation, including: outputting prompt information contained in the animation file during the process of playing the animation file, and the prompt information is used to prompt the user to provide an animation image material; Animate the image material to get the animated image; match to get the target action template corresponding to the animated image in the animation file; based on the target action template, control the animated image to move.
在一些可能的实现方式中,基于目标动作模板,控制动画形象进行动作,包括:将目标动作模板中的句柄节点作为动画形象的句柄节点;根据目标动作模板中的句柄节点的预设动作,控制动画形象的句柄节点按照预设动作进行动作。In some possible implementation manners, controlling the animation image to perform actions based on the target action template includes: using a handle node in the target action template as a handle node of the animation image; and controlling according to a preset action of the handle node in the target action template. The handle node of the animated image moves according to a preset action.
在一些可能的实现方式中,匹配得到动画文件中与动画形象对应的目标动作模板,包括:将动画文件中指定的动作模板作为与动画形象对应的目标动作模板;或者,获取动画形象的形象特征;分别对比动画形象的形象特征与动画文件中各动作模板中的主体的形象特征;将与动画形象的形象特征匹配的主体的形象特征对应的动作模板,作为目标动作模板。In some possible implementation manners, matching to obtain the target action template corresponding to the animation image in the animation file includes: using the specified action template in the animation file as the target action template corresponding to the animation image; or obtaining the image characteristics of the animation image ; Respectively compare the image features of the animated image with the image features of the subject in each action template in the animation file; use the action template corresponding to the image feature of the subject that matches the image feature of the animation image as the target action template.
在一些可能的实现方式中,依据动画形象素材,得到动画形象,包括:获取动画形象素材的平面形象特征;根据动画形象素材的平面形象特征,转化得到动画形象素材的立体形象特征;基于动画形象素材的立体形象特征,得到立体的动画形象。In some possible implementation manners, obtaining an animated image based on an animated image material includes: obtaining a planar image feature of the animated image material; transforming to obtain a three-dimensional image feature of the animated image material based on the planar image feature of the animated image material; based on the animated image The three-dimensional image features of the material to obtain a three-dimensional animation image.
在一些可能的实现方式中,上述动画展示方法还包括:在具有动画形象进行动作的动画文件展示的动画中,选取至少一帧图像,形成图像集。In some possible implementation manners, the foregoing animation display method further includes: selecting at least one frame image in an animation for displaying an animation file with an animation image to form an image set.
在一些可能的实现方式中,上述动画展示方法还包括:添加动画素材,动画素材包括图像素材和声音素材;接收第一设置指令,依据第一设置指令,设计动作模板中的预设动作;接收第二设置指令,依据第二设置指令,设置提示信息;根据动画素材、动作模板以及提示信息,生成动画文件。In some possible implementation manners, the foregoing animation display method further includes: adding an animation material including an image material and a sound material; receiving a first setting instruction, and designing a preset action in an action template according to the first setting instruction; receiving The second setting instruction sets prompt information according to the second setting instruction, and generates an animation file according to the animation material, the action template, and the prompt information.
在一些可能的实现方式中,第一设置指令用于设置动作模板中的主体的每个句柄节点在动画文件中至少部分帧图像中的位置。In some possible implementation manners, the first setting instruction is used to set a position of each handle node of the subject in the action template in at least a part of the frame image in the animation file.
第二方面,本申请提供了一种动画制作方法,包括:添加动画素材,动画素材包括图像素材和声音素材;接收第一设置指令,依据第一设置指令,设计动作模板中的预设动作;接收第二设置指令,依据第二设置指令,设置提示信息,提示信息用于提示用户提供动画形象素材;根据动画素材、动作模板以及提示信息,生成动画文件。In a second aspect, the present application provides a method for producing an animation, including: adding an animation material including an image material and a sound material; receiving a first setting instruction and designing a preset action in an action template according to the first setting instruction; Receive a second setting instruction, and set prompt information according to the second setting instruction. The prompt information is used to prompt the user to provide an animation image material; and an animation file is generated according to the animation material, the action template, and the prompt information.
在一些可能的实现方式中,第一设置指令用于设置动作模板中的主体的每个句柄节点在动画文件中至少部分帧图像中的位置。In some possible implementation manners, the first setting instruction is used to set a position of each handle node of the subject in the action template in at least a part of the frame image in the animation file.
第三方面,本申请提供了一种动画展示装置,包括:输出模块,用于在播放动画文件的过程中,输出动画文件中包含的提示信息,提示信息用于提示用户提供动画形象素材;获取模块,用于获取动画形象素材,依据动画形象素材,得到动画形象;匹配模块,用于匹配得到动画文件中与动画形象对应的目标动作模板;动作模块,用于基于目标动作模板,控制动画形象进行动作。In a third aspect, the present application provides an animation display device, including: an output module for outputting prompt information contained in the animation file during the process of playing the animation file, and the prompt information is used to prompt the user to provide an animation image material; Module for obtaining animated image material and obtaining animated image based on the animated image material; matching module for matching and obtaining a target action template corresponding to the animated image in the animation file; an action module for controlling the animated image based on the target action template Take action.
在一些可能的实现方式中,动作模块具体用于:将目标动作模板中的句柄节点作为动画形象的句柄节点;根据目标动作模板中的句柄节点的预设动作,控制动画形象的句柄节点按照预设动作进行动作。In some possible implementation manners, the action module is specifically configured to: use the handle node in the target action template as the handle node of the animation image; and according to the preset action of the handle node in the target action template, control the handle node of the animation image in accordance with the preset Set action to action.
在一些可能的实现方式中,匹配模块具体用于:将动画文件中指定的动作模板作为与动画形象对应的目标动作模板;或者,匹配模块具体用于:获取动画形象的形象特征;分别对比动画形象的形象特征与动画文件中各动作模板中的主体的形象特征;将与动画形象的形象特征匹配的主体的形象特征对应的动作模板,作为目标动作模板。In some possible implementations, the matching module is specifically used to: use the specified action template in the animation file as the target action template corresponding to the animation image; or, the matching module is specifically used to: obtain the image characteristics of the animation image; compare the animations separately The image feature of the image and the image feature of the subject in each action template in the animation file; the action template corresponding to the image feature of the subject that matches the image feature of the animation image is used as the target action template.
在一些可能的实现方式中,获取模块具体用于:获取动画形象素材的平面形象特征;根据动画形象素材的平面形象特征,转化得到动画形象素材的立体形象特征;基于动画形象素材的立体形象特征,得到立体的动画形象。In some possible implementation manners, the acquisition module is specifically used to: obtain the planar image features of the animated image material; convert the three-dimensional image features of the animated image material according to the planar image characteristics of the animated image material; based on the three-dimensional image characteristics of the animated image material To get a three-dimensional animated image.
在一些可能的实现方式中,动画展示装置还包括图集生成模块,用于在具有动画形象进行动作的动画文件展示的动画中,选取至少一帧图像,形成图像集。In some possible implementation manners, the animation display device further includes an atlas generating module, configured to select at least one frame of an image in an animation of an animation file displayed with an animation image to perform an action to form an image set.
在一些可能的实现方式中,动画展示装置还包括文件生成模块,文件生成模块用于:添加动画素材,动画素材包括图像素材和声音素材;接收第一设置指令,依据第一设置指令,设计动作模板中的预设动作;接收第二设置指令,依据第二设置指令,设置提示信息;根据动画素材、动作模板以及提示信息,生成动画文件。In some possible implementation manners, the animation display device further includes a file generation module, which is used to: add an animation material, the animation material includes an image material and a sound material; receive a first setting instruction, and design an action according to the first setting instruction A preset action in a template; receiving a second setting instruction and setting prompt information according to the second setting instruction; generating an animation file according to the animation material, the action template, and the prompt information.
在一些可能的实现方式中,第一设置指令用于设置动作模板中的主体的每个句柄节点在动画文件中至少部分帧图像中的位置。In some possible implementation manners, the first setting instruction is used to set a position of each handle node of the subject in the action template in at least a part of the frame image in the animation file.
第四方面,本申请提供了一种动画制作装置,包括:素材添加模块, 用于添加动画素材,动画素材包括图像素材和声音素材;第一设置模块,用于接收第一设置指令,依据第一设置指令,设计动作模板中的预设动作;第二设置模块,用于接收第二设置指令,依据第二设置指令,设置提示信息,提示信息用于提示用户提供动画形象素材;文件生成模块,用于根据动画素材、动作模板以及提示信息,生成动画文件。In a fourth aspect, the present application provides an animation production device, including: a material adding module for adding an animation material, the animation material includes an image material and a sound material; a first setting module for receiving a first setting instruction according to the first A setting instruction, designing a preset action in an action template; a second setting module for receiving the second setting instruction, setting prompt information according to the second setting instruction, the prompt information is used to prompt a user to provide an animation image material; a file generation module , Used to generate animation files based on animation materials, action templates and prompt information.
在一些可能的实现方式中,第一设置指令用于设置动作模板中的主体的每个句柄节点在动画文件中至少部分帧图像中的位置。In some possible implementation manners, the first setting instruction is used to set a position of each handle node of the subject in the action template in at least a part of the frame image in the animation file.
本申请提供了一种动画展示的方法和装置,在播放动画文件的过程中,能够获取到用户提供的动画形象素材,并将根据用户提供的动画形象素材得到的动画形象代入正在播放的动画文件所展示的动画中,使用户提供的动画形象素材对应的动画形象参与到展示的动画中。从而提高了用户在展示的动画中的参与性,也增强了用户与展示的动画的互动性。The present application provides a method and device for displaying an animation. During the process of playing an animation file, an animation image material provided by a user can be obtained, and the animation image obtained according to the animation image material provided by the user is substituted into the animation file being played In the displayed animation, the animation image corresponding to the animation image material provided by the user is involved in the displayed animation. As a result, the user's participation in the displayed animation is improved, and the user's interaction with the displayed animation is enhanced.
本申请提供了一种动画制作的方法和装置,利用添加的动画素材、根据第一设置指令得到的动作模板,以及根据第二设置指令得到的提示信息,生成动画文件。从而使得动画文件在播放时,能够提示用户提供动画形象素材。从而使用户提供的动画形象素材对应的动画形象参与到展示的动画中,提高了用户在动画中的参与性,也增强了用户与动画的互动性。This application provides a method and a device for producing an animation. An animation file is generated by using an added animation material, an action template obtained according to a first setting instruction, and prompt information obtained according to a second setting instruction. Therefore, when the animation file is played, the user can be prompted to provide an animation image material. As a result, the animation image corresponding to the animation image material provided by the user participates in the displayed animation, which improves the user's participation in the animation and also enhances the interaction between the user and the animation.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
从下面结合附图对本申请的具体实施方式的描述中可以更好地理解本申请其中,相同或相似的附图标记表示相同或相似的特征。The following description of specific embodiments of the present application can be better understood from the following description of the accompanying drawings, in which the same or similar reference numerals represent the same or similar features.
图1为本申请一实施例中一种动画展示方法的流程图;FIG. 1 is a flowchart of an animation display method according to an embodiment of the present application;
图2为本申请实施例中一种动画形象的句柄节点的示意图;2 is a schematic diagram of a handle node of an animated image according to an embodiment of the present application;
图3为本申请另一实施例中一种动画展示方法的流程图;3 is a flowchart of an animation display method in another embodiment of the present application;
图4为本申请一实施例中一种动画展示装置的结构示意图;4 is a schematic structural diagram of an animation display device according to an embodiment of the present application;
图5为本申请另一实施例中一种动画展示装置的结构示意图;5 is a schematic structural diagram of an animation display device according to another embodiment of the present application;
图6为本申请实施例中提供的一种动画展示设备的结构示意图;6 is a schematic structural diagram of an animation display device provided in an embodiment of the present application;
图7为本申请一实施例中一种动画制作装置的结构示意图;7 is a schematic structural diagram of an animation production device according to an embodiment of the present application;
图8为本申请实施例中提供的一种动画制作设备的结构示意图。FIG. 8 is a schematic structural diagram of an animation production device provided in an embodiment of the present application.
具体实施方式Detailed ways
下面将详细描述本申请的各个方面的特征和示例性实施例。在下面的详细描述中,提出了许多具体细节,以便提供对本申请的全面理解。但是,对于本领域技术人员来说很明显的是,本申请可以在不需要这些具体细节中的一些细节的情况下实施。下面对实施例的描述仅仅是为了通过示出本申请的示例来提供对本申请的更好的理解。本申请决不限于下面所提出的任何具体配置和算法,而是在不脱离本申请的精神的前提下覆盖了元素、部件和算法的任何修改、替换和改进。在附图和下面的描述中,没有示出公知的结构和技术,以便避免对本申请造成不必要的模糊。Features and exemplary embodiments of various aspects of the present application will be described in detail below. In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the present application. However, it is obvious to those skilled in the art that the present application can be implemented without the need for some of these specific details. The following description of the embodiments is merely for providing a better understanding of the present application by showing an example of the present application. This application is by no means limited to any specific configuration and algorithm proposed below, but covers any modification, replacement, and improvement of elements, components, and algorithms without departing from the spirit of this application. In the drawings and the following description, well-known structures and techniques are not shown in order to avoid unnecessarily obscuring the present application.
本申请实施例提供了一种动画展示方法及装置,可应用于人机交互场景中。比如,在儿童或青少年使用学习机的场景中,可通过将儿童或青少年自己创作的动画形象引入学习机中的故事场景或学习场景,加强儿童或青少年与学习机之间的交互,从而提高儿童或青少年与学习机中的故事内容或学习内容的互动性,增强儿童或青少年对故事内容或学习内容的理解效果。而且,提高了展示的故事内容或学习内容的趣味性,进而提高了儿童或青少年对故事内容或学习内容的兴趣。The embodiments of the present application provide an animation display method and device, which can be applied to a human-computer interaction scene. For example, in the scene where children or teenagers use the learning machine, the animation image created by the children or teenagers can be introduced into the story scene or learning scene of the learning machine to enhance the interaction between the children or teenagers and the learning machine, thereby improving children. Or the interaction between the content of the story or the learning content in the learning machine and the teenagers, so as to enhance the understanding effect of the content of the story or the learning content by the children or teenagers. Moreover, the interestingness of the displayed story content or learning content is improved, thereby increasing the interest of children or young people in the story content or learning content.
需要说明的是,本申请实施例提供的一种动画展示方法及装置还可应用于其他需要采用动画方式展现内容的场景中,在此并不限定。It should be noted that the animation display method and device provided in the embodiments of the present application can also be applied to other scenes that need to use animation to display content, which is not limited herein.
图1为本申请一实施例中一种动画展示方法的流程图。如图1所示,该动画展示方法可包括步骤S101至步骤S104。FIG. 1 is a flowchart of an animation display method according to an embodiment of the present application. As shown in FIG. 1, the animation display method may include steps S101 to S104.
在步骤S101中,在播放动画文件的过程中,输出动画文件中包含的提示信息。In step S101, during the process of playing the animation file, the prompt information contained in the animation file is output.
其中,动画文件中可包括预先设置的场景、文字、声音、人物形象等内容。播放动画文件,可展示出具有情节的动画。具体的,可通过动画场景、文字、声音以及提示信息展现具有情节的动画。比如,播放动画文件展示的是一段小朋友上楼梯的动画。The animation file may include pre-set scenes, text, sounds, characters, and other content. Play an animation file to show a storyline animation. Specifically, an animation with a plot can be displayed through an animation scene, text, sound, and prompt information. For example, playing an animation file shows an animation of a child going up the stairs.
在动画文件被播放的过程中,输出提示信息。提示信息用于提示用户提供动画形象素材。具体的,提示信息可以为文字、图形、声音或影像, 在此并不限定。比如,在动画文件所展示的动画中主角即将出场时,可以文字“画出主角”提示用户提供动画形象。又比如,在动画文件所展示的动画中,以影像形式显示出需要用户提供的动画形象的轮廓,以提示用户提供动画形象。还比如,在播放动画文件的过程中,发出语音提示信息“画出一个苹果”,以提示用户提供“苹果”的动画形象。When the animation file is being played, a prompt message is output. The prompt information is used to prompt the user to provide animated image material. Specifically, the prompt information may be text, graphics, sound, or video, which is not limited herein. For example, when the protagonist is about to appear in the animation shown in the animation file, the text "draw the protagonist" may prompt the user to provide an animated image. For another example, in the animation shown in the animation file, the outline of the animation image that needs to be provided by the user is displayed in the form of an image to prompt the user to provide the animation image. For another example, during the process of playing an animation file, a voice prompt message "Draw an Apple" is issued to prompt the user to provide an animation image of "Apple".
在一个示例中,在播放动画文件之前,动画展示方法可接收用户的加载指令,加载用户选择的动画文件,以播放加载的动画文件。对于播放的每一个动画文件,均可通过步骤S101至步骤S103实现用户与动画文件展示的动画之间的互动。In one example, before playing the animation file, the animation display method may receive a loading instruction from the user, load the animation file selected by the user, and play the loaded animation file. For each animation file played, the interaction between the user and the animation displayed by the animation file can be implemented through steps S101 to S103.
在步骤S102中,获取动画形象素材,依据动画形象素材,得到动画形象。In step S102, an animation image material is acquired, and an animation image is obtained according to the animation image material.
其中,动画形象素材为生成动画形象所需的素材。在步骤S101中,用户提供动画形象素材的方式并不限定。比如,用户可以通过绘画、手工制作等方式提供动画形象素材。对应的,针对不同的提供动画形象素材的方式,可得到不同的动画形象素材,也可对应的采用不同的方式获取动画形象。Among them, the animation image material is a material required to generate an animation image. In step S101, the manner in which the user provides the animation image material is not limited. For example, users can provide animated image materials through painting, hand-made, etc. Correspondingly, for different ways of providing animated image materials, different animated image materials can be obtained, and correspondingly, animated images can be obtained in different ways.
比如,动画形象素材可以为用户在画板、纸张或触摸屏上绘制出的平面图形。或者,动画形象素材可以为折纸或泥塑等立体图形。具体的,动画展示装置可通过拍摄、扫描等方式通过用户提供的平面图形或立体图像来获取动画形象。For example, the animated image material can be a flat graphic drawn by a user on an artboard, paper, or touch screen. Alternatively, the animated image material may be a three-dimensional graphic such as origami or clay sculpture. Specifically, the animation display device may obtain an animation image by using a planar graphic or a stereo image provided by a user through shooting, scanning, and the like.
需要说明的是,动画形象也可为动画展示装置根据拍摄、扫描得到的图形进行加工得到,在此并不限定。比如,可将动画展示装置拍摄、扫描得到的线条未封闭的图形调整为封闭线条图形。又比如,可调整动画展示装置拍摄、扫描得到的图形中线条的弧度等等。It should be noted that the animation image may also be obtained by the animation display device according to the graphics obtained by shooting and scanning, which is not limited herein. For example, an unclosed line graphic obtained by scanning and scanning by the animation display device may be adjusted to a closed line graphic. For another example, the arc of the lines in the graphics obtained by the animation display device can be adjusted.
在步骤S103中,匹配得到动画文件中与动画形象对应的目标动作模板。In step S103, the target action template corresponding to the animation image in the animation file is obtained by matching.
动画文件中可包括一个或多个动作模板。动作模板用于规定做出动作的主体的动作轨迹。目标动作模板即为与动画形象对应的动作模板。可设定匹配规则,根据匹配规则,匹配得到动画文件中与动画形象对应的目标 动作模板。比如,若动画文件中指定了某一个动作模板,或根据用户的选择指令指定了某一个动作模板,则可直接将该动作模板作为目标动作模板。又比如,若动画文件中包括多个动作模板,则可将动画形象与多个动作模板分别对比,得到与动画形象匹配的目标动作模板。An animation file can include one or more action templates. The action template is used to specify the action trajectory of the subject making the action. The target action template is the action template corresponding to the animation image. You can set matching rules, and according to the matching rules, get the target action template corresponding to the animation image in the animation file. For example, if a certain action template is specified in the animation file, or if a certain action template is specified according to the user's selection instruction, the action template may be directly used as the target action template. For another example, if the animation file includes multiple action templates, the animation image may be compared with the multiple action templates to obtain a target action template matching the animation image.
在步骤S104中,基于目标动作模板,控制动画形象进行动作。In step S104, based on the target action template, the animated image is controlled to perform an action.
其中,可控制动画形象按照目标动作模板中动作的主体的动作轨迹运动,使得动画形象进行动作。在一个示例中,可将动画形象与目标动作模板绑定,驱动与目标动作模板绑定的动画形象,从而控制动画形象进行与目标动作模板中动作的主体的动作轨迹相应的动作。The animation image can be controlled to move according to the motion trajectory of the subject moving in the target action template, so that the animation image moves. In one example, the animation image may be bound to the target action template, and the animation image bound to the target action template may be driven, so as to control the animation image to perform an action corresponding to the motion trajectory of the subject in the target action template.
在一些实施例中,动画文件所展示的动画中的场景可以为一个,也可以为多个。动画文件中可包含多个提示信息,可在不同的时间输出,从而提示用户为动画提供多个动画形象素材,将多个动画形象引入动画文件展示的动画中。也就是说,动画文件可能需要用户多次提供动画形象素材。在播放动画文件且需要用户多次提供动画形象素材的过程中,可多次循环执行步骤S101至步骤S104。在同一个动画文件播放的不同时间点输出提示信息,并获取对应的动画形象。使得用户与动画文件所展示的动画能够进行多次互动,参与动画情节的所有发展。In some embodiments, there may be one or more scenes in the animation displayed by the animation file. The animation file can contain multiple prompt information, which can be output at different times, thereby prompting the user to provide multiple animation image materials for the animation, and introducing multiple animation images into the animation displayed by the animation file. In other words, the animation file may require the user to provide animated image material multiple times. In the process of playing the animation file and requiring the user to provide the animation image material multiple times, steps S101 to S104 may be repeatedly performed in cycles. Output prompt information at different time points of the same animation file and obtain the corresponding animation image. It enables users to interact with the animation displayed by the animation file multiple times and participate in all developments of the animation plot.
在本申请实施例中,在播放动画文件的过程中,能够获取到用户提供的动画形象素材,并将根据用户提供的动画形象素材得到的动画形象代入正在播放的动画文件所展示的动画中,使用户提供的动画形象素材对应的动画形象参与到展示的动画中。从而提高了用户在展示的动画中的参与性,也增强了用户与展示的动画的互动性。在提高参与性与互动性的基础上,也提高了动画展示的趣味性。In the embodiment of the present application, during the process of playing an animation file, an animation image material provided by the user can be obtained, and the animation image obtained according to the animation image material provided by the user is substituted into the animation displayed by the animation file being played. Use the animation image corresponding to the animation image material provided by the user to participate in the displayed animation. As a result, the user's participation in the displayed animation is improved, and the user's interaction with the displayed animation is enhanced. On the basis of improving participation and interactivity, it also improves the fun of animation display.
在一些实施例中,上述步骤S102可具体实现为:获取动画形象素材的平面形象特征;根据动画形象素材的平面形象特征,转化得到动画形象素材的立体形象特征;基于动画形象素材的立体形象特征,得到立体的动画形象。In some embodiments, the above-mentioned step S102 may be specifically implemented as: obtaining the planar image features of the animated image material; converting the three-dimensional image features of the animated image material according to the planar image characteristics of the animated image material; based on the three-dimensional image characteristics of the animated image material To get a three-dimensional animated image.
具体的,可预先设置平面图形与立体图形的转化模型(即2D图形与3D图形的转化模型)。转化模型用于分析动画形象素材,得到动画形象 素材的平面形象特征。而且,转化模型还用于依据平面形象特征,得到与平面形象特征对应的立体形象特征。转化模型可根据立体形象特征输出与立体形象特征对应的立体的动画形象。Specifically, a conversion model of a planar graphic and a three-dimensional graphic (that is, a conversion model of a 2D graphic and a 3D graphic) may be set in advance. The transformation model is used to analyze the animated image material to obtain the flat image characteristics of the animated image material. Moreover, the transformation model is also used to obtain the stereoscopic image features corresponding to the planar image features based on the planar image features. The transformation model can output a three-dimensional animation image corresponding to the three-dimensional image feature according to the three-dimensional image feature.
在一些示例中,转化模型可通过旋转或填充等算法,将平面形象特征转化为立体形象特征。平面形象特征可包括平面的轮廓线特征、平面的面积形状特征等。对应的,立体形象特征可包括立体的轮廓线特征、立体的体积形状特征,以及立体的表面积形状特征等。关于平面形象特征和立体形象特征的选取在此并不限定。In some examples, the transformation model can transform planar image features into stereo image features through algorithms such as rotation or padding. The planar image features may include contour features of the plane, area shape features of the plane, and the like. Correspondingly, the three-dimensional image features may include three-dimensional contour line features, three-dimensional volume shape features, and three-dimensional surface area shape features. The selection of planar image features and stereo image features is not limited herein.
在一些实施例中,上述步骤S103可具体实现为:将动画文件中指定的动作模板作为与动画形象对应的目标动作模板。In some embodiments, the above step S103 may be specifically implemented as: using the action template specified in the animation file as the target action template corresponding to the animation image.
其中,在动画文件中包括一个动作模板的情况下,指定的动作模板即为动画文件中的这一个动作模板。在动画文件包括多个动作模板的情况下,指定的动作模板可以为动画展示装置默认指定的某一动作模板,也可以为根据用户的选择指令指定的某一动作模板。Where an animation template includes an action template, the specified action template is the one in the animation file. When the animation file includes multiple action templates, the specified action template may be a certain action template specified by the animation display device by default, or a certain action template specified according to a user's selection instruction.
在另一些实施例中,上述步骤S103可具体实现为:获取动画形象的形象特征;分别对比动画形象的形象特征与动画文件中各动作模板中主体的形象特征;将与动画形象的形象特征匹配的主体的形象特征对应的动作模板,作为目标动作模板。其中,动画文件包括多个动作模板。In other embodiments, the above step S103 may be specifically implemented as: obtaining the image features of the animation image; comparing the image features of the animation image with the image features of the subject in each action template in the animation file; matching the image features of the animation image The action template corresponding to the image feature of the subject is used as the target action template. The animation file includes multiple action templates.
形象特征可包括轮廓特征、形状特征以及属性特征等,在此并不限定。轮廓特征可用于表征轮廓的起伏等。根据轮廓特征可识别轮廓所属的物体。形状特征可用于表征形状。根据形状特征可识别形状所属的物体。属性特征可用于表征抽象的对象。形状和轮廓不同的形象,其属性特征可能相同。比如,对于不同形状和不同轮廓的狗的形象而言,它们的属性特征均为“狗”。Image features may include contour features, shape features, and attribute features, which are not limited herein. Contour features can be used to characterize contour fluctuations, etc. The object to which the contour belongs can be identified based on the contour characteristics. Shape features can be used to characterize shapes. According to the shape feature, the object to which the shape belongs can be identified. Attribute characteristics can be used to represent abstract objects. Images with different shapes and contours may have the same attributes. For example, for the images of dogs of different shapes and contours, their attribute characteristics are "dogs".
在动画文件所展示的动画发展故事情节的过程中,动画展示装置输出的提示信息可提示用户提供一类动画形象的动画形象素材,而并不只限定于某一个动画形象的动画形象素材。针对一类动画形象,动画文件可对应配置有多个动作模板。每个动作模板可对应一类动画形象中的一个动画形象。In the course of the animation development storyline shown in the animation file, the prompt information output by the animation display device can prompt the user to provide a type of animated image material, and is not limited to only an animated image material. For a type of animation image, the animation file can be configured with multiple action templates. Each action template can correspond to an animation image in a type of animation image.
在一个示例中,动画展示装置可输出提示用户提供“会游泳的动物”的提示信息,则用户可提供任意一种会游泳的动物的动画形象的动画形象素材。针对“会游泳的动物”,可预先设置有多个动作模板,不同的动作模板对应不同的会游泳的动物的动画形象。动画展示装置可对用户提供的会游泳的动物的动画形象素材得到的动画形象进行分析,得到用户提供的会游泳的动物的动画形象素材的动画形象的形象特征。根据得到的形象特征,在多个动作模板中查找到与该形象特征对应的动作模板作为目标动作模板。In one example, the animation display device may output prompt information prompting the user to provide “swimming animals”, and then the user may provide an animation image material of any kind of animation image of the swimming animals. For "swimming animals", a plurality of action templates can be set in advance, and different action templates correspond to different animated images of swimming animals. The animation display device may analyze the animated image obtained from the animated image material of the swimming animal provided by the user, and obtain the image characteristics of the animated image of the animated image material of the swimming animal provided by the user. According to the obtained image feature, an action template corresponding to the image feature is found as a target action template among multiple action templates.
例如,用户绘制了鱼的动画形象素材。动画文件中针对会游泳的动物设置有鱼、海龟和鸭子三种动作模板。则可根据用户绘制的鱼的动画形象素材得到的动画形象的轮廓特征,分别与鱼、海龟和鸭子三种动作模板中主体的轮廓特征进行对比。海龟的动作模板中主体的轮廓特征与鱼的动作模板中主体的轮廓特征相对比,鱼的动作模板中主体的轮廓特征,与海龟的动作模板中可表征与海龟躯干连接的四条腿的轮廓特征不匹配。即用户提供的动画形象素材得到的动画形象的轮廓特征与海龟的动作模板中主体的轮廓特征不匹配。同理,鸭子的动作模板中主体的轮廓特征与鱼的动作模板中主体的轮廓特征相对比,鱼的动作模板中主体的轮廓特征,与鸭子的动作模板中可表征鸭子颈部线条的轮廓特征不匹配。即用户提供的动画形象素材得到的动画形象的轮廓特征与鸭子的动作模板中主体的轮廓特征不匹配。而用户提供的动画形象素材得到的动画形象的轮廓特征与鱼的动作模板中主体的轮廓特征相匹配。因此,选取鱼的动作模板作为目标动作模板。For example, the user draws an animated image of a fish. There are three action templates for fish, turtle and duck in the animation file. According to the contour features of the animated image obtained by the user's animated image of the fish, the contour features of the subject in the three action templates of the fish, the turtle and the duck can be compared respectively. The contour features of the subject in the action template of the turtle are compared to the contour features of the subject in the action template of the fish. Mismatch. That is, the contour features of the animated image obtained by the user-provided animated image material do not match the contour features of the subject in the action template of the turtle. In the same way, the contour features of the subject in the duck's action template are compared with the contour features of the subject in the fish's action template. Mismatch. That is, the contour features of the animated image obtained by the user-provided animated image material do not match the contour features of the subject in the duck action template. The contour features of the animated image obtained by the user-provided animated image material match the contour features of the subject in the action template of the fish. Therefore, the action template of the fish is selected as the target action template.
或者,用户绘制了鱼的动画形象素材。动画文件中针对会游泳的动物设置有鱼、海龟和鸭子三种动作模板。则可根据用户绘制的鱼的动画形象素材得到的动画形象的属性特征,判断出根据用户绘制的动画形象素材得到的动画形象为“鱼”的动画形象。则在鱼、海龟和鸭子三种动作模板中,选择与“鱼”的动画形象匹配的鱼的动作模板作为目标动作模板。需要说明的是,属性特征可利用人工智能技术得到,比如,机器学习、进化计算等技术。Or, the user draws an animated image material of the fish. There are three action templates for fish, turtle and duck in the animation file. Then, according to the attribute characteristics of the animated image obtained by the animated image material of the fish drawn by the user, it can be determined that the animated image obtained by the animated image material drawn by the user is an animated image of "fish". Then, among the three action templates of fish, turtle and duck, the action template of the fish that matches the animated image of "fish" is selected as the target action template. It should be noted that attribute characteristics can be obtained using artificial intelligence technologies, such as machine learning, evolutionary computing and other technologies.
在一些实施例中,上述步骤S104可具体实现为:将目标动作模板中的句柄节点作为动画形象的句柄节点;根据目标动作模板中的句柄节点的预设动作,控制动画形象的句柄节点按照预设动作进行动作。In some embodiments, the above step S104 may be specifically implemented as: using the handle node in the target action template as the handle node of the animation image; and controlling the handle node of the animation image according to the preset action according to the preset action of the handle node in the target action template. Set action to action.
目标动作模板中的主体具有句柄节点。句柄节点可为主体各部分的标识点。在一个示例中,目标动作模板中的主体的关节处、肢体的中心或肢体的端点均可视为句柄节点。The body in the target action template has a handle node. The handle node may be an identification point for each part of the body. In one example, the joints of the subject, the center of the limb, or the endpoints of the limb in the target action template can be considered as handle nodes.
其中,通过改变句柄节点的位置,即可使主体进行动作。目标动作模板中预先设定了主体的运动轨迹。具体的,即目标动作模板中预先设定了句柄节点的运动轨迹,从而实现了主体的运动轨迹的设定。Among them, by changing the position of the handle node, the main body can be moved. The motion trajectory of the subject is preset in the target action template. Specifically, the motion trajectory of the handle node is set in the target action template in advance, thereby setting the motion trajectory of the subject.
将目标动作模板中的句柄节点作为动画形象的句柄节点,控制动画形象的句柄节点按照目标动作模板中的句柄节点的预设动作进行动作,即可使动画形象与目标动作模板中的主体进行相同的动作。Use the handle node in the target action template as the handle node of the animation image, and control the handle node of the animation image to perform the preset action of the handle node in the target action template to make the animation image be the same as the subject in the target action template Actions.
比如,图2为本申请实施例中一种动画形象的句柄节点的示意图。如图2所示,其中的点A1至点A15均为动画形象(人形)的句柄节点。改变句柄节点的位置,则对应的动画形象的动作也会发生改变。在多帧图像中,随着句柄节点的位置的逐渐改变,动画形象做出对应的动作。For example, FIG. 2 is a schematic diagram of a handle node of an animation image according to an embodiment of the present application. As shown in FIG. 2, the points A1 to A15 are all handle nodes of the animated image (humanoid). If you change the position of the handle node, the action of the corresponding animation image will also change. In multi-frame images, as the position of the handle node gradually changes, the animated image makes corresponding actions.
在一些实施例中,在具有上述动画形象进行动作的动画文件展示的动画中,选取其中的至少一帧图像,形成图像集。In some embodiments, at least one frame image is selected in the animation of the animation file display having the above animation image to perform an action to form an image set.
其中,图像集可用于生成电子绘本、电子故事书、打印为绘本或故事书等,在此并不限定。The image set can be used to generate an electronic picture book, an electronic storybook, and print as a picture book or storybook, which is not limited herein.
具体的,可按照预设的规则选取具有上述动画形象进行动作的动画文件展示的动画中的一帧或多帧图像。比如,具有上述动画形象进行动作的动画文件展示的动画中,每隔十五帧图像,选取一帧图像。Specifically, one or more images in the animation displayed by the animation file having the animation image to perform the action may be selected according to a preset rule. For example, in the animation shown in the animation file with the above animation image, one frame image is selected every fifteen frame images.
也可接收图像选取指令,选取图像选取指令指示的一帧或多帧图像。比如,动画展示装置接收用户通过鼠标操作产生的多次拖拽时间轴的指令。每次拖拽结束时停留的帧图像即为选取作为图像集中图像的帧图像。It can also receive an image selection instruction, and select one or more images indicated by the image selection instruction. For example, the animation display device receives an instruction of dragging the time axis multiple times by the user through a mouse operation. The frame image that stays at the end of each drag is the frame image selected as the image set image.
图3为本申请另一实施例中一种动画展示方法的流程图。如图3表示,该动画展示方法包括步骤S201至步骤S207。FIG. 3 is a flowchart of an animation display method in another embodiment of the present application. As shown in FIG. 3, the animation display method includes steps S201 to S207.
在步骤S201中,添加动画素材。In step S201, an animation material is added.
其中,动画素材用于生成动画文件。动画素材可包括图像素材和声音素材。图像素材可包括场景图像以及非用户提供的动画形象等,在此并不限定。声音素材可包括音乐以及音效等,在此并不限定。需要说明的是,添加的动画素材的数目和种类在此并不限定。Among them, the animation material is used to generate an animation file. Animation material may include image material and sound material. The image materials may include scene images and non-user-provided animation images, etc., which are not limited herein. The sound material may include music and sound effects, and the like is not limited herein. It should be noted that the number and types of added animation materials are not limited herein.
在步骤202中,接收第一设置指令,依据第一设置指令,设计动作模板中的预设动作。In step 202, a first setting instruction is received, and a preset action in an action template is designed according to the first setting instruction.
可通过第一设置指令,设置动画文件中的动作模板中的预设动作。第一设置指令可以由用户或生产商输入,在此并不限定。The preset action in the action template in the animation file can be set through the first setting instruction. The first setting instruction may be input by a user or a manufacturer, which is not limited herein.
在一个示例中,可预先设置分动作数据库,分动作数据库用于存储分动作。第一设置指令可用于在分动作数据库中选择多个分动作,并按照一定顺序排列选择的多个分动作。多个分动作按照顺序排列可生成预设动作。从而设置得到动作模板中的预设动作。In one example, a sub-action database may be set in advance, and the sub-action database is used to store sub-actions. The first setting instruction may be used to select multiple partial actions in the partial action database, and arrange the selected multiple partial actions in a certain order. Multiple sub-actions are arranged in sequence to generate a preset action. Thereby, a preset action in the action template is set.
在另一个示例中,第一设置指令可用于设置动作模板中的主体的每个句柄节点在动画文件中的至少部分帧图像中的位置。In another example, the first setting instruction may be used to set a position of each handle node of the subject in the action template in at least a part of the frame image in the animation file.
具体的,动画展示装置可根据第一设置指令设置所有帧图像中句柄节点的位置。Specifically, the animation display device may set the position of the handle node in all frames of the image according to the first setting instruction.
或者,动画展示装置可根据第一设置指令设置所有帧图像中部分帧图像中句柄节点的位置。需要说明的是,设置的句柄节点的数目可以是一个,也可以是多个,在此并不限定。设置可通过拖拽句柄节点或输入句柄节点的位置坐标实现,但具体设置方法在此并不限定。相邻的设置了句柄节点的位置的两帧图像之间的帧图像中的句柄节点的位置可自动设置。比如,动画文件包括100帧图像,则可以设置第1帧图像、第10帧图像、第20帧图像、第30帧图像、第40帧图像、第50帧图像、第60帧图像、第70帧图像、第80帧图像、第90帧图像和第100帧图像中的句柄节点的位置。而第2帧图像至第9帧图像中句柄节点的位置,可根据第1帧图像中句柄节点的位置和第10帧图像中句柄节点的位置的变化趋势自动设置,使得第1帧图像至第10帧图像中主体的动作连贯。同理,第11帧图像至第19帧图像中句柄节点的位置、第21帧图像至第29帧图像中句柄节点的位置、第31帧图像至第39帧图像中句柄节点的位置、第41帧图像至第 49帧图像中句柄节点的位置、第51帧图像至第59帧图像中句柄节点的位置、第61帧图像至第69帧图像中句柄节点的位置、第71帧图像至第79帧图像中句柄节点的位置、第81帧图像至第89帧图像中句柄节点的位置、第91帧图像至第99帧图像中句柄节点的位置均可自动设置,使得所有帧图像中主体的动作连贯。Alternatively, the animation display device may set the position of the handle node in some frame images in all frame images according to the first setting instruction. It should be noted that the number of handle nodes to be set may be one or multiple, which is not limited herein. The setting can be achieved by dragging the handle node or inputting the position coordinates of the handle node, but the specific setting method is not limited here. The position of a handle node in a frame image between two frames of an image in which adjacent handle node positions are set may be automatically set. For example, if the animation file includes 100 frames of images, you can set the 1st frame image, the 10th frame image, the 20th frame image, the 30th frame image, the 40th frame image, the 50th frame image, the 60th frame image, and the 70th frame image. The position of the handle node in the image, the 80th frame image, the 90th frame image, and the 100th frame image. The positions of the handle nodes in the second frame image to the nineth frame image can be automatically set according to the change trend of the position of the handle node in the first frame image and the position of the handle node in the tenth frame image, so that the first frame image to the first The movement of the subject in the 10 frames is continuous. Similarly, the position of the handle node in the 11th to 19th images, the position of the handle node in the 21st to 29th images, the position of the handle node in the 31st to 39th images, the 41st The position of the handle node in the frame image to the 49th frame image, the position of the handle node in the 51st frame to the 59th frame image, the position of the handle node in the 61st frame to the 69th frame image, and the 71st frame to the 79th frame image The position of the handle node in the frame image, the position of the handle node in the 81st frame image to the 89th frame image, and the position of the handle node in the 91st frame to the 99th frame image can be automatically set, so that the subject's action in all frames coherent.
例如,期望动画文件展示的动画的情节为一个人物从岸边行走至乌龟的背上,在此过程中,水中的鱼也伴有游动的动作。则可设置在时间轴对应的不同时间点的帧图像中人物、乌龟、鱼的句柄节点的位置,生成可展示期望的动画的情节的动画文件。For example, it is expected that the animation shown in the animation file is a character walking from the shore to the turtle's back. In the process, the fish in the water is accompanied by swimming movements. Then, positions of handle nodes of characters, turtles, and fish in frame images at different time points corresponding to the time axis may be set to generate an animation file that can show the plot of a desired animation.
通过设置动作模板中的主体的每个句柄节点在动画文件中的部分帧图像中的位置,得到动作模板中主体的整体动作,减小了动作设计的工作量,提高了动作设计的效率。By setting the position of each handle node of the subject in the action template in part of the frame image in the animation file, the overall action of the subject in the action template is obtained, which reduces the workload of action design and improves the efficiency of action design.
在步骤S203中,接收第二设置指令,依据第二设置指令,设置提示信息。In step S203, a second setting instruction is received, and prompt information is set according to the second setting instruction.
其中,第二设置指令用于设置提示信息在播放动画文件所展现的动画中的出现位置、出现时间等等。第二设置指令可由用户或生产商输入,在此并不限定。The second setting instruction is used to set an appearance position, an appearance time, and the like of the prompt information in the animation displayed by the animation file. The second setting instruction may be input by a user or a manufacturer, and is not limited herein.
在一个示例中,可预先查询动画文件所展现的动画中动画人物的出现时间,动画中的动画人物可采用用户提供的动画形象素材得到的动画形象得到。可通过第二设置指令,设置在动画文件所展现的动画中动画人物的出现时间输出提示信息,并设置提示信息的形式,从而提示用户提供动画形象作为动画人物。需要说明的是,第二设置指令的数目可以为一条,也可以为多条,在此并不限定。In one example, the appearance time of the animated character in the animation displayed by the animation file may be queried in advance, and the animated character in the animation may be obtained by using the animated image obtained from the animated image material provided by the user. The second setting instruction can be used to set the appearance time of the animated character in the animation displayed by the animation file to output prompt information, and set the form of the prompt information to prompt the user to provide an animated image as an animated character. It should be noted that the number of the second setting instructions may be one or multiple, which is not limited herein.
比如,动画文件所展现的动画中按照情节发展分别在动画播放第10秒、第50秒和第1分20秒处依次出现树、兔子和萝卜的动画人物。则可通过第二设置指令设定在动画播放第10秒处输出提示信息,并设置提示信息可表现为在动画图像的左侧显示树的轮廓。还可通过第二设置指令设定在动画播放第50秒处输出提示信息,并设置提示信息可表现为文字“在树下画一只小兔子”。还可通过第二设置指令设定在动画播放第1分 20秒处输出提示信息,并设置提示信息可表现为语音提示“为小兔子准备一根萝卜”。For example, in the animation shown by the animation file, according to the development of the plot, animated characters of trees, rabbits, and radishes appear in turn at the 10th, 50th, and 1 minute and 20 seconds of the animation. Then, the second setting instruction can be set to output the prompt information at the 10th second of the animation playback, and the prompt information can be set to display the outline of the tree on the left side of the animation image. The second setting instruction can also be set to output a prompt message at the 50th second of the animation playback, and the prompt message can be set to be expressed as the text "Draw a bunny under the tree". The second setting instruction can also be set to output a prompt message at the first minute and 20 seconds of the animation playback, and the setting prompt message can be expressed as a voice prompt "prepare a carrot for the bunny".
在步骤S204中,根据动画素材、动作模板以及提示信息,生成动画文件。In step S204, an animation file is generated according to the animation material, the action template, and the prompt information.
动画展示装置可将添加的动画素材、通过第一设置指令设置得到的动作模板和通过第二设置指令设置得到的提示信息,整合得到动画文件。以使得在播放动画文件能够展现出具有情节并能使用户参与互动的动画。The animation display device can integrate the added animation material, the action template obtained through the first setting instruction, and the prompt information obtained through the second setting instruction to obtain an animation file. In order to make the animation file playable, it can show the animation with the plot and the user can participate in the interaction.
在步骤S205中,在播放动画文件的过程中,输出动画文件中包含的提示信息。In step S205, during the process of playing the animation file, the prompt information contained in the animation file is output.
在步骤S206中,获取动画形象,匹配得到动画文件中与动画形象对应的目标动作模板。In step S206, an animation image is acquired, and a target action template corresponding to the animation image in the animation file is obtained by matching.
在步骤S207中,基于目标动作模板,控制动画形象进行动作。In step S207, based on the target action template, the animated image is controlled to operate.
需要说明的是,步骤S205至步骤S207的说明可参见上述实施例中步骤S101至步骤S103的相关内容,以及步骤S101至步骤S103具体实现的相关内容,在此不再赘述。It should be noted that, for descriptions of steps S205 to S207, reference may be made to related content of steps S101 to S103 in the foregoing embodiment, and related content of specific implementation of steps S101 to S103, and details are not described herein.
在本申请实施例中,通过动画素材、根据设置指令设置的动作模板和提示信息,生成具有上述元素(即动画素材、动作模板和提示信息)的动画文件。使得播放该动画文件的过程中,可以使用户参与到动画文件展示的动画的发展中,提高用户与动画之间的互动性。In the embodiment of the present application, an animation file having the above-mentioned elements (that is, an animation material, an action template, and prompt information) is generated by using an animation material, an action template and prompt information set according to a setting instruction. In the process of playing the animation file, the user can participate in the development of the animation of the animation file display, and improve the interaction between the user and the animation.
需要说明的是,上述实施例中的步骤S201至步骤S204可单独作为一种动画制作方法的流程步骤。也就是说,本申请实施例还提供了一种动画制作方法,该动画制作方法包括上述实施例中的步骤S201至步骤S204。It should be noted that, steps S201 to S204 in the above embodiments may be used separately as a process step of an animation production method. That is, the embodiment of the present application further provides an animation production method, and the animation production method includes steps S201 to S204 in the foregoing embodiment.
步骤S201至步骤S204的相关说明请参见上述实施例中的说明内容,在此不再赘述。For related descriptions of steps S201 to S204, refer to descriptions in the foregoing embodiments, and details are not described herein again.
本申请实施例中的动画制作方法,利用添加的动画素材、根据第一设置指令得到的动作模板,以及根据第二设置指令得到的提示信息,生成动画文件。从而使得动画文件在播放时,能够提示用户提供动画形象素材。从而使用户提供的动画形象素材对应的动画形象参与到展示的动画中,提高了用户在动画中的参与性,也增强了用户与动画的互动性。The animation production method in the embodiment of the present application generates an animation file by using the added animation material, an action template obtained according to a first setting instruction, and prompt information obtained according to a second setting instruction. Therefore, when the animation file is played, the user can be prompted to provide an animation image material. As a result, the animation image corresponding to the animation image material provided by the user participates in the displayed animation, which improves the user's participation in the animation and also enhances the interaction between the user and the animation.
图4为本申请一实施例中一种动画展示装置的结构示意图。如图4所示,动画展示装置300可包括输出模块301、获取模块302、匹配模块303和动作模块304。FIG. 4 is a schematic structural diagram of an animation display device according to an embodiment of the present application. As shown in FIG. 4, the animation display device 300 may include an output module 301, an acquisition module 302, a matching module 303, and an action module 304.
输出模块301,用于在播放动画文件的过程中,输出动画文件中包含的提示信息。The output module 301 is configured to output the prompt information contained in the animation file during the process of playing the animation file.
其中,提示信息用于提示用户提供动画形象素材。The prompt information is used to prompt the user to provide an animation image material.
获取模块302,用于获取动画形象素材,依据动画形象素材,得到动画形象。The obtaining module 302 is configured to obtain an animated image material, and obtain an animated image according to the animated image material.
匹配模块303,用于匹配得到动画文件中与动画形象对应的目标动作模板。The matching module 303 is configured to match and obtain a target action template corresponding to the animation image in the animation file.
动作模块304,用于基于目标动作模板,控制动画形象进行动作。An action module 304 is configured to control an animation image to perform actions based on a target action template.
在本申请实施例中,在播放动画文件的过程中,输出模块301能够提示用户提供动画形象素材。获取模块302获取到用户提供的动画形象素材,通过匹配模块303和动作模块304将根据用户提供的动画形象素材得到的动画形象代入正在播放的动画文件所展示的动画中,使用户提供的动画形象素材对应的动画形象参与到展示的动画中。从而提高了用户在展示的动画中的参与性,也增强了用户与展示的动画的互动性。在提高参与性与互动性的基础上,也提高了动画展示的趣味性。In the embodiment of the present application, during the process of playing an animation file, the output module 301 can prompt the user to provide an animation image material. The acquisition module 302 obtains the animation image material provided by the user, and substitutes the animation image obtained according to the animation image material provided by the user into the animation displayed by the animation file being played through the matching module 303 and the action module 304, so that the animation image provided by the user The animation image corresponding to the material participates in the displayed animation. As a result, the user's participation in the displayed animation is improved, and the user's interaction with the displayed animation is enhanced. On the basis of improving participation and interactivity, it also improves the fun of animation display.
在一个示例中,上述获取模块302可具体用于获取动画形象素材的平面形象特征;以及,用于根据动画形象素材的平面形象特征,转化得到动画形象素材的立体形象特征;以及,用于基于动画形象素材的立体形象特征,得到立体的动画形象。In one example, the above-mentioned obtaining module 302 may be specifically configured to obtain a planar image feature of the animated image material; and used to convert the three-dimensional image feature of the animated image material according to the planar image feature of the animated image material; and Features of the three-dimensional image of the animated image material to obtain a three-dimensional animated image.
在一个示例中,上述匹配模块303可具体用于将动画文件中指定的动作模板作为与动画形象对应的目标动作模板。In one example, the above-mentioned matching module 303 may be specifically configured to use the action template specified in the animation file as a target action template corresponding to the animation image.
在另一个示例中,上述匹配模块303可具体用于获取动画形象的形象特征;以及,用于分别对比动画形象的形象特征与动画文件中各动作模板中的主体的形象特征;以及,用于将与动画形象的形象特征匹配的主体的形象特征对应的动作模板,作为目标动作模板。In another example, the matching module 303 may be specifically configured to obtain the image features of the animation image; and, respectively, to compare the image features of the animation image with the image features of the subject in each action template in the animation file; and, An action template corresponding to the image feature of the subject matching the image feature of the animated image is used as the target action template.
在一个示例中,上述动作模块304具体用于:将目标动作模板中的句 柄节点作为动画形象的句柄节点;以及,用于根据目标动作模板中的句柄节点的预设动作,控制动画形象的句柄节点按照预设动作进行动作。In one example, the action module 304 is specifically configured to: use the handle node in the target action template as the handle node of the animation image; and control the handle of the animation image according to the preset action of the handle node in the target action template. Nodes act according to preset actions.
图5为本申请另一实施例中一种动画展示装置的结构示意图。图5与图4的不同之处在于,图5所示的动画展示装置300还包括文件生成模块305和图集生成模块306。FIG. 5 is a schematic structural diagram of an animation display device in another embodiment of the present application. 5 is different from FIG. 4 in that the animation display device 300 shown in FIG. 5 further includes a file generating module 305 and an atlas generating module 306.
文件生成模块305用于添加动画素材,动画素材包括图像素材和声音素材;以及,用于接收第一设置指令,依据第一设置指令,设计动作模板中的预设动作;以及,用于接收第二设置指令,依据第二设置指令,设置提示信息;以及,用于根据动画素材、动作模板以及提示信息,生成动画文件。The file generating module 305 is configured to add an animation material including an image material and a sound material; and is configured to receive a first setting instruction and design a preset action in an action template according to the first setting instruction; and The second setting instruction sets prompt information according to the second setting instruction; and is used to generate an animation file according to the animation material, the action template, and the prompt information.
图集生成模块306用于在具有动画形象进行动作的动画文件展示的动画中,选取至少一帧图像,形成图像集。The atlas generating module 306 is configured to select at least one frame of an image in an animation of an animation file displayed with an animated image to form an image set.
上述动画展示装置的具体说明和有益效果说明可参见上述实施例中动画展示方法的相关内容,在此不再赘述。For specific descriptions and beneficial effects of the foregoing animation display device, refer to related content of the animation display method in the foregoing embodiment, and details are not described herein again.
图6为本申请实施例中提供的一种动画展示设备的结构示意图。如图6所示,动画展示设备400可包括存储器401和处理器402。FIG. 6 is a schematic structural diagram of an animation display device provided in an embodiment of the present application. As shown in FIG. 6, the animation display device 400 may include a memory 401 and a processor 402.
其中,存储器401可用于存储动画文件、获取到的动画形象,以及用于实现动画展示方法的程序。The memory 401 may be used to store an animation file, an acquired animation image, and a program for implementing an animation display method.
存储器401可以包括用于数据或指令的大容量存储器。举例来说而非限制,存储器401可包括HDD、软盘驱动器、闪存、光盘、磁光盘、磁带或通用串行总线(USB)驱动器或者两个或更多个以上这些的组合。在合适的情况下,存储器401可包括可移除或不可移除(或固定)的介质。在合适的情况下,存储器401可在动画展示设备400的内部或外部。在特定实施例中,存储器401是非易失性固态存储器。在特定实施例中,存储器401包括只读存储器(ROM)。在合适的情况下,该ROM可以是掩模编程的ROM、可编程ROM(PROM)、可擦除PROM(EPROM)、电可擦除PROM(EEPROM)、电可改写ROM(EAROM)或闪存或者两个或更多个以上这些的组合。The memory 401 may include a mass storage for data or instructions. By way of example and not limitation, the memory 401 may include an HDD, a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these. Where appropriate, the memory 401 may include removable or non-removable (or fixed) media. Where appropriate, the memory 401 may be internal or external to the animation display device 400. In a particular embodiment, the memory 401 is a non-volatile solid-state memory. In a particular embodiment, the memory 401 includes a read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or a flash memory, or A combination of two or more of these.
处理器402通过读取存储器401中存储的程序代码来运行与程序代码 对应的从程序,以用于执行上述实施例中的动画展示方法。The processor 402 runs the slave program corresponding to the program code by reading the program code stored in the memory 401, so as to execute the animation display method in the foregoing embodiment.
在一个示例中,上述处理器402可以包括中央处理器(CPU),或者特定集成电路(ASIC),或者可以被配置成实施本申请实施例的一个或多个集成电路。In one example, the above-mentioned processor 402 may include a central processing unit (CPU), or a specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
在一个示例中,动画展示设备还可包括输入接口403和输出接口404。输入接口可连接输入组件,比如,输入接口可连接鼠标、键盘、画板、相机、扫描仪等输入组件。输出接口可连接输出组件,比如输出接口可连接显示器、扬声器等输出组件。In one example, the animation display device may further include an input interface 403 and an output interface 404. The input interface can be connected to input components, for example, the input interface can be connected to input components such as a mouse, a keyboard, an artboard, a camera, and a scanner. The output interface can be connected to output components, for example, the output interface can be connected to output components such as monitors and speakers.
其中,存储器401、处理器402、输入接口403和输出接口404可通过中线405相互连接。输入设备和输出设备也可分别通过输入接口403和输出接口404与总线405连接。The memory 401, the processor 402, the input interface 403, and the output interface 404 may be connected to each other through a neutral line 405. The input device and the output device may also be connected to the bus 405 through an input interface 403 and an output interface 404, respectively.
本申请实施例中的动画展示设备可具体实现为计算机、手机、平板电脑等设备,在此并不限定。The animation display device in the embodiment of the present application may be specifically implemented as a computer, a mobile phone, a tablet computer, or the like, which is not limited herein.
本申请实施例还提供一种存储介质,该存储介质上存储有程序,该程序被处理器执行时刻实现本申请实施例提供的动画展示方法。The embodiment of the present application further provides a storage medium, and a program is stored on the storage medium, and the program is executed by the processor to implement the animation display method provided by the embodiment of the present application.
图7为本申请一实施例中一种动画制作装置的结构示意图。如图7所示,动画制作装置500可包括素材添加模块501、第一设置模块502、第二设置模块503和文件生成模块504。FIG. 7 is a schematic structural diagram of an animation production device according to an embodiment of the present application. As shown in FIG. 7, the animation production device 500 may include a material adding module 501, a first setting module 502, a second setting module 503, and a file generating module 504.
其中,素材添加模块501用于添加动画素材。The material adding module 501 is configured to add an animation material.
动画素材包括图像素材和声音素材。Animation material includes image material and sound material.
第一设置模块502用于接收第一设置指令,依据第一设置指令,设计动作模板中的预设动作。The first setting module 502 is configured to receive a first setting instruction and design a preset action in an action template according to the first setting instruction.
在一些实施例中,第一设置指令用于设置动作模板中的主体的每个句柄节点在动画文件中至少部分帧图像中的位置。In some embodiments, the first setting instruction is used to set a position of each handle node of the subject in the action template in at least a part of the frame image in the animation file.
第二设置模块503用于接收第二设置指令,依据第二设置指令,设置提示信息。The second setting module 503 is configured to receive a second setting instruction and set prompt information according to the second setting instruction.
提示信息用于提示用户提供动画形象素材。The prompt information is used to prompt the user to provide animated image material.
文件生成模块504用于根据动画素材、动作模板以及提示信息,生成动画文件。The file generating module 504 is configured to generate an animation file according to the animation material, the action template, and the prompt information.
本申请提供了一种动画制作的装置500,素材添加模块501、第一设置模块502、第二设置模块503和文件生成模块504利用添加的动画素材、根据第一设置指令得到的动作模板,以及根据第二设置指令得到的提示信息,生成动画文件。从而使得动画文件在播放时,能够提示用户提供动画形象素材。从而使用户提供的动画形象素材对应的动画形象参与到展示的动画中,提高了用户在动画中的参与性,也增强了用户与动画的互动性。The present application provides a device 500 for producing animation, a material adding module 501, a first setting module 502, a second setting module 503 and a file generating module 504 using the added animation material, an action template obtained according to a first setting instruction, and An animation file is generated according to the prompt information obtained by the second setting instruction. Therefore, when the animation file is played, the user can be prompted to provide an animation image material. As a result, the animation image corresponding to the animation image material provided by the user participates in the displayed animation, which improves the user's participation in the animation and also enhances the interaction between the user and the animation.
上述动画制作装置的具体说明和有益效果说明可参见上述实施例中动画展示方法和动画制作方法的相关内容,在此不再赘述。For a detailed description of the foregoing animation production device and a description of beneficial effects, reference may be made to related contents of the animation display method and the animation production method in the foregoing embodiments, and details are not described herein again.
图8为本申请实施例中提供的一种动画制作设备的结构示意图。如图8所示,动画制作设备600可包括存储器601和处理器602。FIG. 8 is a schematic structural diagram of an animation production device provided in an embodiment of the present application. As shown in FIG. 8, the animation production apparatus 600 may include a memory 601 and a processor 602.
其中,存储器601可用于存储动画文件、获取到的动画形象,以及用于实现动画制作方法的程序。The memory 601 may be used to store an animation file, an acquired animation image, and a program for implementing an animation production method.
存储器601可以包括用于数据或指令的大容量存储器。举例来说而非限制,存储器601可包括HDD、软盘驱动器、闪存、光盘、磁光盘、磁带或通用串行总线(USB)驱动器或者两个或更多个以上这些的组合。在合适的情况下,存储器601可包括可移除或不可移除(或固定)的介质。在合适的情况下,存储器601可在动画制作设备600的内部或外部。在特定实施例中,存储器601是非易失性固态存储器。在特定实施例中,存储器601包括只读存储器(ROM)。在合适的情况下,该ROM可以是掩模编程的ROM、可编程ROM(PROM)、可擦除PROM(EPROM)、电可擦除PROM(EEPROM)、电可改写ROM(EAROM)或闪存或者两个或更多个以上这些的组合。The memory 601 may include a mass storage for data or instructions. By way of example and not limitation, the memory 601 may include an HDD, a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape or a universal serial bus (USB) drive, or a combination of two or more of these. Where appropriate, the memory 601 may include removable or non-removable (or fixed) media. Where appropriate, the memory 601 may be internal or external to the animation production apparatus 600. In a particular embodiment, the memory 601 is a non-volatile solid-state memory. In a particular embodiment, the memory 601 includes a read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or a flash memory, or A combination of two or more of these.
处理器602通过读取存储器601中存储的程序代码来运行与程序代码对应的从程序,以用于执行上述实施例中的动画制作方法。The processor 602 runs the slave program corresponding to the program code by reading the program code stored in the memory 601, so as to execute the animation production method in the foregoing embodiment.
在一个示例中,上述处理器602可以包括中央处理器(CPU),或者特定集成电路(ASIC),或者可以被配置成实施本申请实施例的一个或多个集成电路。In one example, the above-mentioned processor 602 may include a central processing unit (CPU), or a specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
在一个示例中,动画制作设备还可包括输入接口603和输出接口 604。输入接口可连接输入组件,比如,输入接口可连接鼠标、键盘、画板、相机、扫描仪等输入组件。输出接口可连接输出组件,比如输出接口可连接显示器、扬声器等输出组件。In one example, the animation production device may further include an input interface 603 and an output interface 604. The input interface can be connected to input components, for example, the input interface can be connected to input components such as a mouse, a keyboard, an artboard, a camera, and a scanner. The output interface can be connected to output components, for example, the output interface can be connected to output components such as monitors and speakers.
其中,存储器601、处理器602、输入接口603和输出接口604可通过中线605相互连接。输入设备和输出设备也可分别通过输入接口603和输出接口604与总线605连接。The memory 601, the processor 602, the input interface 603, and the output interface 604 can be connected to each other through a neutral line 605. The input device and the output device may also be connected to the bus 605 through an input interface 603 and an output interface 604, respectively.
本申请实施例中的动画制作设备可具体实现为计算机、手机、平板电脑等设备,在此并不限定。The animation production equipment in the embodiment of the present application may be specifically implemented as a computer, a mobile phone, a tablet computer, or the like, which is not limited herein.
本申请实施例还提供一种存储介质,该存储介质上存储有程序,该程序被处理器执行时刻实现本申请实施例提供的动画制作方法。An embodiment of the present application further provides a storage medium, and a program is stored on the storage medium, and the program is executed by the processor to implement the animation production method provided by the embodiment of the present application.
以上的结构框图中所示的功能模块可以实现为硬件、软件、固件或者它们的组合。当以硬件方式实现时,其可以例如是电子电路、专用集成电路(ASIC)、适当的固件、插件、功能卡等等。当以软件方式实现时,本申请的元素是被用于执行所需任务的程序或者代码段。程序或者代码段可以存储在机器可读介质中,或者通过载波中携带的数据信号在传输介质或者通信链路上传送。“存储介质”可以包括能够存储或传输信息的任何介质。存储介质的例子包括电子电路、半导体存储器设备、ROM、闪存、可擦除ROM(EROM)、软盘、CD-ROM、光盘、硬盘、光纤介质、射频(RF)链路,等等。代码段可以经由诸如因特网、内联网等的计算机网络被下载。The functional modules shown in the above structural block diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, and the like. When implemented in software, the elements of this application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link through a data signal carried on a carrier wave. "Storage medium" may include any medium capable of storing or transmitting information. Examples of the storage medium include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, and the like. The code segments can be downloaded via a computer network such as the Internet, an intranet, and the like.
需要明确的是,本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同或相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。对于装置实施例、设备实施例和存储介质实施例而言,相关之处可以参见方法实施例的说明部分。本申请并不局限于上文所描述并在图中示出的特定步骤和结构。本领域的技术人员可以在领会本申请的精神之后,作出各种改变、修改和添加,或者改变步骤之间的顺序。并且,为了简明起见,这里省略对已知方法技术的详细描述。It should be clear that each embodiment in this specification is described in a progressive manner, and the same or similar parts between the various embodiments may refer to each other. Each embodiment focuses on the differences from other embodiments Place. For the device embodiment, the device embodiment, and the storage medium embodiment, for related parts, refer to the description of the method embodiment. The application is not limited to the specific steps and structures described above and illustrated in the drawings. Those skilled in the art can make various changes, modifications, and additions, or change the order between the steps after comprehending the spirit of the present application. And, for the sake of brevity, detailed descriptions of known method technologies are omitted here.

Claims (18)

  1. 一种动画展示方法,包括:An animation display method includes:
    在播放动画文件的过程中,输出所述动画文件中包含的提示信息,所述提示信息用于提示用户提供动画形象素材;Outputting prompt information contained in the animation file during the process of playing the animation file, the prompt information is used to prompt the user to provide an animation image material;
    获取所述动画形象素材,依据所述动画形象素材,得到动画形象;Obtaining the animation image material, and obtaining an animation image according to the animation image material;
    匹配得到所述动画文件中与所述动画形象对应的目标动作模板;Matching to obtain a target action template corresponding to the animation image in the animation file;
    基于所述目标动作模板,控制所述动画形象进行动作。Based on the target action template, the animation image is controlled to perform an action.
  2. 根据权利要求1所述的方法,其中,所述基于所述目标动作模板,控制所述动画形象进行动作,包括:The method according to claim 1, wherein the controlling the animated image to perform an action based on the target action template comprises:
    将所述目标动作模板中的句柄节点作为所述动画形象的句柄节点;Using the handle node in the target action template as the handle node of the animation image;
    根据所述目标动作模板中的句柄节点的预设动作,控制所述动画形象的句柄节点按照所述预设动作进行动作。Controlling the handle node of the animated image to perform an action according to the preset action of the handle node in the target action template.
  3. 根据权利要求1所述的方法,其中,所述匹配得到所述动画文件中与所述动画形象对应的目标动作模板,包括:The method according to claim 1, wherein the matching to obtain a target action template corresponding to the animation image in the animation file comprises:
    将所述动画文件中指定的动作模板作为与所述动画形象对应的目标动作模板;Using the action template specified in the animation file as a target action template corresponding to the animation image;
    或者,or,
    获取所述动画形象的形象特征;分别对比所述动画形象的形象特征与所述动画文件中各动作模板中的主体的形象特征,所述动画文件包括多个动作模板;将与所述动画形象的形象特征匹配的主体的形象特征对应的动作模板,作为所述目标动作模板。Acquiring the image features of the animated image; comparing the image features of the animated image with the image features of the subject in each action template in the animation file, the animation file including multiple action templates; The action template corresponding to the image feature of the subject whose image feature matches is used as the target action template.
  4. 根据权利要求1所述的方法,其中,所述依据所述动画形象素材,得到动画形象,包括:The method according to claim 1, wherein the obtaining an animated image based on the animated image material comprises:
    获取所述动画形象素材的平面形象特征;Obtaining a planar image feature of the animated image material;
    根据所述动画形象素材的平面形象特征,转化得到所述动画形象素材的立体形象特征;Converting the three-dimensional image features of the animated image material according to the planar image characteristics of the animated image material;
    基于所述动画形象素材的立体形象特征,得到立体的所述动画形象。A three-dimensional animation image is obtained based on the three-dimensional image characteristics of the animation image material.
  5. 根据权利要求1所述的方法,其中,还包括:The method according to claim 1, further comprising:
    在具有所述动画形象进行动作的所述动画文件展示的动画中,选取至少一帧图像,形成图像集。In the animation displayed by the animation file having the animation image to perform an action, at least one frame image is selected to form an image set.
  6. 根据权利要求1所述的方法,其中,还包括:The method according to claim 1, further comprising:
    添加动画素材,所述动画素材包括图像素材和声音素材;Adding animation material, which includes image material and sound material;
    接收第一设置指令,依据所述第一设置指令,设计动作模板中的预设动作;Receiving a first setting instruction, and designing a preset action in an action template according to the first setting instruction;
    接收第二设置指令,依据所述第二设置指令,设置所述提示信息;Receiving a second setting instruction, and setting the prompt information according to the second setting instruction;
    根据所述动画素材、所述动作模板以及所述提示信息,生成所述动画文件。Generating the animation file according to the animation material, the action template, and the prompt information.
  7. 根据权利要求6所述的方法,其中,所述第一设置指令用于设置动作模板中的主体的每个句柄节点在所述动画文件中至少部分帧图像中的位置。The method according to claim 6, wherein the first setting instruction is used to set a position of each handle node of a subject in an action template in at least a part of a frame image in the animation file.
  8. 一种动画制作方法,包括:An animation production method includes:
    添加动画素材,所述动画素材包括图像素材和声音素材;Adding animation material, which includes image material and sound material;
    接收第一设置指令,依据所述第一设置指令,设计动作模板中的预设动作;Receiving a first setting instruction, and designing a preset action in an action template according to the first setting instruction;
    接收第二设置指令,依据所述第二设置指令,设置提示信息,所述提示信息用于提示用户提供动画形象素材;Receiving a second setting instruction, and setting prompt information according to the second setting instruction, where the prompt information is used to prompt a user to provide an animation image material;
    根据所述动画素材、所述动作模板以及所述提示信息,生成动画文件。An animation file is generated according to the animation material, the action template, and the prompt information.
  9. 根据权利要求8所述的方法,其中,所述第一设置指令用于设置动作模板中的主体的每个句柄节点在所述动画文件中至少部分帧图像中的位置。The method according to claim 8, wherein the first setting instruction is used to set a position of each handle node of a subject in an action template in at least a part of a frame image in the animation file.
  10. 一种动画展示装置,包括:An animation display device includes:
    输出模块,用于在播放动画文件的过程中,输出所述动画文件中包含的提示信息,所述提示信息用于提示用户提供动画形象素材;An output module, configured to output prompt information contained in the animation file during the process of playing the animation file, and the prompt information is used to prompt the user to provide an animation image material;
    获取模块,用于获取所述动画形象素材,依据所述动画形象素材,得到动画形象;An obtaining module, configured to obtain the animated image material, and obtain an animated image according to the animated image material;
    匹配模块,用于匹配得到所述动画文件中与所述动画形象对应的目标 动作模板;A matching module, configured to match to obtain a target action template corresponding to the animation image in the animation file;
    动作模块,用于基于所述目标动作模板,控制所述动画形象进行动作。An action module is configured to control the animation image to perform actions based on the target action template.
  11. 根据权利要求10所述的装置,其中,所述动作模块具体用于:The apparatus according to claim 10, wherein the action module is specifically configured to:
    将所述目标动作模板中的句柄节点作为所述动画形象的句柄节点;Using the handle node in the target action template as the handle node of the animation image;
    根据所述目标动作模板中的句柄节点的预设动作,控制所述动画形象的句柄节点按照所述预设动作进行动作。Controlling the handle node of the animated image to perform an action according to the preset action of the handle node in the target action template.
  12. 根据权利要求10所述的装置,其中,所述匹配模块具体用于:将所述动画文件中指定的动作模板作为与所述动画形象对应的目标动作模板;The apparatus according to claim 10, wherein the matching module is specifically configured to: use a specified action template in the animation file as a target action template corresponding to the animation image;
    或者,or,
    所述匹配模块具体用于:获取所述动画形象的形象特征;分别对比所述动画形象的形象特征与所述动画文件中各动作模板中的主体的形象特征;将与所述动画形象的形象特征匹配的主体的形象特征对应的动作模板,作为所述目标动作模板。The matching module is specifically configured to: obtain the image characteristics of the animated image; compare the image characteristics of the animated image with the image characteristics of the subject in each action template in the animation file; The action template corresponding to the image feature of the feature-matched subject is used as the target action template.
  13. 根据权利要求10所述的装置,其中,所述获取模块具体用于:The apparatus according to claim 10, wherein the obtaining module is specifically configured to:
    获取所述动画形象素材的平面形象特征;Obtaining a planar image feature of the animated image material;
    根据所述动画形象素材的平面形象特征,转化得到所述动画形象素材的立体形象特征;Converting the three-dimensional image features of the animated image material according to the planar image characteristics of the animated image material;
    基于所述动画形象素材的立体形象特征,得到立体的所述动画形象。A three-dimensional animation image is obtained based on the three-dimensional image characteristics of the animation image material.
  14. 根据权利要求10所述的装置,其中,还包括:The apparatus according to claim 10, further comprising:
    图集生成模块,用于在具有所述动画形象进行动作的所述动画文件展示的动画中,选取至少一帧图像,形成图像集。The atlas generating module is configured to select at least one frame image in an animation of the animation file display having the animation image to perform an action to form an image set.
  15. 根据权利要求10所述的装置,其中,所述装置还包括文件生成模块,所述文件生成模块用于:The apparatus according to claim 10, wherein the apparatus further comprises a file generating module, the file generating module is configured to:
    添加动画素材,所述动画素材包括图像素材和声音素材;Adding animation material, which includes image material and sound material;
    接收第一设置指令,依据所述第一设置指令,设计动作模板中的预设动作;Receiving a first setting instruction, and designing a preset action in an action template according to the first setting instruction;
    接收第二设置指令,依据所述第二设置指令,设置所述提示信息;Receiving a second setting instruction, and setting the prompt information according to the second setting instruction;
    根据所述动画素材、所述动作模板以及所述提示信息,生成所述动画文件。Generating the animation file according to the animation material, the action template, and the prompt information.
  16. 根据权利要求15所述的装置,其中,所述第一设置指令用于设置动作模板中的主体的每个句柄节点在所述动画文件中至少部分帧图像中的位置。The apparatus according to claim 15, wherein the first setting instruction is used to set a position of each handle node of a subject in an action template in at least a part of a frame image in the animation file.
  17. 一种动画制作装置,包括:An animation production device includes:
    素材添加模块,用于添加动画素材,所述动画素材包括图像素材和声音素材;A material adding module for adding an animation material, which includes an image material and a sound material;
    第一设置模块,用于接收第一设置指令,依据所述第一设置指令,设计动作模板中的预设动作;A first setting module, configured to receive a first setting instruction, and design a preset action in an action template according to the first setting instruction;
    第二设置模块,用于接收第二设置指令,依据所述第二设置指令,设置提示信息,所述提示信息用于提示用户提供动画形象素材;A second setting module, configured to receive a second setting instruction, and set prompt information according to the second setting instruction, where the prompt information is used to prompt a user to provide an animation image material;
    文件生成模块,用于根据所述动画素材、所述动作模板以及所述提示信息,生成动画文件。A file generating module is configured to generate an animation file according to the animation material, the action template, and the prompt information.
  18. 根据权利要求17所述的装置,其中,所述第一设置指令用于设置动作模板中的主体的每个句柄节点在所述动画文件中至少部分帧图像中的位置。The apparatus according to claim 17, wherein the first setting instruction is used to set a position of each handle node of a subject in an action template in at least a part of a frame image in the animation file.
PCT/CN2019/089510 2018-06-08 2019-05-31 Method and device for displaying and producing animation WO2019233348A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810585375.7 2018-06-08
CN201810585375.7A CN108921919A (en) 2018-06-08 2018-06-08 Animated show, production method and device

Publications (1)

Publication Number Publication Date
WO2019233348A1 true WO2019233348A1 (en) 2019-12-12

Family

ID=64419012

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/089510 WO2019233348A1 (en) 2018-06-08 2019-05-31 Method and device for displaying and producing animation

Country Status (2)

Country Link
CN (1) CN108921919A (en)
WO (1) WO2019233348A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108921919A (en) * 2018-06-08 2018-11-30 北京小小牛创意科技有限公司 Animated show, production method and device
CN110636320A (en) * 2019-09-24 2019-12-31 网易(杭州)网络有限公司 Animation generation method and device for live broadcast, storage medium and electronic equipment
CN111951358A (en) * 2020-08-11 2020-11-17 深圳市前海手绘科技文化有限公司 Application method of combined material in hand-drawn animation
CN114187394B (en) * 2021-12-13 2023-05-05 北京百度网讯科技有限公司 Avatar generation method, apparatus, electronic device, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050273331A1 (en) * 2004-06-04 2005-12-08 Reallusion Inc. Automatic animation production system and method
CN1737853A (en) * 2005-09-09 2006-02-22 湖南互动传媒有限公司 Method for making and playing interactive cartoon program
CN101281653A (en) * 2008-04-30 2008-10-08 湖南拓维信息系统股份有限公司 Method for interfusing audience individual facial makeup into cartoon roles
CN106251389A (en) * 2016-08-01 2016-12-21 北京小小牛创意科技有限公司 The method and apparatus making animation
CN108921919A (en) * 2018-06-08 2018-11-30 北京小小牛创意科技有限公司 Animated show, production method and device

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020175948A1 (en) * 2001-05-23 2002-11-28 Nielsen Eric W. Graphical user interface method and apparatus for interaction with finite element analysis applications
CN1975785A (en) * 2006-12-19 2007-06-06 北京金山软件有限公司 Skeleton cartoon generating, realizing method/device, game optical disk and external card
CN101504774A (en) * 2009-03-06 2009-08-12 暨南大学 Animation design engine based on virtual reality
CN102254335B (en) * 2011-07-01 2013-01-02 厦门吉比特网络技术股份有限公司 System and method for editing game characters
CN102609970B (en) * 2011-12-19 2014-11-05 中山大学 Two-dimensional animation synthesis method based on movement element multiplexing
TWI521469B (en) * 2012-06-27 2016-02-11 Reallusion Inc Two - dimensional Roles Representation of Three - dimensional Action System and Method
CN105447896A (en) * 2015-11-14 2016-03-30 华中师范大学 Animation creation system for young children
CN105854296A (en) * 2016-04-21 2016-08-17 苏州探寻文化科技有限公司 Interactive experience system based on augmented reality

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050273331A1 (en) * 2004-06-04 2005-12-08 Reallusion Inc. Automatic animation production system and method
CN1737853A (en) * 2005-09-09 2006-02-22 湖南互动传媒有限公司 Method for making and playing interactive cartoon program
CN101281653A (en) * 2008-04-30 2008-10-08 湖南拓维信息系统股份有限公司 Method for interfusing audience individual facial makeup into cartoon roles
CN106251389A (en) * 2016-08-01 2016-12-21 北京小小牛创意科技有限公司 The method and apparatus making animation
CN108921919A (en) * 2018-06-08 2018-11-30 北京小小牛创意科技有限公司 Animated show, production method and device

Also Published As

Publication number Publication date
CN108921919A (en) 2018-11-30

Similar Documents

Publication Publication Date Title
WO2019233348A1 (en) Method and device for displaying and producing animation
CN109618183B (en) A kind of special video effect adding method, device, terminal device and storage medium
US10998005B2 (en) Method and apparatus for presenting media information, storage medium, and electronic apparatus
KR101306221B1 (en) Method and apparatus for providing moving picture using 3d user avatar
Pearson Generative art: a practical guide using processing
JP6942300B2 (en) Computer graphics programs, display devices, transmitters, receivers, video generators, data converters, data generators, information processing methods and information processing systems
KR101851356B1 (en) Method for providing intelligent user interface by 3D digital actor
CN109462776A (en) A kind of special video effect adding method, device, terminal device and storage medium
CN112598785B (en) Method, device and equipment for generating three-dimensional model of virtual image and storage medium
CN106780681B (en) Role action generation method and device
JP2019528544A (en) Method and apparatus for producing video
EP2242281A2 (en) Method and apparatus for producing a three-dimensional image message in mobile terminals
CN107248185A (en) A kind of virtual emulation idol real-time live broadcast method and system
CN109600559A (en) A kind of special video effect adding method, device, terminal device and storage medium
KR101977893B1 (en) Digital actor managing method for image contents
CN114170648A (en) Video generation method and device, electronic equipment and storage medium
CN113066156A (en) Expression redirection method, device, equipment and medium
KR102049359B1 (en) Method and system for providing intelligent 3D character model based on cloud search engine
CN109087644B (en) Electronic equipment, voice assistant interaction method thereof and device with storage function
JP6313003B2 (en) Karaoke apparatus, image output method, and program
CN117370605A (en) Virtual digital person driving method, device, equipment and medium
CN113704390A (en) Interaction method and device of virtual objects, computer readable medium and electronic equipment
CN112686990A (en) Three-dimensional model display method and device, storage medium and computer equipment
CN112274933A (en) Animation data processing method and device, storage medium and computer equipment
Lehtovirta Creating a VTuber avatar

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19816109

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 19/03/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19816109

Country of ref document: EP

Kind code of ref document: A1