Virtual trial mirror method and device based on 2D chartlet
The embodiment of the invention provides a virtual trial method and device based on 2D chartlet, and relates to the technical field of image processing, and the method comprises the steps: obtaining the coordinates of face key points from a face image of a user; coordinates of key points of the glas...
Gespeichert in:
Hauptverfasser: | , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The embodiment of the invention provides a virtual trial method and device based on 2D chartlet, and relates to the technical field of image processing, and the method comprises the steps: obtaining the coordinates of face key points from a face image of a user; coordinates of key points of the glasses are obtained from the glasses image of the glasses needing to be virtually worn by the user; according to the coordinates of the face key points and the coordinates of the glasses key points, a perspective change matrix and a rotation matrix are determined, the perspective change matrix is associated with the pitch angle and/or yaw angle of the face of the user in the face image, and the rotation matrix is associated with the roll angle of the face of the user; updating coordinates of the key points of the glasses according to the perspective change matrix and the rotation matrix; fusing the face image and the glasses image according to the updated coordinates of the glasses key points; wherein the glasses imag |
---|