attach

Convenience method for attaching DocumentAutoSnappingController to IScanbotCameraView

Auto-snapping is enabled by default as soon as you create new instance of DocumentAutoSnappingController. You can manually enable or disable auto-snapping by setting DocumentAutoSnappingController.isEnabled.

Return

new instance of DocumentAutoSnappingController

Parameters

cameraView

cameraView to attach to

documentScanner

detector to process frames and get live scanning results

See also


Convenience method for attaching DocumentAutoSnappingController to IScanbotCameraView

Auto-snapping is enabled by default as soon as you create new instance of DocumentAutoSnappingController. You can manually enable or disable auto-snapping by setting DocumentAutoSnappingController.isEnabled.

Return

new instance of DocumentAutoSnappingController

Parameters

cameraView

cameraView to attach to

frameHandler

DocumentScannerFrameHandler to process frames and get live scanning results

See also