Interface EncodeFaceImageOptions
- All Known Implementing Classes:
BlinkIdMultiSideRecognizer,BlinkIdSingleSideRecognizer,DocumentFaceRecognizer,MrtdCombinedRecognizer,PassportRecognizer,UsdlCombinedRecognizer,VisaRecognizer
public interface EncodeFaceImageOptions
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidsetEncodeFaceImage(boolean encodeFaceImage) Sets whether face image from document should be encoded in JPEG format and written into the corresponding recognition result.booleanReturns whether encoding of face image from document and writing it into the recognition result is enabled.
-
Field Details
-
CLASS_NAME
- See Also:
-
-
Method Details
-
setEncodeFaceImage
void setEncodeFaceImage(boolean encodeFaceImage) Sets whether face image from document should be encoded in JPEG format and written into the corresponding recognition result. By default, this is set to 'false'.
IMPORTANT NOTE: If you setMicroblinkSDK.setIntentDataTransferMode(com.microblink.blinkid.intent.IntentDataTransferMode)toIntentDataTransferMode.STANDARDrecognizer which contains encoded image cannot be parcelized and passed byIntentextras because of Android limitations on intent extras size. If you are using one of the provided scan activities and expect receiving scan results inActivity.onActivityResult(int, int, android.content.Intent)method use eitherIntentDataTransferMode.OPTIMISEDorIntentDataTransferMode.PERSISTED_OPTIMISED- Parameters:
encodeFaceImage- whether face image should be encoded in JPEG format and written into the corresponding recognition result.
-
shouldEncodeFaceImage
boolean shouldEncodeFaceImage()Returns whether encoding of face image from document and writing it into the recognition result is enabled. By default, this is set to 'false'.- Returns:
- whether encoding of face image from document and writing it into the recognition result is enabled.
-