@ultralytics/yolo 0.0.43 → 0.0.45

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 CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  <div align="center">
4
4
  <p>
5
- <a href="https://www.ultralytics.com/events/yolovision?utm_source=github&utm_medium=social&utm_campaign=yolovision26&utm_content=banner" target="_blank">
5
+ <a href="https://www.ultralytics.com/yolo/yolo27?utm_source=github&utm_medium=social&utm_campaign=yolo27-launch-2026&utm_content=banner" target="_blank">
6
6
  <img width="100%" src="https://raw.githubusercontent.com/ultralytics/assets/main/yolov8/banner-yolov8.png" alt="Ultralytics YOLO banner"></a>
7
7
  </p>
8
8
 
@@ -181,6 +181,14 @@ await annotate(canvas, img, results, { depthAlpha: 0.6 });
181
181
  `YOLO.load("/models/yolo26n.onnx", { device: "webgpu" | "cpu" })` (default `"auto"`). If
182
182
  WebGPU cannot engage, the load falls back to CPU; `model.device` reports what
183
183
  actually ran.
184
+ - **RT-DETR**: supported for detection. An RT-DETR `.onnx` runs on WebGPU like any other
185
+ model. An RT-DETR `.tflite` is routed to CPU/wasm under the default `device: "auto"`: its
186
+ deformable-attention decoder reshapes to rank 5 and indexes with `int64`, which the LiteRT
187
+ WebGPU delegate rejected on every driver tested (Linux/Vulkan and Apple Metal-3). An
188
+ explicit `device: "webgpu"` is still attempted rather than overridden, so the delegate can
189
+ be re-tested as it gains ops; on current drivers that attempt fails and LiteRT falls back
190
+ to CPU/wasm, and `model.device` reports what ran. Export one yourself, since no RT-DETR
191
+ ONNX or LiteRT model is published.
184
192
  - **Model format**: export your model to ONNX with Ultralytics `>=8.4.142` so the metadata
185
193
  (task, class names, `imgsz`) is embedded:
186
194
 
package/README.zh-CN.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  <div align="center">
4
4
  <p>
5
- <a href="https://www.ultralytics.com/events/yolovision?utm_source=github&utm_medium=social&utm_campaign=yolovision26&utm_content=banner" target="_blank">
5
+ <a href="https://www.ultralytics.com/yolo/yolo27?utm_source=github&utm_medium=social&utm_campaign=yolo27-launch-2026&utm_content=banner" target="_blank">
6
6
  <img width="100%" src="https://raw.githubusercontent.com/ultralytics/assets/main/yolov8/banner-yolov8.png" alt="Ultralytics YOLO 横幅"></a>
7
7
  </p>
8
8
 
@@ -172,6 +172,13 @@ await annotate(canvas, img, results, { depthAlpha: 0.6 });
172
172
  `YOLO.load` 会自动回退到通用的 **CPU/wasm** 构建,随处可用。可通过
173
173
  `YOLO.load("/models/yolo26n.onnx", { device: "webgpu" | "cpu" })` 指定设备(默认 `"auto"`)。若 WebGPU
174
174
  无法启用,加载会回退到 CPU;`model.device` 会报告实际使用的设备。
175
+ - **RT-DETR**:支持检测任务。RT-DETR 的 `.onnx` 可以像其他模型一样在 WebGPU 上运行;而
176
+ RT-DETR 的 `.tflite` 在默认的 `device: "auto"` 下会被路由到 CPU/wasm,因为它的可变形注意力
177
+ 解码器会 reshape 到 5 维并使用 `int64` 索引,目前测试过的所有驱动(Linux/Vulkan 与 Apple
178
+ Metal-3)上 LiteRT 的 WebGPU delegate 都会拒绝这些算子。显式指定 `device: "webgpu"` 仍会
179
+ 尝试使用 delegate,而不会被强制覆盖,便于在 delegate 补齐算子后重新测试;在当前驱动上该
180
+ 尝试会失败,LiteRT 会回退到 CPU/wasm,`model.device` 会报告实际使用的设备。官方没有发布
181
+ RT-DETR 的 ONNX 或 LiteRT 模型,需要自行导出。
175
182
  - **模型格式**:请使用 Ultralytics `>=8.4.142` 导出为 ONNX,以便元数据(任务、类别名称、`imgsz`)被嵌入模型:
176
183
 
