@digitalpersona/enrollment
Version:
DigitalPersona Enrollment API
27 lines (15 loc) • 651 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@digitalpersona/enrollment](./enrollment.md) > [FaceEnroll](./enrollment.faceenroll.md) > [enroll](./enrollment.faceenroll.enroll.md)
## FaceEnroll.enroll() method
Enrolls a face.
<b>Signature:</b>
```typescript
enroll(samples: BioSample[]): Promise<void>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| samples | <code>BioSample[]</code> | a collection of face images. |
<b>Returns:</b>
`Promise<void>`
a promise to perform the enrollment or reject in case of an error.