idwise-react-native-sdk 5.3.1 → 5.4.3

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.
Files changed (66) hide show
  1. package/android/gradle.properties +1 -1
  2. package/android/src/main/java/com/idwisemobilesdk/IdwiseMobileSdkModule.kt +23 -7
  3. package/ios/IDWiseSDK.xcframework/Info.plist +5 -5
  4. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/Assets.car +0 -0
  5. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/BlockedJourneyViewController.storyboardc/Info.plist +0 -0
  6. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/BlockedJourneyViewController.storyboardc/UIViewController-Y6W-OH-hqX.nib +0 -0
  7. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/BlockedJourneyViewController.storyboardc/Y6W-OH-hqX-view-5EZ-qb-Rvc.nib +0 -0
  8. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/DocumentTypeTableViewCell.nib +0 -0
  9. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/ErrorFeedbackViewController.storyboardc/eni-V6-pg3-view-IG7-Dw-aVZ.nib +0 -0
  10. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/IDWiseSDK +0 -0
  11. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/Info.plist +0 -0
  12. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/arm64-apple-ios.abi.json +12385 -9578
  13. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +82 -12
  14. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  15. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/arm64-apple-ios.swiftinterface +82 -12
  16. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/ProcessJourneyViewController.storyboardc/yS7-79-T86-view-owr-v5-NaP.nib +0 -0
  17. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/SelfieViewController.storyboardc/Od6-6k-VCn-view-avu-y3-b61.nib +0 -0
  18. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/_CodeSignature/CodeResources +60 -27
  19. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/document_detector.mlmodelc/coremldata.bin +0 -0
  20. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/document_detector.mlmodelc/metadata.json +61 -64
  21. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/document_quality_model.mlmodelc/metadata.json +18 -21
  22. package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/Assets.car +0 -0
  23. package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/BlockedJourneyViewController.storyboardc/Info.plist +0 -0
  24. package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/BlockedJourneyViewController.storyboardc/UIViewController-Y6W-OH-hqX.nib +0 -0
  25. package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/BlockedJourneyViewController.storyboardc/Y6W-OH-hqX-view-5EZ-qb-Rvc.nib +0 -0
  26. package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/DocumentTypeTableViewCell.nib +0 -0
  27. package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/ErrorFeedbackViewController.storyboardc/eni-V6-pg3-view-IG7-Dw-aVZ.nib +0 -0
  28. package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/IDWiseSDK +0 -0
  29. package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/Info.plist +0 -0
  30. package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +12385 -9578
  31. package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +82 -12
  32. package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  33. package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +82 -12
  34. package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +12385 -9578
  35. package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +82 -12
  36. package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  37. package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +82 -12
  38. package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/ProcessJourneyViewController.storyboardc/yS7-79-T86-view-owr-v5-NaP.nib +0 -0
  39. package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/SelfieViewController.storyboardc/Od6-6k-VCn-view-avu-y3-b61.nib +0 -0
  40. package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/_CodeSignature/CodeResources +70 -37
  41. package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/document_detector.mlmodelc/coremldata.bin +0 -0
  42. package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/document_detector.mlmodelc/metadata.json +61 -64
  43. package/ios/IDWiseSDK.xcframework/ios-arm64_x86_64-simulator/IDWiseSDK.framework/document_quality_model.mlmodelc/metadata.json +18 -21
  44. package/ios/IdwiseMobileSdk.mm +2 -1
  45. package/ios/IdwiseMobileSdk.swift +30 -13
  46. package/lib/commonjs/IDWise.js +6 -1
  47. package/lib/commonjs/IDWise.js.map +1 -1
  48. package/lib/commonjs/IDWiseConstants.js +1 -0
  49. package/lib/commonjs/IDWiseConstants.js.map +1 -1
  50. package/lib/commonjs/IDWiseDynamic.js +5 -0
  51. package/lib/commonjs/IDWiseDynamic.js.map +1 -1
  52. package/lib/commonjs/IDWiseEventListeners.js +4 -0
  53. package/lib/commonjs/IDWiseEventListeners.js.map +1 -1
  54. package/lib/module/IDWise.js +6 -1
  55. package/lib/module/IDWise.js.map +1 -1
  56. package/lib/module/IDWiseConstants.js +1 -0
  57. package/lib/module/IDWiseConstants.js.map +1 -1
  58. package/lib/module/IDWiseDynamic.js +5 -0
  59. package/lib/module/IDWiseDynamic.js.map +1 -1
  60. package/lib/module/IDWiseEventListeners.js +4 -0
  61. package/lib/module/IDWiseEventListeners.js.map +1 -1
  62. package/package.json +1 -1
  63. package/src/IDWise.js +7 -0
  64. package/src/IDWiseConstants.js +1 -0
  65. package/src/IDWiseDynamic.js +7 -0
  66. package/src/IDWiseEventListeners.js +5 -0