177
184
  ```python
package/dist/index.js CHANGED
@@ -402,6 +402,16 @@ export class YOLO {
402
402
  accelerator = "wasm";
403
403
  console.warn("LiteRT: this is an NMS-free model; its WebGPU delegate can't run the int64 ops, so it runs on CPU/wasm. Re-export with Ultralytics >=8.4.142 and `nms=None` for WebGPU.");
404
404
  }
405
+ // RT-DETR's deformable-attention decoder reshapes to rank 5 and indexes with int64,
406
+ // which the LiteRT WebGPU delegate rejects: Vulkan logs a RESHAPE error per offending
407
+ // node and falls back per-op, Metal-3 fails the compile outright. `"auto"` therefore
408
+ // goes straight to wasm and skips the noise and the wasted GPU compile. An explicit
409
+ // `device: "webgpu"` is still honored, so this can be re-tested when the delegate
410
+ // grows the missing ops, without patching the library.
411
+ if (accelerator === "webgpu" && pipeline.rtdetr && options?.device !== "webgpu") {
412
+ accelerator = "wasm";
413
+ console.warn('LiteRT: RT-DETR\'s decoder uses rank-5 reshapes and int64 indices that the WebGPU delegate could not run on the drivers tested, so it runs on CPU/wasm. Pass device: "webgpu" to try it anyway.');
414
+ }
405
415
  const backend = await LiteRtBackend.load(tflite, wasmUrl, accelerator);
406
416
  // The compiled model outranks the metadata: `pipeline.inputShape` is what sizes the
407
417
  // input tensor below, so a stale `imgsz` would build one the model rejects.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultralytics/yolo",
3
- "version": "0.0.43",
3
+ "version": "0.0.45",
4
4
  "description": "Run Ultralytics YOLO models in the browser on WebGPU (WebAssembly, ONNX Runtime Web via ort-web).",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
package/pkg/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "ultralytics-inference-web",
3
3
  "type": "module",
4
4
  "description": "Browser/WebAssembly bindings for ultralytics-inference (WebGPU via ort-web)",
5
- "version": "0.0.43",
5
+ "version": "0.0.45",
6
6
  "license": "AGPL-3.0",
7
7
  "repository": {
8
8
  "type": "git",
@@ -158,6 +158,12 @@ export class YoloPipeline {
158
158
  * Returns a JS error only if serialization fails (not expected).
159
159
  */
160
160
  readonly names: any;
161
+ /**
162
+ * Whether this is an RT-DETR export. Its deformable-attention decoder reshapes to
163
+ * rank 5 and indexes with `int64`, neither of which the LiteRT WebGPU delegate
164
+ * supports, so such models must run on the CPU (wasm) accelerator.
165
+ */
166
+ readonly rtdetr: boolean;
161
167
  /**
162
168
  * The model's task (`"detect"`, `"segment"`, ...).
163
169
  */
@@ -185,6 +191,7 @@ export interface InitOutput {
185
191
  readonly __wbg_yolomodel_free: (a: number, b: number) => void;
186
192
  readonly __wbg_yolopipeline_free: (a: number, b: number) => void;
187
193
  readonly pose_palette: (a: number) => void;
194
+ readonly start: () => void;
188
195
  readonly yolomodel_device: (a: number, b: number) => void;
189
196
  readonly yolomodel_load_bytes: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
190
197
  readonly yolomodel_names: (a: number, b: number) => void;
@@ -197,13 +204,13 @@ export interface InitOutput {
197
204
  readonly yolopipeline_new: (a: number, b: number, c: number) => void;
198
205
  readonly yolopipeline_postprocess: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number) => void;
199
206
  readonly yolopipeline_preprocess_rgba: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
207
+ readonly yolopipeline_rtdetr: (a: number) => number;
200
208
  readonly yolopipeline_setInputShape: (a: number, b: number, c: number) => void;
201
209
  readonly yolopipeline_task: (a: number, b: number) => void;
202
- readonly start: () => void;
203
- readonly __wasm_bindgen_func_elem_1987: (a: number, b: number, c: number, d: number) => void;
204
- readonly __wasm_bindgen_func_elem_2594: (a: number, b: number, c: number, d: number) => void;
205
- readonly __wasm_bindgen_func_elem_1987_2: (a: number, b: number, c: number, d: number) => void;
206
- readonly __wasm_bindgen_func_elem_2618: (a: number, b: number, c: number, d: number) => void;
210
+ readonly __wasm_bindgen_func_elem_1996: (a: number, b: number, c: number, d: number) => void;
211
+ readonly __wasm_bindgen_func_elem_1996_20: (a: number, b: number, c: number, d: number) => void;
212
+ readonly __wasm_bindgen_func_elem_2603: (a: number, b: number, c: number, d: number) => void;
213
+ readonly __wasm_bindgen_func_elem_2627: (a: number, b: number, c: number, d: number) => void;
207
214
  readonly __wbindgen_export: (a: number, b: number) => number;
208
215
  readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
209
216
  readonly __wbindgen_export3: (a: number) => void;
@@ -369,6 +369,16 @@ export class YoloPipeline {
369
369
  wasm.__wbindgen_add_to_stack_pointer(16);
370
370
  }
371
371
  }
372
+ /**
373
+ * Whether this is an RT-DETR export. Its deformable-attention decoder reshapes to
374
+ * rank 5 and indexes with `int64`, neither of which the LiteRT WebGPU delegate
375
+ * supports, so such models must run on the CPU (wasm) accelerator.
376
+ * @returns {boolean}
377
+ */
378
+ get rtdetr() {
379
+ const ret = wasm.yolopipeline_rtdetr(this.__wbg_ptr);
380
+ return ret !== 0;
381
+ }
372
382
  /**
373
383
  * Adopt the input shape the engine reports for the compiled model.
374
384
  *
@@ -445,7 +455,7 @@ export function start() {
445
455
  function __wbg_get_imports() {
446
456
  const import0 = {
447
457
  __proto__: null,
448
- __wbg_Error_408e67f47ca7b58b: function(arg0, arg1) {
458
+ __wbg_Error_67e7344beaa85059: function(arg0, arg1) {
449
459
  const ret = Error(getStringFromWasm0(arg0, arg1));
450
460
  return addHeapObject(ret);
451
461
  },
@@ -456,64 +466,64 @@ function __wbg_get_imports() {
456
466
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
457
467
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
458
468
  },
459
- __wbg___wbindgen_bigint_get_as_i64_c4ecf48528083721: function(arg0, arg1) {
469
+ __wbg___wbindgen_bigint_get_as_i64_b482365c149396c8: function(arg0, arg1) {
460
470
  const v = getObject(arg1);
461
471
  const ret = typeof(v) === 'bigint' ? v : undefined;
462
472
  getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
463
473
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
464
474
  },
465
- __wbg___wbindgen_boolean_get_c9c83ebd41b34df3: function(arg0) {
475
+ __wbg___wbindgen_boolean_get_7a12af2b3f899c5a: function(arg0) {
466
476
  const v = getObject(arg0);
467
477
  const ret = typeof(v) === 'boolean' ? v : undefined;
468
478
  return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
469
479
  },
470
- __wbg___wbindgen_debug_string_a57024b9c6e4a48b: function(arg0, arg1) {
480
+ __wbg___wbindgen_debug_string_0e68cf47c9cbd9b0: function(arg0, arg1) {
471
481
  const ret = debugString(getObject(arg1));
472
482
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
473
483
  const len1 = WASM_VECTOR_LEN;
474
484
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
475
485
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
476
486
  },
477
- __wbg___wbindgen_in_ac983077f137f2e6: function(arg0, arg1) {
487
+ __wbg___wbindgen_in_50072d4d6e45c193: function(arg0, arg1) {
478
488
  const ret = getObject(arg0) in getObject(arg1);
479
489
  return ret;
480
490
  },
481
- __wbg___wbindgen_is_bigint_8ffbbef442139384: function(arg0) {
491
+ __wbg___wbindgen_is_bigint_60fc0336cb14f5d7: function(arg0) {
482
492
  const ret = typeof(getObject(arg0)) === 'bigint';
483
493
  return ret;
484
494
  },
485
- __wbg___wbindgen_is_function_5e4570eb24ffa122: function(arg0) {
495
+ __wbg___wbindgen_is_function_fcda5e3902d732fe: function(arg0) {
486
496
  const ret = typeof(getObject(arg0)) === 'function';
487
497
  return ret;
488
498
  },
489
- __wbg___wbindgen_is_object_a2790eb24c211ea0: function(arg0) {
499
+ __wbg___wbindgen_is_object_edb6b15aa3afe12e: function(arg0) {
490
500
  const val = getObject(arg0);
491
501
  const ret = typeof(val) === 'object' && val !== null;
492
502
  return ret;
493
503
  },
494
- __wbg___wbindgen_is_string_e6f02f0ea5f20a32: function(arg0) {
504
+ __wbg___wbindgen_is_string_c4f7cb494a2a21f1: function(arg0) {
495
505
  const ret = typeof(getObject(arg0)) === 'string';
496
506
  return ret;
497
507
  },
498
- __wbg___wbindgen_is_undefined_6cff064c44e0d823: function(arg0) {
508
+ __wbg___wbindgen_is_undefined_8c687d0b90d5b524: function(arg0) {
499
509
  const ret = getObject(arg0) === undefined;
500
510
  return ret;
501
511
  },
502
- __wbg___wbindgen_jsval_eq_0a18949a61670320: function(arg0, arg1) {
512
+ __wbg___wbindgen_jsval_eq_9fdcd3c0a860dd3b: function(arg0, arg1) {
503
513
  const ret = getObject(arg0) === getObject(arg1);
504
514
  return ret;
505
515
  },
506
- __wbg___wbindgen_jsval_loose_eq_acf2776254a8d832: function(arg0, arg1) {
516
+ __wbg___wbindgen_jsval_loose_eq_3c30021c243b64cd: function(arg0, arg1) {
507
517
  const ret = getObject(arg0) == getObject(arg1);
508
518
  return ret;
509
519
  },
510
- __wbg___wbindgen_number_get_136b9679cab35cfb: function(arg0, arg1) {
520
+ __wbg___wbindgen_number_get_1dc732b810cb937c: function(arg0, arg1) {
511
521
  const obj = getObject(arg1);
512
522
  const ret = typeof(obj) === 'number' ? obj : undefined;
513
523
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
514
524
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
515
525
  },
516
- __wbg___wbindgen_string_get_d154f1e671052120: function(arg0, arg1) {
526
+ __wbg___wbindgen_string_get_92ab86bb19cbc12f: function(arg0, arg1) {
517
527
  const obj = getObject(arg1);
518
528
  const ret = typeof(obj) === 'string' ? obj : undefined;
519
529
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
@@ -521,29 +531,29 @@ function __wbg_get_imports() {
521
531
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
522
532
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
523
533
  },
524
- __wbg___wbindgen_throw_bb96b2010945f0bc: function(arg0, arg1) {
534
+ __wbg___wbindgen_throw_5d9e815e6fdf150f: function(arg0, arg1) {
525
535
  throw new Error(getStringFromWasm0(arg0, arg1));
526
536
  },
527
- __wbg__wbg_cb_unref_be22cc64ae6946a0: function(arg0) {
537
+ __wbg__wbg_cb_unref_997e73d32238e655: function(arg0) {
528
538
  getObject(arg0)._wbg_cb_unref();
529
539
  },
530
- __wbg_buffer_78291c0e094ccf99: function(arg0) {
540
+ __wbg_buffer_4a989bded7035f57: function(arg0) {
531
541
  const ret = getObject(arg0).buffer;
532
542
  return addHeapObject(ret);
533
543
  },
534
- __wbg_byteLength_336bc7d303511ba0: function(arg0) {
544
+ __wbg_byteLength_0ddb1795e2c7e689: function(arg0) {
535
545
  const ret = getObject(arg0).byteLength;
536
546
  return ret;
537
547
  },
538
- __wbg_byteOffset_2b1d5b10453ce198: function(arg0) {
548
+ __wbg_byteOffset_46eb015f52b6ad7d: function(arg0) {
539
549
  const ret = getObject(arg0).byteOffset;
540
550
  return ret;
541
551
  },
542
- __wbg_call_1c5886ab9c57d1c7: function() { return handleError(function (arg0, arg1) {
552
+ __wbg_call_269c5566fbede3eb: function() { return handleError(function (arg0, arg1) {
543
553
  const ret = getObject(arg0).call(getObject(arg1));
544
554
  return addHeapObject(ret);
545
555
  }, arguments); },
546
- __wbg_call_35dba3c747ad7521: function() { return handleError(function (arg0, arg1, arg2) {
556
+ __wbg_call_6bcf8d3e20937e46: function() { return handleError(function (arg0, arg1, arg2) {
547
557
  const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
548
558
  return addHeapObject(ret);
549
559
  }, arguments); },
@@ -566,11 +576,11 @@ function __wbg_get_imports() {
566
576
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
567
577
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
568
578
  },
569
- __wbg_done_669171204c3dcae2: function(arg0) {
579
+ __wbg_done_cffed884d87aa22e: function(arg0) {
570
580
  const ret = getObject(arg0).done;
571
581
  return ret;
572
582
  },
573
- __wbg_entries_7774d489e1da5f4f: function(arg0) {
583
+ __wbg_entries_972a87586902cf87: function(arg0) {
574
584
  const ret = Object.entries(getObject(arg0));
575
585
  return addHeapObject(ret);
576
586
  },
@@ -585,7 +595,7 @@ function __wbg_get_imports() {
585
595
  wasm.__wbindgen_export4(deferred0_0, deferred0_1, 1);
586
596
  }
587
597
  },
588
- __wbg_from_74f3d90e0ff11240: function(arg0) {
598
+ __wbg_from_a39669ce566077da: function(arg0) {
589
599
  const ret = Array.from(getObject(arg0));
590
600
  return addHeapObject(ret);
591
601
  },
@@ -593,19 +603,19 @@ function __wbg_get_imports() {
593
603
  const ret = getObject(arg0).getData();
594
604
  return addHeapObject(ret);
595
605
  }, arguments); },
596
- __wbg_get_971a0c45d172643f: function() { return handleError(function (arg0, arg1) {
606
+ __wbg_get_6cf5a4d4d8ad3c5a: function() { return handleError(function (arg0, arg1) {
597
607
  const ret = Reflect.get(getObject(arg0), getObject(arg1));
598
608
  return addHeapObject(ret);
599
609
  }, arguments); },
600
- __wbg_get_c0c8f8d7da0c03dd: function(arg0, arg1) {
601
- const ret = getObject(arg0)[arg1 >>> 0];
602
- return addHeapObject(ret);
603
- },
604
- __wbg_get_d173c0308df22d37: function() { return handleError(function (arg0, arg1) {
610
+ __wbg_get_989d0a1309644f2b: function() { return handleError(function (arg0, arg1) {
605
611
  const ret = Reflect.get(getObject(arg0), getObject(arg1));
606
612
  return addHeapObject(ret);
607
613
  }, arguments); },
608
- __wbg_get_unchecked_e20b893aeafc3fca: function(arg0, arg1) {
614
+ __wbg_get_b1f0ab13c737f856: function(arg0, arg1) {
615
+ const ret = getObject(arg0)[arg1 >>> 0];
616
+ return addHeapObject(ret);
617
+ },
618
+ __wbg_get_unchecked_363572bdd397d473: function(arg0, arg1) {
609
619
  const ret = getObject(arg0)[arg1 >>> 0];
610
620
  return addHeapObject(ret);
611
621
  },
@@ -631,7 +641,7 @@ function __wbg_get_imports() {
631
641
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
632
642
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
633
643
  },
634
- __wbg_instanceof_ArrayBuffer_993d02d2d254cad1: function(arg0) {
644
+ __wbg_instanceof_ArrayBuffer_d4ff01f8247925ae: function(arg0) {
635
645
  let result;
636
646
  try {
637
647
  result = getObject(arg0) instanceof ArrayBuffer;
@@ -641,7 +651,7 @@ function __wbg_get_imports() {
641
651
  const ret = result;
642
652
  return ret;
643
653
  },
644
- __wbg_instanceof_Map_9a4d6ead180ae3a9: function(arg0) {
654
+ __wbg_instanceof_Map_1ff6a2b54c899f0d: function(arg0) {
645
655
  let result;
646
656
  try {
647
657
  result = getObject(arg0) instanceof Map;
@@ -651,7 +661,7 @@ function __wbg_get_imports() {
651
661
  const ret = result;
652
662
  return ret;
653
663
  },
654
- __wbg_instanceof_Uint8Array_f935dbb0aa7cdeed: function(arg0) {
664
+ __wbg_instanceof_Uint8Array_598adc0fef426aa8: function(arg0) {
655
665
  let result;
656
666
  try {
657
667
  result = getObject(arg0) instanceof Uint8Array;
@@ -661,7 +671,7 @@ function __wbg_get_imports() {
661
671
  const ret = result;
662
672
  return ret;
663
673
  },
664
- __wbg_instanceof_Window_5625ff9937037a38: function(arg0) {
674
+ __wbg_instanceof_Window_a3b8566f0a9c5d1a: function(arg0) {
665
675
  let result;
666
676
  try {
667
677
  result = getObject(arg0) instanceof Window;
@@ -671,27 +681,27 @@ function __wbg_get_imports() {
671
681
  const ret = result;
672
682
  return ret;
673
683
  },
674
- __wbg_isArray_6339f732981044bf: function(arg0) {
684
+ __wbg_isArray_5674713bb7b79043: function(arg0) {
675
685
  const ret = Array.isArray(getObject(arg0));
676
686
  return ret;
677
687
  },
678
- __wbg_isSafeInteger_f3d6cd19ccfe4512: function(arg0) {
688
+ __wbg_isSafeInteger_8f51c743827d1ec5: function(arg0) {
679
689
  const ret = Number.isSafeInteger(getObject(arg0));
680
690
  return ret;
681
691
  },
682
- __wbg_iterator_5cebbb86e33c6dd6: function() {
692
+ __wbg_iterator_22ddeb808cf55a6f: function() {
683
693
  const ret = Symbol.iterator;
684
694
  return addHeapObject(ret);
685
695
  },
686
- __wbg_length_1009454859bb3e03: function(arg0) {
696
+ __wbg_length_31bdaf014f5fbde2: function(arg0) {
687
697
  const ret = getObject(arg0).length;
688
698
  return ret;
689
699
  },
690
- __wbg_length_36bd29c6848c2144: function(arg0) {
700
+ __wbg_length_4e1adc0d42e23620: function(arg0) {
691
701
  const ret = getObject(arg0).length;
692
702
  return ret;
693
703
  },
694
- __wbg_length_ecfa2c63d3d0d82c: function(arg0) {
704
+ __wbg_length_8768c6f6941913e3: function(arg0) {
695
705
  const ret = getObject(arg0).length;
696
706
  return ret;
697
707
  },
@@ -699,42 +709,42 @@ function __wbg_get_imports() {
699
709
  const ret = getObject(arg0).location;
700
710
  return (__wbindgen_enum_DataLocation.indexOf(ret) + 1 || 7) - 1;
701
711
  },
702
- __wbg_new_116be93542d39019: function() {
703
- const ret = new Array();
712
+ __wbg_new_1da3429bc3c4541c: function(arg0) {
713
+ const ret = new Uint8Array(getObject(arg0));
704
714
  return addHeapObject(ret);
705
715
  },
706
716
  __wbg_new_227d7c05414eb861: function() {
707
717
  const ret = new Error();
708
718
  return addHeapObject(ret);
709
719
  },
710
- __wbg_new_77cc4f4f472aeb81: function(arg0) {
711
- const ret = new Uint8Array(getObject(arg0));
712
- return addHeapObject(ret);
713
- },
714
- __wbg_new_cdf041679ded4c5f: function() {
720
+ __wbg_new_8d36e20aa758e411: function() {
715
721
  const ret = new Map();
716
722
  return addHeapObject(ret);
717
723
  },
718
- __wbg_new_ebe3e0f6837f0879: function() {
724
+ __wbg_new_bebc3f4757acf305: function() {
719
725
  const ret = new Object();
720
726
  return addHeapObject(ret);
721
727
  },
728
+ __wbg_new_ffa92086ea89f79c: function() {
729
+ const ret = new Array();
730
+ return addHeapObject(ret);
731
+ },
722
732
  __wbg_new_from_buffer_raw_6768b4383ffc92bf: function() { return handleError(function (arg0, arg1, arg2) {
723
733
  const ret = new ort.Tensor(__wbindgen_enum_DataType[arg0], takeObject(arg1), takeObject(arg2));
724
734
  return addHeapObject(ret);
725
735
  }, arguments); },
726
- __wbg_new_from_slice_709ab7061ebcc5da: function(arg0, arg1) {
736
+ __wbg_new_from_slice_2221cabb71753908: function(arg0, arg1) {
727
737
  const ret = new Float32Array(getArrayF32FromWasm0(arg0, arg1));
728
738
  return addHeapObject(ret);
729
739
  },
730
- __wbg_new_typed_cceaf62d8d95e9f2: function(arg0, arg1) {
740
+ __wbg_new_typed_6f8b0d724fe26c07: function(arg0, arg1) {
731
741
  try {
732
742
  var state0 = {a: arg0, b: arg1};
733
743
  var cb0 = (arg0, arg1) => {
734
744
  const a = state0.a;
735
745
  state0.a = 0;
736
746
  try {
737
- return __wasm_bindgen_func_elem_2618(a, state0.b, arg0, arg1);
747
+ return __wasm_bindgen_func_elem_2627(a, state0.b, arg0, arg1);
738
748
  } finally {
739
749
  state0.a = a;
740
750
  }
@@ -745,59 +755,59 @@ function __wbg_get_imports() {
745
755
  state0.a = 0;
746
756
  }
747
757
  },
748
- __wbg_new_with_byte_offset_and_length_ff6e927f8d72f0c3: function(arg0, arg1, arg2) {
758
+ __wbg_new_with_byte_offset_and_length_492c969e8b5da8a4: function(arg0, arg1, arg2) {
749
759
  const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
750
760
  return addHeapObject(ret);
751
761
  },
752
- __wbg_new_with_length_2709a9e3b0ab8e53: function(arg0) {
753
- const ret = new Int16Array(arg0 >>> 0);
762
+ __wbg_new_with_length_35500f3909db9783: function(arg0) {
763
+ const ret = new Int32Array(arg0 >>> 0);
754
764
  return addHeapObject(ret);
755
765
  },
756
- __wbg_new_with_length_3ffc1c56427c525c: function(arg0) {
757
- const ret = new Uint8Array(arg0 >>> 0);
766
+ __wbg_new_with_length_45e9def7c5bbc6bb: function(arg0) {
767
+ const ret = new BigUint64Array(arg0 >>> 0);
758
768
  return addHeapObject(ret);
759
769
  },
760
- __wbg_new_with_length_67db5cb8cc48e371: function(arg0) {
761
- const ret = new Uint32Array(arg0 >>> 0);
770
+ __wbg_new_with_length_5ffeddb9d9fbb96f: function(arg0) {
771
+ const ret = new Uint8Array(arg0 >>> 0);
762
772
  return addHeapObject(ret);
763
773
  },
764
- __wbg_new_with_length_bee06f9dbd726275: function(arg0) {
774
+ __wbg_new_with_length_7b5bec0d93a617ac: function(arg0) {
765
775
  const ret = new Uint16Array(arg0 >>> 0);
766
776
  return addHeapObject(ret);
767
777
  },
768
- __wbg_new_with_length_c06762a91328d9e9: function(arg0) {
769
- const ret = new Int32Array(arg0 >>> 0);
778
+ __wbg_new_with_length_867011e49634d0b3: function(arg0) {
779
+ const ret = new Uint32Array(arg0 >>> 0);
770
780
  return addHeapObject(ret);
771
781
  },
772
- __wbg_new_with_length_c490aeb648cde4af: function(arg0) {
773
- const ret = new BigUint64Array(arg0 >>> 0);
782
+ __wbg_new_with_length_9f089fc7e36aaf6f: function(arg0) {
783
+ const ret = new Int16Array(arg0 >>> 0);
774
784
  return addHeapObject(ret);
775
785
  },
776
- __wbg_new_with_length_c6dc3c01aae43e21: function(arg0) {
777
- const ret = new Float64Array(arg0 >>> 0);
786
+ __wbg_new_with_length_a2200a89bf8afdd8: function(arg0) {
787
+ const ret = new BigInt64Array(arg0 >>> 0);
778
788
  return addHeapObject(ret);
779
789
  },
780
- __wbg_new_with_length_c769a0b66a11a602: function(arg0) {
781
- const ret = new BigInt64Array(arg0 >>> 0);
790
+ __wbg_new_with_length_a5864b48dd75f9d5: function(arg0) {
791
+ const ret = new Int8Array(arg0 >>> 0);
782
792
  return addHeapObject(ret);
783
793
  },
784
- __wbg_new_with_length_ef112d2291d8ab95: function(arg0) {
794
+ __wbg_new_with_length_cbf540b1826ead5a: function(arg0) {
785
795
  const ret = new Float32Array(arg0 >>> 0);
786
796
  return addHeapObject(ret);
787
797
  },
788
- __wbg_new_with_length_f035e23c8cbfa57e: function(arg0) {
789
- const ret = new Int8Array(arg0 >>> 0);
798
+ __wbg_new_with_length_e90621e112da5f41: function(arg0) {
799
+ const ret = new Float64Array(arg0 >>> 0);
790
800
  return addHeapObject(ret);
791
801
  },
792
- __wbg_next_42cf16ee0dafc9e2: function() { return handleError(function (arg0) {
793
- const ret = getObject(arg0).next();
794
- return addHeapObject(ret);
795
- }, arguments); },
796
- __wbg_next_8f26b64fa5e9f64b: function(arg0) {
802
+ __wbg_next_95053e306b1c3aed: function(arg0) {
797
803
  const ret = getObject(arg0).next;
798
804
  return addHeapObject(ret);
799
805
  },
800
- __wbg_now_2283802bfbda617e: function(arg0) {
806
+ __wbg_next_f31ecb8646d2c605: function() { return handleError(function (arg0) {
807
+ const ret = getObject(arg0).next();
808
+ return addHeapObject(ret);
809
+ }, arguments); },
810
+ __wbg_now_0b7736bc17fd7719: function(arg0) {
801
811
  const ret = getObject(arg0).now();
802
812
  return ret;
803
813
  },
@@ -815,32 +825,32 @@ function __wbg_get_imports() {
815
825
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
816
826
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
817
827
  },
818
- __wbg_ownKeys_49880e0197268893: function() { return handleError(function (arg0) {
828
+ __wbg_ownKeys_2fa7299880410d24: function() { return handleError(function (arg0) {
819
829
  const ret = Reflect.ownKeys(getObject(arg0));
820
830
  return addHeapObject(ret);
821
831
  }, arguments); },
822
- __wbg_performance_821a3767f0dce300: function(arg0) {
832
+ __wbg_performance_d96ad0b441f4510a: function(arg0) {
823
833
  const ret = getObject(arg0).performance;
824
834
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
825
835
  },
826
- __wbg_prototypesetcall_10722f4fde830f07: function(arg0, arg1, arg2) {
836
+ __wbg_prototypesetcall_804a1eb1b047ccb9: function(arg0, arg1, arg2) {
827
837
  Float32Array.prototype.set.call(getArrayF32FromWasm0(arg0, arg1), getObject(arg2));
828
838
  },
829
- __wbg_prototypesetcall_de8e0d9553586985: function(arg0, arg1, arg2) {
839
+ __wbg_prototypesetcall_ae9f5e7459250748: function(arg0, arg1, arg2) {
830
840
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
831
841
  },
832
- __wbg_push_adb0107829f02d75: function(arg0, arg1) {
842
+ __wbg_push_bfdf956ba476f65b: function(arg0, arg1) {
833
843
  const ret = getObject(arg0).push(getObject(arg1));
834
844
  return ret;
835
845
  },
836
- __wbg_queueMicrotask_ac694eae12e92dfb: function(arg0) {
837
- queueMicrotask(getObject(arg0));
838
- },
839
- __wbg_queueMicrotask_be5fe34a8f4cad4d: function(arg0) {
846
+ __wbg_queueMicrotask_85c90f6987555d65: function(arg0) {
840
847
  const ret = getObject(arg0).queueMicrotask;
841
848
  return addHeapObject(ret);
842
849
  },
843
- __wbg_resolve_020f95d838c6ef25: function(arg0) {
850
+ __wbg_queueMicrotask_f6a1fa10b81d1fc0: function(arg0) {
851
+ queueMicrotask(getObject(arg0));
852
+ },
853
+ __wbg_resolve_35ec7e0c6af4c82c: function(arg0) {
844
854
  const ret = Promise.resolve(getObject(arg0));
845
855
  return addHeapObject(ret);
846
856
  },
@@ -848,24 +858,24 @@ function __wbg_get_imports() {
848
858
  const ret = getObject(arg0).run(takeObject(arg1));
849
859
  return addHeapObject(ret);
850
860
  }, arguments); },
851
- __wbg_set_014226dfeca53178: function(arg0, arg1, arg2) {
852
- const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
853
- return addHeapObject(ret);
861
+ __wbg_set_13d25b81ab403f5e: function(arg0, arg1, arg2) {
862
+ getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
863
+ },
864
+ __wbg_set_5f2ad37e5e02dc7b: function(arg0, arg1, arg2) {
865
+ getObject(arg0).set(getArrayU8FromWasm0(arg1, arg2));
854
866
  },
855
867
  __wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
856
868
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
857
869
  },
858
- __wbg_set_8155bb79a948541b: function() { return handleError(function (arg0, arg1, arg2) {
870
+ __wbg_set_a377297433dfea63: function() { return handleError(function (arg0, arg1, arg2) {
859
871
  const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
860
872
  return ret;
861
873
  }, arguments); },
862
- __wbg_set_a80955eb93b145c6: function(arg0, arg1, arg2) {
863
- getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
864
- },
865
- __wbg_set_b9b5b5cb7b495037: function(arg0, arg1, arg2) {
866
- getObject(arg0).set(getArrayU8FromWasm0(arg1, arg2));
874
+ __wbg_set_bf6dde4923b9b059: function(arg0, arg1, arg2) {
875
+ const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
876
+ return addHeapObject(ret);
867
877
  },
868
- __wbg_slice_6438d3c2b2847d98: function(arg0, arg1) {
878
+ __wbg_slice_7afeb833209865e0: function(arg0, arg1) {
869
879
  const ret = getObject(arg1).slice();
870
880
  const ptr1 = passArrayJsValueToWasm0(ret, wasm.__wbindgen_export);
871
881
  const len1 = WASM_VECTOR_LEN;
@@ -879,31 +889,31 @@ function __wbg_get_imports() {
879
889
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
880
890
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
881
891
  },
882
- __wbg_static_accessor_GLOBAL_THIS_466428f93b4eaa76: function() {
883
- const ret = typeof globalThis === 'undefined' ? null : globalThis;
892
+ __wbg_static_accessor_GLOBAL_8eb4cd83130a11a0: function() {
893
+ const ret = typeof global === 'undefined' ? null : global;
884
894
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
885
895
  },
886
- __wbg_static_accessor_GLOBAL_c7aea38d4de089bc: function() {
887
- const ret = typeof global === 'undefined' ? null : global;
896
+ __wbg_static_accessor_GLOBAL_THIS_1e7044f654e934db: function() {
897
+ const ret = typeof globalThis === 'undefined' ? null : globalThis;
888
898
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
889
899
  },
890
- __wbg_static_accessor_SELF_42d4fae05e59267a: function() {
900
+ __wbg_static_accessor_SELF_d8b50611246a6d92: function() {
891
901
  const ret = typeof self === 'undefined' ? null : self;
892
902
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
893
903
  },
894
- __wbg_static_accessor_WINDOW_e0db14a0eba6a812: function() {
904
+ __wbg_static_accessor_WINDOW_fd0bc376bf0f8b42: function() {
895
905
  const ret = typeof window === 'undefined' ? null : window;
896
906
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
897
907
  },
898
- __wbg_then_7026b513a94278a8: function(arg0, arg1) {
899
- const ret = getObject(arg0).then(getObject(arg1));
908
+ __wbg_then_7a850dae4493f353: function(arg0, arg1, arg2) {
909
+ const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
900
910
  return addHeapObject(ret);
901
911
  },
902
- __wbg_then_72819b8d4e081fb5: function(arg0, arg1, arg2) {
903
- const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
912
+ __wbg_then_b830475380919203: function(arg0, arg1) {
913
+ const ret = getObject(arg0).then(getObject(arg1));
904
914
  return addHeapObject(ret);
905
915
  },
906
- __wbg_toString_7ed1575696235498: function(arg0) {
916
+ __wbg_toString_53c7c429ba8fd35a: function(arg0) {
907
917
  const ret = getObject(arg0).toString();
908
918
  return addHeapObject(ret);
909
919
  },
@@ -915,7 +925,7 @@ function __wbg_get_imports() {
915
925
  const ret = getObject(arg0).type;
916
926
  return (__wbindgen_enum_DataType.indexOf(ret) + 1 || 16) - 1;
917
927
  },
918
- __wbg_value_1e2369fab29b420e: function(arg0) {
928
+ __wbg_value_c227f843d21da141: function(arg0) {
919
929
  const ret = getObject(arg0).value;
920
930
  return addHeapObject(ret);
921
931
  },
@@ -923,87 +933,87 @@ function __wbg_get_imports() {
923
933
  const ret = YoloModel.__wrap(arg0);
924
934
  return addHeapObject(ret);
925
935
  },
926
- __wbindgen_cast_0000000000000001: function(arg0, arg1) {
936
+ __wbindgen_generic_0000000000000001: function(arg0, arg1) {
927
937
  // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 693, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
928
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_1987);
938
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_1996);
929
939
  return addHeapObject(ret);
930
940
  },
931
- __wbindgen_cast_0000000000000002: function(arg0, arg1) {
941
+ __wbindgen_generic_0000000000000002: function(arg0, arg1) {
932
942
  // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 921, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
933
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_2594);
943
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_2603);
934
944
  return addHeapObject(ret);
935
945
  },
936
- __wbindgen_cast_0000000000000003: function(arg0, arg1) {
946
+ __wbindgen_generic_0000000000000003: function(arg0, arg1) {
937
947
  // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("boolean")], shim_idx: 693, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
938
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_1987_2);
948
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_1996_20);
939
949
  return addHeapObject(ret);
940
950
  },
941
- __wbindgen_cast_0000000000000004: function(arg0) {
951
+ __wbindgen_generic_0000000000000004: function(arg0) {
942
952
  // Cast intrinsic for `F64 -> Externref`.
943
953
  const ret = arg0;
944
954
  return addHeapObject(ret);
945
955
  },
946
- __wbindgen_cast_0000000000000005: function(arg0) {
956
+ __wbindgen_generic_0000000000000005: function(arg0) {
947
957
  // Cast intrinsic for `I64 -> Externref`.
948
958
  const ret = arg0;
949
959
  return addHeapObject(ret);
950
960
  },
951
- __wbindgen_cast_0000000000000006: function(arg0, arg1) {
961
+ __wbindgen_generic_0000000000000006: function(arg0, arg1) {
952
962
  // Cast intrinsic for `Ref(Slice(F32)) -> NamedExternref("Float32Array")`.
953
963
  const ret = getArrayF32FromWasm0(arg0, arg1);
954
964
  return addHeapObject(ret);
955
965
  },
956
- __wbindgen_cast_0000000000000007: function(arg0, arg1) {
966
+ __wbindgen_generic_0000000000000007: function(arg0, arg1) {
957
967
  // Cast intrinsic for `Ref(Slice(F64)) -> NamedExternref("Float64Array")`.
958
968
  const ret = getArrayF64FromWasm0(arg0, arg1);
959
969
  return addHeapObject(ret);
960
970
  },
961
- __wbindgen_cast_0000000000000008: function(arg0, arg1) {
971
+ __wbindgen_generic_0000000000000008: function(arg0, arg1) {
962
972
  // Cast intrinsic for `Ref(Slice(I16)) -> NamedExternref("Int16Array")`.
963
973
  const ret = getArrayI16FromWasm0(arg0, arg1);
964
974
  return addHeapObject(ret);
965
975
  },
966
- __wbindgen_cast_0000000000000009: function(arg0, arg1) {
976
+ __wbindgen_generic_0000000000000009: function(arg0, arg1) {
967
977
  // Cast intrinsic for `Ref(Slice(I32)) -> NamedExternref("Int32Array")`.
968
978
  const ret = getArrayI32FromWasm0(arg0, arg1);
969
979
  return addHeapObject(ret);
970
980
  },
971
- __wbindgen_cast_000000000000000a: function(arg0, arg1) {
981
+ __wbindgen_generic_000000000000000a: function(arg0, arg1) {
972
982
  // Cast intrinsic for `Ref(Slice(I64)) -> NamedExternref("BigInt64Array")`.
973
983
  const ret = getArrayI64FromWasm0(arg0, arg1);
974
984
  return addHeapObject(ret);
975
985
  },
976
- __wbindgen_cast_000000000000000b: function(arg0, arg1) {
986
+ __wbindgen_generic_000000000000000b: function(arg0, arg1) {
977
987
  // Cast intrinsic for `Ref(Slice(I8)) -> NamedExternref("Int8Array")`.
978
988
  const ret = getArrayI8FromWasm0(arg0, arg1);
979
989
  return addHeapObject(ret);
980
990
  },
981
- __wbindgen_cast_000000000000000c: function(arg0, arg1) {
991
+ __wbindgen_generic_000000000000000c: function(arg0, arg1) {
982
992
  // Cast intrinsic for `Ref(Slice(U16)) -> NamedExternref("Uint16Array")`.
983
993
  const ret = getArrayU16FromWasm0(arg0, arg1);
984
994
  return addHeapObject(ret);
985
995
  },
986
- __wbindgen_cast_000000000000000d: function(arg0, arg1) {
996
+ __wbindgen_generic_000000000000000d: function(arg0, arg1) {
987
997
  // Cast intrinsic for `Ref(Slice(U32)) -> NamedExternref("Uint32Array")`.
988
998
  const ret = getArrayU32FromWasm0(arg0, arg1);
989
999
  return addHeapObject(ret);
990
1000
  },
991
- __wbindgen_cast_000000000000000e: function(arg0, arg1) {
1001
+ __wbindgen_generic_000000000000000e: function(arg0, arg1) {
992
1002
  // Cast intrinsic for `Ref(Slice(U64)) -> NamedExternref("BigUint64Array")`.
993
1003
  const ret = getArrayU64FromWasm0(arg0, arg1);
994
1004
  return addHeapObject(ret);
995
1005
  },
996
- __wbindgen_cast_000000000000000f: function(arg0, arg1) {
1006
+ __wbindgen_generic_000000000000000f: function(arg0, arg1) {
997
1007
  // Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
998
1008
  const ret = getArrayU8FromWasm0(arg0, arg1);
999
1009
  return addHeapObject(ret);
1000
1010
  },
1001
- __wbindgen_cast_0000000000000010: function(arg0, arg1) {
1011
+ __wbindgen_generic_0000000000000010: function(arg0, arg1) {
1002
1012
  // Cast intrinsic for `Ref(String) -> Externref`.
1003
1013
  const ret = getStringFromWasm0(arg0, arg1);
1004
1014
  return addHeapObject(ret);
1005
1015
  },
1006
- __wbindgen_cast_0000000000000011: function(arg0) {
1016
+ __wbindgen_generic_0000000000000011: function(arg0) {
1007
1017
  // Cast intrinsic for `U64 -> Externref`.
1008
1018
  const ret = BigInt.asUintN(64, arg0);
1009
1019
  return addHeapObject(ret);
@@ -1022,10 +1032,14 @@ function __wbg_get_imports() {
1022
1032
  };
1023
1033
  }
1024
1034
 
1025
- function __wasm_bindgen_func_elem_1987(arg0, arg1, arg2) {
1035
+ function __wasm_bindgen_func_elem_2627(arg0, arg1, arg2, arg3) {
1036
+ wasm.__wasm_bindgen_func_elem_2627(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
1037
+ }
1038
+
1039
+ function __wasm_bindgen_func_elem_1996(arg0, arg1, arg2) {
1026
1040
  try {
1027
1041
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1028
- wasm.__wasm_bindgen_func_elem_1987(retptr, arg0, arg1, addHeapObject(arg2));
1042
+ wasm.__wasm_bindgen_func_elem_1996(retptr, arg0, arg1, addHeapObject(arg2));
1029
1043
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1030
1044
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1031
1045
  if (r1) {
@@ -1036,10 +1050,10 @@ function __wasm_bindgen_func_elem_1987(arg0, arg1, arg2) {
1036
1050
  }
1037
1051
  }
1038
1052
 
1039
- function __wasm_bindgen_func_elem_2594(arg0, arg1, arg2) {
1053
+ function __wasm_bindgen_func_elem_2603(arg0, arg1, arg2) {
1040
1054
  try {
1041
1055
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1042
- wasm.__wasm_bindgen_func_elem_2594(retptr, arg0, arg1, addHeapObject(arg2));
1056
+ wasm.__wasm_bindgen_func_elem_2603(retptr, arg0, arg1, addHeapObject(arg2));
1043
1057
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1044
1058
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1045
1059
  if (r1) {
@@ -1050,10 +1064,10 @@ function __wasm_bindgen_func_elem_2594(arg0, arg1, arg2) {
1050
1064
  }
1051
1065
  }
1052
1066
 
1053
- function __wasm_bindgen_func_elem_1987_2(arg0, arg1, arg2) {
1067
+ function __wasm_bindgen_func_elem_1996_20(arg0, arg1, arg2) {
1054
1068
  try {
1055
1069
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1056
- wasm.__wasm_bindgen_func_elem_1987_2(retptr, arg0, arg1, addHeapObject(arg2));
1070
+ wasm.__wasm_bindgen_func_elem_1996_20(retptr, arg0, arg1, addHeapObject(arg2));
1057
1071
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1058
1072
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1059
1073
  if (r1) {
@@ -1064,10 +1078,6 @@ function __wasm_bindgen_func_elem_1987_2(arg0, arg1, arg2) {
1064
1078
  }
1065
1079
  }
1066
1080
 
1067
- function __wasm_bindgen_func_elem_2618(arg0, arg1, arg2, arg3) {
1068
- wasm.__wasm_bindgen_func_elem_2618(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
1069
- }
1070
-
1071
1081
 
1072
1082
  const __wbindgen_enum_DataLocation = ["none", "cpu", "cpu-pinned", "texture", "gpu-buffer", "ml-tensor"];
1073
1083
 
@@ -4,6 +4,7 @@ export const memory: WebAssembly.Memory;
4
4
  export const __wbg_yolomodel_free: (a: number, b: number) => void;
5
5
  export const __wbg_yolopipeline_free: (a: number, b: number) => void;
6
6
  export const pose_palette: (a: number) => void;
7
+ export const start: () => void;
7
8
  export const yolomodel_device: (a: number, b: number) => void;
8
9
  export const yolomodel_load_bytes: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
9
10
  export const yolomodel_names: (a: number, b: number) => void;
@@ -16,13 +17,13 @@ export const yolopipeline_names: (a: number, b: number) => void;
16
17
  export const yolopipeline_new: (a: number, b: number, c: number) => void;
17
18
  export const yolopipeline_postprocess: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number) => void;
18
19
  export const yolopipeline_preprocess_rgba: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
20
+ export const yolopipeline_rtdetr: (a: number) => number;
19
21
  export const yolopipeline_setInputShape: (a: number, b: number, c: number) => void;
20
22
  export const yolopipeline_task: (a: number, b: number) => void;
21
- export const start: () => void;
22
- export const __wasm_bindgen_func_elem_1987: (a: number, b: number, c: number, d: number) => void;
23
- export const __wasm_bindgen_func_elem_2594: (a: number, b: number, c: number, d: number) => void;
24
- export const __wasm_bindgen_func_elem_1987_2: (a: number, b: number, c: number, d: number) => void;
25
- export const __wasm_bindgen_func_elem_2618: (a: number, b: number, c: number, d: number) => void;
23
+ export const __wasm_bindgen_func_elem_1996: (a: number, b: number, c: number, d: number) => void;
24
+ export const __wasm_bindgen_func_elem_1996_20: (a: number, b: number, c: number, d: number) => void;
25
+ export const __wasm_bindgen_func_elem_2603: (a: number, b: number, c: number, d: number) => void;
26
+ export const __wasm_bindgen_func_elem_2627: (a: number, b: number, c: number, d: number) => void;
26
27
  export const __wbindgen_export: (a: number, b: number) => number;
27
28
  export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
28
29
  export const __wbindgen_export3: (a: number) => void;