scanbot-web-sdk
Version:
Scanbot Web Document and Barcode Scanner SDK
9 lines (8 loc) • 349 B
TypeScript
import { IScannerCommon } from "./i-scanner-common-handle";
import type { CroppedDetectionResult } from "../core-types";
export interface IDocumentScannerHandle extends IScannerCommon {
detectAndCrop(): Promise<CroppedDetectionResult | null>;
enableAutoCapture(): void;
disableAutoCapture(): void;
isAutoCaptureEnabled(): boolean;
}