@workglow/ai 0.2.17 → 0.2.18
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/dist/browser.js +19 -86
- package/dist/browser.js.map +4 -4
- package/dist/bun.js +19 -86
- package/dist/bun.js.map +4 -4
- package/dist/node.js +19 -86
- package/dist/node.js.map +4 -4
- package/dist/task/BackgroundRemovalTask.d.ts +3 -83
- package/dist/task/BackgroundRemovalTask.d.ts.map +1 -1
- package/dist/task/FaceDetectorTask.d.ts +3 -83
- package/dist/task/FaceDetectorTask.d.ts.map +1 -1
- package/dist/task/FaceLandmarkerTask.d.ts +3 -83
- package/dist/task/FaceLandmarkerTask.d.ts.map +1 -1
- package/dist/task/GestureRecognizerTask.d.ts +3 -83
- package/dist/task/GestureRecognizerTask.d.ts.map +1 -1
- package/dist/task/HandLandmarkerTask.d.ts +3 -83
- package/dist/task/HandLandmarkerTask.d.ts.map +1 -1
- package/dist/task/ImageClassificationTask.d.ts +3 -83
- package/dist/task/ImageClassificationTask.d.ts.map +1 -1
- package/dist/task/ImageEmbeddingTask.d.ts +6 -166
- package/dist/task/ImageEmbeddingTask.d.ts.map +1 -1
- package/dist/task/ImageSegmentationTask.d.ts +3 -83
- package/dist/task/ImageSegmentationTask.d.ts.map +1 -1
- package/dist/task/ImageToTextTask.d.ts +3 -83
- package/dist/task/ImageToTextTask.d.ts.map +1 -1
- package/dist/task/ObjectDetectionTask.d.ts +3 -83
- package/dist/task/ObjectDetectionTask.d.ts.map +1 -1
- package/dist/task/PoseLandmarkerTask.d.ts +3 -83
- package/dist/task/PoseLandmarkerTask.d.ts.map +1 -1
- package/dist/task/base/AiTaskSchemas.d.ts +4 -84
- package/dist/task/base/AiTaskSchemas.d.ts.map +1 -1
- package/dist/task/base/AiVisionTask.d.ts +2 -5
- package/dist/task/base/AiVisionTask.d.ts.map +1 -1
- package/package.json +11 -11
|
@@ -11,91 +11,11 @@ export declare const BackgroundRemovalInputSchema: {
|
|
|
11
11
|
readonly type: "object";
|
|
12
12
|
readonly properties: {
|
|
13
13
|
readonly image: {
|
|
14
|
-
readonly
|
|
15
|
-
|
|
16
|
-
readonly title: "Image Data";
|
|
17
|
-
readonly description: "Image as data-uri";
|
|
18
|
-
readonly format: "image:data-uri";
|
|
19
|
-
}, {
|
|
20
|
-
readonly type: "object";
|
|
21
|
-
readonly additionalProperties: false;
|
|
22
|
-
readonly properties: {
|
|
23
|
-
readonly data: {
|
|
24
|
-
readonly oneOf: readonly [{
|
|
25
|
-
readonly type: "object";
|
|
26
|
-
readonly format: "image:ImageBitmap";
|
|
27
|
-
readonly title: "ImageBitmap";
|
|
28
|
-
}, {
|
|
29
|
-
readonly type: "object";
|
|
30
|
-
readonly format: "image:OffscreenCanvas";
|
|
31
|
-
readonly title: "OffscreenCanvas";
|
|
32
|
-
}, {
|
|
33
|
-
readonly type: "object";
|
|
34
|
-
readonly format: "image:VideoFrame";
|
|
35
|
-
readonly title: "VideoFrame";
|
|
36
|
-
}, {
|
|
37
|
-
readonly type: "object";
|
|
38
|
-
readonly properties: {
|
|
39
|
-
readonly data: {
|
|
40
|
-
readonly type: "array";
|
|
41
|
-
readonly items: {
|
|
42
|
-
readonly type: "number";
|
|
43
|
-
readonly format: "Uint8Clamped";
|
|
44
|
-
};
|
|
45
|
-
readonly format: "Uint8ClampedArray";
|
|
46
|
-
readonly title: "Data";
|
|
47
|
-
readonly description: "Data of the image";
|
|
48
|
-
};
|
|
49
|
-
readonly width: {
|
|
50
|
-
readonly type: "number";
|
|
51
|
-
readonly title: "Width";
|
|
52
|
-
readonly description: "Width of the image";
|
|
53
|
-
};
|
|
54
|
-
readonly height: {
|
|
55
|
-
readonly type: "number";
|
|
56
|
-
readonly title: "Height";
|
|
57
|
-
readonly description: "Height of the image";
|
|
58
|
-
};
|
|
59
|
-
readonly channels: {
|
|
60
|
-
readonly type: "number";
|
|
61
|
-
readonly title: "Channels";
|
|
62
|
-
readonly description: "Channels of the image";
|
|
63
|
-
};
|
|
64
|
-
readonly rawChannels: {
|
|
65
|
-
readonly type: "number";
|
|
66
|
-
readonly title: "Raw Channels";
|
|
67
|
-
readonly description: "Raw channels of the image";
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
readonly additionalProperties: false;
|
|
71
|
-
readonly required: readonly ["data", "width", "height", "channels"];
|
|
72
|
-
readonly format: "image:ImageBinary";
|
|
73
|
-
readonly title: "ImageBinary";
|
|
74
|
-
}];
|
|
75
|
-
};
|
|
76
|
-
readonly width: {
|
|
77
|
-
readonly type: "number";
|
|
78
|
-
readonly title: "Width";
|
|
79
|
-
readonly description: "Width of the image";
|
|
80
|
-
};
|
|
81
|
-
readonly height: {
|
|
82
|
-
readonly type: "number";
|
|
83
|
-
readonly title: "Height";
|
|
84
|
-
readonly description: "Height of the image";
|
|
85
|
-
};
|
|
86
|
-
readonly channels: {
|
|
87
|
-
readonly type: "number";
|
|
88
|
-
readonly title: "Channels";
|
|
89
|
-
readonly description: "Channels of the image";
|
|
90
|
-
readonly minimum: 1;
|
|
91
|
-
readonly maximum: 4;
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
|
-
readonly required: readonly ["data", "width", "height", "channels"];
|
|
95
|
-
}];
|
|
14
|
+
readonly type: "object";
|
|
15
|
+
readonly properties: {};
|
|
96
16
|
readonly title: "Image";
|
|
17
|
+
readonly description: "Image as data URI, Blob, ImageBitmap, ImageBinary, or GpuImage \u2014 hydrated to GpuImage by the runner";
|
|
97
18
|
readonly format: "image";
|
|
98
|
-
readonly description: "Image as URL or base64-encoded data";
|
|
99
19
|
};
|
|
100
20
|
readonly model: {
|
|
101
21
|
readonly oneOf: readonly [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BackgroundRemovalTask.d.ts","sourceRoot":"","sources":["../../src/task/BackgroundRemovalTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,cAAc,EAAY,MAAM,sBAAsB,CAAC;AAChE,OAAO,KA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pD,OAAuB,KAAK,SAAwB;IACpD,OAAuB,WAAW,SACiD;IACnF,OAAuB,WAAW,IAAI,cAAc,CAEnD;IACD,OAAuB,YAAY,IAAI,cAAc,CAEpD;CACF;AAED;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,UACrB,0BAA0B,WACxB,2BAA2B;;EAGrC,CAAC;AAEF,OAAO,QAAQ,sBAAsB,CAAC,CAAC;IACrC,UAAU,QAAQ;QAChB,iBAAiB,EAAE,cAAc,CAC/B,0BAA0B,EAC1B,2BAA2B,EAC3B,2BAA2B,CAC5B,CAAC;KACH;CACF"}
|
|
@@ -11,91 +11,11 @@ export declare const FaceDetectorInputSchema: {
|
|
|
11
11
|
readonly type: "object";
|
|
12
12
|
readonly properties: {
|
|
13
13
|
readonly image: {
|
|
14
|
-
readonly
|
|
15
|
-
|
|
16
|
-
readonly title: "Image Data";
|
|
17
|
-
readonly description: "Image as data-uri";
|
|
18
|
-
readonly format: "image:data-uri";
|
|
19
|
-
}, {
|
|
20
|
-
readonly type: "object";
|
|
21
|
-
readonly additionalProperties: false;
|
|
22
|
-
readonly properties: {
|
|
23
|
-
readonly data: {
|
|
24
|
-
readonly oneOf: readonly [{
|
|
25
|
-
readonly type: "object";
|
|
26
|
-
readonly format: "image:ImageBitmap";
|
|
27
|
-
readonly title: "ImageBitmap";
|
|
28
|
-
}, {
|
|
29
|
-
readonly type: "object";
|
|
30
|
-
readonly format: "image:OffscreenCanvas";
|
|
31
|
-
readonly title: "OffscreenCanvas";
|
|
32
|
-
}, {
|
|
33
|
-
readonly type: "object";
|
|
34
|
-
readonly format: "image:VideoFrame";
|
|
35
|
-
readonly title: "VideoFrame";
|
|
36
|
-
}, {
|
|
37
|
-
readonly type: "object";
|
|
38
|
-
readonly properties: {
|
|
39
|
-
readonly data: {
|
|
40
|
-
readonly type: "array";
|
|
41
|
-
readonly items: {
|
|
42
|
-
readonly type: "number";
|
|
43
|
-
readonly format: "Uint8Clamped";
|
|
44
|
-
};
|
|
45
|
-
readonly format: "Uint8ClampedArray";
|
|
46
|
-
readonly title: "Data";
|
|
47
|
-
readonly description: "Data of the image";
|
|
48
|
-
};
|
|
49
|
-
readonly width: {
|
|
50
|
-
readonly type: "number";
|
|
51
|
-
readonly title: "Width";
|
|
52
|
-
readonly description: "Width of the image";
|
|
53
|
-
};
|
|
54
|
-
readonly height: {
|
|
55
|
-
readonly type: "number";
|
|
56
|
-
readonly title: "Height";
|
|
57
|
-
readonly description: "Height of the image";
|
|
58
|
-
};
|
|
59
|
-
readonly channels: {
|
|
60
|
-
readonly type: "number";
|
|
61
|
-
readonly title: "Channels";
|
|
62
|
-
readonly description: "Channels of the image";
|
|
63
|
-
};
|
|
64
|
-
readonly rawChannels: {
|
|
65
|
-
readonly type: "number";
|
|
66
|
-
readonly title: "Raw Channels";
|
|
67
|
-
readonly description: "Raw channels of the image";
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
readonly additionalProperties: false;
|
|
71
|
-
readonly required: readonly ["data", "width", "height", "channels"];
|
|
72
|
-
readonly format: "image:ImageBinary";
|
|
73
|
-
readonly title: "ImageBinary";
|
|
74
|
-
}];
|
|
75
|
-
};
|
|
76
|
-
readonly width: {
|
|
77
|
-
readonly type: "number";
|
|
78
|
-
readonly title: "Width";
|
|
79
|
-
readonly description: "Width of the image";
|
|
80
|
-
};
|
|
81
|
-
readonly height: {
|
|
82
|
-
readonly type: "number";
|
|
83
|
-
readonly title: "Height";
|
|
84
|
-
readonly description: "Height of the image";
|
|
85
|
-
};
|
|
86
|
-
readonly channels: {
|
|
87
|
-
readonly type: "number";
|
|
88
|
-
readonly title: "Channels";
|
|
89
|
-
readonly description: "Channels of the image";
|
|
90
|
-
readonly minimum: 1;
|
|
91
|
-
readonly maximum: 4;
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
|
-
readonly required: readonly ["data", "width", "height", "channels"];
|
|
95
|
-
}];
|
|
14
|
+
readonly type: "object";
|
|
15
|
+
readonly properties: {};
|
|
96
16
|
readonly title: "Image";
|
|
17
|
+
readonly description: "Image as data URI, Blob, ImageBitmap, ImageBinary, or GpuImage \u2014 hydrated to GpuImage by the runner";
|
|
97
18
|
readonly format: "image";
|
|
98
|
-
readonly description: "Image as URL or base64-encoded data";
|
|
99
19
|
};
|
|
100
20
|
readonly model: {
|
|
101
21
|
readonly oneOf: readonly [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FaceDetectorTask.d.ts","sourceRoot":"","sources":["../../src/task/FaceDetectorTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,cAAc,EAAY,MAAM,sBAAsB,CAAC;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAEnE,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAoFnD,eAAO,MAAM,uBAAuB;mBAC5B,QAAQ;;iBAEZ,KAAK
|
|
1
|
+
{"version":3,"file":"FaceDetectorTask.d.ts","sourceRoot":"","sources":["../../src/task/FaceDetectorTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,cAAc,EAAY,MAAM,sBAAsB,CAAC;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAEnE,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAoFnD,eAAO,MAAM,uBAAuB;mBAC5B,QAAQ;;iBAEZ,KAAK;;;;;;;iBACL,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBACL,sBAAsB;qBACpB,IAAI,EAAE,QAAQ;qBACd,OAAO,EAAE,CAAC;qBACV,OAAO,EAAE,CAAC;qBACV,OAAO,EAAE,GAA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AAW;qCAClB,WAAW,EAAE,6EAA6E;;iCAE5F,KAAK;qCACH,IAAI,EAAE,QAAQ;qCACd,KAAK,EAAE,kBAAkB;qCACzB,WAAW,EAAE,yCAAyC;;;iDAG/C,KAAK,EAAE,WAAW,EAAE,OAAO;;;;+BAsCxB,OAAO;;6BAAW,IAAI,EAAE,OAAO;6BAAE,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAEzC,iBAAiB;kCACX,sEAAsE;;;;;CAKtD,CAAC;AAEpC,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAC/E,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC;AACjF,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,qBAAqB,CAAC,CAAC;AAEvE;;;GAGG;AACH,qBAAa,gBAAiB,SAAQ,YAAY,CAChD,qBAAqB,EACrB,sBAAsB,EACtB,sBAAsB,CACvB;IACC,OAAuB,IAAI,SAAsB;IACjD,OAAuB,QAAQ,SAAqB;IACpD,OAAuB,KAAK,SAAmB;IAC/C,OAAuB,WAAW,SACqE;IACvG,OAAuB,WAAW,IAAI,cAAc,CAEnD;IACD,OAAuB,YAAY,IAAI,cAAc,CAEpD;CACF;AAED;;;;;GAKG;AACH,eAAO,MAAM,YAAY,UAAW,qBAAqB,WAAW,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEzF,CAAC;AAEF,OAAO,QAAQ,sBAAsB,CAAC,CAAC;IACrC,UAAU,QAAQ;QAChB,YAAY,EAAE,cAAc,CAC1B,qBAAqB,EACrB,sBAAsB,EACtB,sBAAsB,CACvB,CAAC;KACH;CACF"}
|
|
@@ -11,91 +11,11 @@ export declare const FaceLandmarkerInputSchema: {
|
|
|
11
11
|
readonly type: "object";
|
|
12
12
|
readonly properties: {
|
|
13
13
|
readonly image: {
|
|
14
|
-
readonly
|
|
15
|
-
|
|
16
|
-
readonly title: "Image Data";
|
|
17
|
-
readonly description: "Image as data-uri";
|
|
18
|
-
readonly format: "image:data-uri";
|
|
19
|
-
}, {
|
|
20
|
-
readonly type: "object";
|
|
21
|
-
readonly additionalProperties: false;
|
|
22
|
-
readonly properties: {
|
|
23
|
-
readonly data: {
|
|
24
|
-
readonly oneOf: readonly [{
|
|
25
|
-
readonly type: "object";
|
|
26
|
-
readonly format: "image:ImageBitmap";
|
|
27
|
-
readonly title: "ImageBitmap";
|
|
28
|
-
}, {
|
|
29
|
-
readonly type: "object";
|
|
30
|
-
readonly format: "image:OffscreenCanvas";
|
|
31
|
-
readonly title: "OffscreenCanvas";
|
|
32
|
-
}, {
|
|
33
|
-
readonly type: "object";
|
|
34
|
-
readonly format: "image:VideoFrame";
|
|
35
|
-
readonly title: "VideoFrame";
|
|
36
|
-
}, {
|
|
37
|
-
readonly type: "object";
|
|
38
|
-
readonly properties: {
|
|
39
|
-
readonly data: {
|
|
40
|
-
readonly type: "array";
|
|
41
|
-
readonly items: {
|
|
42
|
-
readonly type: "number";
|
|
43
|
-
readonly format: "Uint8Clamped";
|
|
44
|
-
};
|
|
45
|
-
readonly format: "Uint8ClampedArray";
|
|
46
|
-
readonly title: "Data";
|
|
47
|
-
readonly description: "Data of the image";
|
|
48
|
-
};
|
|
49
|
-
readonly width: {
|
|
50
|
-
readonly type: "number";
|
|
51
|
-
readonly title: "Width";
|
|
52
|
-
readonly description: "Width of the image";
|
|
53
|
-
};
|
|
54
|
-
readonly height: {
|
|
55
|
-
readonly type: "number";
|
|
56
|
-
readonly title: "Height";
|
|
57
|
-
readonly description: "Height of the image";
|
|
58
|
-
};
|
|
59
|
-
readonly channels: {
|
|
60
|
-
readonly type: "number";
|
|
61
|
-
readonly title: "Channels";
|
|
62
|
-
readonly description: "Channels of the image";
|
|
63
|
-
};
|
|
64
|
-
readonly rawChannels: {
|
|
65
|
-
readonly type: "number";
|
|
66
|
-
readonly title: "Raw Channels";
|
|
67
|
-
readonly description: "Raw channels of the image";
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
readonly additionalProperties: false;
|
|
71
|
-
readonly required: readonly ["data", "width", "height", "channels"];
|
|
72
|
-
readonly format: "image:ImageBinary";
|
|
73
|
-
readonly title: "ImageBinary";
|
|
74
|
-
}];
|
|
75
|
-
};
|
|
76
|
-
readonly width: {
|
|
77
|
-
readonly type: "number";
|
|
78
|
-
readonly title: "Width";
|
|
79
|
-
readonly description: "Width of the image";
|
|
80
|
-
};
|
|
81
|
-
readonly height: {
|
|
82
|
-
readonly type: "number";
|
|
83
|
-
readonly title: "Height";
|
|
84
|
-
readonly description: "Height of the image";
|
|
85
|
-
};
|
|
86
|
-
readonly channels: {
|
|
87
|
-
readonly type: "number";
|
|
88
|
-
readonly title: "Channels";
|
|
89
|
-
readonly description: "Channels of the image";
|
|
90
|
-
readonly minimum: 1;
|
|
91
|
-
readonly maximum: 4;
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
|
-
readonly required: readonly ["data", "width", "height", "channels"];
|
|
95
|
-
}];
|
|
14
|
+
readonly type: "object";
|
|
15
|
+
readonly properties: {};
|
|
96
16
|
readonly title: "Image";
|
|
17
|
+
readonly description: "Image as data URI, Blob, ImageBitmap, ImageBinary, or GpuImage \u2014 hydrated to GpuImage by the runner";
|
|
97
18
|
readonly format: "image";
|
|
98
|
-
readonly description: "Image as URL or base64-encoded data";
|
|
99
19
|
};
|
|
100
20
|
readonly model: {
|
|
101
21
|
readonly oneOf: readonly [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FaceLandmarkerTask.d.ts","sourceRoot":"","sources":["../../src/task/FaceLandmarkerTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,cAAc,EAAY,MAAM,sBAAsB,CAAC;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,cAA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InputSchema: {
|
|
|
11
11
|
readonly type: "object";
|
|
12
12
|
readonly properties: {
|
|
13
13
|
readonly image: {
|
|
14
|
-
readonly
|
|
15
|
-
|
|
16
|
-
readonly title: "Image Data";
|
|
17
|
-
readonly description: "Image as data-uri";
|
|
18
|
-
readonly format: "image:data-uri";
|
|
19
|
-
}, {
|
|
20
|
-
readonly type: "object";
|
|
21
|
-
readonly additionalProperties: false;
|
|
22
|
-
readonly properties: {
|
|
23
|
-
readonly data: {
|
|
24
|
-
readonly oneOf: readonly [{
|
|
25
|
-
readonly type: "object";
|
|
26
|
-
readonly format: "image:ImageBitmap";
|
|
27
|
-
readonly title: "ImageBitmap";
|
|
28
|
-
}, {
|
|
29
|
-
readonly type: "object";
|
|
30
|
-
readonly format: "image:OffscreenCanvas";
|
|
31
|
-
readonly title: "OffscreenCanvas";
|
|
32
|
-
}, {
|
|
33
|
-
readonly type: "object";
|
|
34
|
-
readonly format: "image:VideoFrame";
|
|
35
|
-
readonly title: "VideoFrame";
|
|
36
|
-
}, {
|
|
37
|
-
readonly type: "object";
|
|
38
|
-
readonly properties: {
|
|
39
|
-
readonly data: {
|
|
40
|
-
readonly type: "array";
|
|
41
|
-
readonly items: {
|
|
42
|
-
readonly type: "number";
|
|
43
|
-
readonly format: "Uint8Clamped";
|
|
44
|
-
};
|
|
45
|
-
readonly format: "Uint8ClampedArray";
|
|
46
|
-
readonly title: "Data";
|
|
47
|
-
readonly description: "Data of the image";
|
|
48
|
-
};
|
|
49
|
-
readonly width: {
|
|
50
|
-
readonly type: "number";
|
|
51
|
-
readonly title: "Width";
|
|
52
|
-
readonly description: "Width of the image";
|
|
53
|
-
};
|
|
54
|
-
readonly height: {
|
|
55
|
-
readonly type: "number";
|
|
56
|
-
readonly title: "Height";
|
|
57
|
-
readonly description: "Height of the image";
|
|
58
|
-
};
|
|
59
|
-
readonly channels: {
|
|
60
|
-
readonly type: "number";
|
|
61
|
-
readonly title: "Channels";
|
|
62
|
-
readonly description: "Channels of the image";
|
|
63
|
-
};
|
|
64
|
-
readonly rawChannels: {
|
|
65
|
-
readonly type: "number";
|
|
66
|
-
readonly title: "Raw Channels";
|
|
67
|
-
readonly description: "Raw channels of the image";
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
readonly additionalProperties: false;
|
|
71
|
-
readonly required: readonly ["data", "width", "height", "channels"];
|
|
72
|
-
readonly format: "image:ImageBinary";
|
|
73
|
-
readonly title: "ImageBinary";
|
|
74
|
-
}];
|
|
75
|
-
};
|
|
76
|
-
readonly width: {
|
|
77
|
-
readonly type: "number";
|
|
78
|
-
readonly title: "Width";
|
|
79
|
-
readonly description: "Width of the image";
|
|
80
|
-
};
|
|
81
|
-
readonly height: {
|
|
82
|
-
readonly type: "number";
|
|
83
|
-
readonly title: "Height";
|
|
84
|
-
readonly description: "Height of the image";
|
|
85
|
-
};
|
|
86
|
-
readonly channels: {
|
|
87
|
-
readonly type: "number";
|
|
88
|
-
readonly title: "Channels";
|
|
89
|
-
readonly description: "Channels of the image";
|
|
90
|
-
readonly minimum: 1;
|
|
91
|
-
readonly maximum: 4;
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
|
-
readonly required: readonly ["data", "width", "height", "channels"];
|
|
95
|
-
}];
|
|
14
|
+
readonly type: "object";
|
|
15
|
+
readonly properties: {};
|
|
96
16
|
readonly title: "Image";
|
|
17
|
+
readonly description: "Image as data URI, Blob, ImageBitmap, ImageBinary, or GpuImage \u2014 hydrated to GpuImage by the runner";
|
|
97
18
|
readonly format: "image";
|
|
98
|
-
readonly description: "Image as URL or base64-encoded data";
|
|
99
19
|
};
|
|
100
20
|
readonly model: {
|
|
101
21
|
readonly oneOf: readonly [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GestureRecognizerTask.d.ts","sourceRoot":"","sources":["../../src/task/GestureRecognizerTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,cAAc,EAAY,MAAM,sBAAsB,CAAC;AAChE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ACxB,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGrC,CAAC;AAEF,OAAO,QAAQ,sBAAsB,CAAC,CAAC;IACrC,UAAU,QAAQ;QAChB,iBAAiB,EAAE,cAAc,CAC/B,0BAA0B,EAC1B,2BAA2B,EAC3B,2BAA2B,CAC5B,CAAC;KACH;CACF"}
|
|
@@ -11,91 +11,11 @@ export declare const HandLandmarkerInputSchema: {
|
|
|
11
11
|
readonly type: "object";
|
|
12
12
|
readonly properties: {
|
|
13
13
|
readonly image: {
|
|
14
|
-
readonly
|
|
15
|
-
|
|
16
|
-
readonly title: "Image Data";
|
|
17
|
-
readonly description: "Image as data-uri";
|
|
18
|
-
readonly format: "image:data-uri";
|
|
19
|
-
}, {
|
|
20
|
-
readonly type: "object";
|
|
21
|
-
readonly additionalProperties: false;
|
|
22
|
-
readonly properties: {
|
|
23
|
-
readonly data: {
|
|
24
|
-
readonly oneOf: readonly [{
|
|
25
|
-
readonly type: "object";
|
|
26
|
-
readonly format: "image:ImageBitmap";
|
|
27
|
-
readonly title: "ImageBitmap";
|
|
28
|
-
}, {
|
|
29
|
-
readonly type: "object";
|
|
30
|
-
readonly format: "image:OffscreenCanvas";
|
|
31
|
-
readonly title: "OffscreenCanvas";
|
|
32
|
-
}, {
|
|
33
|
-
readonly type: "object";
|
|
34
|
-
readonly format: "image:VideoFrame";
|
|
35
|
-
readonly title: "VideoFrame";
|
|
36
|
-
}, {
|
|
37
|
-
readonly type: "object";
|
|
38
|
-
readonly properties: {
|
|
39
|
-
readonly data: {
|
|
40
|
-
readonly type: "array";
|
|
41
|
-
readonly items: {
|
|
42
|
-
readonly type: "number";
|
|
43
|
-
readonly format: "Uint8Clamped";
|
|
44
|
-
};
|
|
45
|
-
readonly format: "Uint8ClampedArray";
|
|
46
|
-
readonly title: "Data";
|
|
47
|
-
readonly description: "Data of the image";
|
|
48
|
-
};
|
|
49
|
-
readonly width: {
|
|
50
|
-
readonly type: "number";
|
|
51
|
-
readonly title: "Width";
|
|
52
|
-
readonly description: "Width of the image";
|
|
53
|
-
};
|
|
54
|
-
readonly height: {
|
|
55
|
-
readonly type: "number";
|
|
56
|
-
readonly title: "Height";
|
|
57
|
-
readonly description: "Height of the image";
|
|
58
|
-
};
|
|
59
|
-
readonly channels: {
|
|
60
|
-
readonly type: "number";
|
|
61
|
-
readonly title: "Channels";
|
|
62
|
-
readonly description: "Channels of the image";
|
|
63
|
-
};
|
|
64
|
-
readonly rawChannels: {
|
|
65
|
-
readonly type: "number";
|
|
66
|
-
readonly title: "Raw Channels";
|
|
67
|
-
readonly description: "Raw channels of the image";
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
readonly additionalProperties: false;
|
|
71
|
-
readonly required: readonly ["data", "width", "height", "channels"];
|
|
72
|
-
readonly format: "image:ImageBinary";
|
|
73
|
-
readonly title: "ImageBinary";
|
|
74
|
-
}];
|
|
75
|
-
};
|
|
76
|
-
readonly width: {
|
|
77
|
-
readonly type: "number";
|
|
78
|
-
readonly title: "Width";
|
|
79
|
-
readonly description: "Width of the image";
|
|
80
|
-
};
|
|
81
|
-
readonly height: {
|
|
82
|
-
readonly type: "number";
|
|
83
|
-
readonly title: "Height";
|
|
84
|
-
readonly description: "Height of the image";
|
|
85
|
-
};
|
|
86
|
-
readonly channels: {
|
|
87
|
-
readonly type: "number";
|
|
88
|
-
readonly title: "Channels";
|
|
89
|
-
readonly description: "Channels of the image";
|
|
90
|
-
readonly minimum: 1;
|
|
91
|
-
readonly maximum: 4;
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
|
-
readonly required: readonly ["data", "width", "height", "channels"];
|
|
95
|
-
}];
|
|
14
|
+
readonly type: "object";
|
|
15
|
+
readonly properties: {};
|
|
96
16
|
readonly title: "Image";
|
|
17
|
+
readonly description: "Image as data URI, Blob, ImageBitmap, ImageBinary, or GpuImage \u2014 hydrated to GpuImage by the runner";
|
|
97
18
|
readonly format: "image";
|
|
98
|
-
readonly description: "Image as URL or base64-encoded data";
|
|
99
19
|
};
|
|
100
20
|
readonly model: {
|
|
101
21
|
readonly oneOf: readonly [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HandLandmarkerTask.d.ts","sourceRoot":"","sources":["../../src/task/HandLandmarkerTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,cAAc,EAAY,MAAM,sBAAsB,CAAC;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAEnE,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAgFnD,eAAO,MAAM,yBAAyB;mBAC9B,QAAQ;;iBAEZ,KAAK
|
|
1
|
+
{"version":3,"file":"HandLandmarkerTask.d.ts","sourceRoot":"","sources":["../../src/task/HandLandmarkerTask.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,cAAc,EAAY,MAAM,sBAAsB,CAAC;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAEnE,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAgFnD,eAAO,MAAM,yBAAyB;mBAC9B,QAAQ;;iBAEZ,KAAK;;;;;;;iBACL,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBACL,QAAQ;qBACN,IAAI,EAAE,QAAQ;qBACd,OAAO,EAAE,CAAC;qBACV,OAAO,EAAE,EAAE;qBACX,OAAO,EAAE,CAAC;qBACV,KAAK,EAAE,iBAAiB;qBACxB,WAAW,EAAE,uCAAuC;qBACpD,YAAY,EAAE,eAAe;;iBAE/B,0BAA0B;qBACxB,IAAI,EAAE,QAAQ;qBACd,OAAO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AAQ;QAChB,cAAc,EAAE,cAAc,CAC5B,uBAAuB,EACvB,wBAAwB,EACxB,wBAAwB,CACzB,CAAC;KACH;CACF"}
|
|
@@ -11,91 +11,11 @@ export declare const ImageClassificationInputSchema: {
|
|
|
11
11
|
readonly type: "object";
|
|
12
12
|
readonly properties: {
|
|
13
13
|
readonly image: {
|
|
14
|
-
readonly
|
|
15
|
-
|
|
16
|
-
readonly title: "Image Data";
|
|
17
|
-
readonly description: "Image as data-uri";
|
|
18
|
-
readonly format: "image:data-uri";
|
|
19
|
-
}, {
|
|
20
|
-
readonly type: "object";
|
|
21
|
-
readonly additionalProperties: false;
|
|
22
|
-
readonly properties: {
|
|
23
|
-
readonly data: {
|
|
24
|
-
readonly oneOf: readonly [{
|
|
25
|
-
readonly type: "object";
|
|
26
|
-
readonly format: "image:ImageBitmap";
|
|
27
|
-
readonly title: "ImageBitmap";
|
|
28
|
-
}, {
|
|
29
|
-
readonly type: "object";
|
|
30
|
-
readonly format: "image:OffscreenCanvas";
|
|
31
|
-
readonly title: "OffscreenCanvas";
|
|
32
|
-
}, {
|
|
33
|
-
readonly type: "object";
|
|
34
|
-
readonly format: "image:VideoFrame";
|
|
35
|
-
readonly title: "VideoFrame";
|
|
36
|
-
}, {
|
|
37
|
-
readonly type: "object";
|
|
38
|
-
readonly properties: {
|
|
39
|
-
readonly data: {
|
|
40
|
-
readonly type: "array";
|
|
41
|
-
readonly items: {
|
|
42
|
-
readonly type: "number";
|
|
43
|
-
readonly format: "Uint8Clamped";
|
|
44
|
-
};
|
|
45
|
-
readonly format: "Uint8ClampedArray";
|
|
46
|
-
readonly title: "Data";
|
|
47
|
-
readonly description: "Data of the image";
|
|
48
|
-
};
|
|
49
|
-
readonly width: {
|
|
50
|
-
readonly type: "number";
|
|
51
|
-
readonly title: "Width";
|
|
52
|
-
readonly description: "Width of the image";
|
|
53
|
-
};
|
|
54
|
-
readonly height: {
|
|
55
|
-
readonly type: "number";
|
|
56
|
-
readonly title: "Height";
|
|
57
|
-
readonly description: "Height of the image";
|
|
58
|
-
};
|
|
59
|
-
readonly channels: {
|
|
60
|
-
readonly type: "number";
|
|
61
|
-
readonly title: "Channels";
|
|
62
|
-
readonly description: "Channels of the image";
|
|
63
|
-
};
|
|
64
|
-
readonly rawChannels: {
|
|
65
|
-
readonly type: "number";
|
|
66
|
-
readonly title: "Raw Channels";
|
|
67
|
-
readonly description: "Raw channels of the image";
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
readonly additionalProperties: false;
|
|
71
|
-
readonly required: readonly ["data", "width", "height", "channels"];
|
|
72
|
-
readonly format: "image:ImageBinary";
|
|
73
|
-
readonly title: "ImageBinary";
|
|
74
|
-
}];
|
|
75
|
-
};
|
|
76
|
-
readonly width: {
|
|
77
|
-
readonly type: "number";
|
|
78
|
-
readonly title: "Width";
|
|
79
|
-
readonly description: "Width of the image";
|
|
80
|
-
};
|
|
81
|
-
readonly height: {
|
|
82
|
-
readonly type: "number";
|
|
83
|
-
readonly title: "Height";
|
|
84
|
-
readonly description: "Height of the image";
|
|
85
|
-
};
|
|
86
|
-
readonly channels: {
|
|
87
|
-
readonly type: "number";
|
|
88
|
-
readonly title: "Channels";
|
|
89
|
-
readonly description: "Channels of the image";
|
|
90
|
-
readonly minimum: 1;
|
|
91
|
-
readonly maximum: 4;
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
|
-
readonly required: readonly ["data", "width", "height", "channels"];
|
|
95
|
-
}];
|
|
14
|
+
readonly type: "object";
|
|
15
|
+
readonly properties: {};
|
|
96
16
|
readonly title: "Image";
|
|
17
|
+
readonly description: "Image as data URI, Blob, ImageBitmap, ImageBinary, or GpuImage \u2014 hydrated to GpuImage by the runner";
|
|
97
18
|
readonly format: "image";
|
|
98
|
-
readonly description: "Image as URL or base64-encoded data";
|
|
99
19
|
};
|
|
100
20
|
readonly model: {
|
|
101
21
|
readonly oneOf: readonly [{
|