We offering offline OCR capabilities. They are combined with hot-swapping and will work seamlessly with default maven profiles from 1.14.0 version of profiles.
WARNING: This will slow down document processing; older devices suffer more drastically by increasing processing time, possibly to seconds.
- Using default profile
Java
// Create profile objectProfile profile = newProfile();//Set light profile (Enables OCR and Authentication)profile.setProcessingMode(ProcessingMode.SMART_SCAN);// This operation needs to be done once before swapProfile, and it can be heavy operation, we offer to do it on application launch or before feature of on boarding.MJCS.init(this);//This needs to be called before calling Document Scanner or Customer JourneyMJCS.swapProfile(profile);
- Using Profile Manager
Java
// Create profile object with specific profile.Profile profile = ProfileManager.getProfile("TAG");//Set light profile (Enables OCR and Authentication)profile.setProcessingMode( ProcessingMode .SMART_SCAN);// This operation needs to be done once before swapProfile, and it can be heavy operation, we offer to do it on application launch or before feature of on boarding.MJCS.init(this);//This needs to be called before calling Document Scanner or Customer JourneyMJCS.swapProfile(profile);