@@ -1,14 +1,43 @@
1
1
  [
2
2
  {
3
+ "shortDescription" : "https:\/\/github.com\/ultralytics\/yolov5",
3
4
  "metadataOutputVersion" : "3.0",
4
- "userDefinedMetadata" : {
5
- "confidence_threshold" : "0.25",
6
- "iou_threshold" : "0.45",
7
- "classes" : "Doc"
8
- },
9
- "classLabels" : [
10
- "Doc"
5
+ "outputSchema" : [
6
+ {
7
+ "dataType" : "Double",
8
+ "hasShapeFlexibility" : "1",
9
+ "isOptional" : "0",
10
+ "shapeFlexibility" : "0... × 1",
11
+ "shapeRange" : "[[0, -1], [1, 1]]",
12
+ "formattedType" : "MultiArray (Double 0 × 1)",
13
+ "type" : "MultiArray",
14
+ "shape" : "[0, 1]",
15
+ "name" : "confidence",
16
+ "shortDescription" : "Boxes × Class confidence (see user-defined metadata \"classes\")"
17
+ },
18
+ {
19
+ "dataType" : "Double",
20
+ "hasShapeFlexibility" : "1",
21
+ "isOptional" : "0",
22
+ "shapeFlexibility" : "0... × 4",
23
+ "shapeRange" : "[[0, -1], [4, 4]]",
24
+ "formattedType" : "MultiArray (Double 0 × 4)",
25
+ "type" : "MultiArray",
26
+ "shape" : "[0, 4]",
27
+ "name" : "coordinates",
28
+ "shortDescription" : "Boxes × [x, y, width, height] (relative to image size)"
29
+ }
11
30
  ],
31
+ "version" : "https:\/\/github.com\/ultralytics\/yolov5",
32
+ "modelParameters" : [
33
+
34
+ ],
35
+ "author" : "glenn.jocher@ultralytics.com",
36
+ "specificationVersion" : 4,
37
+ "storagePrecision" : "Mixed (Float32, Int8)",
38
+ "license" : "https:\/\/github.com\/ultralytics\/yolov5\/blob\/master\/LICENSE",
39
+ "computePrecision" : "Float16",
40
+ "isUpdatable" : "0",
12
41
  "availability" : {
13
42
  "macOS" : "10.15",
14
43
  "tvOS" : "13.0",
@@ -17,6 +46,17 @@
17
46
  "iOS" : "13.0",
18
47
  "macCatalyst" : "13.0"
19
48
  },
49
+ "modelType" : {
50
+ "name" : "MLModelType_pipeline",
51
+ "structure" : [
52
+ {
53
+ "name" : "MLModelType_neuralNetwork"
54
+ },
55
+ {
56
+ "name" : "MLModelType_nonMaximumSuppression"
57
+ }
58
+ ]
59
+ },
20
60
  "inputSchema" : [
21
61
  {
22
62
  "height" : "640",
@@ -45,74 +85,31 @@
45
85
  "shortDescription" : "(optional) Confidence Threshold override (default: 0.25)"
46
86
  }
47
87
  ],
48
- "outputSchema" : [
49
- {
50
- "dataType" : "Double",
51
- "hasShapeFlexibility" : "1",
52
- "isOptional" : "0",
53
- "shapeFlexibility" : "0... × 1",
54
- "shapeRange" : "[[0, -1], [1, 1]]",
55
- "formattedType" : "MultiArray (Double 0 × 1)",
56
- "type" : "MultiArray",
57
- "shape" : "[0, 1]",
58
- "name" : "confidence",
59
- "shortDescription" : "Boxes × Class confidence (see user-defined metadata \"classes\")"
60
- },
61
- {
62
- "dataType" : "Double",
63
- "hasShapeFlexibility" : "1",
64
- "isOptional" : "0",
65
- "shapeFlexibility" : "0... × 4",
66
- "shapeRange" : "[[0, -1], [4, 4]]",
67
- "formattedType" : "MultiArray (Double 0 × 4)",
68
- "type" : "MultiArray",
69
- "shape" : "[0, 4]",
70
- "name" : "coordinates",
71
- "shortDescription" : "Boxes × [x, y, width, height] (relative to image size)"
72
- }
73
- ],
74
- "modelParameters" : [
75
-
88
+ "classLabels" : [
89
+ "Doc"
76
90
  ],
77
- "storagePrecision" : "Mixed (Float32, Int8)",
91
+ "generatedClassName" : "document_detector",
92
+ "userDefinedMetadata" : {
93
+ "iou_threshold" : "0.45",
94
+ "classes" : "Doc",
95
+ "confidence_threshold" : "0.25"
96
+ },
78
97
  "neuralNetworkLayerTypeHistogram" : {
79
98
  "Concat" : 13,
80
99
  "UnaryPower" : 3,
81
100
  "Convolution" : 60,
82
- "PoolingINVALID" : 3,
83
- "Transpose" : 3,
101
+ "ActivationSigmoid" : 60,
84
102
  "ReshapeStatic" : 6,
85
- "UpsampleINVALID" : 2,
86
103
  "LoadConstantND" : 6,
87
- "ActivationSigmoid" : 60,
104
+ "Transpose" : 3,
105
+ "UpsampleNearestNeighbor" : 2,
106
+ "PoolingMax" : 3,
88
107
  "SplitND" : 4,
89
108
  "Squeeze" : 1,
90
- "Multiply" : 71,
91
109
  "Add" : 10,
110
+ "Multiply" : 71,
92
111
  "ConcatND" : 4
93
112
  },
94
- "method" : "predict",
95
- "version" : "https:\/\/github.com\/ultralytics\/yolov5",
96
- "isUpdatable" : "0",
97
- "specificationVersion" : 4,
98
- "stateSchema" : [
99
-
100
- ],
101
- "computePrecision" : "Float16",
102
- "shortDescription" : "https:\/\/github.com\/ultralytics\/yolov5",
103
- "license" : "https:\/\/github.com\/ultralytics\/yolov5\/blob\/master\/LICENSE",
104
- "generatedClassName" : "document_detector",
105
- "author" : "glenn.jocher@ultralytics.com",
106
- "modelType" : {
107
- "name" : "MLModelType_pipeline",
108
- "structure" : [
109
- {
110
- "name" : "MLModelType_neuralNetwork"
111
- },
112
- {
113
- "name" : "MLModelType_nonMaximumSuppression"
114
- }
115
- ]
116
- }
113
+ "method" : "predict"
117
114
  }
118
115
  ]
@@ -25,9 +25,6 @@
25
25
  "specificationVersion" : 4,
26
26
  "computePrecision" : "Float16",
27
27
  "isUpdatable" : "0",
28
- "stateSchema" : [
29
-
30
- ],
31
28
  "availability" : {
32
29
  "macOS" : "10.15",
33
30
  "tvOS" : "13.0",
@@ -39,6 +36,21 @@
39
36
  "modelType" : {
40
37
  "name" : "MLModelType_neuralNetworkClassifier"
41
38
  },
39
+ "userDefinedMetadata" : {
40
+ "com.github.apple.coremltools.version" : "6.2",
41
+ "com.github.apple.coremltools.source" : "torch==1.12.1"
42
+ },
43
+ "classLabels" : [
44
+ "good_quality_score",
45
+ "blur_quality_score",
46
+ "compression_quality_score",
47
+ "glare_quality_score",
48
+ "grainy_noise_quality_score",
49
+ "low_brightness_quality_score",
50
+ "over_exposure_quality_score",
51
+ "none_id_score"
52
+ ],
53
+ "generatedClassName" : "document_quality_model",
42
54
  "inputSchema" : [
43
55
  {
44
56
  "height" : "512",
@@ -53,29 +65,14 @@
53
65
  "name" : "input_1"
54
66
  }
55
67
  ],
56
- "classLabels" : [
57
- "good_quality_score",
58
- "blur_quality_score",
59
- "compression_quality_score",
60
- "glare_quality_score",
61
- "grainy_noise_quality_score",
62
- "low_brightness_quality_score",
63
- "over_exposure_quality_score",
64
- "none_id_score"
65
- ],
66
- "generatedClassName" : "document_quality_model",
67
- "userDefinedMetadata" : {
68
- "com.github.apple.coremltools.version" : "6.2",
69
- "com.github.apple.coremltools.source" : "torch==1.12.1"
70
- },
71
68
  "neuralNetworkLayerTypeHistogram" : {
72
69
  "ReshapeStatic" : 1,
73
- "PoolingAverage" : 1,
74
70
  "Add" : 10,
71
+ "PoolingAverage" : 1,
75
72
  "Clip" : 35,
76
73
  "Convolution" : 52,
77
- "InnerProduct" : 1,
78
- "ActivationSigmoid" : 1
74
+ "ActivationSigmoid" : 1,
75
+ "InnerProduct" : 1
79
76
  },
80
77
  "method" : "predict"
81
78
  }