Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

Project to add objects to the face and add a cube to markers

Notifications You must be signed in to change notification settings

miguelTavora/Augmented-Reality

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Augmented reality and face recognition

Face detection and recognition to include virtual elements

  1. First, facial detection is performed using a CNN (convolutional neural network).
  2. Then, normalization of the face is applied to obtain the face always in the same position, as well as the eyes and mouth.
  3. Next, there is a need to reduce the dimensionality of the images, which is achieved through PCA (Principal Component Analysis).
  4. Following this, an algorithm is applied to calculate which person is based on the images stored; in this case, the KneighborsClassifier was used.
  5. Then, normalization of the image containing the object is applied.
  6. Finally, the object is added to the face.
drawing drawing drawing
1. Face detection 2. Normalization
of the face
4. Object and normalization
drawing
6. Result image

Augmented reality

  1. The objective is to add 3D objects when see a marker.
  2. For this, firstly, it is necessary to calibrate the camera.
  3. Then comes the detection of the markers.
  4. Then it is necessary to estimate the pose of the marker.
  5. Finally, the 3D object can be applied.
drawing drawing drawing
2. Camera calibration 3. Markers detection 4. Pose estimation
drawing drawing
6. Result mark detection 6. Result application of objects

About

Project to add objects to the face and add a cube to markers

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages