Abstract:
A method of applying virtual makeup adapted for an electronic device having a virtual makeup electronic system is provided. The method of applying virtual makeup includes the steps: receiving a plurality of facial images of different angles of a face to construct a 3D facial model; recording a real-time facial image of the face, and the 3D facial model varies with the face in real time according to the real-time facial image; providing 3D virtual makeup to the 3D facial model; converting the 3D virtual makeup to 2D virtual makeup according to a position and an angle of the real-time facial image; combining the real-time facial image and the 2D virtual makeup to generate an output image; and displaying the output image. A virtual makeup electronic system and an electronic device having a virtual makeup electronic system are further provided.
Abstract:
A measurement device adapted to cooperate with a three-dimensional image is provided. The three-dimensional image includes a plurality of three-dimensional positioning points. The measurement device comprises: a first camera unit for providing a two-dimensional image; an analysis module for analyzing the two-dimensional image to define a plurality of two-dimensional positioning points; a matching module for making the two-dimensional positioning points correspond to the three-dimensional positioning points, respectively, to generate a three-dimensional model; an input module for receiving a starting point and a destination in the two-dimensional image; a measurement module for obtaining first position information and second position information that correspond to the starting point and the destination respectively and calculating data; and an output module. A processor configured to execute a measurement method is also provided.