UNPKG

@idscan/idvc2

Version:

component for the capturing documents

68 lines (66 loc) 1.57 kB
export type StepType = 'mrz' | 'front' | 'pdf' | 'face' | 'barcode' | 'back'; export type StepTypeImageName = StepType | 'mrzFront'; export default { mrz: { id: 1, camera: 'environment', name: 'MRZ', time: 5, core: [ 'mrz', 'blur', 'generalTypeDetectionYolo', ], description: 'detection, capture and parsing of the mrz-code of a document.', }, front: { id: 2, camera: 'environment', name: 'Front Scan', time: 5, max: 0.15, core: [ 'front', 'blur', 'bubble', 'generalTypeDetectionYolo', ], description: 'capture front of a document without analysis.', }, pdf: { id: 3, camera: 'environment', name: 'PDF', time: 5, core: [ 'pdf', 'blur', 'generalTypeDetectionYolo', ], description: 'detection and capture of pdf417 of a document.', }, face: { id: 5, camera: 'user', name: 'Face', time: 10, max: 0.33, core: [ 'face', ], description: 'detection and capture of a face using the front camera.', }, barcode: { id: 6, camera: 'environment', name: 'Barcode', time: 5, core: [ 'barcode', 'generalTypeDetectionYolo', ], description: 'detection, capture and parsing 1 dimensional (barcodes) or 2 dimensional (qr codes).', }, back: { id: 8, camera: 'environment', name: 'Document Back', time: 5, core: [ 'mrz', 'pdf', 'blur', 'generalTypeDetectionYolo', ], description: 'detection and capture information from back side of the document', }, };