Implementation – GBG IDscan Documentation

Implementation

In order to receive extracted fields from IDSDocumentScannerController you should select the right processing mode first.

Swift

// Get the profile object
 let profile = IDESProfileManager.getProfile(tagName)
 //Set light profile (Enables OCR and Authentication checks)
 profile.setProcessingMode(.smartScan)
 //Let's swap and load the profile
 MJCS.swap(with: profile, withCompletion: nil)

That’s it! Once you scan a document using  IDSDocumentScannerController,  IDESDocument object will now contain extracted fields and authentication checks.

Was this page helpful?