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

# Face Match

```markdown
The Face Match service aims to validate if the faces in two different images are of 
the same person. 
It is used primarily to verify a user against the face image on a submitted .
```

***

There are two ways you can consume this API:

1. Provide two images for comparison.
2. Provide a face image & a Transaction ID of a successful Data Extraction Transaction.

***

To minimize false negative results and increase the Face Match success rate, here are some guidelines:

* Make sure the face is clear in all images.
* Make sure the individual is looking directly at the camera.
* There should be exactly one face visible in the image, otherwise the transaction will automatically be rejected.
* On some occasions, glasses can cause false negative results. If so, try taking the face images without glasses for higher accuracy.

***
