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