Additional Options for Smart Capture – GBG IDscan Documentation

Additional Options for Smart Capture

Additional Scanner Options:

Java

// Default scanner for Identity Documents, will extract document if posible.
 intent.putExtra(DocumentScannerActivity.EXTRA_SCANNER_TYPE, DocumentScannerActivity.SCANNER_TYPE_STANDARD);
 // Scanner for Address of proof documents will extract document.
 intent.putExtra(DocumentScannerActivity.EXTRA_SCANNER_TYPE, DocumentScannerActivity.SCANNER_TYPE_ADDRESS_OF_PROOF);
 // Scanner for Selfie, will open front facing camera in up to Full HD mode and allow Image taking.
 intent.putExtra(DocumentScannerActivity.EXTRA_SCANNER_TYPE, DocumentScannerActivity.SCANNER_TYPE_SELFIE);
 // Scanner for taking non processed up to Full HD images.
 intent.putExtra(DocumentScannerActivity.EXTRA_SCANNER_TYPE, DocumentScannerActivity.SCANNER_TYPE_CAMERA_FULL_HD);
 // Scanner for processing Highes resoliution images
 intent.putExtra(DocumentScannerActivity.EXTRA_SCANNER_TYPE, DocumentScannerActivity.SCANNER_TYPE_CAMERA_HIGH_RESOLUTION);

Additional Capture Screen options:

Java

// Will show or hide Help button visibility on Capture Screen, default is hide.
 intent.putExtra(DocumentScannerActivity.EXTRA_CAMERA_HELP_IS_VISIBLE, false);
 // Will show or hide Switch button visibility on Capture Screen,default is hide.
 intent.putExtra(DocumentScannerActivity.EXTRA_CAMERA_SWITCH_IS_VISIBLE, false);
 // Will control visibility of Trigger button, The value is int type and set by milliseconds. The default value is 5000 milliseconds.
 // The -1 will not show trigger button and 0 will show from start.
 intent.putExtra(DocumentScannerActivity.EXTRA_CAMERA_TRIGGER, 5000); 

Was this page helpful?