For the complete documentation index, see llms.txt. This page is also available as Markdown.

documentType

Supported document types in the capture.

Details

Attribute: document-type

Type: DocumentType | DocumentType[] | string | string[]

Default value: [DocumentType.Autodetect]

DocumentType

Member
Value
Description

Autodetect

0

Automatic detection (default value).

IDCard

2

Identity document.

Passport

3

Passport.

DriverLicense

6

Driver's license.

ResidentID

7

Residence card.

Morphology

import { DocumentType } from '@facephi/selphid-web-component';

selphid.documentType = DocumentType.IDCard;

Description

Restricts the document types that facephi-selphid-widget it will try to capture (ID card, passport, permit, etc.). Accepts a value, an array, or strings compatible with the engine.


Example

Last updated