Method, electronic device and storage medium for processing image
Abstract:
A method electronic device and storage medium for processing an image are provided. The method includes: receiving an instruction for a preset fly-away special effect; creating a facial grid and facial feature grids in the image to be processed; determining a facial image in an image region covered by the facial grid; setting a pixel value of each pixel in the facial image to a target pixel value; extracting facial feature images from an image region covered by the facial feature grids; and obtaining a target image by mapping the facial feature images onto the facial image based on a preset triangular mapping algorithm and a preset offset.
Public/Granted literature
Information query
Patent Agency Ranking
0/0