vision-camera-mrz-scanner
Version:
VisionCamera Frame Processor Plugin to detect and read MRZ data from passports using MLKit Text Recognition.
9 lines • 537 B
TypeScript
import type { CameraDeviceFormat } from 'react-native-vision-camera';
/**
* Sort formats by resolution, with higher resolution being better.
* @param {CameraDeviceFormat} left - CameraDeviceFormat - the first format to compare
* @param {CameraDeviceFormat} right - CameraDeviceFormat - the right side of the comparison
* @returns The difference between the two points.
*/
export declare const sortFormatsByResolution: (left: CameraDeviceFormat, right: CameraDeviceFormat) => number;
//# sourceMappingURL=generalUtil.d.ts.map