0.0.1 • Published 2 years ago
sfx-mrz-scanner v0.0.1
sfx-mrz-scanner
A capacitor plugin for mrz scan.
Install
npm install sfx-mrz-scanner
npx cap sync
API
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>
Param | Type |
---|---|
options | { value: string; } |
Returns: Promise<{ value: string; }>
initMrzProcessing(...)
initMrzProcessing(_options: { mode: 'MODE_DETECT' | 'MODE_CAPTURE'; imageString: string | undefined; }) => Promise<{ code: string; status: string; result: MrzResult | null; ocrString: string | null; }>
Param | Type |
---|---|
_options | { mode: 'MODE_DETECT' | 'MODE_CAPTURE'; imageString: string; } |
Returns: Promise<{ code: string; status: string; result: MrzResult | null; ocrString: string | null; }>
0.0.1
2 years ago