DocumentDetector.alignDocument Method¶
Module: DocumentDetector
Definition¶
Aligns and crops the specified document on the specified image and returns a new DocumentImage.
DocumentImage alignDocument(DocumentImage sourceImage, DetectedDocument detectedDocument)
Parameters
sourceImage DocumentImagein The source image containing the document.
detectedDocument DetectedDocumentin The detected document in the image.
Returns
Realigned and cropped image of the document.
Exceptions
An error has occurred during Document Library execution.