public class GenericDocumentAutoSnappingController
Controls auto-snapping for generic document scanning.
detachpublic static io.scanbot.sdk.genericdocument.GenericDocumentAutoSnappingController.Companion Companion
public GenericDocumentAutoSnappingController(@NotNull
io.scanbot.sdk.ui.camera.IScanbotCameraView cameraView,
@NotNull
GenericDocumentRecognizerFrameHandler genericDocumentRecognizerFrameHandler,
boolean needDetachFromView)
Controls auto-snapping for generic document scanning.
detachpublic GenericDocumentAutoSnappingController(@NotNull
io.scanbot.sdk.ui.camera.IScanbotCameraView cameraView,
@NotNull
GenericDocumentRecognizerFrameHandler frameHandler)
cameraView - cameraView to attach this new instance toframeHandler - protected boolean runPredicates(@NotNull
io.scanbot.sdk.genericdocument.GenericDocumentAutoSnappingController.Param param)
public void detach()
@JvmStatic @NotNull public static GenericDocumentAutoSnappingController attach(@NotNull io.scanbot.sdk.ui.camera.IScanbotCameraView cameraView, @NotNull GenericDocumentRecognizer genericDocumentRecognizer)
Convenience method for attaching class GenericDocumentAutoSnappingController to IScanbotCameraView
Auto-snapping is enabled by default as soon as you create new instance of
class GenericDocumentAutoSnappingController. You can manually enable or disable auto-snapping by setting
GenericDocumentAutoSnappingController.isEnabled.
cameraView - cameraView to attach togenericDocumentRecognizer - Generic Document Recognizer to process frames and get live detection resultsclass GenericDocumentAutoSnappingControllerclass GenericDocumentAutoSnappingController,
class GenericDocumentAutoSnappingController,
detach@JvmStatic @NotNull public static GenericDocumentAutoSnappingController attach(@NotNull io.scanbot.sdk.ui.camera.IScanbotCameraView cameraView, @NotNull GenericDocumentRecognizerFrameHandler frameHandler)
Convenience method for attaching class GenericDocumentAutoSnappingController to IScanbotCameraView
Auto-snapping is enabled by default as soon as you create new instance of
class GenericDocumentAutoSnappingController. You can manually enable or disable auto-snapping by setting
GenericDocumentAutoSnappingController.isEnabled.
cameraView - cameraView to attach toframeHandler - class GenericDocumentRecognizerFrameHandler to process frames and get live detection resultsclass GenericDocumentAutoSnappingControllerclass GenericDocumentAutoSnappingController,
class GenericDocumentAutoSnappingController,
detach