-
public class GenericDocumentAutoSnappingController.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static GenericDocumentAutoSnappingController.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final GenericDocumentAutoSnappingControllerattach(IScanbotCameraView cameraView, GenericDocumentRecognizer genericDocumentRecognizer)Convenience method for attaching GenericDocumentAutoSnappingController to IScanbotCameraViewAuto-snapping is enabled by default as soon as you create new instance of GenericDocumentAutoSnappingController. final GenericDocumentAutoSnappingControllerattach(IScanbotCameraView cameraView, GenericDocumentRecognizerFrameHandler frameHandler)Convenience method for attaching GenericDocumentAutoSnappingController to IScanbotCameraViewAuto-snapping is enabled by default as soon as you create new instance of GenericDocumentAutoSnappingController. -
-
Method Detail
-
attach
final GenericDocumentAutoSnappingController attach(IScanbotCameraView cameraView, GenericDocumentRecognizer genericDocumentRecognizer)
Convenience method for attaching GenericDocumentAutoSnappingController to IScanbotCameraView
Auto-snapping is enabled by default as soon as you create new instance of GenericDocumentAutoSnappingController. You can manually enable or disable auto-snapping by setting GenericDocumentAutoSnappingController.isEnabled.
- Parameters:
cameraView- cameraView to attach togenericDocumentRecognizer- Generic Document Recognizer to process frames and get live detection results
-
attach
final GenericDocumentAutoSnappingController attach(IScanbotCameraView cameraView, GenericDocumentRecognizerFrameHandler frameHandler)
Convenience method for attaching GenericDocumentAutoSnappingController to IScanbotCameraView
Auto-snapping is enabled by default as soon as you create new instance of GenericDocumentAutoSnappingController. You can manually enable or disable auto-snapping by setting GenericDocumentAutoSnappingController.isEnabled.
- Parameters:
cameraView- cameraView to attach toframeHandler- GenericDocumentRecognizerFrameHandler to process frames and get live detection results
-
-
-
-