@mediapipe/tasks-vision 1.0.0-rc.20260708 → 1.0.0-rc.20260710
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 +1 -1
- package/vision_bundle.cjs +1 -1
- package/vision_bundle.cjs.map +1 -1
- package/vision_bundle.js +1 -1
- package/vision_bundle.js.map +1 -1
- package/vision_bundle.mjs +1 -1
- package/vision_bundle.mjs.map +1 -1
- package/wasm/vision_wasm_internal.js +9 -9
- package/wasm/vision_wasm_internal.wasm +0 -0
- package/wasm/vision_wasm_module_internal.js +9 -9
- package/wasm/vision_wasm_module_internal.wasm +0 -0
- package/wasm/vision_wasm_nosimd_internal.js +9 -9
- package/wasm/vision_wasm_nosimd_internal.wasm +0 -0
|
@@ -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
|
-
|
|
8068
|
+
1502728: $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
|
-
|
|
8073
|
+
1502871: ($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
|
-
|
|
8085
|
+
1503130: ($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
|
-
|
|
8102
|
+
1503500: ($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
|
-
|
|
8108
|
+
1503665: ($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
|
-
|
|
8115
|
+
1503889: ($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
|
-
|
|
8123
|
-
|
|
8124
|
-
|
|
8122
|
+
1504093: () => (typeof HTMLCanvasElement !== "undefined"),
|
|
8123
|
+
1504148: () => !!Module["preinitializedWebGPUDevice"],
|
|
8124
|
+
1504199: () => {
|
|
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
|
-
|
|
8071
|
+
1502728: $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
|
-
|
|
8076
|
+
1502871: ($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
|
-
|
|
8088
|
+
1503130: ($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
|
-
|
|
8105
|
+
1503500: ($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
|
-
|
|
8111
|
+
1503665: ($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
|
-
|
|
8118
|
+
1503889: ($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
|
-
|
|
8126
|
-
|
|
8127
|
-
|
|
8125
|
+
1504093: () => (typeof HTMLCanvasElement !== "undefined"),
|
|
8126
|
+
1504148: () => !!Module["preinitializedWebGPUDevice"],
|
|
8127
|
+
1504199: () => {
|
|
8128
8128
|
specialHTMLTargets["#canvas"] = Module.canvas;
|
|
8129
8129
|
}
|
|
8130
8130
|
};
|
|
Binary file
|
|
@@ -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
|
-
|
|
8068
|
+
1501834: $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
|
-
|
|
8073
|
+
1501977: ($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
|
-
|
|
8085
|
+
1502236: ($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
|
-
|
|
8102
|
+
1502606: ($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
|
-
|
|
8108
|
+
1502771: ($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
|
-
|
|
8115
|
+
1502995: ($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
|
-
|
|
8123
|
-
|
|
8124
|
-
|
|
8122
|
+
1503199: () => (typeof HTMLCanvasElement !== "undefined"),
|
|
8123
|
+
1503254: () => !!Module["preinitializedWebGPUDevice"],
|
|
8124
|
+
1503305: () => {
|
|
8125
8125
|
specialHTMLTargets["#canvas"] = Module.canvas;
|
|
8126
8126
|
}
|
|
8127
8127
|
};
|
|
Binary file
|