IDocumentDetect
It is implemented by DocuemntDetect
Class.
Members
detect()
Syntax
detect(image: VImageData, config?: DocumentDetectConfig): Promise<DocumentDetectResult>;
Parameters
image
: The image which is used to detect boundaries. Please refer to VImageData
.
config
: The configuration of document detect. Please refer to DocumentDetectConfig
.
Return Value
A promise resolving to an DocumentDetectResult
object that contains the detected result.
destory()
Syntax
destory(): void;