> For the complete documentation index, see [llms.txt](https://guide.swiftxr.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guide.swiftxr.io/components/face-tracking-1.md).

# Face Tracking

Face detection or tracking is a computer technology utilized in various applications to identify human faces in digital images. It also refers to the psychological process by which humans recognize and focus on faces within a visual scene.

<figure><img src="/files/v7x1cdW1pDIUaUuTVrze" alt=""><figcaption></figcaption></figure>

## To Create a Face Tracking Project on SwiftXR

Click on 3D under components and select the Face tracking feature.

<figure><img src="/files/GrEqgsFFTJPG6jsM9102" alt=""><figcaption></figcaption></figure>

Upload a 3D model of your desired virtual element (either a face glass or a necklace or a earring or even a cap). You can upload a custom 3D model of your choice or simply request for one on the platform.

<figure><img src="/files/WlonBYMmbssTMZ9X33TI" alt=""><figcaption></figcaption></figure>

## Adjust Object on Face

On the right hand side of the editor click  on properties and select Face Tracking. Select adjust object on face. In the editor  use the “All” panel under size to resize your 3D object to fit the face model. Then to adjust the position use  XYZ control panel to  move your object around appropriately. <br>

<figure><img src="/files/SesN6fEQz2o6HXgewyt8" alt=""><figcaption></figcaption></figure>

Click on “save” when you are done:

## Preview and Publish your Project

Click on the drop down icon beside Publish to preview your project and view in AR. Place your camera on your face and your glasses should appear. Once you are satisfied with your fittings, go ahead to publish your project.

<br>
