Offline OCR – GBG IDscan Documentation

Offline OCR

We offer offline OCR capabilities. They are combined with hot-swapping and will work seamlessly with the default profiles

Warning: This will slow down document processing; older devices suffer drastically by increased processing time, possibly to seconds.

// Get the profile if you don’t have it
IDESProfile *profile = [IDESProfileManager getProfile:@”default”]; 
[profile setProcessingMode: IDESProcessingModeSmartScan]; 
[MJCS swapWithProfile:profile completion:nil];

When using IDSDocumentScannerController to extract the information from the document ondevice we advise you to hide capture button on the camera screen passing the parameter as shown in this snippet:

IDSDocumentScannerController *controller = [[IDSDocumentScannerController alloc] 
initWithScannerType:IDSDocumentScannerControllerTypeDocument 
options:@{IDSDocumentScannerOptionManualCaptureDisabled : @(YES)}];
Was this page helpful?