sfx-mrz-scanner
v0.0.1
Published
A capacitor plugin for mrz scan.
Downloads
2
Readme
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; }>