| CPC G06T 19/006 (2013.01) [G06F 3/04815 (2013.01); G06T 7/251 (2017.01); G06T 19/20 (2013.01); G06T 2200/24 (2013.01); G06T 2219/2016 (2013.01); G06T 2219/2021 (2013.01)] | 16 Claims |

|
1. An image effect implementing method, comprising:
acquiring a first image, recognizing a set object in the first image, and acquiring an augmented reality model corresponding to the set object, wherein the first image is an image of a real world captured by a camera of an electronic device and the augmented reality model is a three dimensional model established for the set object in the real world in advance;
superimposing, according to coordinate information of pixels of the set object, the augmented reality model onto the first image to obtain a second image; and
upon detection of a preset deformation event, controlling, according to a set deformation policy, at least one sub-model of the augmented reality model corresponding to the set object in the second image to deform, and displaying the deformed second image,
wherein different preset conditions trigger different preset deformation events, and the preset deformation event is indicative of deforming the at least one sub-model of the augmented reality model according to the set deformation policy corresponding to the preset deformation event, and
wherein the superimposing, according to the coordinate information of the pixels of the set object, the augmented reality model onto the first image to obtain the second image comprises:
determining, according to the coordinate information of the pixels of the set object, contour coordinates of the set object;
determining, according to the contour coordinates, contour information of the set object, and performing scaling adjustment on the augmented reality model corresponding to the set object according to the contour information; and
covering or replacing the set object with the adjusted augmented reality model corresponding to the set object according to the contour coordinates to obtain the second image.
|