barkoder-nativescript 1.5.6 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/barkoder-nativescript.android.ts +93 -4
- package/barkoder-nativescript.common.ts +14 -3
- package/barkoder-nativescript.ios.ts +86 -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/analytics/coremldata.bin +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 +88 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_384x256.mlmodelc/model.mil +753 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_384x256.mlmodelc/weights/weight.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_512x384.mlmodelc/analytics/coremldata.bin +0 -0
- 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 +88 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_512x384.mlmodelc/model.mil +753 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/float16_512x384.mlmodelc/weights/weight.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/mrz.traineddata +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64/Barkoder.framework/mrzfast.traineddata +0 -0
- 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/analytics/coremldata.bin +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 +88 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_384x256.mlmodelc/model.mil +753 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_384x256.mlmodelc/weights/weight.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_512x384.mlmodelc/analytics/coremldata.bin +0 -0
- 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 +88 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_512x384.mlmodelc/model.mil +753 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/float16_512x384.mlmodelc/weights/weight.bin +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/mrz.traineddata +0 -0
- package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/mrzfast.traineddata +0 -0
- 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 +904 -126
- 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 +904 -126
- 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 +904 -126
- 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
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/Barkoder
CHANGED
|
Binary file
|
|
@@ -63,7 +63,10 @@ typedef enum {
|
|
|
63
63
|
Code32,
|
|
64
64
|
Telepen,
|
|
65
65
|
Dotcode,
|
|
66
|
-
IDDocument
|
|
66
|
+
IDDocument,
|
|
67
|
+
Databar14,
|
|
68
|
+
DatabarLimited,
|
|
69
|
+
DatabarExpanded
|
|
67
70
|
} DecoderType;
|
|
68
71
|
|
|
69
72
|
|
|
@@ -350,6 +353,27 @@ typedef enum {
|
|
|
350
353
|
- (id)initWithDecoderType:(DecoderType)decoderType;
|
|
351
354
|
@end
|
|
352
355
|
|
|
356
|
+
//==========================================================================
|
|
357
|
+
// Databar 14 Config
|
|
358
|
+
//==========================================================================
|
|
359
|
+
@interface Databar14Config : SpecificConfig
|
|
360
|
+
- (id)initWithDecoderType:(DecoderType)decoderType;
|
|
361
|
+
@end
|
|
362
|
+
|
|
363
|
+
//==========================================================================
|
|
364
|
+
// Databar Limited Config
|
|
365
|
+
//==========================================================================
|
|
366
|
+
@interface DatabarLimitedConfig : SpecificConfig
|
|
367
|
+
- (id)initWithDecoderType:(DecoderType)decoderType;
|
|
368
|
+
@end
|
|
369
|
+
|
|
370
|
+
//==========================================================================
|
|
371
|
+
// Databar Expanded Config
|
|
372
|
+
//==========================================================================
|
|
373
|
+
@interface DatabarExpandedConfig : SpecificConfig
|
|
374
|
+
- (id)initWithDecoderType:(DecoderType)decoderType;
|
|
375
|
+
@end
|
|
376
|
+
|
|
353
377
|
//==========================================================================
|
|
354
378
|
// ID Document Config
|
|
355
379
|
//==========================================================================
|
|
@@ -426,6 +450,9 @@ typedef enum {
|
|
|
426
450
|
@property (nonatomic, readonly, retain) PDF417Config* _Nonnull PDF417;
|
|
427
451
|
@property (nonatomic, readonly, retain) PDF417MicroConfig* _Nonnull PDF417Micro;
|
|
428
452
|
@property (nonatomic, readonly, retain) DatamatrixConfig* _Nonnull datamatrix;
|
|
453
|
+
@property (nonatomic, readonly, retain) Databar14Config* _Nonnull databar14;
|
|
454
|
+
@property (nonatomic, readonly, retain) DatabarLimitedConfig* _Nonnull databarLimited;
|
|
455
|
+
@property (nonatomic, readonly, retain) DatabarExpandedConfig* _Nonnull databarExpanded;
|
|
429
456
|
|
|
430
457
|
@property (nonatomic, readonly, retain) IDDocumentConfig* _Nonnull idDocument;
|
|
431
458
|
|
|
@@ -437,6 +464,7 @@ typedef enum {
|
|
|
437
464
|
@property (nonatomic, readwrite) bool upcEanDeblur;
|
|
438
465
|
@property (nonatomic, readwrite) bool enableMisshaped1D;
|
|
439
466
|
@property (nonatomic, readwrite) bool enableVINRestrictions;
|
|
467
|
+
@property (nonatomic, readwrite) int enableComposite;
|
|
440
468
|
|
|
441
469
|
|
|
442
470
|
-(void)setEnabledDecoders:(NSArray* _Nonnull)decoders;
|
|
@@ -454,7 +482,7 @@ typedef enum {
|
|
|
454
482
|
@end
|
|
455
483
|
|
|
456
484
|
//==========================================================================
|
|
457
|
-
//
|
|
485
|
+
// BKDecoderResult
|
|
458
486
|
//==========================================================================
|
|
459
487
|
typedef enum {
|
|
460
488
|
BT_Aztec = 0,
|
|
@@ -488,7 +516,10 @@ typedef enum {
|
|
|
488
516
|
BT_ID_Document,
|
|
489
517
|
BT_ID_Picture,
|
|
490
518
|
BT_ID_MRZ2,
|
|
491
|
-
BT_ID_MRZ3
|
|
519
|
+
BT_ID_MRZ3,
|
|
520
|
+
BT_Databar14,
|
|
521
|
+
BT_DatabarLimited,
|
|
522
|
+
BT_DatabarExpanded
|
|
492
523
|
|
|
493
524
|
} BarcodeType;
|
|
494
525
|
|
|
@@ -523,7 +554,7 @@ UIImage
|
|
|
523
554
|
|
|
524
555
|
@end
|
|
525
556
|
|
|
526
|
-
@interface
|
|
557
|
+
@interface BKDecoderResult : NSObject {
|
|
527
558
|
CGPoint location[4];
|
|
528
559
|
}
|
|
529
560
|
|
|
@@ -547,6 +578,7 @@ UIImage
|
|
|
547
578
|
|
|
548
579
|
|
|
549
580
|
@end
|
|
581
|
+
@compatibility_alias DecoderResult BKDecoderResult;
|
|
550
582
|
|
|
551
583
|
|
|
552
584
|
//==========================================================================
|
|
@@ -557,14 +589,14 @@ UIImage
|
|
|
557
589
|
+(bool) IsStringVINCompliant: (NSString *) VINString checkLevel: (int) checkLevel;
|
|
558
590
|
+(bool) IsDecoderBusy;
|
|
559
591
|
|
|
560
|
-
+(NSArray<
|
|
561
|
-
+(NSArray<
|
|
592
|
+
+(NSArray<BKDecoderResult*>*)decodeImage:(Config*)config imageRef:(void*)imageRef imageWidth:(int)width imageHeight:(int) height;
|
|
593
|
+
+(NSArray<BKDecoderResult*>*)decodeImage:(Config*)config imageRef:(void*)imageRef imageWidth:(int)width imageHeight:(int) height colorFormat: (ColorFormat) colorFormat;
|
|
562
594
|
|
|
563
|
-
+(NSArray<
|
|
564
|
-
+(NSArray<
|
|
595
|
+
+(NSArray<BKDecoderResult*>*)decodeImageInMemory:(Config*)config imagePixels:(uint8_t*)pixels imageWidth:(int)width imageHeight:(int) height;
|
|
596
|
+
+(NSArray<BKDecoderResult*>*)decodeImageInMemory:(Config*)config imagePixels:(uint8_t*)pixels imageWidth:(int)width imageHeight:(int) height colorFormat: (ColorFormat) colorFormat;
|
|
565
597
|
|
|
566
|
-
+(int) decodeImageAsync:(Config*)config image: (Image*) image callback:(void (^)(NSArray<
|
|
567
|
-
+(int) decodeSampleBufferAsync:(Config*)config sampleBuffer:(CMSampleBufferRef)sampleBuffer callback:(void (^)(NSArray<
|
|
598
|
+
+(int) decodeImageAsync:(Config*)config image: (Image*) image callback:(void (^)(NSArray<BKDecoderResult*>*, Image*)) callback;
|
|
599
|
+
+(int) decodeSampleBufferAsync:(Config*)config sampleBuffer:(CMSampleBufferRef)sampleBuffer callback:(void (^)(NSArray<BKDecoderResult*>*, CMSampleBufferRef)) callback;
|
|
568
600
|
+ (unsigned char*)CGImageToPixels:(CGImageRef) image;
|
|
569
601
|
+ (CGImageRef) CGImageFromPixels:(const char*)pixels width:(int)width height:(int)height;
|
|
570
602
|
#if TARGET_OS_IOS
|
package/platforms/ios/Barkoder.xcframework/ios-arm64_x86_64-simulator/Barkoder.framework/Info.plist
CHANGED
|
Binary file
|
|
@@ -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
|
|
Binary file
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"shortDescription" : "Ultralytics YOLOv8n-obb model trained on dataset_id.yaml",
|
|
4
|
+
"metadataOutputVersion" : "3.0",
|
|
5
|
+
"outputSchema" : [
|
|
6
|
+
{
|
|
7
|
+
"hasShapeFlexibility" : "0",
|
|
8
|
+
"isOptional" : "0",
|
|
9
|
+
"dataType" : "Float32",
|
|
10
|
+
"formattedType" : "MultiArray (Float32 1 × 13 × 2016)",
|
|
11
|
+
"shortDescription" : "",
|
|
12
|
+
"shape" : "[1, 13, 2016]",
|
|
13
|
+
"name" : "var_1031",
|
|
14
|
+
"type" : "MultiArray"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"version" : "8.2.34",
|
|
18
|
+
"modelParameters" : [
|
|
19
|
+
|
|
20
|
+
],
|
|
21
|
+
"author" : "Ultralytics",
|
|
22
|
+
"specificationVersion" : 6,
|
|
23
|
+
"storagePrecision" : "Float16",
|
|
24
|
+
"license" : "AGPL-3.0 License (https:\/\/ultralytics.com\/license)",
|
|
25
|
+
"mlProgramOperationTypeHistogram" : {
|
|
26
|
+
"Concat" : 21,
|
|
27
|
+
"Silu" : 63,
|
|
28
|
+
"Sin" : 1,
|
|
29
|
+
"Sub" : 3,
|
|
30
|
+
"Transpose" : 1,
|
|
31
|
+
"Cos" : 1,
|
|
32
|
+
"UpsampleNearestNeighbor" : 2,
|
|
33
|
+
"Softmax" : 1,
|
|
34
|
+
"Mul" : 8,
|
|
35
|
+
"Cast" : 2,
|
|
36
|
+
"Sigmoid" : 2,
|
|
37
|
+
"Add" : 9,
|
|
38
|
+
"Reshape" : 8,
|
|
39
|
+
"MaxPool" : 3,
|
|
40
|
+
"Split" : 11,
|
|
41
|
+
"Conv" : 73
|
|
42
|
+
},
|
|
43
|
+
"computePrecision" : "Mixed (Float16, Float32, Int32)",
|
|
44
|
+
"stateSchema" : [
|
|
45
|
+
|
|
46
|
+
],
|
|
47
|
+
"isUpdatable" : "0",
|
|
48
|
+
"availability" : {
|
|
49
|
+
"macOS" : "12.0",
|
|
50
|
+
"tvOS" : "15.0",
|
|
51
|
+
"visionOS" : "1.0",
|
|
52
|
+
"watchOS" : "8.0",
|
|
53
|
+
"iOS" : "15.0",
|
|
54
|
+
"macCatalyst" : "15.0"
|
|
55
|
+
},
|
|
56
|
+
"modelType" : {
|
|
57
|
+
"name" : "MLModelType_mlProgram"
|
|
58
|
+
},
|
|
59
|
+
"inputSchema" : [
|
|
60
|
+
{
|
|
61
|
+
"height" : "256",
|
|
62
|
+
"colorspace" : "RGB",
|
|
63
|
+
"isOptional" : "0",
|
|
64
|
+
"width" : "384",
|
|
65
|
+
"isColor" : "1",
|
|
66
|
+
"formattedType" : "Image (Color 384 × 256)",
|
|
67
|
+
"hasSizeFlexibility" : "0",
|
|
68
|
+
"type" : "Image",
|
|
69
|
+
"shortDescription" : "",
|
|
70
|
+
"name" : "image"
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
"userDefinedMetadata" : {
|
|
74
|
+
"com.github.apple.coremltools.version" : "7.2",
|
|
75
|
+
"com.github.apple.coremltools.source" : "torch==2.3.1+cu121",
|
|
76
|
+
"com.github.apple.coremltools.source_dialect" : "TorchScript",
|
|
77
|
+
"docs" : "https:\/\/docs.ultralytics.com",
|
|
78
|
+
"stride" : "32",
|
|
79
|
+
"task" : "obb",
|
|
80
|
+
"imgsz" : "[256, 384]",
|
|
81
|
+
"date" : "2024-08-01T09:34:45.251931",
|
|
82
|
+
"batch" : "1",
|
|
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
|
+
},
|
|
85
|
+
"generatedClassName" : "float16_384x256",
|
|
86
|
+
"method" : "predict"
|
|
87
|
+
}
|
|
88
|
+
]
|