barkoder-nativescript 1.6.2 → 1.6.4
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 +232 -0
- package/barkoder-nativescript.common.ts +47 -1
- package/barkoder-nativescript.ios.ts +236 -0
- package/package.json +1 -1
- package/platforms/android/barkoder.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 +76 -3
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/Info.plist +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/Modules/module.modulemap +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 +2 -2
- 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 +3 -3
- 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 +76 -3
- 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/Modules/module.modulemap +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/_CodeSignature/CodeResources +15 -19
- 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 +3 -3
- 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/model.mil +1 -1
- 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 +143 -1
- 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 +4102 -258
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +91 -0
- 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 +91 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/beep.wav +0 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/templates.json +437 -14
- 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 +286 -2
- 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 +4102 -258
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +91 -0
- 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 +91 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +4102 -258
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +91 -0
- 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 +91 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/_CodeSignature/CodeResources +29 -29
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/beep.wav +0 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/templates.json +437 -14
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/beep.mp3 +0 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/beep.mp3 +0 -0
|
@@ -66,7 +66,15 @@ typedef enum {
|
|
|
66
66
|
IDDocument,
|
|
67
67
|
Databar14,
|
|
68
68
|
DatabarLimited,
|
|
69
|
-
DatabarExpanded
|
|
69
|
+
DatabarExpanded,
|
|
70
|
+
PostalIMB,
|
|
71
|
+
Postnet,
|
|
72
|
+
Planet,
|
|
73
|
+
AustralianPost,
|
|
74
|
+
RoyalMail,
|
|
75
|
+
KIX,
|
|
76
|
+
JapanesePost
|
|
77
|
+
|
|
70
78
|
} DecoderType;
|
|
71
79
|
|
|
72
80
|
|
|
@@ -74,7 +82,8 @@ typedef enum {
|
|
|
74
82
|
Disabled = 0,
|
|
75
83
|
Automatic,
|
|
76
84
|
GS1,
|
|
77
|
-
AAMVA
|
|
85
|
+
AAMVA,
|
|
86
|
+
SADL
|
|
78
87
|
} Formatting;
|
|
79
88
|
|
|
80
89
|
//==========================================================================
|
|
@@ -209,6 +218,56 @@ typedef enum {
|
|
|
209
218
|
- (id)initWithDecoderType:(DecoderType)decoderType;
|
|
210
219
|
@end
|
|
211
220
|
|
|
221
|
+
//==========================================================================
|
|
222
|
+
// Postal IMB Config
|
|
223
|
+
//==========================================================================
|
|
224
|
+
@interface PostalIMBConfig : SpecificConfig
|
|
225
|
+
- (id)initWithDecoderType:(DecoderType)decoderType;
|
|
226
|
+
@end
|
|
227
|
+
|
|
228
|
+
//==========================================================================
|
|
229
|
+
// Postnet Config
|
|
230
|
+
//==========================================================================
|
|
231
|
+
@interface PostnetConfig : SpecificConfig
|
|
232
|
+
- (id)initWithDecoderType:(DecoderType)decoderType;
|
|
233
|
+
@end
|
|
234
|
+
|
|
235
|
+
//==========================================================================
|
|
236
|
+
// Planet Config
|
|
237
|
+
//==========================================================================
|
|
238
|
+
@interface PlanetConfig : SpecificConfig
|
|
239
|
+
- (id)initWithDecoderType:(DecoderType)decoderType;
|
|
240
|
+
@end
|
|
241
|
+
|
|
242
|
+
//==========================================================================
|
|
243
|
+
// AustralianPost Config
|
|
244
|
+
//==========================================================================
|
|
245
|
+
@interface AustralianPostConfig : SpecificConfig
|
|
246
|
+
- (id)initWithDecoderType:(DecoderType)decoderType;
|
|
247
|
+
@end
|
|
248
|
+
|
|
249
|
+
//==========================================================================
|
|
250
|
+
// Royal Mail Config
|
|
251
|
+
//==========================================================================
|
|
252
|
+
@interface RoyalMailConfig : SpecificConfig
|
|
253
|
+
- (id)initWithDecoderType:(DecoderType)decoderType;
|
|
254
|
+
@end
|
|
255
|
+
|
|
256
|
+
//==========================================================================
|
|
257
|
+
// Japanese Post Config
|
|
258
|
+
//==========================================================================
|
|
259
|
+
@interface JapanesePostConfig : SpecificConfig
|
|
260
|
+
- (id)initWithDecoderType:(DecoderType)decoderType;
|
|
261
|
+
@end
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
//==========================================================================
|
|
265
|
+
// KIX Config
|
|
266
|
+
//==========================================================================
|
|
267
|
+
@interface KIXConfig : SpecificConfig
|
|
268
|
+
- (id)initWithDecoderType:(DecoderType)decoderType;
|
|
269
|
+
@end
|
|
270
|
+
|
|
212
271
|
//==========================================================================
|
|
213
272
|
// Dotcode Config
|
|
214
273
|
//==========================================================================
|
|
@@ -453,6 +512,13 @@ typedef enum {
|
|
|
453
512
|
@property (nonatomic, readonly, retain) Databar14Config* _Nonnull databar14;
|
|
454
513
|
@property (nonatomic, readonly, retain) DatabarLimitedConfig* _Nonnull databarLimited;
|
|
455
514
|
@property (nonatomic, readonly, retain) DatabarExpandedConfig* _Nonnull databarExpanded;
|
|
515
|
+
@property (nonatomic, readonly, retain) PostalIMBConfig* _Nonnull postalIMB;
|
|
516
|
+
@property (nonatomic, readonly, retain) PostnetConfig* _Nonnull postnet;
|
|
517
|
+
@property (nonatomic, readonly, retain) PlanetConfig* _Nonnull planet;
|
|
518
|
+
@property (nonatomic, readonly, retain) AustralianPostConfig* _Nonnull australianPost;
|
|
519
|
+
@property (nonatomic, readonly, retain) RoyalMailConfig* _Nonnull royalMail;
|
|
520
|
+
@property (nonatomic, readonly, retain) JapanesePostConfig* _Nonnull japanesePost;
|
|
521
|
+
@property (nonatomic, readonly, retain) KIXConfig* _Nonnull kix;
|
|
456
522
|
|
|
457
523
|
@property (nonatomic, readonly, retain) IDDocumentConfig* _Nonnull idDocument;
|
|
458
524
|
|
|
@@ -519,7 +585,14 @@ typedef enum {
|
|
|
519
585
|
BT_ID_MRZ3,
|
|
520
586
|
BT_Databar14,
|
|
521
587
|
BT_DatabarLimited,
|
|
522
|
-
BT_DatabarExpanded
|
|
588
|
+
BT_DatabarExpanded,
|
|
589
|
+
BT_PostalIMB,
|
|
590
|
+
BT_Postnet,
|
|
591
|
+
BT_Planet,
|
|
592
|
+
BT_AustralianPost,
|
|
593
|
+
BT_RoyalMail,
|
|
594
|
+
BT_KIX,
|
|
595
|
+
BT_JapanesePost
|
|
523
596
|
|
|
524
597
|
} BarcodeType;
|
|
525
598
|
|
|
Binary file
|
package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/Modules/module.modulemap
CHANGED
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
@@ -71,12 +71,12 @@
|
|
|
71
71
|
}
|
|
72
72
|
],
|
|
73
73
|
"userDefinedMetadata" : {
|
|
74
|
+
"com.github.apple.coremltools.version" : "7.2",
|
|
74
75
|
"com.github.apple.coremltools.source" : "torch==2.3.1+cu121",
|
|
75
76
|
"com.github.apple.coremltools.source_dialect" : "TorchScript",
|
|
76
|
-
"stride" : "32",
|
|
77
77
|
"docs" : "https:\/\/docs.ultralytics.com",
|
|
78
78
|
"task" : "obb",
|
|
79
|
-
"
|
|
79
|
+
"stride" : "32",
|
|
80
80
|
"imgsz" : "[256, 384]",
|
|
81
81
|
"date" : "2024-08-01T09:34:45.251931",
|
|
82
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", "3404.16.1"}, {"coremlc-version", "3404.23.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
|
|
@@ -71,14 +71,14 @@
|
|
|
71
71
|
}
|
|
72
72
|
],
|
|
73
73
|
"userDefinedMetadata" : {
|
|
74
|
-
"stride" : "32",
|
|
75
74
|
"com.github.apple.coremltools.version" : "7.2",
|
|
76
75
|
"com.github.apple.coremltools.source" : "torch==2.3.1+cu121",
|
|
77
76
|
"com.github.apple.coremltools.source_dialect" : "TorchScript",
|
|
78
|
-
"task" : "obb",
|
|
79
77
|
"docs" : "https:\/\/docs.ultralytics.com",
|
|
80
|
-
"
|
|
78
|
+
"task" : "obb",
|
|
79
|
+
"stride" : "32",
|
|
81
80
|
"date" : "2024-08-01T17:19:19.267647",
|
|
81
|
+
"imgsz" : "[384, 512]",
|
|
82
82
|
"batch" : "1",
|
|
83
83
|
"names" : "{0: 'id_mrz_image', 1: 'mrz_2', 2: 'mrz_3', 3: 'id_mrz', 4: 'id_image', 5: 'face', 6: 'vin', 7: 'signature'}"
|
|
84
84
|
},
|
|
@@ -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", "3404.16.1"}, {"coremlc-version", "3404.23.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)];
|
package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/Barkoder
CHANGED
|
Binary file
|
|
@@ -66,7 +66,15 @@ typedef enum {
|
|
|
66
66
|
IDDocument,
|
|
67
67
|
Databar14,
|
|
68
68
|
DatabarLimited,
|
|
69
|
-
DatabarExpanded
|
|
69
|
+
DatabarExpanded,
|
|
70
|
+
PostalIMB,
|
|
71
|
+
Postnet,
|
|
72
|
+
Planet,
|
|
73
|
+
AustralianPost,
|
|
74
|
+
RoyalMail,
|
|
75
|
+
KIX,
|
|
76
|
+
JapanesePost
|
|
77
|
+
|
|
70
78
|
} DecoderType;
|
|
71
79
|
|
|
72
80
|
|
|
@@ -74,7 +82,8 @@ typedef enum {
|
|
|
74
82
|
Disabled = 0,
|
|
75
83
|
Automatic,
|
|
76
84
|
GS1,
|
|
77
|
-
AAMVA
|
|
85
|
+
AAMVA,
|
|
86
|
+
SADL
|
|
78
87
|
} Formatting;
|
|
79
88
|
|
|
80
89
|
//==========================================================================
|
|
@@ -209,6 +218,56 @@ typedef enum {
|
|
|
209
218
|
- (id)initWithDecoderType:(DecoderType)decoderType;
|
|
210
219
|
@end
|
|
211
220
|
|
|
221
|
+
//==========================================================================
|
|
222
|
+
// Postal IMB Config
|
|
223
|
+
//==========================================================================
|
|
224
|
+
@interface PostalIMBConfig : SpecificConfig
|
|
225
|
+
- (id)initWithDecoderType:(DecoderType)decoderType;
|
|
226
|
+
@end
|
|
227
|
+
|
|
228
|
+
//==========================================================================
|
|
229
|
+
// Postnet Config
|
|
230
|
+
//==========================================================================
|
|
231
|
+
@interface PostnetConfig : SpecificConfig
|
|
232
|
+
- (id)initWithDecoderType:(DecoderType)decoderType;
|
|
233
|
+
@end
|
|
234
|
+
|
|
235
|
+
//==========================================================================
|
|
236
|
+
// Planet Config
|
|
237
|
+
//==========================================================================
|
|
238
|
+
@interface PlanetConfig : SpecificConfig
|
|
239
|
+
- (id)initWithDecoderType:(DecoderType)decoderType;
|
|
240
|
+
@end
|
|
241
|
+
|
|
242
|
+
//==========================================================================
|
|
243
|
+
// AustralianPost Config
|
|
244
|
+
//==========================================================================
|
|
245
|
+
@interface AustralianPostConfig : SpecificConfig
|
|
246
|
+
- (id)initWithDecoderType:(DecoderType)decoderType;
|
|
247
|
+
@end
|
|
248
|
+
|
|
249
|
+
//==========================================================================
|
|
250
|
+
// Royal Mail Config
|
|
251
|
+
//==========================================================================
|
|
252
|
+
@interface RoyalMailConfig : SpecificConfig
|
|
253
|
+
- (id)initWithDecoderType:(DecoderType)decoderType;
|
|
254
|
+
@end
|
|
255
|
+
|
|
256
|
+
//==========================================================================
|
|
257
|
+
// Japanese Post Config
|
|
258
|
+
//==========================================================================
|
|
259
|
+
@interface JapanesePostConfig : SpecificConfig
|
|
260
|
+
- (id)initWithDecoderType:(DecoderType)decoderType;
|
|
261
|
+
@end
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
//==========================================================================
|
|
265
|
+
// KIX Config
|
|
266
|
+
//==========================================================================
|
|
267
|
+
@interface KIXConfig : SpecificConfig
|
|
268
|
+
- (id)initWithDecoderType:(DecoderType)decoderType;
|
|
269
|
+
@end
|
|
270
|
+
|
|
212
271
|
//==========================================================================
|
|
213
272
|
// Dotcode Config
|
|
214
273
|
//==========================================================================
|
|
@@ -453,6 +512,13 @@ typedef enum {
|
|
|
453
512
|
@property (nonatomic, readonly, retain) Databar14Config* _Nonnull databar14;
|
|
454
513
|
@property (nonatomic, readonly, retain) DatabarLimitedConfig* _Nonnull databarLimited;
|
|
455
514
|
@property (nonatomic, readonly, retain) DatabarExpandedConfig* _Nonnull databarExpanded;
|
|
515
|
+
@property (nonatomic, readonly, retain) PostalIMBConfig* _Nonnull postalIMB;
|
|
516
|
+
@property (nonatomic, readonly, retain) PostnetConfig* _Nonnull postnet;
|
|
517
|
+
@property (nonatomic, readonly, retain) PlanetConfig* _Nonnull planet;
|
|
518
|
+
@property (nonatomic, readonly, retain) AustralianPostConfig* _Nonnull australianPost;
|
|
519
|
+
@property (nonatomic, readonly, retain) RoyalMailConfig* _Nonnull royalMail;
|
|
520
|
+
@property (nonatomic, readonly, retain) JapanesePostConfig* _Nonnull japanesePost;
|
|
521
|
+
@property (nonatomic, readonly, retain) KIXConfig* _Nonnull kix;
|
|
456
522
|
|
|
457
523
|
@property (nonatomic, readonly, retain) IDDocumentConfig* _Nonnull idDocument;
|
|
458
524
|
|
|
@@ -519,7 +585,14 @@ typedef enum {
|
|
|
519
585
|
BT_ID_MRZ3,
|
|
520
586
|
BT_Databar14,
|
|
521
587
|
BT_DatabarLimited,
|
|
522
|
-
BT_DatabarExpanded
|
|
588
|
+
BT_DatabarExpanded,
|
|
589
|
+
BT_PostalIMB,
|
|
590
|
+
BT_Postnet,
|
|
591
|
+
BT_Planet,
|
|
592
|
+
BT_AustralianPost,
|
|
593
|
+
BT_RoyalMail,
|
|
594
|
+
BT_KIX,
|
|
595
|
+
BT_JapanesePost
|
|
523
596
|
|
|
524
597
|
} BarcodeType;
|
|
525
598
|
|
package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/Info.plist
CHANGED
|
Binary file
|
|
File without changes
|
|
@@ -4,21 +4,17 @@
|
|
|
4
4
|
<dict>
|
|
5
5
|
<key>files</key>
|
|
6
6
|
<dict>
|
|
7
|
-
<key>.DS_Store</key>
|
|
8
|
-
<data>
|
|
9
|
-
Cz/yhX2hYQD8hpitbrP/7/lW/e4=
|
|
10
|
-
</data>
|
|
11
7
|
<key>Headers/Barkoder.h</key>
|
|
12
8
|
<data>
|
|
13
9
|
9tBmdiEM3Piw6SdXbESop6X7Zac=
|
|
14
10
|
</data>
|
|
15
11
|
<key>Headers/iBarkoder.h</key>
|
|
16
12
|
<data>
|
|
17
|
-
|
|
13
|
+
SZhNgFi7RtRZqv2nkN1gkSWaMi0=
|
|
18
14
|
</data>
|
|
19
15
|
<key>Info.plist</key>
|
|
20
16
|
<data>
|
|
21
|
-
|
|
17
|
+
otCqrqsy3quxLVueROGZaLjiLOc=
|
|
22
18
|
</data>
|
|
23
19
|
<key>Modules/module.modulemap</key>
|
|
24
20
|
<data>
|
|
@@ -26,7 +22,7 @@
|
|
|
26
22
|
</data>
|
|
27
23
|
<key>default.metallib</key>
|
|
28
24
|
<data>
|
|
29
|
-
|
|
25
|
+
06tfFnf1MRUFe5+MjBs/VNQcEn8=
|
|
30
26
|
</data>
|
|
31
27
|
<key>float16_384x256.mlmodelc/analytics/coremldata.bin</key>
|
|
32
28
|
<data>
|
|
@@ -34,15 +30,15 @@
|
|
|
34
30
|
</data>
|
|
35
31
|
<key>float16_384x256.mlmodelc/coremldata.bin</key>
|
|
36
32
|
<data>
|
|
37
|
-
|
|
33
|
+
9Bv8yQbnj4Lbv7S63P3ISqwX9Uk=
|
|
38
34
|
</data>
|
|
39
35
|
<key>float16_384x256.mlmodelc/metadata.json</key>
|
|
40
36
|
<data>
|
|
41
|
-
|
|
37
|
+
pQxfZIpErO25AQJ3b0OjQfi8fVg=
|
|
42
38
|
</data>
|
|
43
39
|
<key>float16_384x256.mlmodelc/model.mil</key>
|
|
44
40
|
<data>
|
|
45
|
-
|
|
41
|
+
6Ckdeih7+rV3d26T7DaHxE5hyFI=
|
|
46
42
|
</data>
|
|
47
43
|
<key>float16_384x256.mlmodelc/weights/weight.bin</key>
|
|
48
44
|
<data>
|
|
@@ -54,7 +50,7 @@
|
|
|
54
50
|
</data>
|
|
55
51
|
<key>float16_512x384.mlmodelc/coremldata.bin</key>
|
|
56
52
|
<data>
|
|
57
|
-
|
|
53
|
+
PpHz5TTc8QHl8SBy3+sE1KII3Mc=
|
|
58
54
|
</data>
|
|
59
55
|
<key>float16_512x384.mlmodelc/metadata.json</key>
|
|
60
56
|
<data>
|
|
@@ -62,7 +58,7 @@
|
|
|
62
58
|
</data>
|
|
63
59
|
<key>float16_512x384.mlmodelc/model.mil</key>
|
|
64
60
|
<data>
|
|
65
|
-
|
|
61
|
+
Aege+CQOzfTneIZUrYzoj5FEkpA=
|
|
66
62
|
</data>
|
|
67
63
|
<key>float16_512x384.mlmodelc/weights/weight.bin</key>
|
|
68
64
|
<data>
|
|
@@ -90,7 +86,7 @@
|
|
|
90
86
|
<dict>
|
|
91
87
|
<key>hash2</key>
|
|
92
88
|
<data>
|
|
93
|
-
|
|
89
|
+
y6miqUcIdmuwFuj3r3k8dHXBYmyuhBrLViEyYWPtuPU=
|
|
94
90
|
</data>
|
|
95
91
|
</dict>
|
|
96
92
|
<key>Modules/module.modulemap</key>
|
|
@@ -104,7 +100,7 @@
|
|
|
104
100
|
<dict>
|
|
105
101
|
<key>hash2</key>
|
|
106
102
|
<data>
|
|
107
|
-
|
|
103
|
+
Qj/z+8FdHfP9cLtOYOlObxt2VaiDjowSZ+0y+PjkVW4=
|
|
108
104
|
</data>
|
|
109
105
|
</dict>
|
|
110
106
|
<key>float16_384x256.mlmodelc/analytics/coremldata.bin</key>
|
|
@@ -118,21 +114,21 @@
|
|
|
118
114
|
<dict>
|
|
119
115
|
<key>hash2</key>
|
|
120
116
|
<data>
|
|
121
|
-
|
|
117
|
+
QvgqHo4R9DXLZAaZEBnPkBHE/C0p0YQEYZj8TeFukDU=
|
|
122
118
|
</data>
|
|
123
119
|
</dict>
|
|
124
120
|
<key>float16_384x256.mlmodelc/metadata.json</key>
|
|
125
121
|
<dict>
|
|
126
122
|
<key>hash2</key>
|
|
127
123
|
<data>
|
|
128
|
-
|
|
124
|
+
TR74LsZ7M/RLOnoqqEfLMd+hXw5mk/ekzuzSMhIbaDQ=
|
|
129
125
|
</data>
|
|
130
126
|
</dict>
|
|
131
127
|
<key>float16_384x256.mlmodelc/model.mil</key>
|
|
132
128
|
<dict>
|
|
133
129
|
<key>hash2</key>
|
|
134
130
|
<data>
|
|
135
|
-
|
|
131
|
+
DH/EvVTBcigkEptFEgXKMXS6HhIr0lj/LkqDFf4hRlg=
|
|
136
132
|
</data>
|
|
137
133
|
</dict>
|
|
138
134
|
<key>float16_384x256.mlmodelc/weights/weight.bin</key>
|
|
@@ -153,7 +149,7 @@
|
|
|
153
149
|
<dict>
|
|
154
150
|
<key>hash2</key>
|
|
155
151
|
<data>
|
|
156
|
-
|
|
152
|
+
ytxs9CfML0oDNZTtE4loTlHPKhli+oPL97vnLH8Nhmc=
|
|
157
153
|
</data>
|
|
158
154
|
</dict>
|
|
159
155
|
<key>float16_512x384.mlmodelc/metadata.json</key>
|
|
@@ -167,7 +163,7 @@
|
|
|
167
163
|
<dict>
|
|
168
164
|
<key>hash2</key>
|
|
169
165
|
<data>
|
|
170
|
-
|
|
166
|
+
AVEamImyGo8s6a9HV9at/87RiZRBDgpfrrfiPbDgMz8=
|
|
171
167
|
</data>
|
|
172
168
|
</dict>
|
|
173
169
|
<key>float16_512x384.mlmodelc/weights/weight.bin</key>
|
|
Binary file
|
|
Binary file
|
|
@@ -73,12 +73,12 @@
|
|
|
73
73
|
"userDefinedMetadata" : {
|
|
74
74
|
"stride" : "32",
|
|
75
75
|
"com.github.apple.coremltools.version" : "7.2",
|
|
76
|
+
"com.github.apple.coremltools.source" : "torch==2.3.1+cu121",
|
|
76
77
|
"com.github.apple.coremltools.source_dialect" : "TorchScript",
|
|
77
|
-
"docs" : "https:\/\/docs.ultralytics.com",
|
|
78
78
|
"task" : "obb",
|
|
79
|
-
"
|
|
80
|
-
"date" : "2024-08-01T09:34:45.251931",
|
|
79
|
+
"docs" : "https:\/\/docs.ultralytics.com",
|
|
81
80
|
"imgsz" : "[256, 384]",
|
|
81
|
+
"date" : "2024-08-01T09:34:45.251931",
|
|
82
82
|
"batch" : "1",
|
|
83
83
|
"names" : "{0: 'id_mrz_image', 1: 'mrz_2', 2: 'mrz_3', 3: 'id_mrz', 4: 'id_image', 5: 'face', 6: 'vin', 7: 'signature'}"
|
|
84
84
|
},
|
|
@@ -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", "3404.16.1"}, {"coremlc-version", "3404.23.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
|
|
@@ -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", "3404.16.1"}, {"coremlc-version", "3404.23.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)];
|
|
Binary file
|
|
@@ -307,10 +307,132 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
|
307
307
|
#endif
|
|
308
308
|
|
|
309
309
|
#if defined(__OBJC__)
|
|
310
|
+
enum BarkoderARMode : NSInteger;
|
|
311
|
+
enum BarkoderAROverlayRefresh : NSInteger;
|
|
310
312
|
@class UIColor;
|
|
313
|
+
enum BarkoderARLocationType : NSInteger;
|
|
314
|
+
enum BarkoderARHeaderShowMode : NSInteger;
|
|
315
|
+
@class NSString;
|
|
316
|
+
|
|
317
|
+
/// Contains all configurable options for AR-related barcode behavior.
|
|
318
|
+
SWIFT_CLASS("_TtC11BarkoderSDK16BarkoderARConfig")
|
|
319
|
+
@interface BarkoderARConfig : NSObject
|
|
320
|
+
/// Defines the overall AR behavior mode (e.g., interactive, non-interactive, disabled).
|
|
321
|
+
/// note:
|
|
322
|
+
/// Default value is <code>.off</code>
|
|
323
|
+
@property (nonatomic) enum BarkoderARMode arMode;
|
|
324
|
+
/// Time delay (in milliseconds) after which a detected barcode result is considered expired and removed from the view.
|
|
325
|
+
/// note:
|
|
326
|
+
/// Default value is 800 ms
|
|
327
|
+
@property (nonatomic) NSInteger resultDisappearanceDelayMs;
|
|
328
|
+
/// Speed factor (0.1 to 1.0) for smooth interpolation of overlay positions during camera movement.
|
|
329
|
+
/// Higher values mean faster transition.
|
|
330
|
+
/// note:
|
|
331
|
+
/// Default value is 0.3
|
|
332
|
+
@property (nonatomic) float locationTransitionSpeed;
|
|
333
|
+
/// Defines how often AR overlays are updated.
|
|
334
|
+
/// A smoother refresh enhances visual quality but consume more processing power.
|
|
335
|
+
/// note:
|
|
336
|
+
/// Default value is <code>.smooth</code>
|
|
337
|
+
@property (nonatomic) enum BarkoderAROverlayRefresh overlayRefresh;
|
|
338
|
+
/// Color used to draw overlays around selected barcodes.
|
|
339
|
+
@property (nonatomic, strong) UIColor * _Nonnull selectedLocationColor;
|
|
340
|
+
/// Color used to draw overlays around non-selected barcodes.
|
|
341
|
+
@property (nonatomic, strong) UIColor * _Nonnull nonSelectedLocationColor;
|
|
342
|
+
/// Line width for selected barcode overlays.
|
|
343
|
+
/// note:
|
|
344
|
+
/// Default value is 2.0
|
|
345
|
+
@property (nonatomic) float selectedLocationLineWidth;
|
|
346
|
+
/// Line width for non-selected barcode overlays.
|
|
347
|
+
/// note:
|
|
348
|
+
/// Default value is 2.0
|
|
349
|
+
@property (nonatomic) float nonSelectedLocationLineWidth;
|
|
350
|
+
/// Type of location overlay to be drawn (tight box, bounding box, or none).
|
|
351
|
+
/// note:
|
|
352
|
+
/// Default is <code>.tight</code>
|
|
353
|
+
@property (nonatomic) enum BarkoderARLocationType locationType;
|
|
354
|
+
/// Whether a double-tap gesture is enabled to freeze/unfreeze barcode scanning in AR mode.
|
|
355
|
+
/// note:
|
|
356
|
+
/// Default value is <code>true</code>
|
|
357
|
+
@property (nonatomic) BOOL doubleTapToFreezeEnabled;
|
|
358
|
+
/// Height of the header above the barcode.
|
|
359
|
+
/// note:
|
|
360
|
+
/// Default value is 19.0
|
|
361
|
+
@property (nonatomic) float headerHeight;
|
|
362
|
+
/// Defines when the header should be visible above detected barcodes.
|
|
363
|
+
/// note:
|
|
364
|
+
/// Default is <code>.onSelected</code>
|
|
365
|
+
@property (nonatomic) enum BarkoderARHeaderShowMode headerShowMode;
|
|
366
|
+
/// Maximum text height inside the header area.
|
|
367
|
+
/// note:
|
|
368
|
+
/// Default value is 20.0
|
|
369
|
+
@property (nonatomic) float headerMaxTextHeight;
|
|
370
|
+
/// Minimum text height inside the header area.
|
|
371
|
+
/// note:
|
|
372
|
+
/// Default value is 7.0
|
|
373
|
+
@property (nonatomic) float headerMinTextHeight;
|
|
374
|
+
/// Text color used for the header when the barcode is selected.
|
|
375
|
+
@property (nonatomic, strong) UIColor * _Nonnull headerTextColorSelected;
|
|
376
|
+
/// Text color used for the header when the barcode is not selected.
|
|
377
|
+
@property (nonatomic, strong) UIColor * _Nonnull headerTextColorNonSelected;
|
|
378
|
+
/// Horizontal margin inside the header, creating equal padding on both sides of the text.
|
|
379
|
+
/// note:
|
|
380
|
+
/// Default value is 5.0
|
|
381
|
+
@property (nonatomic) float headerHorizontalTextMargin;
|
|
382
|
+
/// Vertical margin inside the header, creating equal padding on both sides of the text.
|
|
383
|
+
/// note:
|
|
384
|
+
/// Default value is 3.0
|
|
385
|
+
@property (nonatomic) float headerVerticalTextMargin;
|
|
386
|
+
/// Format string for the header text above barcodes.
|
|
387
|
+
/// Supports dynamic placeholders like [barcode_type], [barcode_text], [gs1], etc.
|
|
388
|
+
/// note:
|
|
389
|
+
/// Default value is <code>"[barcode_text]"</code>
|
|
390
|
+
@property (nonatomic, copy) NSString * _Nonnull headerTextFormat;
|
|
391
|
+
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
|
|
392
|
+
@end
|
|
393
|
+
|
|
394
|
+
/// Defines when the header text (above a barcode) should be shown in AR mode.
|
|
395
|
+
typedef SWIFT_ENUM(NSInteger, BarkoderARHeaderShowMode, open) {
|
|
396
|
+
/// Never display the header text.
|
|
397
|
+
BarkoderARHeaderShowModeNever = 0,
|
|
398
|
+
/// Always display the header text above detected barcodes.
|
|
399
|
+
BarkoderARHeaderShowModeAlways = 1,
|
|
400
|
+
/// Display the header text only when the barcode is selected.
|
|
401
|
+
BarkoderARHeaderShowModeOnSelected = 2,
|
|
402
|
+
};
|
|
403
|
+
|
|
404
|
+
/// Specifies how the location overlays around barcodes should be drawn.
|
|
405
|
+
typedef SWIFT_ENUM(NSInteger, BarkoderARLocationType, open) {
|
|
406
|
+
/// No overlay will be drawn.
|
|
407
|
+
BarkoderARLocationTypeNone = 0,
|
|
408
|
+
/// A tight overlay will be drawn closely around the detected barcode.
|
|
409
|
+
BarkoderARLocationTypeTight = 1,
|
|
410
|
+
/// A full bounding rectangle will be drawn around the barcode.
|
|
411
|
+
BarkoderARLocationTypeBoundingBox = 2,
|
|
412
|
+
};
|
|
413
|
+
|
|
414
|
+
/// Defines the behavior mode for AR barcode selection and interaction.
|
|
415
|
+
typedef SWIFT_ENUM(NSInteger, BarkoderARMode, open) {
|
|
416
|
+
/// AR mode is disabled. No AR-specific features will be used.
|
|
417
|
+
BarkoderARModeOff = 0,
|
|
418
|
+
/// AR is enabled, but new barcodes are not selected automatically by default.
|
|
419
|
+
BarkoderARModeInteractiveDisabled = 1,
|
|
420
|
+
/// AR is enabled, and new barcodes are automatically selected by default.
|
|
421
|
+
BarkoderARModeInteractiveEnabled = 2,
|
|
422
|
+
/// AR is enabled with non-interactive behavior; selection happens automatically without any user actions.
|
|
423
|
+
BarkoderARModeNonInteractive = 3,
|
|
424
|
+
};
|
|
425
|
+
|
|
426
|
+
/// Defines the refresh rate for updating AR barcode overlays on the camera preview.
|
|
427
|
+
typedef SWIFT_ENUM(NSInteger, BarkoderAROverlayRefresh, open) {
|
|
428
|
+
/// Smooth refresh rate — provides optimal visual fidelity, suitable for high-performance devices.
|
|
429
|
+
BarkoderAROverlayRefreshSmooth = 0,
|
|
430
|
+
/// Normal refresh rate — offers a balance between performance and power usage, ideal for lower-end devices.
|
|
431
|
+
BarkoderAROverlayRefreshNormal = 1,
|
|
432
|
+
};
|
|
433
|
+
|
|
311
434
|
@class Config;
|
|
312
435
|
enum BarkoderResolution : NSInteger;
|
|
313
|
-
@class NSString;
|
|
314
436
|
@class LicenseCheckResult;
|
|
315
437
|
|
|
316
438
|
SWIFT_CLASS("_TtC11BarkoderSDK14BarkoderConfig")
|
|
@@ -377,6 +499,8 @@ SWIFT_CLASS("_TtC11BarkoderSDK14BarkoderConfig")
|
|
|
377
499
|
@property (nonatomic) BOOL locationInPreviewEnabled;
|
|
378
500
|
/// Configures the Barkoder functionality based on the provided configuration
|
|
379
501
|
@property (nonatomic, strong) Config * _Nullable decoderConfig;
|
|
502
|
+
/// Configuration options for AR barcode detection and overlay behavior.
|
|
503
|
+
@property (nonatomic, strong) BarkoderARConfig * _Nonnull arConfig;
|
|
380
504
|
/// Retrieve/Sets the resolution for barcode scanning
|
|
381
505
|
/// note:
|
|
382
506
|
/// Default value is BarkoderView.BarkoderResolution.HD
|
|
@@ -387,6 +511,10 @@ SWIFT_CLASS("_TtC11BarkoderSDK14BarkoderConfig")
|
|
|
387
511
|
@property (nonatomic) BOOL barcodeThumbnailOnResult;
|
|
388
512
|
/// Retrieve/Sets the threshold between duplicate scans
|
|
389
513
|
@property (nonatomic) NSInteger thresholdBetweenDuplicatesScans;
|
|
514
|
+
/// Controls whether duplicate barcode locations are shown on preview.
|
|
515
|
+
/// note:
|
|
516
|
+
/// Default value is true
|
|
517
|
+
@property (nonatomic) BOOL showDuplicatesLocations;
|
|
390
518
|
/// Defines the Region of Interest (ROI) on the camera preview for barcode scanning, specifying an area where the application focuses on detecting barcodes
|
|
391
519
|
- (BOOL)setRegionOfInterest:(CGRect)value error:(NSError * _Nullable * _Nullable)error;
|
|
392
520
|
/// Retrieves the region of interest (ROI)
|
|
@@ -487,6 +615,8 @@ typedef SWIFT_ENUM(NSInteger, BarkoderConfigTemplate, open) {
|
|
|
487
615
|
BarkoderConfigTemplateMrz = 10,
|
|
488
616
|
BarkoderConfigTemplateGallery_scan = 11,
|
|
489
617
|
BarkoderConfigTemplateComposite = 12,
|
|
618
|
+
BarkoderConfigTemplatePostal_codes = 13,
|
|
619
|
+
BarkoderConfigTemplateAr = 14,
|
|
490
620
|
};
|
|
491
621
|
|
|
492
622
|
|
|
@@ -531,6 +661,12 @@ SWIFT_CLASS("_TtC11BarkoderSDK12BarkoderView")
|
|
|
531
661
|
- (void)stopScanning;
|
|
532
662
|
/// Temporarily suspends the barcode scanning process, pausing the camera feed without completely stopping the scanning session
|
|
533
663
|
- (void)pauseScanning;
|
|
664
|
+
/// Freezes the AR scanning session by capturing a still image from the camera feed.
|
|
665
|
+
/// Use only when AR mode is enabled to temporarily freeze the view while keeping overlays visible.
|
|
666
|
+
- (void)freezeScanning;
|
|
667
|
+
/// Unfreezes the AR scanning session by removing the still image and reactivating the camera and overlays.
|
|
668
|
+
/// Use only when AR mode is enabled to restore the live AR view and continue scanning.
|
|
669
|
+
- (void)unfreezeScanning;
|
|
534
670
|
/// Sets the zoom factor for the device’s camera, adjusting the level of zoom during barcode scanning
|
|
535
671
|
- (void)setZoomFactor:(float)zoomFactor;
|
|
536
672
|
/// Sets the camera to be used for scanning (back/front).
|
|
@@ -579,6 +715,12 @@ typedef SWIFT_ENUM(NSInteger, BarkoderCameraPosition, open) {
|
|
|
579
715
|
BarkoderCameraPositionFRONT = 1,
|
|
580
716
|
};
|
|
581
717
|
|
|
718
|
+
@class UIGestureRecognizer;
|
|
719
|
+
@class UITouch;
|
|
720
|
+
|
|
721
|
+
@interface BarkoderView (SWIFT_EXTENSION(BarkoderSDK)) <UIGestureRecognizerDelegate>
|
|
722
|
+
- (BOOL)gestureRecognizer:(UIGestureRecognizer * _Nonnull)gestureRecognizer shouldReceiveTouch:(UITouch * _Nonnull)touch SWIFT_WARN_UNUSED_RESULT;
|
|
723
|
+
@end
|
|
582
724
|
|
|
583
725
|
|
|
584
726
|
|