@mediapipe/tasks-vision 1.2.0-rc.20261021 → 1.2.0-rc.20261024

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.
@@ -8363,12 +8363,12 @@ Module["FS_createLazyFile"] = FS_createLazyFile;
8363
8363
  // End JS library exports
8364
8364
  // end include: postlibrary.js
8365
8365
  var ASM_CONSTS = {
8366
- 1619428: $0 => {
8366
+ 1627860: $0 => {
8367
8367
  const canvas = Emval.toValue($0);
8368
8368
  const context = canvas.getContext("webgpu");
8369
8369
  return WebGPU.importJsTexture(context.getCurrentTexture());
8370
8370
  },
8371
- 1619571: ($0, $1, $2, $3, $4) => {
8371
+ 1628003: ($0, $1, $2, $3, $4) => {
8372
8372
  const drawable = Emval.toValue($0);
8373
8373
  const device = WebGPU.getJsObject($1);
8374
8374
  const texture = WebGPU.getJsObject($2);
@@ -8380,7 +8380,7 @@ var ASM_CONSTS = {
8380
8380
  texture
8381
8381
  }, [ width, height ]);
8382
8382
  },
8383
- 1619830: ($0, $1, $2, $3) => {
8383
+ 1628262: ($0, $1, $2, $3) => {
8384
8384
  const sourceExtTex = Emval.toValue($0);
8385
8385
  const device = WebGPU.getJsObject($1);
8386
8386
  const sampler = WebGPU.getJsObject($2);
@@ -8397,29 +8397,29 @@ var ASM_CONSTS = {
8397
8397
  });
8398
8398
  return WebGPU.importJsBindGroup(bindGroup);
8399
8399
  },
8400
- 1620200: ($0, $1) => {
8400
+ 1628632: ($0, $1) => {
8401
8401
  const input = Emval.toValue($0);
8402
8402
  const output = Emval.toValue($1);
8403
8403
  const ctx = output.getContext("2d");
8404
8404
  ctx.drawImage(input, 0, 0, output.width, output.height);
8405
8405
  },
8406
- 1620365: ($0, $1) => {
8406
+ 1628797: ($0, $1) => {
8407
8407
  const inputArray = Emval.toValue($0);
8408
8408
  const output = Emval.toValue($1);
8409
8409
  const ctx = output.getContext("2d");
8410
8410
  const image_data = new ImageData(inputArray, output.width, output.height);
8411
8411
  ctx.putImageData(image_data, 0, 0);
8412
8412
  },
8413
- 1620589: ($0, $1) => {
8413
+ 1629021: ($0, $1) => {
8414
8414
  const input = Emval.toValue($0);
8415
8415
  const outputArray = Emval.toValue($1);
8416
8416
  const ctx = input.getContext("2d");
8417
8417
  const data = ctx.getImageData(0, 0, input.width, input.height);
8418
8418
  outputArray.set(data.data);
8419
8419
  },
8420
- 1620793: () => (typeof HTMLCanvasElement !== "undefined"),
8421
- 1620848: () => !!Module["preinitializedWebGPUDevice"],
8422
- 1620899: () => {
8420
+ 1629225: () => (typeof HTMLCanvasElement !== "undefined"),
8421
+ 1629280: () => !!Module["preinitializedWebGPUDevice"],
8422
+ 1629331: () => {
8423
8423
  specialHTMLTargets["#canvas"] = Module.canvas;
8424
8424
  }
8425
8425
  };
Binary file
@@ -8366,12 +8366,12 @@ Module["FS_createLazyFile"] = FS_createLazyFile;
8366
8366
  // End JS library exports
8367
8367
  // end include: postlibrary.js
8368
8368
  var ASM_CONSTS = {
8369
- 1619428: $0 => {
8369
+ 1627860: $0 => {
8370
8370
  const canvas = Emval.toValue($0);
8371
8371
  const context = canvas.getContext("webgpu");
8372
8372
  return WebGPU.importJsTexture(context.getCurrentTexture());
8373
8373
  },
8374
- 1619571: ($0, $1, $2, $3, $4) => {
8374
+ 1628003: ($0, $1, $2, $3, $4) => {
8375
8375
  const drawable = Emval.toValue($0);
8376
8376
  const device = WebGPU.getJsObject($1);
8377
8377
  const texture = WebGPU.getJsObject($2);
@@ -8383,7 +8383,7 @@ var ASM_CONSTS = {
8383
8383
  texture
8384
8384
  }, [ width, height ]);
8385
8385
  },
8386
- 1619830: ($0, $1, $2, $3) => {
8386
+ 1628262: ($0, $1, $2, $3) => {
8387
8387
  const sourceExtTex = Emval.toValue($0);
8388
8388
  const device = WebGPU.getJsObject($1);
8389
8389
  const sampler = WebGPU.getJsObject($2);
@@ -8400,29 +8400,29 @@ var ASM_CONSTS = {
8400
8400
  });
8401
8401
  return WebGPU.importJsBindGroup(bindGroup);
8402
8402
  },
8403
- 1620200: ($0, $1) => {
8403
+ 1628632: ($0, $1) => {
8404
8404
  const input = Emval.toValue($0);
8405
8405
  const output = Emval.toValue($1);
8406
8406
  const ctx = output.getContext("2d");
8407
8407
  ctx.drawImage(input, 0, 0, output.width, output.height);
8408
8408
  },
8409
- 1620365: ($0, $1) => {
8409
+ 1628797: ($0, $1) => {
8410
8410
  const inputArray = Emval.toValue($0);
8411
8411
  const output = Emval.toValue($1);
8412
8412
  const ctx = output.getContext("2d");
8413
8413
  const image_data = new ImageData(inputArray, output.width, output.height);
8414
8414
  ctx.putImageData(image_data, 0, 0);
8415
8415
  },
8416
- 1620589: ($0, $1) => {
8416
+ 1629021: ($0, $1) => {
8417
8417
  const input = Emval.toValue($0);
8418
8418
  const outputArray = Emval.toValue($1);
8419
8419
  const ctx = input.getContext("2d");
8420
8420
  const data = ctx.getImageData(0, 0, input.width, input.height);
8421
8421
  outputArray.set(data.data);
8422
8422
  },
8423
- 1620793: () => (typeof HTMLCanvasElement !== "undefined"),
8424
- 1620848: () => !!Module["preinitializedWebGPUDevice"],
8425
- 1620899: () => {
8423
+ 1629225: () => (typeof HTMLCanvasElement !== "undefined"),
8424
+ 1629280: () => !!Module["preinitializedWebGPUDevice"],
8425
+ 1629331: () => {
8426
8426
  specialHTMLTargets["#canvas"] = Module.canvas;
8427
8427
  }
8428
8428
  };
@@ -8363,12 +8363,12 @@ Module["FS_createLazyFile"] = FS_createLazyFile;
8363
8363
  // End JS library exports
8364
8364
  // end include: postlibrary.js
8365
8365
  var ASM_CONSTS = {
8366
- 1618150: $0 => {
8366
+ 1626582: $0 => {
8367
8367
  const canvas = Emval.toValue($0);
8368
8368
  const context = canvas.getContext("webgpu");
8369
8369
  return WebGPU.importJsTexture(context.getCurrentTexture());
8370
8370
  },
8371
- 1618293: ($0, $1, $2, $3, $4) => {
8371
+ 1626725: ($0, $1, $2, $3, $4) => {
8372
8372
  const drawable = Emval.toValue($0);
8373
8373
  const device = WebGPU.getJsObject($1);
8374
8374
  const texture = WebGPU.getJsObject($2);
@@ -8380,7 +8380,7 @@ var ASM_CONSTS = {
8380
8380
  texture
8381
8381
  }, [ width, height ]);
8382
8382
  },
8383
- 1618552: ($0, $1, $2, $3) => {
8383
+ 1626984: ($0, $1, $2, $3) => {
8384
8384
  const sourceExtTex = Emval.toValue($0);
8385
8385
  const device = WebGPU.getJsObject($1);
8386
8386
  const sampler = WebGPU.getJsObject($2);
@@ -8397,29 +8397,29 @@ var ASM_CONSTS = {
8397
8397
  });
8398
8398
  return WebGPU.importJsBindGroup(bindGroup);
8399
8399
  },
8400
- 1618922: ($0, $1) => {
8400
+ 1627354: ($0, $1) => {
8401
8401
  const input = Emval.toValue($0);
8402
8402
  const output = Emval.toValue($1);
8403
8403
  const ctx = output.getContext("2d");
8404
8404
  ctx.drawImage(input, 0, 0, output.width, output.height);
8405
8405
  },
8406
- 1619087: ($0, $1) => {
8406
+ 1627519: ($0, $1) => {
8407
8407
  const inputArray = Emval.toValue($0);
8408
8408
  const output = Emval.toValue($1);
8409
8409
  const ctx = output.getContext("2d");
8410
8410
  const image_data = new ImageData(inputArray, output.width, output.height);
8411
8411
  ctx.putImageData(image_data, 0, 0);
8412
8412
  },
8413
- 1619311: ($0, $1) => {
8413
+ 1627743: ($0, $1) => {
8414
8414
  const input = Emval.toValue($0);
8415
8415
  const outputArray = Emval.toValue($1);
8416
8416
  const ctx = input.getContext("2d");
8417
8417
  const data = ctx.getImageData(0, 0, input.width, input.height);
8418
8418
  outputArray.set(data.data);
8419
8419
  },
8420
- 1619515: () => (typeof HTMLCanvasElement !== "undefined"),
8421
- 1619570: () => !!Module["preinitializedWebGPUDevice"],
8422
- 1619621: () => {
8420
+ 1627947: () => (typeof HTMLCanvasElement !== "undefined"),
8421
+ 1628002: () => !!Module["preinitializedWebGPUDevice"],
8422
+ 1628053: () => {
8423
8423
  specialHTMLTargets["#canvas"] = Module.canvas;
8424
8424
  }
8425
8425
  };