Recognize the document in the given image.
The image to recognize.
Optional consumeImage: Config.ConsumeTypeControls if the image can still be used after calling this method, or if it will be consumed by the method. See ConsumeType for more details.
The recognition result.
Verify whether the extracted document has signs of forgery or tampering.
The document parts to verify. For example, the front and back of an ID card.@returns The verification report.
Static createOptional configuration: { Optional configurations?: ({ List of configuration elements for the document data extractor.
[new DocumentDataExtractorCommonConfiguration({})];
Optional documentLevel of trust in the authenticity of the extracted document.
"TRUSTED";
Optional fieldNormalized names of the fields to exclude from the result.
[];
Optional processingScanners typically can produce better results from a single image if they are allowed to spend a longer time analyzing it.
On the other hand, scanners can produce even better results if they can analyze multiple images of the same subject and cross-check and combine the results. The processing mode tells the scanner whether to optimize for single or multiple images of a subject.
"AUTO";
Optional resultConfiguration for how to accumulate results.
new ResultAccumulationConfiguration({});
Optional returnIf true, crops of the detected documents and fields will be returned in the result.
false;
Generated using TypeDoc
API for extracting data from documents.