@mediapipe/tasks-vision 1.0.0-rc.20260721 → 1.0.0-rc.20260724

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.20260721",
3
+ "version": "1.0.0-rc.20260724",
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",
@@ -5840,7 +5840,7 @@ var WebGPU = {
5840
5840
  TextureSampleType: [ , , "float", "unfilterable-float", "depth", "sint", "uint" ],
5841
5841
  TextureViewDimension: [ , "1d", "2d", "2d-array", "cube", "cube-array", "3d" ],
5842
5842
  ToneMappingMode: [ , "standard", "extended" ],
5843
- VertexFormat: [ , "uint8", "uint8x2", "uint8x4", "sint8", "sint8x2", "sint8x4", "unorm8", "unorm8x2", "unorm8x4", "snorm8", "snorm8x2", "snorm8x4", "uint16", "uint16x2", "uint16x4", "sint16", "sint16x2", "sint16x4", "unorm16", "unorm16x2", "unorm16x4", "snorm16", "snorm16x2", "snorm16x4", "float16", "float16x2", "float16x4", "float32", "float32x2", "float32x3", "float32x4", "uint32", "uint32x2", "uint32x3", "uint32x4", "sint32", "sint32x2", "sint32x3", "sint32x4", "unorm10-10-10-2", "unorm8x4-bgra" ],
5843
+ VertexFormat: [ , "uint8", "uint8x2", "uint8x4", "sint8", "sint8x2", "sint8x4", "unorm8", "unorm8x2", "unorm8x4", "snorm8", "snorm8x2", "snorm8x4", "uint16", "uint16x2", "uint16x4", "sint16", "sint16x2", "sint16x4", "unorm16", "unorm16x2", "unorm16x4", "snorm16", "snorm16x2", "snorm16x4", "float16", "float16x2", "float16x4", "float32", "float32x2", "float32x3", "float32x4", "uint32", "uint32x2", "uint32x3", "uint32x4", "sint32", "sint32x2", "sint32x3", "sint32x4", "unorm10-10-10-2", "unorm8x4-bgra", "snorm10-10-10-2" ],
5844
5844
  VertexStepMode: [ , "vertex", "instance" ],
5845
5845
  WGSLLanguageFeatureName: [ , "readonly_and_readwrite_storage_textures", "packed_4x8_integer_dot_product", "unrestricted_pointer_parameters", "pointer_composite_access", "uniform_buffer_standard_layout", "subgroup_id", "texture_and_sampler_let", "subgroup_uniformity", "texture_formats_tier1", "linear_indexing", "immediate_address_space" ]
5846
5846
  };
@@ -8059,12 +8059,12 @@ Module["FS_createLazyFile"] = FS_createLazyFile;
8059
8059
  // End JS library exports
8060
8060
  // end include: postlibrary.js
