barkoder-nativescript 1.6.2 → 1.6.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.
- package/barkoder-nativescript.android.ts +48 -0
- package/barkoder-nativescript.common.ts +23 -1
- package/barkoder-nativescript.ios.ts +48 -0
- package/package.json +1 -1
- package/platforms/android/barkoder.aar +0 -0
- package/platforms/ios/Barkoder.xcframework/Info.plist +5 -5
- 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/float16_384x256.mlmodelc/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_384x256.mlmodelc/metadata.json +3 -3
- 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 +2 -2
- 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/_CodeSignature/CodeResources +11 -11
- 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_512x384.mlmodelc/coremldata.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_512x384.mlmodelc/metadata.json +3 -3
- 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 +1 -0
- 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 +177 -62
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +2 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios.swiftinterface +2 -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 +98 -0
- 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 +2 -0
- 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 +177 -62
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +2 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +2 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +177 -62
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +2 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/Modules/BarkoderSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +2 -0
- package/platforms/ios/BarkoderSDK.xcframework/ios-arm64_x86_64-simulator/BarkoderSDK.framework/_CodeSignature/CodeResources +25 -25
- 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 +98 -0
- 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
|
@@ -634,6 +634,26 @@ export class BarkoderViewAndroid extends View {
|
|
|
634
634
|
return this.bkdView.config.getDecoderConfig().Dotcode.enabled;
|
|
635
635
|
case BarkoderConstants.DecoderType.IDDocument:
|
|
636
636
|
return this.bkdView.config.getDecoderConfig().IDDocument.enabled;
|
|
637
|
+
case BarkoderConstants.DecoderType.Databar14:
|
|
638
|
+
return this.bkdView.config.getDecoderConfig().Databar14.enabled;
|
|
639
|
+
case BarkoderConstants.DecoderType.DatabarLimited:
|
|
640
|
+
return this.bkdView.config.getDecoderConfig().DatabarLimited.enabled;
|
|
641
|
+
case BarkoderConstants.DecoderType.DatabarExpanded:
|
|
642
|
+
return this.bkdView.config.getDecoderConfig().DatabarExpanded.enabled;
|
|
643
|
+
case BarkoderConstants.DecoderType.PostalIMB:
|
|
644
|
+
return this.bkdView.config.getDecoderConfig().PostalIMB.enabled;
|
|
645
|
+
case BarkoderConstants.DecoderType.Planet:
|
|
646
|
+
return this.bkdView.config.getDecoderConfig().Planet.enabled;
|
|
647
|
+
case BarkoderConstants.DecoderType.Postnet:
|
|
648
|
+
return this.bkdView.config.getDecoderConfig().Postnet.enabled;
|
|
649
|
+
case BarkoderConstants.DecoderType.AustralianPost:
|
|
650
|
+
return this.bkdView.config.getDecoderConfig().AustralianPost.enabled;
|
|
651
|
+
case BarkoderConstants.DecoderType.RoyalMail:
|
|
652
|
+
return this.bkdView.config.getDecoderConfig().RoyalMail.enabled;
|
|
653
|
+
case BarkoderConstants.DecoderType.KIX:
|
|
654
|
+
return this.bkdView.config.getDecoderConfig().KIX.enabled;
|
|
655
|
+
case BarkoderConstants.DecoderType.JapanesePost:
|
|
656
|
+
return this.bkdView.config.getDecoderConfig().JapanesePost.enabled;
|
|
637
657
|
}
|
|
638
658
|
}
|
|
639
659
|
|
|
@@ -672,6 +692,13 @@ export class BarkoderViewAndroid extends View {
|
|
|
672
692
|
this.bkdView.config.getDecoderConfig().Databar14.enabled = false;
|
|
673
693
|
this.bkdView.config.getDecoderConfig().DatabarLimited.enabled = false;
|
|
674
694
|
this.bkdView.config.getDecoderConfig().DatabarExpanded.enabled = false;
|
|
695
|
+
this.bkdView.config.getDecoderConfig().PostalIMB.enabled = false;
|
|
696
|
+
this.bkdView.config.getDecoderConfig().Postnet.enabled = false;
|
|
697
|
+
this.bkdView.config.getDecoderConfig().Planet.enabled = false;
|
|
698
|
+
this.bkdView.config.getDecoderConfig().AustralianPost.enabled = false;
|
|
699
|
+
this.bkdView.config.getDecoderConfig().RoyalMail.enabled = false;
|
|
700
|
+
this.bkdView.config.getDecoderConfig().KIX.enabled = false;
|
|
701
|
+
this.bkdView.config.getDecoderConfig().JapanesePost.enabled = false;
|
|
675
702
|
decoders.forEach((dt: BarkoderConstants.DecoderType) => {
|
|
676
703
|
switch (dt) {
|
|
677
704
|
case BarkoderConstants.DecoderType.Aztec:
|
|
@@ -767,6 +794,27 @@ export class BarkoderViewAndroid extends View {
|
|
|
767
794
|
case BarkoderConstants.DecoderType.DatabarLimited:
|
|
768
795
|
this.bkdView.config.getDecoderConfig().DatabarLimited.enabled = true;
|
|
769
796
|
break;
|
|
797
|
+
case BarkoderConstants.DecoderType.PostalIMB:
|
|
798
|
+
this.bkdView.config.getDecoderConfig().PostalIMB.enabled = true;
|
|
799
|
+
break;
|
|
800
|
+
case BarkoderConstants.DecoderType.Postnet:
|
|
801
|
+
this.bkdView.config.getDecoderConfig().Postnet.enabled = true;
|
|
802
|
+
break;
|
|
803
|
+
case BarkoderConstants.DecoderType.Planet:
|
|
804
|
+
this.bkdView.config.getDecoderConfig().Planet.enabled = true;
|
|
805
|
+
break;
|
|
806
|
+
case BarkoderConstants.DecoderType.AustralianPost:
|
|
807
|
+
this.bkdView.config.getDecoderConfig().AustralianPost.enabled = true;
|
|
808
|
+
break;
|
|
809
|
+
case BarkoderConstants.DecoderType.RoyalMail:
|
|
810
|
+
this.bkdView.config.getDecoderConfig().RoyalMail.enabled = true;
|
|
811
|
+
break;
|
|
812
|
+
case BarkoderConstants.DecoderType.KIX:
|
|
813
|
+
this.bkdView.config.getDecoderConfig().KIX.enabled = true;
|
|
814
|
+
break;
|
|
815
|
+
case BarkoderConstants.DecoderType.JapanesePost:
|
|
816
|
+
this.bkdView.config.getDecoderConfig().JapanesePost.enabled = true;
|
|
817
|
+
break;
|
|
770
818
|
default:
|
|
771
819
|
break;
|
|
772
820
|
}
|
|
@@ -52,7 +52,15 @@ export enum DecoderType {
|
|
|
52
52
|
IDDocument = 28,
|
|
53
53
|
Databar14 = 29,
|
|
54
54
|
DatabarLimited = 30,
|
|
55
|
-
DatabarExpanded = 31
|
|
55
|
+
DatabarExpanded = 31,
|
|
56
|
+
PostalIMB = 32,
|
|
57
|
+
Postnet = 33,
|
|
58
|
+
Planet = 34,
|
|
59
|
+
AustralianPost = 35,
|
|
60
|
+
RoyalMail = 36,
|
|
61
|
+
KIX = 37,
|
|
62
|
+
JapanesePost = 38
|
|
63
|
+
|
|
56
64
|
}
|
|
57
65
|
|
|
58
66
|
export enum FormattingType {
|
|
@@ -196,6 +204,13 @@ export class DekoderConfig {
|
|
|
196
204
|
databar14?: BarcodeConfig;
|
|
197
205
|
databarExpanded?: BarcodeConfig;
|
|
198
206
|
databarLimited?: BarcodeConfig;
|
|
207
|
+
postalIMB?: BarcodeConfig;
|
|
208
|
+
postnet?: BarcodeConfig;
|
|
209
|
+
planet?: BarcodeConfig;
|
|
210
|
+
australianPost?: BarcodeConfig;
|
|
211
|
+
royalMail?: BarcodeConfig;
|
|
212
|
+
kix?: BarcodeConfig;
|
|
213
|
+
japanasePost?: BarcodeConfig;
|
|
199
214
|
general?: GeneralSettings;
|
|
200
215
|
|
|
201
216
|
constructor(config: Partial<DekoderConfig>) {
|
|
@@ -236,6 +251,13 @@ export class DekoderConfig {
|
|
|
236
251
|
'Databar 14': this.databar14?.toMap(),
|
|
237
252
|
'Databar Expanded': this.databarExpanded?.toMap(),
|
|
238
253
|
'Databar Limited': this.databarLimited?.toMap(),
|
|
254
|
+
'Postal IMB': this.postalIMB?.toMap(),
|
|
255
|
+
'Postnet': this.postnet?.toMap(),
|
|
256
|
+
'Planet': this.planet?.toMap(),
|
|
257
|
+
'Australian Post': this.australianPost?.toMap(),
|
|
258
|
+
'Royal Mail': this.royalMail?.toMap(),
|
|
259
|
+
'KIX': this.kix?.toMap(),
|
|
260
|
+
'Japanase Post': this.japanasePost?.toMap(),
|
|
239
261
|
'general': this.general?.toMap()
|
|
240
262
|
}
|
|
241
263
|
|
|
@@ -580,6 +580,26 @@ export class BarkoderViewIOS extends View {
|
|
|
580
580
|
return this.bkdView.config.decoderConfig.dotcode.enabled;
|
|
581
581
|
case BarkoderConstants.DecoderType.IDDocument:
|
|
582
582
|
return this.bkdView.config.decoderConfig.idDocument.enabled;
|
|
583
|
+
case BarkoderConstants.DecoderType.DatabarLimited:
|
|
584
|
+
return this.bkdView.config.decoderConfig.databarLimited.enabled;
|
|
585
|
+
case BarkoderConstants.DecoderType.DatabarExpanded:
|
|
586
|
+
return this.bkdView.config.decoderConfig.databarExpanded.enabled;
|
|
587
|
+
case BarkoderConstants.DecoderType.Databar14:
|
|
588
|
+
return this.bkdView.config.decoderConfig.databar14.enabled;
|
|
589
|
+
case BarkoderConstants.DecoderType.PostalIMB:
|
|
590
|
+
return this.bkdView.config.decoderConfig.postalIMB.enabled;
|
|
591
|
+
case BarkoderConstants.DecoderType.Planet:
|
|
592
|
+
return this.bkdView.config.decoderConfig.planet.enabled;
|
|
593
|
+
case BarkoderConstants.DecoderType.Postnet:
|
|
594
|
+
return this.bkdView.config.decoderConfig.postnet.enabled;
|
|
595
|
+
case BarkoderConstants.DecoderType.AustralianPost:
|
|
596
|
+
return this.bkdView.config.decoderConfig.australianPost.enabled;
|
|
597
|
+
case BarkoderConstants.DecoderType.RoyalMail:
|
|
598
|
+
return this.bkdView.config.decoderConfig.royalMail.enabled;
|
|
599
|
+
case BarkoderConstants.DecoderType.KIX:
|
|
600
|
+
return this.bkdView.config.decoderConfig.kix.enabled;
|
|
601
|
+
case BarkoderConstants.DecoderType.JapanesePost:
|
|
602
|
+
return this.bkdView.config.decoderConfig.japanasePost.enabled;
|
|
583
603
|
}
|
|
584
604
|
}
|
|
585
605
|
|
|
@@ -619,6 +639,13 @@ export class BarkoderViewIOS extends View {
|
|
|
619
639
|
this.bkdView.config.decoderConfig.databar14.enabled = false;
|
|
620
640
|
this.bkdView.config.decoderConfig.databarLimited.enabled = false;
|
|
621
641
|
this.bkdView.config.decoderConfig.databarExpanded.enabled = false;
|
|
642
|
+
this.bkdView.config.decoderConfig.postalIMB.enabled = false;
|
|
643
|
+
this.bkdView.config.decoderConfig.planet.enabled = false;
|
|
644
|
+
this.bkdView.config.decoderConfig.postnet.enabled = false;
|
|
645
|
+
this.bkdView.config.decoderConfig.australianPost.enabled = false;
|
|
646
|
+
this.bkdView.config.decoderConfig.royalMail.enabled = false;
|
|
647
|
+
this.bkdView.config.decoderConfig.kix.enabled = false;
|
|
648
|
+
this.bkdView.config.decoderConfig.japanesePost.enabled = false;
|
|
622
649
|
decoders.forEach((dt: BarkoderConstants.DecoderType) => {
|
|
623
650
|
switch (dt) {
|
|
624
651
|
case BarkoderConstants.DecoderType.Aztec:
|
|
@@ -714,6 +741,27 @@ export class BarkoderViewIOS extends View {
|
|
|
714
741
|
case BarkoderConstants.DecoderType.DatabarLimited:
|
|
715
742
|
this.bkdView.config.decoderConfig.databarLimited.enabled = true;
|
|
716
743
|
break;
|
|
744
|
+
case BarkoderConstants.DecoderType.PostalIMB:
|
|
745
|
+
this.bkdView.config.decoderConfig.postalIMB.enabled = true;
|
|
746
|
+
break;
|
|
747
|
+
case BarkoderConstants.DecoderType.Planet:
|
|
748
|
+
this.bkdView.config.decoderConfig.planet.enabled = true;
|
|
749
|
+
break;
|
|
750
|
+
case BarkoderConstants.DecoderType.Postnet:
|
|
751
|
+
this.bkdView.config.decoderConfig.postnet.enabled = true;
|
|
752
|
+
break;
|
|
753
|
+
case BarkoderConstants.DecoderType.AustralianPost:
|
|
754
|
+
this.bkdView.config.decoderConfig.australianPost.enabled = true;
|
|
755
|
+
break;
|
|
756
|
+
case BarkoderConstants.DecoderType.RoyalMail:
|
|
757
|
+
this.bkdView.config.decoderConfig.royalMail.enabled = true;
|
|
758
|
+
break;
|
|
759
|
+
case BarkoderConstants.DecoderType.KIX:
|
|
760
|
+
this.bkdView.config.decoderConfig.kix.enabled = true;
|
|
761
|
+
break;
|
|
762
|
+
case BarkoderConstants.DecoderType.JapanesePost:
|
|
763
|
+
this.bkdView.config.decoderConfig.japanesePost.enabled = true;
|
|
764
|
+
break;
|
|
717
765
|
default:
|
|
718
766
|
break;
|
|
719
767
|
}
|
package/package.json
CHANGED
|
Binary file
|
|
@@ -8,32 +8,32 @@
|
|
|
8
8
|
<key>BinaryPath</key>
|
|
9
9
|
<string>Barkoder.framework/Barkoder</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>Barkoder.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>Barkoder.framework/Barkoder</string>
|
|
24
27
|
<key>LibraryIdentifier</key>
|
|
25
|
-
<string>ios-
|
|
28
|
+
<string>ios-arm64</string>
|
|
26
29
|
<key>LibraryPath</key>
|
|
27
30
|
<string>Barkoder.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
|
|
@@ -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
|
|
@@ -71,12 +71,12 @@
|
|
|
71
71
|
}
|
|
72
72
|
],
|
|
73
73
|
"userDefinedMetadata" : {
|
|
74
|
-
"com.github.apple.coremltools.source" : "torch==2.3.1+cu121",
|
|
75
|
-
"com.github.apple.coremltools.source_dialect" : "TorchScript",
|
|
76
74
|
"stride" : "32",
|
|
75
|
+
"com.github.apple.coremltools.version" : "7.2",
|
|
76
|
+
"com.github.apple.coremltools.source" : "torch==2.3.1+cu121",
|
|
77
77
|
"docs" : "https:\/\/docs.ultralytics.com",
|
|
78
78
|
"task" : "obb",
|
|
79
|
-
"com.github.apple.coremltools.
|
|
79
|
+
"com.github.apple.coremltools.source_dialect" : "TorchScript",
|
|
80
80
|
"imgsz" : "[256, 384]",
|
|
81
81
|
"date" : "2024-08-01T09:34:45.251931",
|
|
82
82
|
"batch" : "1",
|
|
Binary file
|
|
@@ -74,9 +74,9 @@
|
|
|
74
74
|
"stride" : "32",
|
|
75
75
|
"com.github.apple.coremltools.version" : "7.2",
|
|
76
76
|
"com.github.apple.coremltools.source" : "torch==2.3.1+cu121",
|
|
77
|
-
"com.github.apple.coremltools.source_dialect" : "TorchScript",
|
|
78
|
-
"task" : "obb",
|
|
79
77
|
"docs" : "https:\/\/docs.ultralytics.com",
|
|
78
|
+
"task" : "obb",
|
|
79
|
+
"com.github.apple.coremltools.source_dialect" : "TorchScript",
|
|
80
80
|
"imgsz" : "[384, 512]",
|
|
81
81
|
"date" : "2024-08-01T17:19:19.267647",
|
|
82
82
|
"batch" : "1",
|
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
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<dict>
|
|
7
7
|
<key>.DS_Store</key>
|
|
8
8
|
<data>
|
|
9
|
-
|
|
9
|
+
P6qZVTGE53h9Lxb+J/uyXkv1bqY=
|
|
10
10
|
</data>
|
|
11
11
|
<key>Headers/Barkoder.h</key>
|
|
12
12
|
<data>
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
</data>
|
|
15
15
|
<key>Headers/iBarkoder.h</key>
|
|
16
16
|
<data>
|
|
17
|
-
|
|
17
|
+
SZhNgFi7RtRZqv2nkN1gkSWaMi0=
|
|
18
18
|
</data>
|
|
19
19
|
<key>Info.plist</key>
|
|
20
20
|
<data>
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
</data>
|
|
35
35
|
<key>float16_384x256.mlmodelc/coremldata.bin</key>
|
|
36
36
|
<data>
|
|
37
|
-
|
|
37
|
+
4acfvjtKB+QXIFN1DCZFn4BckhM=
|
|
38
38
|
</data>
|
|
39
39
|
<key>float16_384x256.mlmodelc/metadata.json</key>
|
|
40
40
|
<data>
|
|
41
|
-
|
|
41
|
+
an14sqZLrrHp3mJLYRO7VdINw0w=
|
|
42
42
|
</data>
|
|
43
43
|
<key>float16_384x256.mlmodelc/model.mil</key>
|
|
44
44
|
<data>
|
|
@@ -54,11 +54,11 @@
|
|
|
54
54
|
</data>
|
|
55
55
|
<key>float16_512x384.mlmodelc/coremldata.bin</key>
|
|
56
56
|
<data>
|
|
57
|
-
|
|
57
|
+
PpHz5TTc8QHl8SBy3+sE1KII3Mc=
|
|
58
58
|
</data>
|
|
59
59
|
<key>float16_512x384.mlmodelc/metadata.json</key>
|
|
60
60
|
<data>
|
|
61
|
-
|
|
61
|
+
lANcsTOGAN+Avg4RsZuIUnf0YVw=
|
|
62
62
|
</data>
|
|
63
63
|
<key>float16_512x384.mlmodelc/model.mil</key>
|
|
64
64
|
<data>
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
<dict>
|
|
91
91
|
<key>hash2</key>
|
|
92
92
|
<data>
|
|
93
|
-
|
|
93
|
+
y6miqUcIdmuwFuj3r3k8dHXBYmyuhBrLViEyYWPtuPU=
|
|
94
94
|
</data>
|
|
95
95
|
</dict>
|
|
96
96
|
<key>Modules/module.modulemap</key>
|
|
@@ -118,14 +118,14 @@
|
|
|
118
118
|
<dict>
|
|
119
119
|
<key>hash2</key>
|
|
120
120
|
<data>
|
|
121
|
-
|
|
121
|
+
Khn5zu+up/5FpEHcufxmZI4MDDb7NMtGijeqPiFrgyE=
|
|
122
122
|
</data>
|
|
123
123
|
</dict>
|
|
124
124
|
<key>float16_384x256.mlmodelc/metadata.json</key>
|
|
125
125
|
<dict>
|
|
126
126
|
<key>hash2</key>
|
|
127
127
|
<data>
|
|
128
|
-
|
|
128
|
+
VdQKGrmKPXUIeh9lWgIWK5mNsDTgi5MdZ3Kd4490VyQ=
|
|
129
129
|
</data>
|
|
130
130
|
</dict>
|
|
131
131
|
<key>float16_384x256.mlmodelc/model.mil</key>
|
|
@@ -153,14 +153,14 @@
|
|
|
153
153
|
<dict>
|
|
154
154
|
<key>hash2</key>
|
|
155
155
|
<data>
|
|
156
|
-
|
|
156
|
+
ytxs9CfML0oDNZTtE4loTlHPKhli+oPL97vnLH8Nhmc=
|
|
157
157
|
</data>
|
|
158
158
|
</dict>
|
|
159
159
|
<key>float16_512x384.mlmodelc/metadata.json</key>
|
|
160
160
|
<dict>
|
|
161
161
|
<key>hash2</key>
|
|
162
162
|
<data>
|
|
163
|
-
|
|
163
|
+
OmPT2ZIzT4d3j19XzODQyt9+n8Qr5q2tKxLdEVJ0w18=
|
|
164
164
|
</data>
|
|
165
165
|
</dict>
|
|
166
166
|
<key>float16_512x384.mlmodelc/model.mil</key>
|
|
Binary file
|
|
@@ -71,14 +71,14 @@
|
|
|
71
71
|
}
|
|
72
72
|
],
|
|
73
73
|
"userDefinedMetadata" : {
|
|
74
|
+
"com.github.apple.coremltools.source" : "torch==2.3.1+cu121",
|
|
74
75
|
"stride" : "32",
|
|
75
76
|
"com.github.apple.coremltools.version" : "7.2",
|
|
76
|
-
"com.github.apple.coremltools.source_dialect" : "TorchScript",
|
|
77
77
|
"docs" : "https:\/\/docs.ultralytics.com",
|
|
78
78
|
"task" : "obb",
|
|
79
|
-
"com.github.apple.coremltools.
|
|
80
|
-
"date" : "2024-08-01T09:34:45.251931",
|
|
79
|
+
"com.github.apple.coremltools.source_dialect" : "TorchScript",
|
|
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
|
},
|
|
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",
|
|
75
|
+
"stride" : "32",
|
|
76
76
|
"com.github.apple.coremltools.source" : "torch==2.3.1+cu121",
|
|
77
|
+
"docs" : "https:\/\/docs.ultralytics.com",
|
|
77
78
|
"com.github.apple.coremltools.source_dialect" : "TorchScript",
|
|
78
79
|
"task" : "obb",
|
|
79
|
-
"docs" : "https:\/\/docs.ultralytics.com",
|
|
80
|
-
"imgsz" : "[384, 512]",
|
|
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
|
},
|
|
Binary file
|