@mediapipe/tasks-vision 1.0.0-rc.20260713 → 1.0.0-rc.20260714

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.0.0-rc.20260713",
3
+ "version": "1.0.0-rc.20260714",
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",
@@ -8065,12 +8065,12 @@ Module["FS_createLazyFile"] = FS_createLazyFile;
8065
8065
  // End JS library exports
8066
8066
  // end include: postlibrary.js
8067
8067
  var ASM_CONSTS = {
8068
- 1505460: $0 => {
8068
+ 1505720: $0 => {
8069
8069
  const canvas = Emval.toValue($0);
8070
8070
  const context = canvas.getContext("webgpu");
8071
8071
  return WebGPU.importJsTexture(context.getCurrentTexture());
8072
8072
  },
8073
- 1505603: ($0, $1, $2, $3, $4) => {
8073
+ 1505863: ($0, $1, $2, $3, $4) => {
8074
8074
  const drawable = Emval.toValue($0);
8075
8075
  const device = WebGPU.getJsObject($1);
8076
8076
  const texture = WebGPU.getJsObject($2);
@@ -8082,7 +8082,7 @@ var ASM_CONSTS = {
8082
8082
  texture
8083
8083
  }, [ width, height ]);
8084
8084
  },
8085
- 1505862: ($0, $1, $2, $3) => {
8085
+ 1506122: ($0, $1, $2, $3) => {
8086
8086
  const sourceExtTex = Emval.toValue($0);
8087
8087
  const device = WebGPU.getJsObject($1);
8088
8088
  const sampler = WebGPU.getJsObject($2);
@@ -8099,29 +8099,29 @@ var ASM_CONSTS = {
8099
8099
  });
8100
8100
  return WebGPU.importJsBindGroup(bindGroup);
8101
8101
  },
8102
- 1506232: ($0, $1) => {
8102
+ 1506492: ($0, $1) => {
8103
8103
  const input = Emval.toValue($0);
8104
8104
  const output = Emval.toValue($1);
8105
8105
  const ctx = output.getContext("2d");
8106
8106
  ctx.drawImage(input, 0, 0, output.width, output.height);
8107
8107
  },
8108
- 1506397: ($0, $1) => {
8108
+ 1506657: ($0, $1) => {
8109
8109
  const inputArray = Emval.toValue($0);
8110
8110
  const output = Emval.toValue($1);
8111
8111
  const ctx = output.getContext("2d");
8112
8112
  const image_data = new ImageData(inputArray, output.width, output.height);
8113
8113
  ctx.putImageData(image_data, 0, 0);
8114
8114
  },
8115
- 1506621: ($0, $1) => {
8115
+ 1506881: ($0, $1) => {
8116
8116
  const input = Emval.toValue($0);
8117
8117
  const outputArray = Emval.toValue($1);
8118
8118
  const ctx = input.getContext("2d");
8119
8119
  const data = ctx.getImageData(0, 0, input.width, input.height);
8120
8120
  outputArray.set(data.data);
8121
8121
  },
8122
- 1506825: () => (typeof HTMLCanvasElement !== "undefined"),
8123
- 1506880: () => !!Module["preinitializedWebGPUDevice"],
8124
- 1506931: () => {
8122
+ 1507085: () => (typeof HTMLCanvasElement !== "undefined"),
8123
+ 1507140: () => !!Module["preinitializedWebGPUDevice"],
8124
+ 1507191: () => {
8125
8125
  specialHTMLTargets["#canvas"] = Module.canvas;
8126
8126
  }
8127
8127
  };
Binary file
@@ -8068,12 +8068,12 @@ Module["FS_createLazyFile"] = FS_createLazyFile;
8068
8068
  // End JS library exports
8069
8069
  // end include: postlibrary.js
8070
8070
  var ASM_CONSTS = {
8071
- 1505460: $0 => {
8071
+ 1505720: $0 => {
8072
8072
  const canvas = Emval.toValue($0);
8073
8073
  const context = canvas.getContext("webgpu");
8074
8074
  return WebGPU.importJsTexture(context.getCurrentTexture());
8075
8075
  },
8076
- 1505603: ($0, $1, $2, $3, $4) => {
8076
+ 1505863: ($0, $1, $2, $3, $4) => {
8077
8077
  const drawable = Emval.toValue($0);
8078
8078
  const device = WebGPU.getJsObject($1);
8079
8079
  const texture = WebGPU.getJsObject($2);
@@ -8085,7 +8085,7 @@ var ASM_CONSTS = {
8085
8085
  texture
8086
8086
  }, [ width, height ]);
8087
8087
  },
8088
- 1505862: ($0, $1, $2, $3) => {
8088
+ 1506122: ($0, $1, $2, $3) => {
8089
8089
  const sourceExtTex = Emval.toValue($0);
8090
8090
  const device = WebGPU.getJsObject($1);
8091
8091
  const sampler = WebGPU.getJsObject($2);
@@ -8102,29 +8102,29 @@ var ASM_CONSTS = {
8102
8102
  });
8103
8103
  return WebGPU.importJsBindGroup(bindGroup);
8104
8104
  },
8105
- 1506232: ($0, $1) => {
8105
+ 1506492: ($0, $1) => {
8106
8106
  const input = Emval.toValue($0);
8107
8107
  const output = Emval.toValue($1);
8108
8108
  const ctx = output.getContext("2d");
8109
8109
  ctx.drawImage(input, 0, 0, output.width, output.height);
8110
8110
  },
8111
- 1506397: ($0, $1) => {
8111
+ 1506657: ($0, $1) => {
8112
8112
  const inputArray = Emval.toValue($0);
8113
8113
  const output = Emval.toValue($1);
8114
8114
  const ctx = output.getContext("2d");
8115
8115
  const image_data = new ImageData(inputArray, output.width, output.height);
8116
8116
  ctx.putImageData(image_data, 0, 0);
8117
8117
  },
8118
- 1506621: ($0, $1) => {
8118
+ 1506881: ($0, $1) => {
8119
8119
  const input = Emval.toValue($0);
8120
8120
  const outputArray = Emval.toValue($1);
8121
8121
  const ctx = input.getContext("2d");
8122
8122
  const data = ctx.getImageData(0, 0, input.width, input.height);
8123
8123
  outputArray.set(data.data);
8124
8124
  },
8125
- 1506825: () => (typeof HTMLCanvasElement !== "undefined"),
8126
- 1506880: () => !!Module["preinitializedWebGPUDevice"],
8127
- 1506931: () => {
8125
+ 1507085: () => (typeof HTMLCanvasElement !== "undefined"),
8126
+ 1507140: () => !!Module["preinitializedWebGPUDevice"],
8127
+ 1507191: () => {
8128
8128
  specialHTMLTargets["#canvas"] = Module.canvas;
8129
8129
  }
8130
8130
  };
@@ -8065,12 +8065,12 @@ Module["FS_createLazyFile"] = FS_createLazyFile;
8065
8065
  // End JS library exports
8066
8066
  // end include: postlibrary.js
8067
8067
  var ASM_CONSTS = {
8068
- 1504566: $0 => {
8068
+ 1504826: $0 => {
8069
8069
  const canvas = Emval.toValue($0);
8070
8070
  const context = canvas.getContext("webgpu");
8071
8071
  return WebGPU.importJsTexture(context.getCurrentTexture());
8072
8072
  },
8073
- 1504709: ($0, $1, $2, $3, $4) => {
8073
+ 1504969: ($0, $1, $2, $3, $4) => {
8074
8074
  const drawable = Emval.toValue($0);
8075
8075
  const device = WebGPU.getJsObject($1);
8076
8076
  const texture = WebGPU.getJsObject($2);
@@ -8082,7 +8082,7 @@ var ASM_CONSTS = {
8082
8082
  texture
8083
8083
  }, [ width, height ]);
8084
8084
  },
8085
- 1504968: ($0, $1, $2, $3) => {
8085
+ 1505228: ($0, $1, $2, $3) => {
8086
8086
  const sourceExtTex = Emval.toValue($0);
8087
8087
  const device = WebGPU.getJsObject($1);
8088
8088
  const sampler = WebGPU.getJsObject($2);
@@ -8099,29 +8099,29 @@ var ASM_CONSTS = {
8099
8099
  });
8100
8100
  return WebGPU.importJsBindGroup(bindGroup);
8101
8101
  },
8102
- 1505338: ($0, $1) => {
8102
+ 1505598: ($0, $1) => {
8103
8103
  const input = Emval.toValue($0);
8104
8104
  const output = Emval.toValue($1);
8105
8105
  const ctx = output.getContext("2d");
8106
8106
  ctx.drawImage(input, 0, 0, output.width, output.height);
8107
8107
  },
8108
- 1505503: ($0, $1) => {
8108
+ 1505763: ($0, $1) => {
8109
8109
  const inputArray = Emval.toValue($0);
8110
8110
  const output = Emval.toValue($1);
8111
8111
  const ctx = output.getContext("2d");
8112
8112
  const image_data = new ImageData(inputArray, output.width, output.height);
8113
8113
  ctx.putImageData(image_data, 0, 0);
8114
8114
  },
8115
- 1505727: ($0, $1) => {
8115
+ 1505987: ($0, $1) => {
8116
8116
  const input = Emval.toValue($0);
8117
8117
  const outputArray = Emval.toValue($1);
8118
8118
  const ctx = input.getContext("2d");
8119
8119
  const data = ctx.getImageData(0, 0, input.width, input.height);
8120
8120
  outputArray.set(data.data);
8121
8121
  },
8122
- 1505931: () => (typeof HTMLCanvasElement !== "undefined"),
8123
- 1505986: () => !!Module["preinitializedWebGPUDevice"],
8124
- 1506037: () => {
8122
+ 1506191: () => (typeof HTMLCanvasElement !== "undefined"),
8123
+ 1506246: () => !!Module["preinitializedWebGPUDevice"],
8124
+ 1506297: () => {
8125
8125
  specialHTMLTargets["#canvas"] = Module.canvas;
8126
8126
  }
8127
8127
  };