ANIMATION GENERATION METHOD AND APPARATUS, ELECTRONIC DEVICE, AND COMPUTER-READABLE STORAGE MEDIUM
Provided are an method for generating an animation and apparatus, an electronic device, and a computer-readable storage medium. The method for generating an animation comprises: determining a background image and a first foreground image of an original image (S110); respectively rotating, scaling an...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | eng ; fre ; ger |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | Provided are an method for generating an animation and apparatus, an electronic device, and a computer-readable storage medium. The method for generating an animation comprises: determining a background image and a first foreground image of an original image (S110); respectively rotating, scaling and translating the first foreground image and a first 2D sticker image to obtain a second foreground image and a second 2D sticker image, wherein the first 2D sticker image is generated in advance on the basis of a predetermined coverage manner and according to the original image (S 120); mixing the second foreground image with the background image to obtain a first mixed image (S 130); and mixing the first mixed image with the second 2D sticker image to generate an animation of the original image (S140). |
---|