Need help with the integration?

Type a word or a phrase to start browsing through articles.

[BlinkID] Anonymization mode

Follow

In some cases, BlinkID returns incomplete results and a document image with black boxes hiding some data. The reason why is it occurring is because of result anonymization, where some fields on certain documents are protected by the data anonymity act.  

With the result anonymization option enabled, results are not returned for protected fields on documents listed here. The full document image will also have this data blacked out.

 

IMG_20210617_105738.jpg

1.1. Anonymized document number on the front of German ID 

 

IMG_20210617_105831.jpg

1.2. Anonymized MRZ field on the back of German ID


With AnonymizationMode method, it is possible to control whether to hide or unhide the anonymized fields - check out more about it in the documentation - Android and iOS.

 

By using setAnonymizationMode method, you can choose the AnonymizationMode : ImageOnlyResultFieldsOnlyFullResult or None.

FullResult anonymization (both images and data) is set by default.

 

Here are examples of how to use it in your project:

 

ANDROID

 

protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);

// we'll use BlinkID combined recognizer
recognizer = new BlinkIdCombinedRecognizer();

//Mode will not be performed
recognizer.setAnonymizationMode(AnonymizationMode.None);

//Only the full document image will be anonymized
recognizer.setAnonymizationMode(AnonymizationMode.ImageOnly);

//Only the retrived results will be anonymized (will not be retrived)
recognizer.setAnonymizationMode(AnonymizationMode.ResultFieldsOnly);

//Full anon mode is enabled (images + information)
recognizer.setAnonymizationMode(AnonymizationMode.FullResult);

// put our recognizer in bundle so that it can be sent via intent
recognizerBundle = new RecognizerBundle(recognizer);
}

iOS

     //we'll use BlinkID combined recognizer        
self.blinkIdRecognizer = MBBlinkIdCombinedRecognizer()
//Setting up the anonymization mode

//Mode will not be performed
  self.blinkIdRecognizer?.anonymizationMode = .none

  //Only the full document image will be anonymized
  self.blinkIdRecognizer?.anonymizationMode = .imageOnly

  //Only the retrived results will be anonymized (will not be retrived)
self.blinkIdRecognizer?.anonymizationMode = .resultFieldsOnly

  //Full anon mode is enabled (images + information)
self.blinkIdRecognizer?.anonymizationMode = .fullResult

//Create the recognizerList and collection and place the BlinkID Combined recognizer in it
  let recognizerList = [self.blinkIdRecognizer!]
  let recognizerCollection: MBRecognizerCollection = MBRecognizerCollection(recognizers: recognizerList)
Was this article helpful?
1 out of 1 found this helpful
Have more questions? Submit a request

Comments