0.0.1 • Published 2 years ago

sfx-mrz-scanner v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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; }>
ParamType
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; }>
ParamType
_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