@regulaforensics/cordova-plugin-document-reader-api 5.4.0 → 5.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -3
- package/example/config.xml +1 -1
- package/example/package.json +7 -5
- package/example/www/index.html +6 -1
- package/example/www/js/index.js +61 -7
- package/package.json +1 -1
- package/plugin.xml +5 -4
- package/src/android/DocumentReader.java +227 -20
- package/src/android/Helpers.java +146 -0
- package/src/android/JSONConstructor.java +1830 -507
- package/src/android/RegulaConfig.java +85 -18
- package/src/android/build.gradle +11 -11
- package/src/ios/RGLDocumentReader.h +8 -3
- package/src/ios/RGLDocumentReader.m +163 -12
- package/src/ios/RGLWJSONConstructor.h +60 -0
- package/src/ios/RGLWJSONConstructor.m +918 -0
- package/src/ios/RegulaConfig.h +2 -0
- package/src/ios/RegulaConfig.m +128 -33
- package/www/DocumentReader.js +902 -667
- package/src/ios/JSONConstructor.h +0 -33
- package/src/ios/JSONConstructor.m +0 -821
package/src/ios/RegulaConfig.h
CHANGED
|
@@ -19,5 +19,7 @@
|
|
|
19
19
|
+(RGLePassportDataGroup*)RGLePassportDataGroupFromJson:(NSDictionary *) dict;
|
|
20
20
|
+(RGLeIDDataGroup*)RGLeIDDataGroupFromJson:(NSDictionary*) dict;
|
|
21
21
|
+(RGLeDLDataGroup*)RGLeDLDataGroupFromJson:(NSDictionary*) dict;
|
|
22
|
+
+(RGLImageQA*)ImageQAFromJson:(NSDictionary*) dict;
|
|
23
|
+
+(NSDictionary*)ImageQAToJson:(RGLImageQA*) input;
|
|
22
24
|
@end
|
|
23
25
|
#endif
|
package/src/ios/RegulaConfig.m
CHANGED
|
@@ -284,6 +284,39 @@
|
|
|
284
284
|
}
|
|
285
285
|
}
|
|
286
286
|
|
|
287
|
+
+(RGLImageQA*)ImageQAFromJson:(NSDictionary*)dict {
|
|
288
|
+
RGLImageQA *image = [RGLImageQA new];
|
|
289
|
+
|
|
290
|
+
if([dict valueForKey:@"dpiThreshold"] != nil)
|
|
291
|
+
image.dpiThreshold = [dict valueForKey:@"dpiThreshold"];
|
|
292
|
+
if([dict valueForKey:@"angleThreshold"] != nil)
|
|
293
|
+
image.angleThreshold = [dict valueForKey:@"angleThreshold"];
|
|
294
|
+
if([dict valueForKey:@"focusCheck"] != nil)
|
|
295
|
+
image.focusCheck = [dict valueForKey:@"focusCheck"];
|
|
296
|
+
if([dict valueForKey:@"glaresCheck"] != nil)
|
|
297
|
+
image.glaresCheck = [dict valueForKey:@"glaresCheck"];
|
|
298
|
+
if([dict valueForKey:@"colornessCheck"] != nil)
|
|
299
|
+
image.colornessCheck = [dict valueForKey:@"colornessCheck"];
|
|
300
|
+
if([dict valueForKey:@"moireCheck"] != nil)
|
|
301
|
+
image.moireCheck = [dict valueForKey:@"moireCheck"];
|
|
302
|
+
|
|
303
|
+
return image;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
+(NSDictionary*)ImageQAToJson:(RGLImageQA*)input {
|
|
307
|
+
NSMutableDictionary *result = [NSMutableDictionary new];
|
|
308
|
+
if(input == nil) return result;
|
|
309
|
+
|
|
310
|
+
result[@"dpiThreshold"] = input.dpiThreshold;
|
|
311
|
+
result[@"angleThreshold"] = input.angleThreshold;
|
|
312
|
+
result[@"focusCheck"] = input.focusCheck;
|
|
313
|
+
result[@"glaresCheck"] = input.glaresCheck;
|
|
314
|
+
result[@"colornessCheck"] = input.colornessCheck;
|
|
315
|
+
result[@"moireCheck"] = input.moireCheck;
|
|
316
|
+
|
|
317
|
+
return result;
|
|
318
|
+
}
|
|
319
|
+
|
|
287
320
|
+(RGLePassportDataGroup*)RGLePassportDataGroupFromJson:(NSDictionary*)dict {
|
|
288
321
|
RGLePassportDataGroup *group = [[RGLePassportDataGroup alloc] init];
|
|
289
322
|
|
|
@@ -502,6 +535,8 @@
|
|
|
502
535
|
customization.cameraFrameLandscapeAspectRatio = [[options valueForKey:@"cameraFrameLandscapeAspectRatio"] floatValue];
|
|
503
536
|
if([options valueForKey:@"toolbarSize"] != nil)
|
|
504
537
|
customization.toolbarSize = [[options valueForKey:@"toolbarSize"] floatValue];
|
|
538
|
+
if([options valueForKey:@"statusBackgroundColor"] != nil)
|
|
539
|
+
customization.statusBackgroundColor = [self getUIColorObjectFromHexString:[options valueForKey:@"statusBackgroundColor"] alpha:1];
|
|
505
540
|
}
|
|
506
541
|
|
|
507
542
|
+(void)setFunctionality:(NSDictionary*)options :(RGLFunctionality*)functionality {
|
|
@@ -548,8 +583,6 @@
|
|
|
548
583
|
functionality.btDeviceName = [[options valueForKey:@"btDeviceName"] stringValue];
|
|
549
584
|
if([options valueForKey:@"useAuthenticator"] != nil)
|
|
550
585
|
functionality.useAuthenticator = [[options valueForKey:@"useAuthenticator"] boolValue];
|
|
551
|
-
if([options valueForKey:@"rfidEnabled"] != nil)
|
|
552
|
-
functionality.rfidEnabled = [[options valueForKey:@"rfidEnabled"] boolValue];
|
|
553
586
|
if([options valueForKey:@"showCaptureButtonDelayFromDetect"] != nil)
|
|
554
587
|
functionality.showCaptureButtonDelayFromDetect = [[options valueForKey:@"showCaptureButtonDelayFromDetect"] doubleValue];
|
|
555
588
|
if([options valueForKey:@"showCaptureButtonDelayFromStart"] != nil)
|
|
@@ -562,21 +595,25 @@
|
|
|
562
595
|
functionality.isZoomEnabled = [[options valueForKey:@"isZoomEnabled"] boolValue];
|
|
563
596
|
if([options valueForKey:@"zoomFactor"] != nil)
|
|
564
597
|
functionality.zoomFactor = [[options valueForKey:@"zoomFactor"] floatValue];
|
|
598
|
+
if([options valueForKey:@"recordScanningProcess"] != nil)
|
|
599
|
+
functionality.recordScanningProcess = [[options valueForKey:@"recordScanningProcess"] boolValue];
|
|
600
|
+
if([options valueForKey:@"manualMultipageMode"] != nil)
|
|
601
|
+
functionality.manualMultipageMode = [[options valueForKey:@"manualMultipageMode"] boolValue];
|
|
565
602
|
}
|
|
566
603
|
|
|
567
604
|
+(void)setProcessParams:(NSDictionary*)options :(RGLProcessParams*)processParams {
|
|
568
605
|
if([options valueForKey:@"multipageProcessing"] != nil)
|
|
569
|
-
processParams.multipageProcessing = [[options valueForKey:@"multipageProcessing"] boolValue];
|
|
606
|
+
processParams.multipageProcessing = [NSNumber numberWithBool:[[options valueForKey:@"multipageProcessing"] boolValue]];
|
|
570
607
|
if([options valueForKey:@"dateFormat"] != nil)
|
|
571
608
|
processParams.dateFormat = [options valueForKey:@"dateFormat"];
|
|
572
609
|
if([options valueForKey:@"logs"] != nil)
|
|
573
|
-
processParams.logs = [[options valueForKey:@"logs"] boolValue];
|
|
610
|
+
processParams.logs = [NSNumber numberWithBool:[[options valueForKey:@"logs"] boolValue]];
|
|
574
611
|
if([options valueForKey:@"debugSaveImages"] != nil)
|
|
575
|
-
processParams.debugSaveImages = [[options valueForKey:@"debugSaveImages"] boolValue];
|
|
612
|
+
processParams.debugSaveImages = [NSNumber numberWithBool:[[options valueForKey:@"debugSaveImages"] boolValue]];
|
|
576
613
|
if([options valueForKey:@"debugSaveCroppedImages"] != nil)
|
|
577
|
-
processParams.debugSaveCroppedImages = [[options valueForKey:@"debugSaveCroppedImages"] boolValue];
|
|
614
|
+
processParams.debugSaveCroppedImages = [NSNumber numberWithBool:[[options valueForKey:@"debugSaveCroppedImages"] boolValue]];
|
|
578
615
|
if([options valueForKey:@"debugSaveLogs"] != nil)
|
|
579
|
-
processParams.debugSaveLogs = [[options valueForKey:@"debugSaveLogs"] boolValue];
|
|
616
|
+
processParams.debugSaveLogs = [NSNumber numberWithBool:[[options valueForKey:@"debugSaveLogs"] boolValue]];
|
|
580
617
|
if([options valueForKey:@"scenario"] != nil)
|
|
581
618
|
processParams.scenario = [options valueForKey:@"scenario"];
|
|
582
619
|
if([options valueForKey:@"barcodeTypes"] != nil)
|
|
@@ -586,41 +623,79 @@
|
|
|
586
623
|
if([options valueForKey:@"fieldTypesFilter"] != nil)
|
|
587
624
|
processParams.fieldTypesFilter = [options valueForKey:@"fieldTypesFilter"];
|
|
588
625
|
if([options valueForKey:@"disableFocusingCheck"] != nil)
|
|
589
|
-
processParams.disableFocusingCheck = [[options valueForKey:@"disableFocusingCheck"] boolValue];
|
|
626
|
+
processParams.disableFocusingCheck = [NSNumber numberWithBool:[[options valueForKey:@"disableFocusingCheck"] boolValue]];
|
|
590
627
|
if([options valueForKey:@"captureButtonScenario"] != nil)
|
|
591
628
|
processParams.captureButtonScenario = [options valueForKey:@"captureButtonScenario"];
|
|
592
|
-
if([options valueForKey:@"sessionLogFolder"] != nil)
|
|
593
|
-
[processParams setSessionLogFolder:[[options valueForKey:@"sessionLogFolder"] stringValue]];
|
|
594
629
|
if([options valueForKey:@"measureSystem"] != nil)
|
|
595
630
|
processParams.measureSystem = [[options valueForKey:@"measureSystem"] integerValue];
|
|
596
631
|
if([options valueForKey:@"returnUncroppedImage"] != nil)
|
|
597
|
-
processParams.returnUncroppedImage = [[options valueForKey:@"returnUncroppedImage"] boolValue];
|
|
632
|
+
processParams.returnUncroppedImage = [NSNumber numberWithBool:[[options valueForKey:@"returnUncroppedImage"] boolValue]];
|
|
598
633
|
if([options valueForKey:@"customParams"] != nil)
|
|
599
634
|
processParams.customParams = [options objectForKey:@"customParams"];
|
|
600
635
|
if([options valueForKey:@"debugSaveRFIDSession"] != nil)
|
|
601
|
-
processParams.debugSaveRFIDSession = [[options valueForKey:@"debugSaveRFIDSession"] boolValue];
|
|
636
|
+
processParams.debugSaveRFIDSession = [NSNumber numberWithBool:[[options valueForKey:@"debugSaveRFIDSession"] boolValue]];
|
|
602
637
|
if([options valueForKey:@"doublePageSpread"] != nil)
|
|
603
|
-
processParams.doublePageSpread = [[options valueForKey:@"doublePageSpread"] boolValue];
|
|
638
|
+
processParams.doublePageSpread = [NSNumber numberWithBool:[[options valueForKey:@"doublePageSpread"] boolValue]];
|
|
604
639
|
if([options valueForKey:@"barcodeParserType"] != nil)
|
|
605
|
-
processParams.barcodeParserType = [[options valueForKey:@"barcodeParserType"] integerValue];
|
|
640
|
+
processParams.barcodeParserType = [NSNumber numberWithInteger:[[options valueForKey:@"barcodeParserType"] integerValue]];
|
|
606
641
|
if([options valueForKey:@"timeout"] != nil)
|
|
607
|
-
processParams.timeout = [[options valueForKey:@"timeout"] doubleValue];
|
|
642
|
+
processParams.timeout = [NSNumber numberWithDouble:[[options valueForKey:@"timeout"] doubleValue]];
|
|
608
643
|
if([options valueForKey:@"timeoutFromFirstDetect"] != nil)
|
|
609
|
-
processParams.timeoutFromFirstDetect = [[options valueForKey:@"timeoutFromFirstDetect"] doubleValue];
|
|
644
|
+
processParams.timeoutFromFirstDetect = [NSNumber numberWithDouble:[[options valueForKey:@"timeoutFromFirstDetect"] doubleValue]];
|
|
610
645
|
if([options valueForKey:@"timeoutFromFirstDocType"] != nil)
|
|
611
|
-
processParams.timeoutFromFirstDocType = [[options valueForKey:@"timeoutFromFirstDocType"] doubleValue];
|
|
646
|
+
processParams.timeoutFromFirstDocType = [NSNumber numberWithDouble:[[options valueForKey:@"timeoutFromFirstDocType"] doubleValue]];
|
|
612
647
|
if([options valueForKey:@"manualCrop"] != nil)
|
|
613
|
-
processParams.manualCrop = [[options valueForKey:@"manualCrop"] boolValue];
|
|
648
|
+
processParams.manualCrop = [NSNumber numberWithBool:[[options valueForKey:@"manualCrop"] boolValue]];
|
|
614
649
|
if([options valueForKey:@"perspectiveAngle"] != nil)
|
|
615
|
-
processParams.perspectiveAngle = [[options valueForKey:@"perspectiveAngle"] integerValue];
|
|
650
|
+
processParams.perspectiveAngle = [NSNumber numberWithInteger:[[options valueForKey:@"perspectiveAngle"] integerValue]];
|
|
616
651
|
if([options valueForKey:@"minDPI"] != nil)
|
|
617
|
-
processParams.minDPI = [[options valueForKey:@"minDPI"] integerValue];
|
|
652
|
+
processParams.minDPI = [NSNumber numberWithInteger:[[options valueForKey:@"minDPI"] integerValue]];
|
|
618
653
|
if([options valueForKey:@"integralImage"] != nil)
|
|
619
|
-
processParams.integralImage = [[options valueForKey:@"integralImage"] boolValue];
|
|
654
|
+
processParams.integralImage = [NSNumber numberWithBool:[[options valueForKey:@"integralImage"] boolValue]];
|
|
620
655
|
if([options valueForKey:@"returnCroppedBarcode"] != nil)
|
|
621
|
-
processParams.returnCroppedBarcode = [[options valueForKey:@"returnCroppedBarcode"] boolValue];
|
|
656
|
+
processParams.returnCroppedBarcode = [NSNumber numberWithBool:[[options valueForKey:@"returnCroppedBarcode"] boolValue]];
|
|
622
657
|
if([options valueForKey:@"checkHologram"] != nil)
|
|
623
|
-
processParams.checkHologram = [[options valueForKey:@"checkHologram"] boolValue];
|
|
658
|
+
processParams.checkHologram = [NSNumber numberWithBool:[[options valueForKey:@"checkHologram"] boolValue]];
|
|
659
|
+
if([options valueForKey:@"checkRequiredTextFields"] != nil)
|
|
660
|
+
processParams.checkRequiredTextFields = [NSNumber numberWithBool:[[options valueForKey:@"checkRequiredTextFields"] boolValue]];
|
|
661
|
+
if([options valueForKey:@"depersonalizeLog"] != nil)
|
|
662
|
+
processParams.depersonalizeLog = [options valueForKey:@"depersonalizeLog"];
|
|
663
|
+
if([options valueForKey:@"resultTypeOutput"] != nil)
|
|
664
|
+
processParams.resultTypeOutput = [options valueForKey:@"resultTypeOutput"];
|
|
665
|
+
if([options valueForKey:@"generateDoublePageSpreadImage"] != nil)
|
|
666
|
+
processParams.generateDoublePageSpreadImage = [options valueForKey:@"generateDoublePageSpreadImage"];
|
|
667
|
+
if([options valueForKey:@"imageDpiOutMax"] != nil)
|
|
668
|
+
processParams.imageDpiOutMax = [options valueForKey:@"imageDpiOutMax"];
|
|
669
|
+
if([options valueForKey:@"alreadyCropped"] != nil)
|
|
670
|
+
processParams.alreadyCropped = [options valueForKey:@"alreadyCropped"];
|
|
671
|
+
if([options valueForKey:@"forceDocID"] != nil)
|
|
672
|
+
processParams.forceDocID = [options valueForKey:@"forceDocID"];
|
|
673
|
+
if([options valueForKey:@"matchTextFieldMask"] != nil)
|
|
674
|
+
processParams.matchTextFieldMask = [options valueForKey:@"matchTextFieldMask"];
|
|
675
|
+
if([options valueForKey:@"fastDocDetect"] != nil)
|
|
676
|
+
processParams.fastDocDetect = [options valueForKey:@"fastDocDetect"];
|
|
677
|
+
if([options valueForKey:@"updateOCRValidityByGlare"] != nil)
|
|
678
|
+
processParams.updateOCRValidityByGlare = [options valueForKey:@"updateOCRValidityByGlare"];
|
|
679
|
+
if([options valueForKey:@"imageQA"] != nil)
|
|
680
|
+
processParams.imageQA = [RegulaConfig ImageQAFromJson:[options valueForKey:@"imageQA"]];
|
|
681
|
+
if([options valueForKey:@"forceDocFormat"] != nil)
|
|
682
|
+
processParams.forceDocFormat = [options valueForKey:@"forceDocFormat"];
|
|
683
|
+
if([options valueForKey:@"noGraphics"] != nil)
|
|
684
|
+
processParams.noGraphics = [options valueForKey:@"noGraphics"];
|
|
685
|
+
if([options valueForKey:@"documentAreaMin"] != nil)
|
|
686
|
+
processParams.documentAreaMin = [options valueForKey:@"documentAreaMin"];
|
|
687
|
+
if([options valueForKey:@"multiDocOnImage"] != nil)
|
|
688
|
+
processParams.multiDocOnImage = [options valueForKey:@"multiDocOnImage"];
|
|
689
|
+
if([options valueForKey:@"shiftExpiryDate"] != nil)
|
|
690
|
+
processParams.shiftExpiryDate = [options valueForKey:@"shiftExpiryDate"];
|
|
691
|
+
if([options valueForKey:@"minimalHolderAge"] != nil)
|
|
692
|
+
processParams.minimalHolderAge = [options valueForKey:@"minimalHolderAge"];
|
|
693
|
+
if([options valueForKey:@"mrzFormatsFilter"] != nil)
|
|
694
|
+
processParams.mrzFormatsFilter = [options valueForKey:@"mrzFormatsFilter"];
|
|
695
|
+
if([options valueForKey:@"forceReadMrzBeforeLocate"] != nil)
|
|
696
|
+
processParams.forceReadMrzBeforeLocate = [options valueForKey:@"forceReadMrzBeforeLocate"];
|
|
697
|
+
if([options valueForKey:@"parseBarcodes"] != nil)
|
|
698
|
+
processParams.parseBarcodes = [options valueForKey:@"parseBarcodes"];
|
|
624
699
|
}
|
|
625
700
|
|
|
626
701
|
+(NSMutableDictionary *)getCustomization:(RGLCustomization*)customization {
|
|
@@ -681,6 +756,8 @@
|
|
|
681
756
|
result[@"tintColor"] = [self hexStringFromUIColor:customization.tintColor];
|
|
682
757
|
if(customization.resultStatusTextColor != nil)
|
|
683
758
|
result[@"resultStatusTextColor"] = [self hexStringFromUIColor:customization.resultStatusTextColor];
|
|
759
|
+
if(customization.statusBackgroundColor != nil)
|
|
760
|
+
result[@"statusBackgroundColor"] = [self hexStringFromUIColor:customization.statusBackgroundColor];
|
|
684
761
|
|
|
685
762
|
return result;
|
|
686
763
|
}
|
|
@@ -704,13 +781,14 @@
|
|
|
704
781
|
result[@"cameraPosition"] = [NSNumber numberWithInteger:[self NSIntegerWithAVCaptureDevicePosition:functionality.cameraPosition]];
|
|
705
782
|
result[@"btDeviceName"] = functionality.btDeviceName;
|
|
706
783
|
result[@"useAuthenticator"] = [NSNumber numberWithBool:functionality.isUseAuthenticator];
|
|
707
|
-
result[@"rfidEnabled"] = [NSNumber numberWithBool:functionality.rfidEnabled];
|
|
708
784
|
result[@"showCaptureButtonDelayFromDetect"] = [NSNumber numberWithDouble:functionality.showCaptureButtonDelayFromDetect];
|
|
709
785
|
result[@"showCaptureButtonDelayFromStart"] = [NSNumber numberWithDouble:functionality.showCaptureButtonDelayFromStart];
|
|
710
786
|
result[@"captureMode"] = [NSNumber numberWithInteger:functionality.captureMode];
|
|
711
787
|
result[@"displayMetadata"] = [NSNumber numberWithBool:functionality.showMetadataInfo];
|
|
712
788
|
result[@"isZoomEnabled"] = [NSNumber numberWithBool:functionality.isZoomEnabled];
|
|
713
789
|
result[@"zoomFactor"] = [NSNumber numberWithBool:functionality.zoomFactor];
|
|
790
|
+
result[@"recordScanningProcess"] = [NSNumber numberWithBool:functionality.recordScanningProcess];
|
|
791
|
+
result[@"manualMultipageMode"] = [NSNumber numberWithBool:functionality.manualMultipageMode];
|
|
714
792
|
|
|
715
793
|
return result;
|
|
716
794
|
}
|
|
@@ -736,19 +814,36 @@
|
|
|
736
814
|
result[@"customParams"] = processParams.customParams;
|
|
737
815
|
result[@"debugSaveRFIDSession"] = [NSNumber numberWithBool:processParams.debugSaveRFIDSession];
|
|
738
816
|
result[@"doublePageSpread"] = [NSNumber numberWithBool:processParams.doublePageSpread];
|
|
739
|
-
result[@"barcodeParserType"] =
|
|
740
|
-
result[@"
|
|
741
|
-
result[@"
|
|
742
|
-
result[@"
|
|
743
|
-
result[@"timeout"] = [NSNumber numberWithDouble:processParams.timeout];
|
|
744
|
-
result[@"timeoutFromFirstDetect"] = [NSNumber numberWithDouble:processParams.timeoutFromFirstDetect];
|
|
745
|
-
result[@"timeoutFromFirstDocType"] = [NSNumber numberWithDouble:processParams.timeoutFromFirstDocType];
|
|
817
|
+
result[@"barcodeParserType"] = processParams.barcodeParserType;
|
|
818
|
+
result[@"timeout"] = processParams.timeout;
|
|
819
|
+
result[@"timeoutFromFirstDetect"] = processParams.timeoutFromFirstDetect;
|
|
820
|
+
result[@"timeoutFromFirstDocType"] = processParams.timeoutFromFirstDocType;
|
|
746
821
|
result[@"manualCrop"] = [NSNumber numberWithBool:processParams.manualCrop];
|
|
747
|
-
result[@"perspectiveAngle"] =
|
|
748
|
-
result[@"minDPI"] =
|
|
822
|
+
result[@"perspectiveAngle"] = processParams.perspectiveAngle;
|
|
823
|
+
result[@"minDPI"] = processParams.minDPI;
|
|
749
824
|
result[@"integralImage"] = [NSNumber numberWithBool:processParams.integralImage];
|
|
750
825
|
result[@"returnCroppedBarcode"] = [NSNumber numberWithBool:processParams.returnCroppedBarcode];
|
|
751
826
|
result[@"checkHologram"] = [NSNumber numberWithBool:processParams.checkHologram];
|
|
827
|
+
result[@"checkRequiredTextFields"] = [NSNumber numberWithBool:processParams.checkRequiredTextFields];
|
|
828
|
+
result[@"depersonalizeLog"] = processParams.depersonalizeLog;
|
|
829
|
+
result[@"resultTypeOutput"] = processParams.resultTypeOutput;
|
|
830
|
+
result[@"generateDoublePageSpreadImage"] = processParams.generateDoublePageSpreadImage;
|
|
831
|
+
result[@"imageDpiOutMax"] = processParams.imageDpiOutMax;
|
|
832
|
+
result[@"alreadyCropped"] = processParams.alreadyCropped;
|
|
833
|
+
result[@"forceDocID"] = processParams.forceDocID;
|
|
834
|
+
result[@"matchTextFieldMask"] = processParams.matchTextFieldMask;
|
|
835
|
+
result[@"fastDocDetect"] = processParams.fastDocDetect;
|
|
836
|
+
result[@"updateOCRValidityByGlare"] = processParams.updateOCRValidityByGlare;
|
|
837
|
+
result[@"imageQA"] = [RegulaConfig ImageQAToJson:processParams.imageQA];
|
|
838
|
+
result[@"forceDocFormat"] = processParams.forceDocFormat;
|
|
839
|
+
result[@"noGraphics"] = processParams.noGraphics;
|
|
840
|
+
result[@"documentAreaMin"] = processParams.documentAreaMin;
|
|
841
|
+
result[@"multiDocOnImage"] = processParams.multiDocOnImage;
|
|
842
|
+
result[@"shiftExpiryDate"] = processParams.shiftExpiryDate;
|
|
843
|
+
result[@"minimalHolderAge"] = processParams.minimalHolderAge;
|
|
844
|
+
result[@"mrzFormatsFilter"] = processParams.mrzFormatsFilter;
|
|
845
|
+
result[@"forceReadMrzBeforeLocate"] = processParams.forceReadMrzBeforeLocate;
|
|
846
|
+
result[@"parseBarcodes"] = processParams.parseBarcodes;
|
|
752
847
|
|
|
753
848
|
return result;
|
|
754
849
|
}
|