Introduction
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.
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.