documentType
Supported document types in the capture.
Last updated
Supported document types in the capture.
Attribute: document-type
Type: DocumentType | DocumentType[] | string | string[]
Default value: [DocumentType.Autodetect]
Autodetect
0
Automatic detection (default value).
IDCard
2
Identity document.
Passport
3
Passport.
DriverLicense
6
Driver's license.
ResidentID
7
Residence card.
import { DocumentType } from '@facephi/selphid-web-component';
selphid.documentType = DocumentType.IDCard;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.
Last updated
import { DocumentType } from '@facephi/selphid-web-component';
<facephi-selphid-widget
documentType={DocumentType.IDCard}
/>