System and Method for Displaying Graphical Effects Based on Determined Facial Positions
An electronic device and associated method place a sticker near a facial region in a digital image. The method detects 2D positions of facial features from a 2D digital image, and calculates a projection matrix from a predetermined 3D reference model having predefined facial feature points that corr...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | An electronic device and associated method place a sticker near a facial region in a digital image. The method detects 2D positions of facial features from a 2D digital image, and calculates a projection matrix from a predetermined 3D reference model having predefined facial feature points that correspond to the 2D detected facial features. The method then selects a digital sticker, and for each corner of the selected digital sticker, uses the projection matrix to transform 3D positions of the corner to corresponding positions on the 2D digital image. The method calculates a refinement matrix defining a correlation of each corner of the selected digital sticker to anchor points in the 2D digital image. Using the refinement matrix, the method calculates updated projected 2D positions and displays the selected sticker on the 2D digital image based on the updated projected 2D positions for each corner point. |
---|