- First, facial detection is performed using a CNN (convolutional neural network).
- Then, normalization of the face is applied to obtain the face always in the same position, as well as the eyes and mouth.
- Next, there is a need to reduce the dimensionality of the images, which is achieved through PCA (Principal Component Analysis).
- Following this, an algorithm is applied to calculate which person is based on the images stored; in this case, the KneighborsClassifier was used.
- Then, normalization of the image containing the object is applied.
- Finally, the object is added to the face.
1. Face detection | 2. Normalization of the face |
4. Object and normalization |
6. Result image |
- The objective is to add 3D objects when see a marker.
- For this, firstly, it is necessary to calibrate the camera.
- Then comes the detection of the markers.
- Then it is necessary to estimate the pose of the marker.
- Finally, the 3D object can be applied.
2. Camera calibration | 3. Markers detection | 4. Pose estimation |
6. Result mark detection | 6. Result application of objects |