Skip to content
GBG Documents & Biometrics Documentation

Offline OCR

MJCS is also capable to perform on-device OCR capabilities. They are combined with hot-swapping and will work seamlessly with default profiles.?

Note: This will slow down document processing, older devices may increasing processing time, possibly to seconds.

In order to receive extracted fields from IDSDocumentScannerControlleryou 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, IDESDocumentobject will now contain extracted fields and authentication checks.