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 to attach to
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 to attach to
DocumentScannerFrameHandler to process frames and get live scanning results