Offline OCR
Introduction
Section titled “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
Section titled “Implementation”In order to receive extracted fields from IDSDocumentScannerControlleryou should select the right processing mode first
Swift
// Get the profile objectlet profile = IDESProfileManager.getProfile(tagName)
//Set light profile (Enables OCR and Authentication checks)profile.setProcessingMode(.smartScan)
//Let's swap and load the profileMJCS.swap(with: profile, withCompletion: nil)That’s it! Once you scan a document using IDSDocumentScannerController, IDESDocumentobject will now contain extracted fields and authentication checks.