8061
8061
  var ASM_CONSTS = {
8062
- 1508388: $0 => {
8062
+ 1509476: $0 => {
8063
8063
  const canvas = Emval.toValue($0);
8064
8064
  const context = canvas.getContext("webgpu");
8065
8065
  return WebGPU.importJsTexture(context.getCurrentTexture());
8066
8066
  },
8067
- 1508531: ($0, $1, $2, $3, $4) => {
8067
+ 1509619: ($0, $1, $2, $3, $4) => {
8068
8068
  const drawable = Emval.toValue($0);
8069
8069
  const device = WebGPU.getJsObject($1);
8070
8070
  const texture = WebGPU.getJsObject($2);
@@ -8076,7 +8076,7 @@ var ASM_CONSTS = {
8076
8076
  texture
8077
8077
  }, [ width, height ]);
8078
8078
  },
8079
- 1508790: ($0, $1, $2, $3) => {
8079
+ 1509878: ($0, $1, $2, $3) => {
8080
8080
  const sourceExtTex = Emval.toValue($0);
8081
8081
  const device = WebGPU.getJsObject($1);
8082
8082
  const sampler = WebGPU.getJsObject($2);
@@ -8093,29 +8093,29 @@ var ASM_CONSTS = {
8093
8093
  });
8094
8094
  return WebGPU.importJsBindGroup(bindGroup);
8095
8095
  },
8096
- 1509160: ($0, $1) => {
8096
+ 1510248: ($0, $1) => {
8097
8097
  const input = Emval.toValue($0);
8098
8098
  const output = Emval.toValue($1);
8099
8099
  const ctx = output.getContext("2d");
8100
8100
  ctx.drawImage(input, 0, 0, output.width, output.height);
8101
8101
  },
8102
- 1509325: ($0, $1) => {
8102
+ 1510413: ($0, $1) => {
8103
8103
  const inputArray = Emval.toValue($0);
8104
8104
  const output = Emval.toValue($1);
8105
8105
  const ctx = output.getContext("2d");
8106
8106
  const image_data = new ImageData(inputArray, output.width, output.height);
8107
8107
  ctx.putImageData(image_data, 0, 0);
8108
8108
  },
8109
- 1509549: ($0, $1) => {
8109
+ 1510637: ($0, $1) => {
8110
8110
  const input = Emval.toValue($0);
8111
8111
  const outputArray = Emval.toValue($1);
8112
8112
  const ctx = input.getContext("2d");
8113
8113
  const data = ctx.getImageData(0, 0, input.width, input.height);
8114
8114
  outputArray.set(data.data);
8115
8115
  },
8116
- 1509753: () => (typeof HTMLCanvasElement !== "undefined"),
8117
- 1509808: () => !!Module["preinitializedWebGPUDevice"],
8118
- 1509859: () => {
8116
+ 1510841: () => (typeof HTMLCanvasElement !== "undefined"),
8117
+ 1510896: () => !!Module["preinitializedWebGPUDevice"],
8118
+ 1510947: () => {
8119
8119
  specialHTMLTargets["#canvas"] = Module.canvas;
8120
8120
  }
8121
8121
  };
Binary file
@@ -5843,7 +5843,7 @@ var WebGPU = {
5843
5843
  TextureSampleType: [ , , "float", "unfilterable-float", "depth", "sint", "uint" ],
5844
5844
  TextureViewDimension: [ , "1d", "2d", "2d-array", "cube", "cube-array", "3d" ],
5845
5845
  ToneMappingMode: [ , "standard", "extended" ],
5846
- VertexFormat: [ , "uint8", "uint8x2", "uint8x4", "sint8", "sint8x2", "sint8x4", "unorm8", "unorm8x2", "unorm8x4", "snorm8", "snorm8x2", "snorm8x4", "uint16", "uint16x2", "uint16x4", "sint16", "sint16x2", "sint16x4", "unorm16", "unorm16x2", "unorm16x4", "snorm16", "snorm16x2", "snorm16x4", "float16", "float16x2", "float16x4", "float32", "float32x2", "float32x3", "float32x4", "uint32", "uint32x2", "uint32x3", "uint32x4", "sint32", "sint32x2", "sint32x3", "sint32x4", "unorm10-10-10-2", "unorm8x4-bgra" ],
5846
+ VertexFormat: [ , "uint8", "uint8x2", "uint8x4", "sint8", "sint8x2", "sint8x4", "unorm8", "unorm8x2", "unorm8x4", "snorm8", "snorm8x2", "snorm8x4", "uint16", "uint16x2", "uint16x4", "sint16", "sint16x2", "sint16x4", "unorm16", "unorm16x2", "unorm16x4", "snorm16", "snorm16x2", "snorm16x4", "float16", "float16x2", "float16x4", "float32", "float32x2", "float32x3", "float32x4", "uint32", "uint32x2", "uint32x3", "uint32x4", "sint32", "sint32x2", "sint32x3", "sint32x4", "unorm10-10-10-2", "unorm8x4-bgra", "snorm10-10-10-2" ],
5847
5847
  VertexStepMode: [ , "vertex", "instance" ],
5848
5848
  WGSLLanguageFeatureName: [ , "readonly_and_readwrite_storage_textures", "packed_4x8_integer_dot_product", "unrestricted_pointer_parameters", "pointer_composite_access", "uniform_buffer_standard_layout", "subgroup_id", "texture_and_sampler_let", "subgroup_uniformity", "texture_formats_tier1", "linear_indexing", "immediate_address_space" ]
5849
5849
  };
@@ -8062,12 +8062,12 @@ Module["FS_createLazyFile"] = FS_createLazyFile;
8062
8062
  // End JS library exports
8063
8063
  // end include: postlibrary.js
8064
8064
  var ASM_CONSTS = {
8065
- 1508388: $0 => {
8065
+ 1509476: $0 => {
8066
8066
  const canvas = Emval.toValue($0);
8067
8067
  const context = canvas.getContext("webgpu");
8068
8068
  return WebGPU.importJsTexture(context.getCurrentTexture());
8069
8069
  },
8070
- 1508531: ($0, $1, $2, $3, $4) => {
8070
+ 1509619: ($0, $1, $2, $3, $4) => {
8071
8071
  const drawable = Emval.toValue($0);
8072
8072
  const device = WebGPU.getJsObject($1);
8073
8073
  const texture = WebGPU.getJsObject($2);
@@ -8079,7 +8079,7 @@ var ASM_CONSTS = {
8079
8079
  texture
8080
8080
  }, [ width, height ]);
8081
8081
  },
8082
- 1508790: ($0, $1, $2, $3) => {
8082
+ 1509878: ($0, $1, $2, $3) => {
8083
8083
  const sourceExtTex = Emval.toValue($0);
8084
8084
  const device = WebGPU.getJsObject($1);
8085
8085
  const sampler = WebGPU.getJsObject($2);
@@ -8096,29 +8096,29 @@ var ASM_CONSTS = {
8096
8096
  });
8097
8097
  return WebGPU.importJsBindGroup(bindGroup);
8098
8098
  },
8099
- 1509160: ($0, $1) => {
8099
+ 1510248: ($0, $1) => {
8100
8100
  const input = Emval.toValue($0);
8101
8101
  const output = Emval.toValue($1);
8102
8102
  const ctx = output.getContext("2d");
8103
8103
  ctx.drawImage(input, 0, 0, output.width, output.height);
8104
8104
  },
8105
- 1509325: ($0, $1) => {
8105
+ 1510413: ($0, $1) => {
8106
8106
  const inputArray = Emval.toValue($0);
8107
8107
  const output = Emval.toValue($1);
8108
8108
  const ctx = output.getContext("2d");
8109
8109
  const image_data = new ImageData(inputArray, output.width, output.height);
8110
8110
  ctx.putImageData(image_data, 0, 0);
8111
8111
  },
8112
- 1509549: ($0, $1) => {
8112
+ 1510637: ($0, $1) => {
8113
8113
  const input = Emval.toValue($0);
8114
8114
  const outputArray = Emval.toValue($1);
8115
8115
  const ctx = input.getContext("2d");
8116
8116
  const data = ctx.getImageData(0, 0, input.width, input.height);
8117
8117
  outputArray.set(data.data);
8118
8118
  },
8119
- 1509753: () => (typeof HTMLCanvasElement !== "undefined"),
8120
- 1509808: () => !!Module["preinitializedWebGPUDevice"],
8121
- 1509859: () => {
8119
+ 1510841: () => (typeof HTMLCanvasElement !== "undefined"),
8120
+ 1510896: () => !!Module["preinitializedWebGPUDevice"],
8121
+ 1510947: () => {
8122
8122
  specialHTMLTargets["#canvas"] = Module.canvas;
8123
8123
  }
8124
8124
  };
@@ -5840,7 +5840,7 @@ var WebGPU = {
5840
5840
  TextureSampleType: [ , , "float", "unfilterable-float", "depth", "sint", "uint" ],
5841
5841
  TextureViewDimension: [ , "1d", "2d", "2d-array", "cube", "cube-array", "3d" ],
5842
5842
  ToneMappingMode: [ , "standard", "extended" ],
5843
- VertexFormat: [ , "uint8", "uint8x2", "uint8x4", "sint8", "sint8x2", "sint8x4", "unorm8", "unorm8x2", "unorm8x4", "snorm8", "snorm8x2", "snorm8x4", "uint16", "uint16x2", "uint16x4", "sint16", "sint16x2", "sint16x4", "unorm16", "unorm16x2", "unorm16x4", "snorm16", "snorm16x2", "snorm16x4", "float16", "float16x2", "float16x4", "float32", "float32x2", "float32x3", "float32x4", "uint32", "uint32x2", "uint32x3", "uint32x4", "sint32", "sint32x2", "sint32x3", "sint32x4", "unorm10-10-10-2", "unorm8x4-bgra" ],
5843
+ VertexFormat: [ , "uint8", "uint8x2", "uint8x4", "sint8", "sint8x2", "sint8x4", "unorm8", "unorm8x2", "unorm8x4", "snorm8", "snorm8x2", "snorm8x4", "uint16", "uint16x2", "uint16x4", "sint16", "sint16x2", "sint16x4", "unorm16", "unorm16x2", "unorm16x4", "snorm16", "snorm16x2", "snorm16x4", "float16", "float16x2", "float16x4", "float32", "float32x2", "float32x3", "float32x4", "uint32", "uint32x2", "uint32x3", "uint32x4", "sint32", "sint32x2", "sint32x3", "sint32x4", "unorm10-10-10-2", "unorm8x4-bgra", "snorm10-10-10-2" ],
5844
5844
  VertexStepMode: [ , "vertex", "instance" ],
5845
5845
  WGSLLanguageFeatureName: [ , "readonly_and_readwrite_storage_textures", "packed_4x8_integer_dot_product", "unrestricted_pointer_parameters", "pointer_composite_access", "uniform_buffer_standard_layout", "subgroup_id", "texture_and_sampler_let", "subgroup_uniformity", "texture_formats_tier1", "linear_indexing", "immediate_address_space" ]
5846
5846
  };
@@ -8059,12 +8059,12 @@ Module["FS_createLazyFile"] = FS_createLazyFile;
8059
8059
  // End JS library exports
8060
8060
  // end include: postlibrary.js
8061
8061
  var ASM_CONSTS = {
8062
- 1507494: $0 => {
8062
+ 1508262: $0 => {
8063
8063
  const canvas = Emval.toValue($0);
8064
8064
  const context = canvas.getContext("webgpu");
8065
8065
  return WebGPU.importJsTexture(context.getCurrentTexture());
8066
8066
  },
8067
- 1507637: ($0, $1, $2, $3, $4) => {
8067
+ 1508405: ($0, $1, $2, $3, $4) => {
8068
8068
  const drawable = Emval.toValue($0);
8069
8069
  const device = WebGPU.getJsObject($1);
8070
8070
  const texture = WebGPU.getJsObject($2);
@@ -8076,7 +8076,7 @@ var ASM_CONSTS = {
8076
8076
  texture
8077
8077
  }, [ width, height ]);
8078
8078
  },
8079
- 1507896: ($0, $1, $2, $3) => {
8079
+ 1508664: ($0, $1, $2, $3) => {
8080
8080
  const sourceExtTex = Emval.toValue($0);
8081
8081
  const device = WebGPU.getJsObject($1);
8082
8082
  const sampler = WebGPU.getJsObject($2);
@@ -8093,29 +8093,29 @@ var ASM_CONSTS = {
8093
8093
  });
8094
8094
  return WebGPU.importJsBindGroup(bindGroup);
8095
8095
  },
8096
- 1508266: ($0, $1) => {
8096
+ 1509034: ($0, $1) => {
8097
8097
  const input = Emval.toValue($0);
8098
8098
  const output = Emval.toValue($1);
8099
8099
  const ctx = output.getContext("2d");
8100
8100
  ctx.drawImage(input, 0, 0, output.width, output.height);
8101
8101
  },
8102
- 1508431: ($0, $1) => {
8102
+ 1509199: ($0, $1) => {
8103
8103
  const inputArray = Emval.toValue($0);
8104
8104
  const output = Emval.toValue($1);
8105
8105
  const ctx = output.getContext("2d");
8106
8106
  const image_data = new ImageData(inputArray, output.width, output.height);
8107
8107
  ctx.putImageData(image_data, 0, 0);
8108
8108
  },
8109
- 1508655: ($0, $1) => {
8109
+ 1509423: ($0, $1) => {
8110
8110
  const input = Emval.toValue($0);
8111
8111
  const outputArray = Emval.toValue($1);
8112
8112
  const ctx = input.getContext("2d");
8113
8113
  const data = ctx.getImageData(0, 0, input.width, input.height);
8114
8114
  outputArray.set(data.data);
8115
8115
  },
8116
- 1508859: () => (typeof HTMLCanvasElement !== "undefined"),
8117
- 1508914: () => !!Module["preinitializedWebGPUDevice"],
8118
- 1508965: () => {
8116
+ 1509627: () => (typeof HTMLCanvasElement !== "undefined"),
8117
+ 1509682: () => !!Module["preinitializedWebGPUDevice"],
8118
+ 1509733: () => {
8119
8119
  specialHTMLTargets["#canvas"] = Module.canvas;
8120
8120
  }
8121
8121
  };