@ultralytics/yolo 0.0.25 → 0.0.27
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/README.md +60 -29
- package/dist/index.d.ts +5 -2
- package/dist/index.js +12 -4
- package/package.json +1 -1
- package/pkg/package.json +1 -1
- package/pkg/ultralytics_inference_web.d.ts +4 -4
- package/pkg/ultralytics_inference_web.js +117 -117
- package/pkg/ultralytics_inference_web_bg.wasm +0 -0
- package/pkg/ultralytics_inference_web_bg.wasm.d.ts +4 -4
package/README.md
CHANGED
|
@@ -75,6 +75,14 @@ const results = await model.predict(canvas, { conf: 0.25, iou: 0.7 });
|
|
|
75
75
|
console.log(model.device); // "webgpu" or "cpu"
|
|
76
76
|
```
|
|
77
77
|
|
|
78
|
+
`YOLO.load` also takes a `Blob`/`File`, so you can load a model the user drops or
|
|
79
|
+
picks. The backend is detected from the bytes, so the same call handles `.onnx`
|
|
80
|
+
and `.tflite`:
|
|
81
|
+
|
|
82
|
+
```ts
|
|
83
|
+
const model = await YOLO.load(fileInput.files[0]); // a dropped/picked .onnx or .tflite
|
|
84
|
+
```
|
|
85
|
+
|
|
78
86
|
### Webcam / Video
|
|
79
87
|
|
|
80
88
|
Drawable sources (`<video>`, canvas, `ImageBitmap`, `ImageData`) take a
|
|
@@ -97,9 +105,9 @@ async function frame() {
|
|
|
97
105
|
<br>
|
|
98
106
|
<br>
|
|
99
107
|
|
|
100
|
-
Runs [YOLOv8](https://docs.ultralytics.com/models/yolov8),
|
|
101
|
-
[YOLO11](https://docs.ultralytics.com/models/yolo11), and
|
|
102
|
-
[YOLO26](https://docs.ultralytics.com/models/yolo26) ONNX exports for detection,
|
|
108
|
+
Runs [Ultralytics YOLOv8](https://docs.ultralytics.com/models/yolov8),
|
|
109
|
+
[Ultralytics YOLO11](https://docs.ultralytics.com/models/yolo11), and
|
|
110
|
+
[Ultralytics YOLO26](https://docs.ultralytics.com/models/yolo26) ONNX exports for detection,
|
|
103
111
|
segmentation, pose, OBB, classification, and semantic segmentation.
|
|
104
112
|
|
|
105
113
|
Pass a bare ONNX name and it is **auto-downloaded** from the
|
|
@@ -110,8 +118,8 @@ same weights the native crate and Python use):
|
|
|
110
118
|
await YOLO.load("yolo26n.onnx"); // auto-downloads from the release: .../download/v8.4.0/yolo26n.onnx
|
|
111
119
|
```
|
|
112
120
|
|
|
113
|
-
Auto-download covers **
|
|
114
|
-
with task suffixes `-seg`, `-pose`, `-cls`, `-obb`, and `-sem` (semantic,
|
|
121
|
+
Auto-download covers **Ultralytics YOLO26**, **Ultralytics YOLO11**, and **Ultralytics YOLOv8** in sizes `n/s/m/l/x`
|
|
122
|
+
with task suffixes `-seg`, `-pose`, `-cls`, `-obb`, and `-sem` (semantic, Ultralytics YOLO26
|
|
115
123
|
only). A value containing a `/` or a scheme is used as a URL/path as-is.
|
|
116
124
|
|
|
117
125
|
> **CORS note:** GitHub release assets do not send `Access-Control-Allow-Origin`,
|
|
@@ -127,17 +135,17 @@ only). A value containing a `/` or a scheme is used as a URL/path as-is.
|
|
|
127
135
|
|
|
128
136
|
Field names match the Rust/Ultralytics `Results` API 1-1:
|
|
129
137
|
|
|
130
|
-
| Field | Type
|
|
131
|
-
| ------------------ |
|
|
132
|
-
| `task` | `string`
|
|
133
|
-
| `width` / `height` | `number`
|
|
134
|
-
| `boxes` | `{ x1, y1, x2, y2, conf, cls, name, color }[]`
|
|
135
|
-
| `obb` | `{ x, y, w, h, angle, conf, cls, name, color }[]`
|
|
136
|
-
| `keypoints` | `{ points: [x, y, conf][], color }[]`
|
|
137
|
-
| `probs` | `{ top1, top5, top1conf, top5conf, name, color } \| null` | classify |
|
|
138
|
-
| `masks` | `Uint8Array` (RGBA overlay, `width*height*4`)
|
|
139
|
-
| `semantic_mask` | `Uint16Array` (class id per pixel, `width*height`)
|
|
140
|
-
| `speed` | `{ preprocess, inference, postprocess }` ms
|
|
138
|
+
| Field | Type | Tasks |
|
|
139
|
+
| ------------------ | -------------------------------------------------------------------- | --------------------- |
|
|
140
|
+
| `task` | `string` | all |
|
|
141
|
+
| `width` / `height` | `number` | all |
|
|
142
|
+
| `boxes` | `{ x1, y1, x2, y2, conf, cls, name, color }[]` | detect, segment, pose |
|
|
143
|
+
| `obb` | `{ x, y, w, h, angle, conf, cls, name, color }[]` | obb |
|
|
144
|
+
| `keypoints` | `{ points: [x, y, conf][], color }[]` | pose |
|
|
145
|
+
| `probs` | `{ top1, top5, top1conf, top5conf, name, top5names, color } \| null` | classify |
|
|
146
|
+
| `masks` | `Uint8Array` (RGBA overlay, `width*height*4`) | segment, semantic |
|
|
147
|
+
| `semantic_mask` | `Uint16Array` (class id per pixel, `width*height`) | semantic |
|
|
148
|
+
| `speed` | `{ preprocess, inference, postprocess }` ms | all |
|
|
141
149
|
|
|
142
150
|
`model.names` is the class id to name map (like `model.names` in Python). Every
|
|
143
151
|
detection carries its Ultralytics palette `color`, and `annotate()` draws the
|
|
@@ -190,27 +198,50 @@ Only the inference engine changes; the preprocessing, postprocessing, drawing,
|
|
|
190
198
|
and `Results` shape are the same shared Rust code, so output matches the `ort`
|
|
191
199
|
path.
|
|
192
200
|
|
|
193
|
-
|
|
194
|
-
`
|
|
195
|
-
only setup is
|
|
201
|
+
The backend is picked from the file extension: a `.tflite` runs on LiteRT.js, a
|
|
202
|
+
`.onnx` on ONNX Runtime Web. The LiteRT.js wasm loads from a CDN by default, so
|
|
203
|
+
the only setup is making `@litertjs/core` resolve (along with its `@litertjs/wasm-utils`
|
|
204
|
+
dependency, which npm installs automatically and the import map below lists explicitly).
|
|
205
|
+
|
|
206
|
+
**With npm (a bundler):**
|
|
196
207
|
|
|
197
208
|
```bash
|
|
198
|
-
npm install @litertjs/core
|
|
209
|
+
npm install @ultralytics/yolo @litertjs/core
|
|
199
210
|
```
|
|
200
211
|
|
|
201
212
|
```ts
|
|
202
213
|
import { YOLO, annotate } from "@ultralytics/yolo";
|
|
203
214
|
|
|
204
|
-
const model = await YOLO.load("/models/yolo26n.tflite"
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
215
|
+
const model = await YOLO.load("/models/yolo26n.tflite"); // .tflite -> LiteRT.js
|
|
216
|
+
const results = await model.predict("bus.jpg");
|
|
217
|
+
await annotate(document.querySelector("canvas"), "bus.jpg", results);
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
**Without a build step (CDN):** map the modules to a CDN, then use the exact same
|
|
221
|
+
code as above:
|
|
222
|
+
|
|
223
|
+
```html
|
|
224
|
+
<script type="importmap">
|
|
225
|
+
{
|
|
226
|
+
"imports": {
|
|
227
|
+
"@ultralytics/yolo": "https://esm.sh/@ultralytics/yolo",
|
|
228
|
+
"@litertjs/core": "https://esm.sh/@litertjs/core",
|
|
229
|
+
"@litertjs/wasm-utils": "https://esm.sh/@litertjs/wasm-utils"
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
</script>
|
|
233
|
+
```
|
|
209
234
|
|
|
210
|
-
|
|
211
|
-
|
|
235
|
+
For webcam or video, pass the `<video>` element each frame:
|
|
236
|
+
|
|
237
|
+
```ts
|
|
238
|
+
const results = await model.predict(video);
|
|
239
|
+
await annotate(canvas, video, results);
|
|
212
240
|
```
|
|
213
241
|
|
|
242
|
+
The wasm loads from the jsDelivr CDN by default; pass `litertWasmUrl: "/litert/"` to
|
|
243
|
+
`YOLO.load` to self-host it (copy `node_modules/@litertjs/core/wasm/`).
|
|
244
|
+
|
|
214
245
|
Notes:
|
|
215
246
|
|
|
216
247
|
- **Model**: export with Ultralytics to `.tflite` (float32 for WebGPU). It loads
|
|
@@ -220,8 +251,8 @@ Notes:
|
|
|
220
251
|
embedded metadata) ships in
|
|
221
252
|
[v8.4.83](https://github.com/ultralytics/ultralytics/releases/tag/v8.4.83) and
|
|
222
253
|
later. Earlier versions emit the legacy TFLite format and won't load here.
|
|
223
|
-
- **Export end2end-free models** (`end2end=False`): YOLO26
|
|
224
|
-
|
|
254
|
+
- **Export end2end-free models** (`end2end=False`): Ultralytics YOLO26 defaults to an
|
|
255
|
+
end-to-end, NMS-free head whose `int64` / `gather_nd` ops the LiteRT
|
|
225
256
|
**WebGPU** delegate cannot run, so those exports silently fall back to CPU/wasm.
|
|
226
257
|
Export them with `end2end=False` so the standard head is used and NMS runs in
|
|
227
258
|
this package's Rust, keeping inference on WebGPU:
|
package/dist/index.d.ts
CHANGED
|
@@ -92,6 +92,8 @@ export interface LoadOptions {
|
|
|
92
92
|
*/
|
|
93
93
|
litertWasmUrl?: string | URL;
|
|
94
94
|
}
|
|
95
|
+
/** A model source: a URL/path, raw bytes, or a `Blob`/`File` (e.g. a dropped file). */
|
|
96
|
+
export type ModelSource = string | URL | ArrayBuffer | Uint8Array | Blob;
|
|
95
97
|
/** Options for {@link YOLO.predict}. */
|
|
96
98
|
export interface PredictOptions {
|
|
97
99
|
/** Confidence threshold. Default `0.25` (matches Ultralytics). */
|
|
@@ -132,10 +134,11 @@ export declare class YOLO {
|
|
|
132
134
|
* The engine is chosen from the model: a `.tflite` runs on LiteRT.js, an
|
|
133
135
|
* `.onnx` on ONNX Runtime Web.
|
|
134
136
|
*
|
|
135
|
-
* @param source Model URL/path,
|
|
137
|
+
* @param source Model URL/path, raw bytes, or a `Blob`/`File` (e.g. from a file
|
|
138
|
+
* input or drag-and-drop). `.onnx` or `.tflite`.
|
|
136
139
|
* @param options Loader options.
|
|
137
140
|
*/
|
|
138
|
-
static load(source:
|
|
141
|
+
static load(source: ModelSource, options?: LoadOptions): Promise<YOLO>;
|
|
139
142
|
/** Load the LiteRT (`.tflite`) backend. Metadata (task, class names, `imgsz`)
|
|
140
143
|
* is read from the single `.tflite` file, the same as the `.onnx` path. */
|
|
141
144
|
private static loadLiteRt;
|
package/dist/index.js
CHANGED
|
@@ -61,8 +61,8 @@ function isTflite(bytes) {
|
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
63
63
|
* Pick the inference backend from the model: `.tflite` -> `litert`, `.onnx` ->
|
|
64
|
-
* `ort`. When the source has no known extension (raw bytes,
|
|
65
|
-
* signed URL), the already-fetched `bytes` are sniffed for
|
|
64
|
+
* `ort`. When the source has no known extension (raw bytes, a `Blob`/`File`, or an
|
|
65
|
+
* extensionless/signed URL), the already-fetched `bytes` are sniffed for `TFL3`.
|
|
66
66
|
*/
|
|
67
67
|
function inferBackend(source, bytes) {
|
|
68
68
|
if (typeof source === "string" || source instanceof URL) {
|
|
@@ -186,7 +186,12 @@ function ensureLiteRtRuntime(litert, wasmUrl) {
|
|
|
186
186
|
return litertInit;
|
|
187
187
|
}
|
|
188
188
|
litertInitUrl = wasmUrl;
|
|
189
|
-
|
|
189
|
+
// Enable WASM multithreading when the page is cross-origin isolated (COOP/COEP
|
|
190
|
+
// set, so SharedArrayBuffer is available); otherwise LiteRT.js runs single-
|
|
191
|
+
// threaded. SIMD is detected by LiteRT itself. Isolation is a page-global
|
|
192
|
+
// property, so this needs no per-load option.
|
|
193
|
+
const threads = typeof crossOriginIsolated !== "undefined" && crossOriginIsolated;
|
|
194
|
+
litertInit = litert.loadLiteRt(wasmUrl, { threads }).catch((e) => {
|
|
190
195
|
litertInit = null; // let a later load retry if the first init failed
|
|
191
196
|
litertInitUrl = null;
|
|
192
197
|
throw e;
|
|
@@ -337,6 +342,8 @@ async function fetchModelBytes(source) {
|
|
|
337
342
|
const resp = await fetchOk(source.toString(), "model");
|
|
338
343
|
return new Uint8Array(await resp.arrayBuffer());
|
|
339
344
|
}
|
|
345
|
+
if (source instanceof Blob)
|
|
346
|
+
return new Uint8Array(await source.arrayBuffer());
|
|
340
347
|
return source instanceof Uint8Array ? source : new Uint8Array(source);
|
|
341
348
|
}
|
|
342
349
|
/**
|
|
@@ -353,7 +360,8 @@ export class YOLO {
|
|
|
353
360
|
* The engine is chosen from the model: a `.tflite` runs on LiteRT.js, an
|
|
354
361
|
* `.onnx` on ONNX Runtime Web.
|
|
355
362
|
*
|
|
356
|
-
* @param source Model URL/path,
|
|
363
|
+
* @param source Model URL/path, raw bytes, or a `Blob`/`File` (e.g. from a file
|
|
364
|
+
* input or drag-and-drop). `.onnx` or `.tflite`.
|
|
357
365
|
* @param options Loader options.
|
|
358
366
|
*/
|
|
359
367
|
static async load(source, options) {
|
package/package.json
CHANGED
package/pkg/package.json
CHANGED
|
@@ -184,10 +184,10 @@ export interface InitOutput {
|
|
|
184
184
|
readonly yolopipeline_preprocess_rgba: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
185
185
|
readonly yolopipeline_task: (a: number, b: number) => void;
|
|
186
186
|
readonly start: () => void;
|
|
187
|
-
readonly
|
|
188
|
-
readonly
|
|
189
|
-
readonly
|
|
190
|
-
readonly
|
|
187
|
+
readonly __wasm_bindgen_func_elem_1971: (a: number, b: number, c: number, d: number) => void;
|
|
188
|
+
readonly __wasm_bindgen_func_elem_2580: (a: number, b: number, c: number, d: number) => void;
|
|
189
|
+
readonly __wasm_bindgen_func_elem_1971_2: (a: number, b: number, c: number, d: number) => void;
|
|
190
|
+
readonly __wasm_bindgen_func_elem_2592: (a: number, b: number, c: number, d: number) => void;
|
|
191
191
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
192
192
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
193
193
|
readonly __wbindgen_export3: (a: number) => void;
|
|
@@ -407,7 +407,7 @@ export function start() {
|
|
|
407
407
|
function __wbg_get_imports() {
|
|
408
408
|
const import0 = {
|
|
409
409
|
__proto__: null,
|
|
410
|
-
|
|
410
|
+
__wbg_Error_92b29b0548f8b746: function(arg0, arg1) {
|
|
411
411
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
412
412
|
return addHeapObject(ret);
|
|
413
413
|
},
|
|
@@ -418,64 +418,64 @@ function __wbg_get_imports() {
|
|
|
418
418
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
419
419
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
420
420
|
},
|
|
421
|
-
|
|
421
|
+
__wbg___wbindgen_bigint_get_as_i64_d968e41184ae354f: function(arg0, arg1) {
|
|
422
422
|
const v = getObject(arg1);
|
|
423
423
|
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
424
424
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
425
425
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
426
426
|
},
|
|
427
|
-
|
|
427
|
+
__wbg___wbindgen_boolean_get_fa956cfa2d1bd751: function(arg0) {
|
|
428
428
|
const v = getObject(arg0);
|
|
429
429
|
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
430
430
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
431
431
|
},
|
|
432
|
-
|
|
432
|
+
__wbg___wbindgen_debug_string_c25d447a39f5578f: function(arg0, arg1) {
|
|
433
433
|
const ret = debugString(getObject(arg1));
|
|
434
434
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
435
435
|
const len1 = WASM_VECTOR_LEN;
|
|
436
436
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
437
437
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
438
438
|
},
|
|
439
|
-
|
|
439
|
+
__wbg___wbindgen_in_aca499c5de7ff5e5: function(arg0, arg1) {
|
|
440
440
|
const ret = getObject(arg0) in getObject(arg1);
|
|
441
441
|
return ret;
|
|
442
442
|
},
|
|
443
|
-
|
|
443
|
+
__wbg___wbindgen_is_bigint_2f76dc55065b4273: function(arg0) {
|
|
444
444
|
const ret = typeof(getObject(arg0)) === 'bigint';
|
|
445
445
|
return ret;
|
|
446
446
|
},
|
|
447
|
-
|
|
447
|
+
__wbg___wbindgen_is_function_1ff95bcc5517c252: function(arg0) {
|
|
448
448
|
const ret = typeof(getObject(arg0)) === 'function';
|
|
449
449
|
return ret;
|
|
450
450
|
},
|
|
451
|
-
|
|
451
|
+
__wbg___wbindgen_is_object_a27215656b807791: function(arg0) {
|
|
452
452
|
const val = getObject(arg0);
|
|
453
453
|
const ret = typeof(val) === 'object' && val !== null;
|
|
454
454
|
return ret;
|
|
455
455
|
},
|
|
456
|
-
|
|
456
|
+
__wbg___wbindgen_is_string_ea5e6cc2e4141dfe: function(arg0) {
|
|
457
457
|
const ret = typeof(getObject(arg0)) === 'string';
|
|
458
458
|
return ret;
|
|
459
459
|
},
|
|
460
|
-
|
|
460
|
+
__wbg___wbindgen_is_undefined_c05833b95a3cf397: function(arg0) {
|
|
461
461
|
const ret = getObject(arg0) === undefined;
|
|
462
462
|
return ret;
|
|
463
463
|
},
|
|
464
|
-
|
|
464
|
+
__wbg___wbindgen_jsval_eq_e659fcf7b0e32763: function(arg0, arg1) {
|
|
465
465
|
const ret = getObject(arg0) === getObject(arg1);
|
|
466
466
|
return ret;
|
|
467
467
|
},
|
|
468
|
-
|
|
468
|
+
__wbg___wbindgen_jsval_loose_eq_db4c3b15f63fc170: function(arg0, arg1) {
|
|
469
469
|
const ret = getObject(arg0) == getObject(arg1);
|
|
470
470
|
return ret;
|
|
471
471
|
},
|
|
472
|
-
|
|
472
|
+
__wbg___wbindgen_number_get_394265ed1e1b84ee: function(arg0, arg1) {
|
|
473
473
|
const obj = getObject(arg1);
|
|
474
474
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
475
475
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
476
476
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
477
477
|
},
|
|
478
|
-
|
|
478
|
+
__wbg___wbindgen_string_get_b0ca35b86a603356: function(arg0, arg1) {
|
|
479
479
|
const obj = getObject(arg1);
|
|
480
480
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
481
481
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
@@ -483,30 +483,30 @@ function __wbg_get_imports() {
|
|
|
483
483
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
484
484
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
485
485
|
},
|
|
486
|
-
|
|
486
|
+
__wbg___wbindgen_throw_344f42d3211c4765: function(arg0, arg1) {
|
|
487
487
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
488
488
|
},
|
|
489
|
-
|
|
489
|
+
__wbg__wbg_cb_unref_fffb441def202758: function(arg0) {
|
|
490
490
|
getObject(arg0)._wbg_cb_unref();
|
|
491
491
|
},
|
|
492
|
-
|
|
492
|
+
__wbg_buffer_54b87055582c8a81: function(arg0) {
|
|
493
493
|
const ret = getObject(arg0).buffer;
|
|
494
494
|
return addHeapObject(ret);
|
|
495
495
|
},
|
|
496
|
-
|
|
496
|
+
__wbg_byteLength_41862ca4020b9c43: function(arg0) {
|
|
497
497
|
const ret = getObject(arg0).byteLength;
|
|
498
498
|
return ret;
|
|
499
499
|
},
|
|
500
|
-
|
|
500
|
+
__wbg_byteOffset_d42e18c4441f628b: function(arg0) {
|
|
501
501
|
const ret = getObject(arg0).byteOffset;
|
|
502
502
|
return ret;
|
|
503
503
|
},
|
|
504
|
-
|
|
505
|
-
const ret = getObject(arg0).call(getObject(arg1)
|
|
504
|
+
__wbg_call_8a2dd23819f8a60a: function() { return handleError(function (arg0, arg1) {
|
|
505
|
+
const ret = getObject(arg0).call(getObject(arg1));
|
|
506
506
|
return addHeapObject(ret);
|
|
507
507
|
}, arguments); },
|
|
508
|
-
|
|
509
|
-
const ret = getObject(arg0).call(getObject(arg1));
|
|
508
|
+
__wbg_call_a6e5c5dce5018821: function() { return handleError(function (arg0, arg1, arg2) {
|
|
509
|
+
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
|
510
510
|
return addHeapObject(ret);
|
|
511
511
|
}, arguments); },
|
|
512
512
|
__wbg_create_604d3dd8b0220101: function() { return handleError(function (arg0, arg1, arg2) {
|
|
@@ -528,11 +528,11 @@ function __wbg_get_imports() {
|
|
|
528
528
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
529
529
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
530
530
|
},
|
|
531
|
-
|
|
531
|
+
__wbg_done_89b2b13e91a60321: function(arg0) {
|
|
532
532
|
const ret = getObject(arg0).done;
|
|
533
533
|
return ret;
|
|
534
534
|
},
|
|
535
|
-
|
|
535
|
+
__wbg_entries_015dc610cd81ede0: function(arg0) {
|
|
536
536
|
const ret = Object.entries(getObject(arg0));
|
|
537
537
|
return addHeapObject(ret);
|
|
538
538
|
},
|
|
@@ -547,7 +547,7 @@ function __wbg_get_imports() {
|
|
|
547
547
|
wasm.__wbindgen_export4(deferred0_0, deferred0_1, 1);
|
|
548
548
|
}
|
|
549
549
|
},
|
|
550
|
-
|
|
550
|
+
__wbg_from_13e323c65fc8f464: function(arg0) {
|
|
551
551
|
const ret = Array.from(getObject(arg0));
|
|
552
552
|
return addHeapObject(ret);
|
|
553
553
|
},
|
|
@@ -555,19 +555,19 @@ function __wbg_get_imports() {
|
|
|
555
555
|
const ret = getObject(arg0).getData();
|
|
556
556
|
return addHeapObject(ret);
|
|
557
557
|
}, arguments); },
|
|
558
|
-
|
|
558
|
+
__wbg_get_507a50627bffa49b: function(arg0, arg1) {
|
|
559
559
|
const ret = getObject(arg0)[arg1 >>> 0];
|
|
560
560
|
return addHeapObject(ret);
|
|
561
561
|
},
|
|
562
|
-
|
|
562
|
+
__wbg_get_78f252d074a84d0b: function() { return handleError(function (arg0, arg1) {
|
|
563
563
|
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
564
564
|
return addHeapObject(ret);
|
|
565
565
|
}, arguments); },
|
|
566
|
-
|
|
566
|
+
__wbg_get_c7eb1f358a7654df: function() { return handleError(function (arg0, arg1) {
|
|
567
567
|
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
568
568
|
return addHeapObject(ret);
|
|
569
569
|
}, arguments); },
|
|
570
|
-
|
|
570
|
+
__wbg_get_unchecked_6e0ad6d2a41b06f6: function(arg0, arg1) {
|
|
571
571
|
const ret = getObject(arg0)[arg1 >>> 0];
|
|
572
572
|
return addHeapObject(ret);
|
|
573
573
|
},
|
|
@@ -593,7 +593,7 @@ function __wbg_get_imports() {
|
|
|
593
593
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
594
594
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
595
595
|
},
|
|
596
|
-
|
|
596
|
+
__wbg_instanceof_ArrayBuffer_4480b9e0068a8adb: function(arg0) {
|
|
597
597
|
let result;
|
|
598
598
|
try {
|
|
599
599
|
result = getObject(arg0) instanceof ArrayBuffer;
|
|
@@ -603,7 +603,7 @@ function __wbg_get_imports() {
|
|
|
603
603
|
const ret = result;
|
|
604
604
|
return ret;
|
|
605
605
|
},
|
|
606
|
-
|
|
606
|
+
__wbg_instanceof_Map_e5b5e3db98422fcc: function(arg0) {
|
|
607
607
|
let result;
|
|
608
608
|
try {
|
|
609
609
|
result = getObject(arg0) instanceof Map;
|
|
@@ -613,7 +613,7 @@ function __wbg_get_imports() {
|
|
|
613
613
|
const ret = result;
|
|
614
614
|
return ret;
|
|
615
615
|
},
|
|
616
|
-
|
|
616
|
+
__wbg_instanceof_Uint8Array_309b927aaf7a3fc7: function(arg0) {
|
|
617
617
|
let result;
|
|
618
618
|
try {
|
|
619
619
|
result = getObject(arg0) instanceof Uint8Array;
|
|
@@ -623,7 +623,7 @@ function __wbg_get_imports() {
|
|
|
623
623
|
const ret = result;
|
|
624
624
|
return ret;
|
|
625
625
|
},
|
|
626
|
-
|
|
626
|
+
__wbg_instanceof_Window_05ba1ee4f6781663: function(arg0) {
|
|
627
627
|
let result;
|
|
628
628
|
try {
|
|
629
629
|
result = getObject(arg0) instanceof Window;
|
|
@@ -633,27 +633,27 @@ function __wbg_get_imports() {
|
|
|
633
633
|
const ret = result;
|
|
634
634
|
return ret;
|
|
635
635
|
},
|
|
636
|
-
|
|
636
|
+
__wbg_isArray_0677c962b281d01a: function(arg0) {
|
|
637
637
|
const ret = Array.isArray(getObject(arg0));
|
|
638
638
|
return ret;
|
|
639
639
|
},
|
|
640
|
-
|
|
640
|
+
__wbg_isSafeInteger_04f36e4056f1b851: function(arg0) {
|
|
641
641
|
const ret = Number.isSafeInteger(getObject(arg0));
|
|
642
642
|
return ret;
|
|
643
643
|
},
|
|
644
|
-
|
|
644
|
+
__wbg_iterator_6f722e4a93058b71: function() {
|
|
645
645
|
const ret = Symbol.iterator;
|
|
646
646
|
return addHeapObject(ret);
|
|
647
647
|
},
|
|
648
|
-
|
|
648
|
+
__wbg_length_1f0964f4a5e2c6d8: function(arg0) {
|
|
649
649
|
const ret = getObject(arg0).length;
|
|
650
650
|
return ret;
|
|
651
651
|
},
|
|
652
|
-
|
|
652
|
+
__wbg_length_370319915dc99107: function(arg0) {
|
|
653
653
|
const ret = getObject(arg0).length;
|
|
654
654
|
return ret;
|
|
655
655
|
},
|
|
656
|
-
|
|
656
|
+
__wbg_length_98f10d1e2f4ea968: function(arg0) {
|
|
657
657
|
const ret = getObject(arg0).length;
|
|
658
658
|
return ret;
|
|
659
659
|
},
|
|
@@ -665,38 +665,38 @@ function __wbg_get_imports() {
|
|
|
665
665
|
const ret = new Error();
|
|
666
666
|
return addHeapObject(ret);
|
|
667
667
|
},
|
|
668
|
-
|
|
669
|
-
const ret = new
|
|
668
|
+
__wbg_new_32b398fb48b6d94a: function() {
|
|
669
|
+
const ret = new Array();
|
|
670
670
|
return addHeapObject(ret);
|
|
671
671
|
},
|
|
672
|
-
|
|
672
|
+
__wbg_new_7796ffc7ed656783: function() {
|
|
673
673
|
const ret = new Map();
|
|
674
674
|
return addHeapObject(ret);
|
|
675
675
|
},
|
|
676
|
-
|
|
677
|
-
const ret = new
|
|
676
|
+
__wbg_new_cd45aabdf6073e84: function(arg0) {
|
|
677
|
+
const ret = new Uint8Array(getObject(arg0));
|
|
678
678
|
return addHeapObject(ret);
|
|
679
679
|
},
|
|
680
|
-
|
|
681
|
-
const ret = new
|
|
680
|
+
__wbg_new_da52cf8fe3429cb2: function() {
|
|
681
|
+
const ret = new Object();
|
|
682
682
|
return addHeapObject(ret);
|
|
683
683
|
},
|
|
684
684
|
__wbg_new_from_buffer_raw_4a1de2fd5040de11: function() { return handleError(function (arg0, arg1, arg2) {
|
|
685
685
|
const ret = new ort.Tensor(__wbindgen_enum_DataType[arg0], takeObject(arg1), takeObject(arg2));
|
|
686
686
|
return addHeapObject(ret);
|
|
687
687
|
}, arguments); },
|
|
688
|
-
|
|
688
|
+
__wbg_new_from_slice_ddf8b82c4d6af38e: function(arg0, arg1) {
|
|
689
689
|
const ret = new Float32Array(getArrayF32FromWasm0(arg0, arg1));
|
|
690
690
|
return addHeapObject(ret);
|
|
691
691
|
},
|
|
692
|
-
|
|
692
|
+
__wbg_new_typed_1824d93f294193e5: function(arg0, arg1) {
|
|
693
693
|
try {
|
|
694
694
|
var state0 = {a: arg0, b: arg1};
|
|
695
695
|
var cb0 = (arg0, arg1) => {
|
|
696
696
|
const a = state0.a;
|
|
697
697
|
state0.a = 0;
|
|
698
698
|
try {
|
|
699
|
-
return
|
|
699
|
+
return __wasm_bindgen_func_elem_2592(a, state0.b, arg0, arg1);
|
|
700
700
|
} finally {
|
|
701
701
|
state0.a = a;
|
|
702
702
|
}
|
|
@@ -707,59 +707,59 @@ function __wbg_get_imports() {
|
|
|
707
707
|
state0.a = 0;
|
|
708
708
|
}
|
|
709
709
|
},
|
|
710
|
-
|
|
710
|
+
__wbg_new_with_byte_offset_and_length_54c7724ee3ec7d82: function(arg0, arg1, arg2) {
|
|
711
711
|
const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
|
|
712
712
|
return addHeapObject(ret);
|
|
713
713
|
},
|
|
714
|
-
|
|
715
|
-
const ret = new
|
|
714
|
+
__wbg_new_with_length_112583d83d0cb73c: function(arg0) {
|
|
715
|
+
const ret = new Float64Array(arg0 >>> 0);
|
|
716
716
|
return addHeapObject(ret);
|
|
717
717
|
},
|
|
718
|
-
|
|
718
|
+
__wbg_new_with_length_3709f79f83165acf: function(arg0) {
|
|
719
719
|
const ret = new BigUint64Array(arg0 >>> 0);
|
|
720
720
|
return addHeapObject(ret);
|
|
721
721
|
},
|
|
722
|
-
|
|
723
|
-
const ret = new
|
|
722
|
+
__wbg_new_with_length_664ae1da061c56fa: function(arg0) {
|
|
723
|
+
const ret = new Int32Array(arg0 >>> 0);
|
|
724
724
|
return addHeapObject(ret);
|
|
725
725
|
},
|
|
726
|
-
|
|
727
|
-
const ret = new
|
|
726
|
+
__wbg_new_with_length_82964559f36e4bc6: function(arg0) {
|
|
727
|
+
const ret = new Int8Array(arg0 >>> 0);
|
|
728
728
|
return addHeapObject(ret);
|
|
729
729
|
},
|
|
730
|
-
|
|
730
|
+
__wbg_new_with_length_82f839073dfdaa99: function(arg0) {
|
|
731
731
|
const ret = new Uint16Array(arg0 >>> 0);
|
|
732
732
|
return addHeapObject(ret);
|
|
733
733
|
},
|
|
734
|
-
|
|
735
|
-
const ret = new
|
|
734
|
+
__wbg_new_with_length_a319d383bd7aa5a8: function(arg0) {
|
|
735
|
+
const ret = new Int16Array(arg0 >>> 0);
|
|
736
736
|
return addHeapObject(ret);
|
|
737
737
|
},
|
|
738
|
-
|
|
739
|
-
const ret = new
|
|
738
|
+
__wbg_new_with_length_a708ad50ef765359: function(arg0) {
|
|
739
|
+
const ret = new BigInt64Array(arg0 >>> 0);
|
|
740
740
|
return addHeapObject(ret);
|
|
741
741
|
},
|
|
742
|
-
|
|
743
|
-
const ret = new
|
|
742
|
+
__wbg_new_with_length_e1d8c8061ed4e317: function(arg0) {
|
|
743
|
+
const ret = new Float32Array(arg0 >>> 0);
|
|
744
744
|
return addHeapObject(ret);
|
|
745
745
|
},
|
|
746
|
-
|
|
747
|
-
const ret = new
|
|
746
|
+
__wbg_new_with_length_e6785c33c8e4cce8: function(arg0) {
|
|
747
|
+
const ret = new Uint8Array(arg0 >>> 0);
|
|
748
748
|
return addHeapObject(ret);
|
|
749
749
|
},
|
|
750
|
-
|
|
750
|
+
__wbg_new_with_length_f048f86e32f1515e: function(arg0) {
|
|
751
751
|
const ret = new Uint32Array(arg0 >>> 0);
|
|
752
752
|
return addHeapObject(ret);
|
|
753
753
|
},
|
|
754
|
-
|
|
755
|
-
const ret = getObject(arg0).next();
|
|
756
|
-
return addHeapObject(ret);
|
|
757
|
-
}, arguments); },
|
|
758
|
-
__wbg_next_402fa10b59ab20c3: function(arg0) {
|
|
754
|
+
__wbg_next_6dbf2c0ac8cde20f: function(arg0) {
|
|
759
755
|
const ret = getObject(arg0).next;
|
|
760
756
|
return addHeapObject(ret);
|
|
761
757
|
},
|
|
762
|
-
|
|
758
|
+
__wbg_next_71f2aa1cb3d1e37e: function() { return handleError(function (arg0) {
|
|
759
|
+
const ret = getObject(arg0).next();
|
|
760
|
+
return addHeapObject(ret);
|
|
761
|
+
}, arguments); },
|
|
762
|
+
__wbg_now_390768da5ee9e776: function(arg0) {
|
|
763
763
|
const ret = getObject(arg0).now();
|
|
764
764
|
return ret;
|
|
765
765
|
},
|
|
@@ -777,32 +777,32 @@ function __wbg_get_imports() {
|
|
|
777
777
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
778
778
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
779
779
|
},
|
|
780
|
-
|
|
780
|
+
__wbg_ownKeys_a2745e10effd5d46: function() { return handleError(function (arg0) {
|
|
781
781
|
const ret = Reflect.ownKeys(getObject(arg0));
|
|
782
782
|
return addHeapObject(ret);
|
|
783
783
|
}, arguments); },
|
|
784
|
-
|
|
784
|
+
__wbg_performance_3ef602e13d6c3b56: function(arg0) {
|
|
785
785
|
const ret = getObject(arg0).performance;
|
|
786
786
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
787
787
|
},
|
|
788
|
-
|
|
789
|
-
Float32Array.prototype.set.call(getArrayF32FromWasm0(arg0, arg1), getObject(arg2));
|
|
790
|
-
},
|
|
791
|
-
__wbg_prototypesetcall_d721637c7ca66eb8: function(arg0, arg1, arg2) {
|
|
788
|
+
__wbg_prototypesetcall_4770620bbe4688a0: function(arg0, arg1, arg2) {
|
|
792
789
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
|
|
793
790
|
},
|
|
794
|
-
|
|
791
|
+
__wbg_prototypesetcall_ba9c9a7197c11933: function(arg0, arg1, arg2) {
|
|
792
|
+
Float32Array.prototype.set.call(getArrayF32FromWasm0(arg0, arg1), getObject(arg2));
|
|
793
|
+
},
|
|
794
|
+
__wbg_push_d2ae3af0c1217ae6: function(arg0, arg1) {
|
|
795
795
|
const ret = getObject(arg0).push(getObject(arg1));
|
|
796
796
|
return ret;
|
|
797
797
|
},
|
|
798
|
-
|
|
798
|
+
__wbg_queueMicrotask_0ab5b2d2393e99b9: function(arg0) {
|
|
799
799
|
const ret = getObject(arg0).queueMicrotask;
|
|
800
800
|
return addHeapObject(ret);
|
|
801
801
|
},
|
|
802
|
-
|
|
802
|
+
__wbg_queueMicrotask_6a09b7bc46549209: function(arg0) {
|
|
803
803
|
queueMicrotask(getObject(arg0));
|
|
804
804
|
},
|
|
805
|
-
|
|
805
|
+
__wbg_resolve_2191a4dfe481c25b: function(arg0) {
|
|
806
806
|
const ret = Promise.resolve(getObject(arg0));
|
|
807
807
|
return addHeapObject(ret);
|
|
808
808
|
},
|
|
@@ -810,24 +810,24 @@ function __wbg_get_imports() {
|
|
|
810
810
|
const ret = getObject(arg0).run(takeObject(arg1));
|
|
811
811
|
return addHeapObject(ret);
|
|
812
812
|
}, arguments); },
|
|
813
|
-
|
|
813
|
+
__wbg_set_4d7dd76f3dae2926: function(arg0, arg1, arg2) {
|
|
814
814
|
getObject(arg0).set(getArrayU8FromWasm0(arg1, arg2));
|
|
815
815
|
},
|
|
816
|
-
|
|
817
|
-
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
818
|
-
return ret;
|
|
819
|
-
}, arguments); },
|
|
820
|
-
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
821
|
-
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
822
|
-
},
|
|
823
|
-
__wbg_set_9a1d61e17de7054c: function(arg0, arg1, arg2) {
|
|
816
|
+
__wbg_set_575dd786d51585f8: function(arg0, arg1, arg2) {
|
|
824
817
|
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
825
818
|
return addHeapObject(ret);
|
|
826
819
|
},
|
|
827
|
-
|
|
820
|
+
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
821
|
+
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
822
|
+
},
|
|
823
|
+
__wbg_set_8535240470bf2500: function() { return handleError(function (arg0, arg1, arg2) {
|
|
824
|
+
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
825
|
+
return ret;
|
|
826
|
+
}, arguments); },
|
|
827
|
+
__wbg_set_8a16b38e4805b298: function(arg0, arg1, arg2) {
|
|
828
828
|
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
829
829
|
},
|
|
830
|
-
|
|
830
|
+
__wbg_slice_2b88ff0ac64039d6: function(arg0, arg1) {
|
|
831
831
|
const ret = getObject(arg1).slice();
|
|
832
832
|
const ptr1 = passArrayJsValueToWasm0(ret, wasm.__wbindgen_export);
|
|
833
833
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -841,31 +841,31 @@ function __wbg_get_imports() {
|
|
|
841
841
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
842
842
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
843
843
|
},
|
|
844
|
-
|
|
845
|
-
const ret = typeof
|
|
844
|
+
__wbg_static_accessor_GLOBAL_4ef717fb391d88b7: function() {
|
|
845
|
+
const ret = typeof global === 'undefined' ? null : global;
|
|
846
846
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
847
847
|
},
|
|
848
|
-
|
|
849
|
-
const ret = typeof
|
|
848
|
+
__wbg_static_accessor_GLOBAL_THIS_8d1badc68b5a74f4: function() {
|
|
849
|
+
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
850
850
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
851
851
|
},
|
|
852
|
-
|
|
852
|
+
__wbg_static_accessor_SELF_146583524fe1469b: function() {
|
|
853
853
|
const ret = typeof self === 'undefined' ? null : self;
|
|
854
854
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
855
855
|
},
|
|
856
|
-
|
|
856
|
+
__wbg_static_accessor_WINDOW_f2829a2234d7819e: function() {
|
|
857
857
|
const ret = typeof window === 'undefined' ? null : window;
|
|
858
858
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
859
859
|
},
|
|
860
|
-
|
|
860
|
+
__wbg_then_16d107c451e9905d: function(arg0, arg1, arg2) {
|
|
861
861
|
const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
|
|
862
862
|
return addHeapObject(ret);
|
|
863
863
|
},
|
|
864
|
-
|
|
864
|
+
__wbg_then_6ec10ae38b3e92f7: function(arg0, arg1) {
|
|
865
865
|
const ret = getObject(arg0).then(getObject(arg1));
|
|
866
866
|
return addHeapObject(ret);
|
|
867
867
|
},
|
|
868
|
-
|
|
868
|
+
__wbg_toString_4f7aba1d2c471f07: function(arg0) {
|
|
869
869
|
const ret = getObject(arg0).toString();
|
|
870
870
|
return addHeapObject(ret);
|
|
871
871
|
},
|
|
@@ -877,7 +877,7 @@ function __wbg_get_imports() {
|
|
|
877
877
|
const ret = getObject(arg0).type;
|
|
878
878
|
return (__wbindgen_enum_DataType.indexOf(ret) + 1 || 16) - 1;
|
|
879
879
|
},
|
|
880
|
-
|
|
880
|
+
__wbg_value_a5d5488a9589444a: function(arg0) {
|
|
881
881
|
const ret = getObject(arg0).value;
|
|
882
882
|
return addHeapObject(ret);
|
|
883
883
|
},
|
|
@@ -887,17 +887,17 @@ function __wbg_get_imports() {
|
|
|
887
887
|
},
|
|
888
888
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
889
889
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 689, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
890
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
890
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_1971);
|
|
891
891
|
return addHeapObject(ret);
|
|
892
892
|
},
|
|
893
893
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
894
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
895
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
894
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 919, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
895
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_2580);
|
|
896
896
|
return addHeapObject(ret);
|
|
897
897
|
},
|
|
898
898
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
899
899
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("boolean")], shim_idx: 689, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
900
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
900
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_1971_2);
|
|
901
901
|
return addHeapObject(ret);
|
|
902
902
|
},
|
|
903
903
|
__wbindgen_cast_0000000000000004: function(arg0) {
|
|
@@ -984,10 +984,10 @@ function __wbg_get_imports() {
|
|
|
984
984
|
};
|
|
985
985
|
}
|
|
986
986
|
|
|
987
|
-
function
|
|
987
|
+
function __wasm_bindgen_func_elem_1971(arg0, arg1, arg2) {
|
|
988
988
|
try {
|
|
989
989
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
990
|
-
wasm.
|
|
990
|
+
wasm.__wasm_bindgen_func_elem_1971(retptr, arg0, arg1, addHeapObject(arg2));
|
|
991
991
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
992
992
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
993
993
|
if (r1) {
|
|
@@ -998,10 +998,10 @@ function __wasm_bindgen_func_elem_1961(arg0, arg1, arg2) {
|
|
|
998
998
|
}
|
|
999
999
|
}
|
|
1000
1000
|
|
|
1001
|
-
function
|
|
1001
|
+
function __wasm_bindgen_func_elem_2580(arg0, arg1, arg2) {
|
|
1002
1002
|
try {
|
|
1003
1003
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1004
|
-
wasm.
|
|
1004
|
+
wasm.__wasm_bindgen_func_elem_2580(retptr, arg0, arg1, addHeapObject(arg2));
|
|
1005
1005
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
1006
1006
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
1007
1007
|
if (r1) {
|
|
@@ -1012,10 +1012,10 @@ function __wasm_bindgen_func_elem_2566(arg0, arg1, arg2) {
|
|
|
1012
1012
|
}
|
|
1013
1013
|
}
|
|
1014
1014
|
|
|
1015
|
-
function
|
|
1015
|
+
function __wasm_bindgen_func_elem_1971_2(arg0, arg1, arg2) {
|
|
1016
1016
|
try {
|
|
1017
1017
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1018
|
-
wasm.
|
|
1018
|
+
wasm.__wasm_bindgen_func_elem_1971_2(retptr, arg0, arg1, addHeapObject(arg2));
|
|
1019
1019
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
1020
1020
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
1021
1021
|
if (r1) {
|
|
@@ -1026,8 +1026,8 @@ function __wasm_bindgen_func_elem_1961_2(arg0, arg1, arg2) {
|
|
|
1026
1026
|
}
|
|
1027
1027
|
}
|
|
1028
1028
|
|
|
1029
|
-
function
|
|
1030
|
-
wasm.
|
|
1029
|
+
function __wasm_bindgen_func_elem_2592(arg0, arg1, arg2, arg3) {
|
|
1030
|
+
wasm.__wasm_bindgen_func_elem_2592(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
1031
1031
|
}
|
|
1032
1032
|
|
|
1033
1033
|
|
|
Binary file
|
|
@@ -18,10 +18,10 @@ export const yolopipeline_postprocess: (a: number, b: number, c: number, d: numb
|
|
|
18
18
|
export const yolopipeline_preprocess_rgba: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
19
19
|
export const yolopipeline_task: (a: number, b: number) => void;
|
|
20
20
|
export const start: () => void;
|
|
21
|
-
export const
|
|
22
|
-
export const
|
|
23
|
-
export const
|
|
24
|
-
export const
|
|
21
|
+
export const __wasm_bindgen_func_elem_1971: (a: number, b: number, c: number, d: number) => void;
|
|
22
|
+
export const __wasm_bindgen_func_elem_2580: (a: number, b: number, c: number, d: number) => void;
|
|
23
|
+
export const __wasm_bindgen_func_elem_1971_2: (a: number, b: number, c: number, d: number) => void;
|
|
24
|
+
export const __wasm_bindgen_func_elem_2592: (a: number, b: number, c: number, d: number) => void;
|
|
25
25
|
export const __wbindgen_export: (a: number, b: number) => number;
|
|
26
26
|
export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
27
27
|
export const __wbindgen_export3: (a: number) => void;
|