Face image processing method and device
A face image processing method is provided. The face processing method comprising: extracting a plurality of features from a primary two-dimensional face image to generate a first feature vector; decomposing a three-dimensional face image into a plurality of base face images and a plurality of weighting factors corresponding to the base face images; generating a first two-dimensional code according to the first feature vector; and generating a second two-dimensional code according to the weighting factors.
1. A face image processing method, comprising:
extracting a plurality of features from a primary two-dimensional face image to generate a first feature vector;
extracting a plurality of features from a secondary two-dimensional face image to generate a second feature vector, wherein when a distance difference between the first feature vector and the second feature vector is less than a set value, the primary two-dimensional face image and the secondary two-dimensional face image are from different states of the same face;
decomposing a three-dimensional face image into a plurality of base face images and a plurality of weighting factors corresponding to the base face images;
generating a first two-dimensional code according to the first feature vector; and
generating a second two-dimensional code according to the weighting factors;
wherein the base face images comprise a first base face image and a second base face image, the weighting factors comprise a first weighting factor and a second weighting factor, and the three-dimensional face image is generated by multiplication of the first base face image and the first weighting factor plus multiplication of the second base face image and the second weighting factor.
2. The face image processing method according to claim 1 , wherein the first two-dimensional code or the second two-dimensional code comprises a QR code, a High Capacity Color QR code, or a High Capacity Color Barcode (HCCB).
3. The face image processing method according to claim 1 , wherein the first two-dimensional code or the second two-dimensional code is replaced by a radio frequency identification passive tag (RFID passive tag).
4. A face image processing device, comprising:
an image information capture unit, extracting a plurality of features from a primary two-dimensional face image to generate a first feature vector, and extracting a plurality of features from a secondary two-dimensional face image to generate a second feature vector, wherein when a distance difference between the first feature vector and the second feature vector is less than a set value, the primary two-dimensional face image and the secondary two-dimensional face image are from different states of the same face;
a three-dimensional morphable model unit, decomposing a three-dimensional face image into a plurality of base face images and a plurality of weighting factors corresponding to the base face images; and
a two-dimensional code generation unit, generating a first two-dimensional code according to the first feature vector, and generating a second two-dimensional code according to the weighting factors;
wherein the base face images comprise a first base face image and a second base face image, the weighting factors comprise a first weighting factor and a second weighting factor, and the three-dimensional face image is generated by multiplication of the first base face image and the first weighting factor plus multiplication of the second base face image and the second weighting factor.
5. The face image processing device according to claim 4 , wherein the first two-dimensional code or the second two-dimensional code comprises a QR code, a High Capacity Color QR code, or a High Capacity Color Barcode (HCCB).
6. The face image processing device according to claim 4 , wherein the first two-dimensional code or the second two-dimensional code is replaced by a radio frequency identification passive tag (RFID passive tag).