barkoder-nativescript 1.5.7 → 1.6.1
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/barkoder-nativescript.android.ts +97 -4
- package/barkoder-nativescript.common.ts +14 -3
- package/barkoder-nativescript.ios.ts +90 -2
- package/package.json +1 -1
- package/platforms/android/barkoder.aar +0 -0
- package/platforms/android/barkoder_nativescript.aar +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/Barkoder +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/Headers/iBarkoder.h +42 -10
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/Info.plist +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/default.metallib +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_384x256.mlmodelc/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_384x256.mlmodelc/metadata.json +7 -4
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_384x256.mlmodelc/model.mil +1 -1
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_512x384.mlmodelc/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_512x384.mlmodelc/metadata.json +7 -4
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_512x384.mlmodelc/model.mil +1 -1
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/Barkoder +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/Headers/iBarkoder.h +42 -10
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/Info.plist +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/_CodeSignature/CodeResources +17 -17
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/default.metallib +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_384x256.mlmodelc/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_384x256.mlmodelc/metadata.json +7 -4
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_384x256.mlmodelc/model.mil +1 -1
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_512x384.mlmodelc/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_512x384.mlmodelc/metadata.json +7 -4
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_512x384.mlmodelc/model.mil +1 -1
- package/platforms/ios/BarkoderSDK.xcframework/Info.plist +5 -5
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/BarkoderSDK +0 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Headers/BarkoderSDK-Swift.h +36 -5
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Info.plist +0 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios.abi.json +893 -115
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +24 -3
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios.swiftinterface +24 -3
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/beep.mp3 +0 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/templates.json +123 -15
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/BarkoderSDK +0 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Headers/BarkoderSDK-Swift.h +72 -10
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Info.plist +0 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +893 -115
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +24 -3
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +24 -3
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +893 -115
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +24 -3
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +24 -3
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/_CodeSignature/CodeResources +27 -27
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/beep.mp3 +0 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/templates.json +123 -15
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
</data>
|
|
11
11
|
<key>Headers/iBarkoder.h</key>
|
|
12
12
|
<data>
|
|
13
|
-
|
|
13
|
+
HWvyfRx0vJw54YvowmacOsMcCZo=
|
|
14
14
|
</data>
|
|
15
15
|
<key>Info.plist</key>
|
|
16
16
|
<data>
|
|
17
|
-
|
|
17
|
+
HpPzC0E5Z0vYLtrwpyYuK/ISng8=
|
|
18
18
|
</data>
|
|
19
19
|
<key>Modules/module.modulemap</key>
|
|
20
20
|
<data>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
</data>
|
|
23
23
|
<key>default.metallib</key>
|
|
24
24
|
<data>
|
|
25
|
-
|
|
25
|
+
SK4RwTAvjikWlg3ipM8cmOmOvuQ=
|
|
26
26
|
</data>
|
|
27
27
|
<key>float16_384x256.mlmodelc/analytics/coremldata.bin</key>
|
|
28
28
|
<data>
|
|
@@ -30,15 +30,15 @@
|
|
|
30
30
|
</data>
|
|
31
31
|
<key>float16_384x256.mlmodelc/coremldata.bin</key>
|
|
32
32
|
<data>
|
|
33
|
-
|
|
33
|
+
DhqAtxD028QsTfplUYIAps/FbHI=
|
|
34
34
|
</data>
|
|
35
35
|
<key>float16_384x256.mlmodelc/metadata.json</key>
|
|
36
36
|
<data>
|
|
37
|
-
|
|
37
|
+
N1FDjs1/pfpn4wosj/GpUePmZlU=
|
|
38
38
|
</data>
|
|
39
39
|
<key>float16_384x256.mlmodelc/model.mil</key>
|
|
40
40
|
<data>
|
|
41
|
-
|
|
41
|
+
60POCedZ8Ola3jOF4gnDCKwB5HQ=
|
|
42
42
|
</data>
|
|
43
43
|
<key>float16_384x256.mlmodelc/weights/weight.bin</key>
|
|
44
44
|
<data>
|
|
@@ -50,15 +50,15 @@
|
|
|
50
50
|
</data>
|
|
51
51
|
<key>float16_512x384.mlmodelc/coremldata.bin</key>
|
|
52
52
|
<data>
|
|
53
|
-
|
|
53
|
+
2AAFX/c1bbHK+W6ihEJUM5YoH3E=
|
|
54
54
|
</data>
|
|
55
55
|
<key>float16_512x384.mlmodelc/metadata.json</key>
|
|
56
56
|
<data>
|
|
57
|
-
|
|
57
|
+
6Sc0q3tN6csNFo1gyM1DdvtpHUc=
|
|
58
58
|
</data>
|
|
59
59
|
<key>float16_512x384.mlmodelc/model.mil</key>
|
|
60
60
|
<data>
|
|
61
|
-
|
|
61
|
+
3XSGiUasEGirjqNas55bb1ojzBA=
|
|
62
62
|
</data>
|
|
63
63
|
<key>float16_512x384.mlmodelc/weights/weight.bin</key>
|
|
64
64
|
<data>
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
<dict>
|
|
87
87
|
<key>hash2</key>
|
|
88
88
|
<data>
|
|
89
|
-
|
|
89
|
+
LRZMgxoVr5DNV9oE8vKV1dCaffBCYCVMPALCEdPo8Q4=
|
|
90
90
|
</data>
|
|
91
91
|
</dict>
|
|
92
92
|
<key>Modules/module.modulemap</key>
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
<dict>
|
|
101
101
|
<key>hash2</key>
|
|
102
102
|
<data>
|
|
103
|
-
|
|
103
|
+
EnKjCsxhIQYquiSYcnox8C37lezGw1JDMj8J7ybQNFY=
|
|
104
104
|
</data>
|
|
105
105
|
</dict>
|
|
106
106
|
<key>float16_384x256.mlmodelc/analytics/coremldata.bin</key>
|
|
@@ -114,21 +114,21 @@
|
|
|
114
114
|
<dict>
|
|
115
115
|
<key>hash2</key>
|
|
116
116
|
<data>
|
|
117
|
-
|
|
117
|
+
d2P3cicPTjX12IQwvuqBets8rVTV6K52vXkuN04+XxU=
|
|
118
118
|
</data>
|
|
119
119
|
</dict>
|
|
120
120
|
<key>float16_384x256.mlmodelc/metadata.json</key>
|
|
121
121
|
<dict>
|
|
122
122
|
<key>hash2</key>
|
|
123
123
|
<data>
|
|
124
|
-
|
|
124
|
+
kFdpsZsvkYqsbE0UZLsYr8gpvSX8Tlvg+JWg0nqHQR8=
|
|
125
125
|
</data>
|
|
126
126
|
</dict>
|
|
127
127
|
<key>float16_384x256.mlmodelc/model.mil</key>
|
|
128
128
|
<dict>
|
|
129
129
|
<key>hash2</key>
|
|
130
130
|
<data>
|
|
131
|
-
/
|
|
131
|
+
BGkZJPNQyasx/tvFwRtUE1MWSYXtdAS3RgX9kchn+rI=
|
|
132
132
|
</data>
|
|
133
133
|
</dict>
|
|
134
134
|
<key>float16_384x256.mlmodelc/weights/weight.bin</key>
|
|
@@ -149,21 +149,21 @@
|
|
|
149
149
|
<dict>
|
|
150
150
|
<key>hash2</key>
|
|
151
151
|
<data>
|
|
152
|
-
|
|
152
|
+
zYudbFEcMA6g9W+4WaUFEv4qG9/Mi969dWjFFQaMJKc=
|
|
153
153
|
</data>
|
|
154
154
|
</dict>
|
|
155
155
|
<key>float16_512x384.mlmodelc/metadata.json</key>
|
|
156
156
|
<dict>
|
|
157
157
|
<key>hash2</key>
|
|
158
158
|
<data>
|
|
159
|
-
|
|
159
|
+
znNv6UVW9ClzS+Uaw2q3kvUgwhiW0tMLC63yY1Iv9sk=
|
|
160
160
|
</data>
|
|
161
161
|
</dict>
|
|
162
162
|
<key>float16_512x384.mlmodelc/model.mil</key>
|
|
163
163
|
<dict>
|
|
164
164
|
<key>hash2</key>
|
|
165
165
|
<data>
|
|
166
|
-
|
|
166
|
+
EBpUgzipmMIoHWtBkutao5vNtAhp3GwZTjJET3FaR+U=
|
|
167
167
|
</data>
|
|
168
168
|
</dict>
|
|
169
169
|
<key>float16_512x384.mlmodelc/weights/weight.bin</key>
|
|
Binary file
|
|
Binary file
|
|
@@ -33,14 +33,17 @@
|
|
|
33
33
|
"Softmax" : 1,
|
|
34
34
|
"Mul" : 8,
|
|
35
35
|
"Cast" : 2,
|
|
36
|
-
"
|
|
36
|
+
"Sigmoid" : 2,
|
|
37
37
|
"Add" : 9,
|
|
38
38
|
"Reshape" : 8,
|
|
39
|
-
"
|
|
39
|
+
"MaxPool" : 3,
|
|
40
40
|
"Split" : 11,
|
|
41
41
|
"Conv" : 73
|
|
42
42
|
},
|
|
43
43
|
"computePrecision" : "Mixed (Float16, Float32, Int32)",
|
|
44
|
+
"stateSchema" : [
|
|
45
|
+
|
|
46
|
+
],
|
|
44
47
|
"isUpdatable" : "0",
|
|
45
48
|
"availability" : {
|
|
46
49
|
"macOS" : "12.0",
|
|
@@ -68,12 +71,12 @@
|
|
|
68
71
|
}
|
|
69
72
|
],
|
|
70
73
|
"userDefinedMetadata" : {
|
|
71
|
-
"
|
|
74
|
+
"com.github.apple.coremltools.version" : "7.2",
|
|
72
75
|
"com.github.apple.coremltools.source" : "torch==2.3.1+cu121",
|
|
73
76
|
"com.github.apple.coremltools.source_dialect" : "TorchScript",
|
|
74
77
|
"docs" : "https:\/\/docs.ultralytics.com",
|
|
78
|
+
"stride" : "32",
|
|
75
79
|
"task" : "obb",
|
|
76
|
-
"com.github.apple.coremltools.version" : "7.2",
|
|
77
80
|
"imgsz" : "[256, 384]",
|
|
78
81
|
"date" : "2024-08-01T09:34:45.251931",
|
|
79
82
|
"batch" : "1",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
program(1.0)
|
|
2
|
-
[buildInfo = dict<tensor<string, []>, tensor<string, []>>({{"coremlc-component-MIL", "
|
|
2
|
+
[buildInfo = dict<tensor<string, []>, tensor<string, []>>({{"coremlc-component-MIL", "3402.3.2"}, {"coremlc-version", "3402.4.1"}, {"coremltools-component-torch", "2.3.1+cu121"}, {"coremltools-source-dialect", "TorchScript"}, {"coremltools-version", "7.2"}})]
|
|
3
3
|
{
|
|
4
4
|
func main<ios15>(tensor<fp32, [1, 3, 256, 384]> image) {
|
|
5
5
|
tensor<fp32, []> image__scaled___y_0 = const()[name = tensor<string, []>("image__scaled___y_0"), val = tensor<fp32, []>(0x1.010102p-8)];
|
|
Binary file
|
|
@@ -33,14 +33,17 @@
|
|
|
33
33
|
"Softmax" : 1,
|
|
34
34
|
"Mul" : 8,
|
|
35
35
|
"Cast" : 2,
|
|
36
|
-
"
|
|
36
|
+
"Sigmoid" : 2,
|
|
37
37
|
"Add" : 9,
|
|
38
38
|
"Reshape" : 8,
|
|
39
|
-
"
|
|
39
|
+
"MaxPool" : 3,
|
|
40
40
|
"Split" : 11,
|
|
41
41
|
"Conv" : 73
|
|
42
42
|
},
|
|
43
43
|
"computePrecision" : "Mixed (Float16, Float32, Int32)",
|
|
44
|
+
"stateSchema" : [
|
|
45
|
+
|
|
46
|
+
],
|
|
44
47
|
"isUpdatable" : "0",
|
|
45
48
|
"availability" : {
|
|
46
49
|
"macOS" : "12.0",
|
|
@@ -68,12 +71,12 @@
|
|
|
68
71
|
}
|
|
69
72
|
],
|
|
70
73
|
"userDefinedMetadata" : {
|
|
74
|
+
"stride" : "32",
|
|
71
75
|
"com.github.apple.coremltools.version" : "7.2",
|
|
72
|
-
"com.github.apple.coremltools.source_dialect" : "TorchScript",
|
|
73
76
|
"com.github.apple.coremltools.source" : "torch==2.3.1+cu121",
|
|
74
77
|
"docs" : "https:\/\/docs.ultralytics.com",
|
|
75
|
-
"stride" : "32",
|
|
76
78
|
"task" : "obb",
|
|
79
|
+
"com.github.apple.coremltools.source_dialect" : "TorchScript",
|
|
77
80
|
"imgsz" : "[384, 512]",
|
|
78
81
|
"date" : "2024-08-01T17:19:19.267647",
|
|
79
82
|
"batch" : "1",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
program(1.0)
|
|
2
|
-
[buildInfo = dict<tensor<string, []>, tensor<string, []>>({{"coremlc-component-MIL", "
|
|
2
|
+
[buildInfo = dict<tensor<string, []>, tensor<string, []>>({{"coremlc-component-MIL", "3402.3.2"}, {"coremlc-version", "3402.4.1"}, {"coremltools-component-torch", "2.3.1+cu121"}, {"coremltools-source-dialect", "TorchScript"}, {"coremltools-version", "7.2"}})]
|
|
3
3
|
{
|
|
4
4
|
func main<ios15>(tensor<fp32, [1, 3, 384, 512]> image) {
|
|
5
5
|
tensor<fp32, []> image__scaled___y_0 = const()[name = tensor<string, []>("image__scaled___y_0"), val = tensor<fp32, []>(0x1.010102p-8)];
|
|
@@ -8,32 +8,32 @@
|
|
|
8
8
|
<key>BinaryPath</key>
|
|
9
9
|
<string>BarkoderSDK.framework/BarkoderSDK</string>
|
|
10
10
|
<key>LibraryIdentifier</key>
|
|
11
|
-
<string>ios-
|
|
11
|
+
<string>ios-arm64_x86_64-simulator</string>
|
|
12
12
|
<key>LibraryPath</key>
|
|
13
13
|
<string>BarkoderSDK.framework</string>
|
|
14
14
|
<key>SupportedArchitectures</key>
|
|
15
15
|
<array>
|
|
16
16
|
<string>arm64</string>
|
|
17
|
+
<string>x86_64</string>
|
|
17
18
|
</array>
|
|
18
19
|
<key>SupportedPlatform</key>
|
|
19
20
|
<string>ios</string>
|
|
21
|
+
<key>SupportedPlatformVariant</key>
|
|
22
|
+
<string>simulator</string>
|
|
20
23
|
</dict>
|
|
21
24
|
<dict>
|
|
22
25
|
<key>BinaryPath</key>
|
|
23
26
|
<string>BarkoderSDK.framework/BarkoderSDK</string>
|
|
24
27
|
<key>LibraryIdentifier</key>
|
|
25
|
-
<string>ios-
|
|
28
|
+
<string>ios-arm64</string>
|
|
26
29
|
<key>LibraryPath</key>
|
|
27
30
|
<string>BarkoderSDK.framework</string>
|
|
28
31
|
<key>SupportedArchitectures</key>
|
|
29
32
|
<array>
|
|
30
33
|
<string>arm64</string>
|
|
31
|
-
<string>x86_64</string>
|
|
32
34
|
</array>
|
|
33
35
|
<key>SupportedPlatform</key>
|
|
34
36
|
<string>ios</string>
|
|
35
|
-
<key>SupportedPlatformVariant</key>
|
|
36
|
-
<string>simulator</string>
|
|
37
37
|
</dict>
|
|
38
38
|
</array>
|
|
39
39
|
<key>CFBundlePackageType</key>
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#if 0
|
|
2
2
|
#elif defined(__arm64__) && __arm64__
|
|
3
|
-
// Generated by Apple Swift version 6.0.
|
|
3
|
+
// Generated by Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)
|
|
4
4
|
#ifndef BARKODERSDK_SWIFT_H
|
|
5
5
|
#define BARKODERSDK_SWIFT_H
|
|
6
6
|
#pragma clang diagnostic push
|
|
@@ -323,6 +323,20 @@ SWIFT_CLASS("_TtC11BarkoderSDK14BarkoderConfig")
|
|
|
323
323
|
@property (nonatomic) float roiLineWidth;
|
|
324
324
|
/// Retrieves/Sets the background color of the overlay within the Region of Interest (ROI) for barcode scanning on the camera feed
|
|
325
325
|
@property (nonatomic, strong) UIColor * _Nonnull roiOverlayBackgroundColor;
|
|
326
|
+
/// Retrieves/Sets the color of the scanning indicator for barcode scanning on the camera feed
|
|
327
|
+
@property (nonatomic, strong) UIColor * _Nonnull scanningIndicatorColor;
|
|
328
|
+
/// Retrieves/Sets the width of the scanning indicator for barcode scanning on the camera feed
|
|
329
|
+
/// note:
|
|
330
|
+
/// Default value is 2.0
|
|
331
|
+
@property (nonatomic) float scanningIndicatorWidth;
|
|
332
|
+
/// Retrieves/Sets the animation of the scanning indicator for barcode scanning on the camera feed
|
|
333
|
+
/// note:
|
|
334
|
+
/// Default value is 0
|
|
335
|
+
@property (nonatomic) NSInteger scanningIndicatorAnimation;
|
|
336
|
+
/// Retrieves/Sets the scanning indicator to be always shown for barcode scanning on the camera feed
|
|
337
|
+
/// note:
|
|
338
|
+
/// Default value is false
|
|
339
|
+
@property (nonatomic) BOOL scanningIndicatorAlwaysVisible;
|
|
326
340
|
/// Retrieves/Sets the visibility of the Region of Interest (ROI) on the camera preview
|
|
327
341
|
/// note:
|
|
328
342
|
/// Default value is true
|
|
@@ -365,7 +379,7 @@ SWIFT_CLASS("_TtC11BarkoderSDK14BarkoderConfig")
|
|
|
365
379
|
@property (nonatomic, strong) Config * _Nullable decoderConfig;
|
|
366
380
|
/// Retrieve/Sets the resolution for barcode scanning
|
|
367
381
|
/// note:
|
|
368
|
-
/// Default value is BarkoderView.BarkoderResolution.
|
|
382
|
+
/// Default value is BarkoderView.BarkoderResolution.HD
|
|
369
383
|
@property (nonatomic) enum BarkoderResolution barkoderResolution;
|
|
370
384
|
/// Retrieve/Sets whether to enable barcode thumbnail on result
|
|
371
385
|
/// note:
|
|
@@ -472,6 +486,7 @@ typedef SWIFT_ENUM(NSInteger, BarkoderConfigTemplate, open) {
|
|
|
472
486
|
BarkoderConfigTemplateAll_1d = 9,
|
|
473
487
|
BarkoderConfigTemplateMrz = 10,
|
|
474
488
|
BarkoderConfigTemplateGallery_scan = 11,
|
|
489
|
+
BarkoderConfigTemplateComposite = 12,
|
|
475
490
|
};
|
|
476
491
|
|
|
477
492
|
|
|
@@ -489,7 +504,6 @@ SWIFT_PROTOCOL("_TtP11BarkoderSDK29BarkoderPreviewFramesDelegate_")
|
|
|
489
504
|
- (void)cameraFrameReceivedWithSampleBuffer:(CMSampleBufferRef _Nonnull)sampleBuffer;
|
|
490
505
|
@end
|
|
491
506
|
|
|
492
|
-
@class DecoderResult;
|
|
493
507
|
|
|
494
508
|
SWIFT_PROTOCOL("_TtP11BarkoderSDK22BarkoderResultDelegate_")
|
|
495
509
|
@protocol BarkoderResultDelegate
|
|
@@ -526,13 +540,30 @@ SWIFT_CLASS("_TtC11BarkoderSDK12BarkoderView")
|
|
|
526
540
|
- (void)getMaxZoomFactor:(void (^ _Nonnull)(float))completion;
|
|
527
541
|
/// Checks whether the device has a built-in flash (torch) that can be used for illumination during barcode scanning
|
|
528
542
|
- (void)isFlashAvailable:(void (^ _Nonnull)(BOOL))completion;
|
|
543
|
+
/// Adjusts the camera’s exposure dynamically based on the provided intensity, cycling through predefined compensation values.
|
|
544
|
+
/// \param intensity A value between 0 and 10, where 0 disables dynamic exposure. Default value is 0
|
|
545
|
+
///
|
|
546
|
+
- (void)setDynamicExposure:(NSInteger)intensity;
|
|
547
|
+
/// Configures the camera to use the center of the viewfinder for focus and exposure, enabling or disabling centric adjustments.
|
|
548
|
+
/// \param enabled [true, false]. Default value is false.
|
|
549
|
+
///
|
|
550
|
+
- (void)setCentricFocusAndExposure:(BOOL)enabled;
|
|
551
|
+
/// Configures the camera to use video stabilization.
|
|
552
|
+
/// \param enabled [true, false]. Default value is false.
|
|
553
|
+
///
|
|
554
|
+
- (void)setVideoStabilization:(BOOL)enabled;
|
|
529
555
|
- (void)cameraFrameReceivedWithSampleBuffer:(CMSampleBufferRef _Nonnull)sampleBuffer;
|
|
530
556
|
- (void)layoutSubviews;
|
|
531
557
|
@end
|
|
532
558
|
|
|
559
|
+
/// Represents the resolution settings for the BarkoderView.
|
|
533
560
|
typedef SWIFT_ENUM(NSInteger, BarkoderResolution, open) {
|
|
534
|
-
|
|
535
|
-
|
|
561
|
+
/// High Definition resolution (1280x720).
|
|
562
|
+
BarkoderResolutionHD = 0,
|
|
563
|
+
/// Full High Definition resolution (1920x1080).
|
|
564
|
+
BarkoderResolutionFHD = 1,
|
|
565
|
+
/// Ultra High (4K) Definition resolution (3840x2160).
|
|
566
|
+
BarkoderResolutionUHD = 2,
|
|
536
567
|
};
|
|
537
568
|
|
|
538
569
|
|