detectDocumentAfterSnap property

bool? detectDocumentAfterSnap
getter/setter pair

Whether to detect the document after snapping. If enabled, the document scanner will try to detect the document in the captured image and provide the cropped image of the detected document along with the document detection result in the onSnappedDocumentResult callback. If disabled, only the original image is provided in the onSnappedDocumentResult callback and no document detection is performed on the captured image. Enabling this option may result in a longer processing time after snapping a document, especially on older devices. Default - true

Implementation

bool? detectDocumentAfterSnap;