@mediapipe/tasks-vision 1.1.0-rc.20260921 → 1.1.0-rc.20260922

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mediapipe/tasks-vision",
3
- "version": "1.1.0-rc.20260921",
3
+ "version": "1.1.0-rc.20260922",
4
4
  "description": "MediaPipe Vision Tasks. See the privacy notice at https://goo.gle/mediapipe-privacy.",
5
5
  "main": "vision_bundle.cjs",
6
6
  "browser": "vision_bundle.mjs",
@@ -8163,12 +8163,12 @@ Module["FS_createLazyFile"] = FS_createLazyFile;
8163
8163
  // End JS library exports
8164
8164
  // end include: postlibrary.js
8165
8165
  var ASM_CONSTS = {
8166
- 1513908: $0 => {
8166
+ 1514036: $0 => {
8167
8167
  const canvas = Emval.toValue($0);
8168
8168
  const context = canvas.getContext("webgpu");
8169
8169
  return WebGPU.importJsTexture(context.getCurrentTexture());
8170
8170
  },
8171
- 1514051: ($0, $1, $2, $3, $4) => {
8171
+ 1514179: ($0, $1, $2, $3, $4) => {
8172
8172
  const drawable = Emval.toValue($0);
8173
8173
  const device = WebGPU.getJsObject($1);
8174
8174
  const texture = WebGPU.getJsObject($2);
@@ -8180,7 +8180,7 @@ var ASM_CONSTS = {
8180
8180
  texture
8181
8181
  }, [ width, height ]);
8182
8182
  },
8183
- 1514310: ($0, $1, $2, $3) => {
8183
+ 1514438: ($0, $1, $2, $3) => {
8184
8184
  const sourceExtTex = Emval.toValue($0);
8185
8185
  const device = WebGPU.getJsObject($1);
8186
8186
  const sampler = WebGPU.getJsObject($2);
@@ -8197,29 +8197,29 @@ var ASM_CONSTS = {
8197
8197
  });
8198
8198
  return WebGPU.importJsBindGroup(bindGroup);
8199
8199
  },
8200
- 1514680: ($0, $1) => {
8200
+ 1514808: ($0, $1) => {
8201
8201
  const input = Emval.toValue($0);
8202
8202
  const output = Emval.toValue($1);
8203
8203
  const ctx = output.getContext("2d");
8204
8204
  ctx.drawImage(input, 0, 0, output.width, output.height);
8205
8205
  },
8206
- 1514845: ($0, $1) => {
8206
+ 1514973: ($0, $1) => {
8207
8207
  const inputArray = Emval.toValue($0);
8208
8208
  const output = Emval.toValue($1);
8209
8209
  const ctx = output.getContext("2d");
8210
8210
  const image_data = new ImageData(inputArray, output.width, output.height);
8211
8211
  ctx.putImageData(image_data, 0, 0);
8212
8212
  },
8213
- 1515069: ($0, $1) => {
8213
+ 1515197: ($0, $1) => {
8214
8214
  const input = Emval.toValue($0);
8215
8215
  const outputArray = Emval.toValue($1);
8216
8216
  const ctx = input.getContext("2d");
8217
8217
  const data = ctx.getImageData(0, 0, input.width, input.height);
8218
8218
  outputArray.set(data.data);
8219
8219
  },
8220
- 1515273: () => (typeof HTMLCanvasElement !== "undefined"),
8221
- 1515328: () => !!Module["preinitializedWebGPUDevice"],
8222
- 1515379: () => {
8220
+ 1515401: () => (typeof HTMLCanvasElement !== "undefined"),
8221
+ 1515456: () => !!Module["preinitializedWebGPUDevice"],
8222
+ 1515507: () => {
8223
8223
  specialHTMLTargets["#canvas"] = Module.canvas;
8224
8224
  }
8225
8225
  };
Binary file
@@ -8166,12 +8166,12 @@ Module["FS_createLazyFile"] = FS_createLazyFile;
8166
8166
  // End JS library exports
8167
8167
  // end include: postlibrary.js
8168
8168
  var ASM_CONSTS = {
8169
- 1513908: $0 => {
8169
+ 1514036: $0 => {
8170
8170
  const canvas = Emval.toValue($0);
8171
8171
  const context = canvas.getContext("webgpu");
8172
8172
  return WebGPU.importJsTexture(context.getCurrentTexture());
8173
8173
  },
8174
- 1514051: ($0, $1, $2, $3, $4) => {
8174
+ 1514179: ($0, $1, $2, $3, $4) => {
8175
8175
  const drawable = Emval.toValue($0);
8176
8176
  const device = WebGPU.getJsObject($1);
8177
8177
  const texture = WebGPU.getJsObject($2);
@@ -8183,7 +8183,7 @@ var ASM_CONSTS = {
8183
8183
  texture
8184
8184
  }, [ width, height ]);
8185
8185
  },
8186
- 1514310: ($0, $1, $2, $3) => {
8186
+ 1514438: ($0, $1, $2, $3) => {
8187
8187
  const sourceExtTex = Emval.toValue($0);
8188
8188
  const device = WebGPU.getJsObject($1);
8189
8189
  const sampler = WebGPU.getJsObject($2);
@@ -8200,29 +8200,29 @@ var ASM_CONSTS = {
8200
8200
  });
8201
8201
  return WebGPU.importJsBindGroup(bindGroup);
8202
8202
  },
8203
- 1514680: ($0, $1) => {
8203
+ 1514808: ($0, $1) => {
8204
8204
  const input = Emval.toValue($0);
8205
8205
  const output = Emval.toValue($1);
8206
8206
  const ctx = output.getContext("2d");
8207
8207
  ctx.drawImage(input, 0, 0, output.width, output.height);
8208
8208
  },
8209
- 1514845: ($0, $1) => {
8209
+ 1514973: ($0, $1) => {
8210
8210
  const inputArray = Emval.toValue($0);
8211
8211
  const output = Emval.toValue($1);
8212
8212
  const ctx = output.getContext("2d");
8213
8213
  const image_data = new ImageData(inputArray, output.width, output.height);
8214
8214
  ctx.putImageData(image_data, 0, 0);
8215
8215
  },
8216
- 1515069: ($0, $1) => {
8216
+ 1515197: ($0, $1) => {
8217
8217
  const input = Emval.toValue($0);
8218
8218
  const outputArray = Emval.toValue($1);
8219
8219
  const ctx = input.getContext("2d");
8220
8220
  const data = ctx.getImageData(0, 0, input.width, input.height);
8221
8221
  outputArray.set(data.data);
8222
8222
  },
8223
- 1515273: () => (typeof HTMLCanvasElement !== "undefined"),
8224
- 1515328: () => !!Module["preinitializedWebGPUDevice"],
8225
- 1515379: () => {
8223
+ 1515401: () => (typeof HTMLCanvasElement !== "undefined"),
8224
+ 1515456: () => !!Module["preinitializedWebGPUDevice"],
8225
+ 1515507: () => {
8226
8226
  specialHTMLTargets["#canvas"] = Module.canvas;
8227
8227
  }
8228
8228
  };
@@ -8163,12 +8163,12 @@ Module["FS_createLazyFile"] = FS_createLazyFile;
8163
8163
  // End JS library exports
8164
8164
  // end include: postlibrary.js
8165
8165
  var ASM_CONSTS = {
8166
- 1512758: $0 => {
8166
+ 1512886: $0 => {
8167
8167
  const canvas = Emval.toValue($0);
8168
8168
  const context = canvas.getContext("webgpu");
8169
8169
  return WebGPU.importJsTexture(context.getCurrentTexture());
8170
8170
  },
8171
- 1512901: ($0, $1, $2, $3, $4) => {
8171
+ 1513029: ($0, $1, $2, $3, $4) => {
8172
8172
  const drawable = Emval.toValue($0);
8173
8173
  const device = WebGPU.getJsObject($1);
8174
8174
  const texture = WebGPU.getJsObject($2);
@@ -8180,7 +8180,7 @@ var ASM_CONSTS = {
8180
8180
  texture
8181
8181
  }, [ width, height ]);
8182
8182
  },
8183
- 1513160: ($0, $1, $2, $3) => {
8183
+ 1513288: ($0, $1, $2, $3) => {
8184
8184
  const sourceExtTex = Emval.toValue($0);
8185
8185
  const device = WebGPU.getJsObject($1);
8186
8186
  const sampler = WebGPU.getJsObject($2);
@@ -8197,29 +8197,29 @@ var ASM_CONSTS = {
8197
8197
  });
8198
8198
  return WebGPU.importJsBindGroup(bindGroup);
8199
8199
  },
8200
- 1513530: ($0, $1) => {
8200
+ 1513658: ($0, $1) => {
8201
8201
  const input = Emval.toValue($0);
8202
8202
  const output = Emval.toValue($1);
8203
8203
  const ctx = output.getContext("2d");
8204
8204
  ctx.drawImage(input, 0, 0, output.width, output.height);
8205
8205
  },
8206
- 1513695: ($0, $1) => {
8206
+ 1513823: ($0, $1) => {
8207
8207
  const inputArray = Emval.toValue($0);
8208
8208
  const output = Emval.toValue($1);
8209
8209
  const ctx = output.getContext("2d");
8210
8210
  const image_data = new ImageData(inputArray, output.width, output.height);
8211
8211
  ctx.putImageData(image_data, 0, 0);
8212
8212
  },
8213
- 1513919: ($0, $1) => {
8213
+ 1514047: ($0, $1) => {
8214
8214
  const input = Emval.toValue($0);
8215
8215
  const outputArray = Emval.toValue($1);
8216
8216
  const ctx = input.getContext("2d");
8217
8217
  const data = ctx.getImageData(0, 0, input.width, input.height);
8218
8218
  outputArray.set(data.data);
8219
8219
  },
8220
- 1514123: () => (typeof HTMLCanvasElement !== "undefined"),
8221
- 1514178: () => !!Module["preinitializedWebGPUDevice"],
8222
- 1514229: () => {
8220
+ 1514251: () => (typeof HTMLCanvasElement !== "undefined"),
8221
+ 1514306: () => !!Module["preinitializedWebGPUDevice"],
8222
+ 1514357: () => {
8223
8223
  specialHTMLTargets["#canvas"] = Module.canvas;
8224
8224
  }
8225
8225
  };