@mediapipe/tasks-vision 0.10.36-rc.20260607 → 0.10.36-rc.20260608
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/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
package/package.json
CHANGED
|
@@ -8064,12 +8064,12 @@ Module["FS_createLazyFile"] = FS_createLazyFile;
|
|
|
8064
8064
|
// End JS library exports
|
|
8065
8065
|
// end include: postlibrary.js
|
|
8066
8066
|
var ASM_CONSTS = {
|
|
8067
|
-
|
|
8067
|
+
1501064: $0 => {
|
|
8068
8068
|
const canvas = Emval.toValue($0);
|
|
8069
8069
|
const context = canvas.getContext("webgpu");
|
|
8070
8070
|
return WebGPU.importJsTexture(context.getCurrentTexture());
|
|
8071
8071
|
},
|
|
8072
|
-
|
|
8072
|
+
1501207: ($0, $1, $2, $3, $4) => {
|
|
8073
8073
|
const drawable = Emval.toValue($0);
|
|
8074
8074
|
const device = WebGPU.getJsObject($1);
|
|
8075
8075
|
const texture = WebGPU.getJsObject($2);
|
|
@@ -8081,7 +8081,7 @@ var ASM_CONSTS = {
|
|
|
8081
8081
|
texture
|
|
8082
8082
|
}, [ width, height ]);
|
|
8083
8083
|
},
|
|
8084
|
-
|
|
8084
|
+
1501466: ($0, $1, $2, $3) => {
|
|
8085
8085
|
const sourceExtTex = Emval.toValue($0);
|
|
8086
8086
|
const device = WebGPU.getJsObject($1);
|
|
8087
8087
|
const sampler = WebGPU.getJsObject($2);
|
|
@@ -8098,29 +8098,29 @@ var ASM_CONSTS = {
|
|
|
8098
8098
|
});
|
|
8099
8099
|
return WebGPU.importJsBindGroup(bindGroup);
|
|
8100
8100
|
},
|
|
8101
|
-
|
|
8101
|
+
1501836: ($0, $1) => {
|
|
8102
8102
|
const input = Emval.toValue($0);
|
|
8103
8103
|
const output = Emval.toValue($1);
|
|
8104
8104
|
const ctx = output.getContext("2d");
|
|
8105
8105
|
ctx.drawImage(input, 0, 0, output.width, output.height);
|
|
8106
8106
|
},
|
|
8107
|
-
|
|
8107
|
+
1502001: ($0, $1) => {
|
|
8108
8108
|
const inputArray = Emval.toValue($0);
|
|
8109
8109
|
const output = Emval.toValue($1);
|
|
8110
8110
|
const ctx = output.getContext("2d");
|
|
8111
8111
|
const image_data = new ImageData(inputArray, output.width, output.height);
|
|
8112
8112
|
ctx.putImageData(image_data, 0, 0);
|
|
8113
8113
|
},
|
|
8114
|
-
|
|
8114
|
+
1502225: ($0, $1) => {
|
|
8115
8115
|
const input = Emval.toValue($0);
|
|
8116
8116
|
const outputArray = Emval.toValue($1);
|
|
8117
8117
|
const ctx = input.getContext("2d");
|
|
8118
8118
|
const data = ctx.getImageData(0, 0, input.width, input.height);
|
|
8119
8119
|
outputArray.set(data.data);
|
|
8120
8120
|
},
|
|
8121
|
-
|
|
8122
|
-
|
|
8123
|
-
|
|
8121
|
+
1502429: () => (typeof HTMLCanvasElement !== "undefined"),
|
|
8122
|
+
1502484: () => !!Module["preinitializedWebGPUDevice"],
|
|
8123
|
+
1502535: () => {
|
|
8124
8124
|
specialHTMLTargets["#canvas"] = Module.canvas;
|
|
8125
8125
|
}
|
|
8126
8126
|
};
|
|
Binary file
|
|
@@ -8067,12 +8067,12 @@ Module["FS_createLazyFile"] = FS_createLazyFile;
|
|
|
8067
8067
|
// End JS library exports
|
|
8068
8068
|
// end include: postlibrary.js
|
|
8069
8069
|
var ASM_CONSTS = {
|
|
8070
|
-
|
|
8070
|
+
1501064: $0 => {
|
|
8071
8071
|
const canvas = Emval.toValue($0);
|
|
8072
8072
|
const context = canvas.getContext("webgpu");
|
|
8073
8073
|
return WebGPU.importJsTexture(context.getCurrentTexture());
|
|
8074
8074
|
},
|
|
8075
|
-
|
|
8075
|
+
1501207: ($0, $1, $2, $3, $4) => {
|
|
8076
8076
|
const drawable = Emval.toValue($0);
|
|
8077
8077
|
const device = WebGPU.getJsObject($1);
|
|
8078
8078
|
const texture = WebGPU.getJsObject($2);
|
|
@@ -8084,7 +8084,7 @@ var ASM_CONSTS = {
|
|
|
8084
8084
|
texture
|
|
8085
8085
|
}, [ width, height ]);
|
|
8086
8086
|
},
|
|
8087
|
-
|
|
8087
|
+
1501466: ($0, $1, $2, $3) => {
|
|
8088
8088
|
const sourceExtTex = Emval.toValue($0);
|
|
8089
8089
|
const device = WebGPU.getJsObject($1);
|
|
8090
8090
|
const sampler = WebGPU.getJsObject($2);
|
|
@@ -8101,29 +8101,29 @@ var ASM_CONSTS = {
|
|
|
8101
8101
|
});
|
|
8102
8102
|
return WebGPU.importJsBindGroup(bindGroup);
|
|
8103
8103
|
},
|
|
8104
|
-
|
|
8104
|
+
1501836: ($0, $1) => {
|
|
8105
8105
|
const input = Emval.toValue($0);
|
|
8106
8106
|
const output = Emval.toValue($1);
|
|
8107
8107
|
const ctx = output.getContext("2d");
|
|
8108
8108
|
ctx.drawImage(input, 0, 0, output.width, output.height);
|
|
8109
8109
|
},
|
|
8110
|
-
|
|
8110
|
+
1502001: ($0, $1) => {
|
|
8111
8111
|
const inputArray = Emval.toValue($0);
|
|
8112
8112
|
const output = Emval.toValue($1);
|
|
8113
8113
|
const ctx = output.getContext("2d");
|
|
8114
8114
|
const image_data = new ImageData(inputArray, output.width, output.height);
|
|
8115
8115
|
ctx.putImageData(image_data, 0, 0);
|
|
8116
8116
|
},
|
|
8117
|
-
|
|
8117
|
+
1502225: ($0, $1) => {
|
|
8118
8118
|
const input = Emval.toValue($0);
|
|
8119
8119
|
const outputArray = Emval.toValue($1);
|
|
8120
8120
|
const ctx = input.getContext("2d");
|
|
8121
8121
|
const data = ctx.getImageData(0, 0, input.width, input.height);
|
|
8122
8122
|
outputArray.set(data.data);
|
|
8123
8123
|
},
|
|
8124
|
-
|
|
8125
|
-
|
|
8126
|
-
|
|
8124
|
+
1502429: () => (typeof HTMLCanvasElement !== "undefined"),
|
|
8125
|
+
1502484: () => !!Module["preinitializedWebGPUDevice"],
|
|
8126
|
+
1502535: () => {
|
|
8127
8127
|
specialHTMLTargets["#canvas"] = Module.canvas;
|
|
8128
8128
|
}
|
|
8129
8129
|
};
|
|
Binary file
|
|
@@ -8064,12 +8064,12 @@ Module["FS_createLazyFile"] = FS_createLazyFile;
|
|
|
8064
8064
|
// End JS library exports
|
|
8065
8065
|
// end include: postlibrary.js
|
|
8066
8066
|
var ASM_CONSTS = {
|
|
8067
|
-
|
|
8067
|
+
1500170: $0 => {
|
|
8068
8068
|
const canvas = Emval.toValue($0);
|
|
8069
8069
|
const context = canvas.getContext("webgpu");
|
|
8070
8070
|
return WebGPU.importJsTexture(context.getCurrentTexture());
|
|
8071
8071
|
},
|
|
8072
|
-
|
|
8072
|
+
1500313: ($0, $1, $2, $3, $4) => {
|
|
8073
8073
|
const drawable = Emval.toValue($0);
|
|
8074
8074
|
const device = WebGPU.getJsObject($1);
|
|
8075
8075
|
const texture = WebGPU.getJsObject($2);
|
|
@@ -8081,7 +8081,7 @@ var ASM_CONSTS = {
|
|
|
8081
8081
|
texture
|
|
8082
8082
|
}, [ width, height ]);
|
|
8083
8083
|
},
|
|
8084
|
-
|
|
8084
|
+
1500572: ($0, $1, $2, $3) => {
|
|
8085
8085
|
const sourceExtTex = Emval.toValue($0);
|
|
8086
8086
|
const device = WebGPU.getJsObject($1);
|
|
8087
8087
|
const sampler = WebGPU.getJsObject($2);
|
|
@@ -8098,29 +8098,29 @@ var ASM_CONSTS = {
|
|
|
8098
8098
|
});
|
|
8099
8099
|
return WebGPU.importJsBindGroup(bindGroup);
|
|
8100
8100
|
},
|
|
8101
|
-
|
|
8101
|
+
1500942: ($0, $1) => {
|
|
8102
8102
|
const input = Emval.toValue($0);
|
|
8103
8103
|
const output = Emval.toValue($1);
|
|
8104
8104
|
const ctx = output.getContext("2d");
|
|
8105
8105
|
ctx.drawImage(input, 0, 0, output.width, output.height);
|
|
8106
8106
|
},
|
|
8107
|
-
|
|
8107
|
+
1501107: ($0, $1) => {
|
|
8108
8108
|
const inputArray = Emval.toValue($0);
|
|
8109
8109
|
const output = Emval.toValue($1);
|
|
8110
8110
|
const ctx = output.getContext("2d");
|
|
8111
8111
|
const image_data = new ImageData(inputArray, output.width, output.height);
|
|
8112
8112
|
ctx.putImageData(image_data, 0, 0);
|
|
8113
8113
|
},
|
|
8114
|
-
|
|
8114
|
+
1501331: ($0, $1) => {
|
|
8115
8115
|
const input = Emval.toValue($0);
|
|
8116
8116
|
const outputArray = Emval.toValue($1);
|
|
8117
8117
|
const ctx = input.getContext("2d");
|
|
8118
8118
|
const data = ctx.getImageData(0, 0, input.width, input.height);
|
|
8119
8119
|
outputArray.set(data.data);
|
|
8120
8120
|
},
|
|
8121
|
-
|
|
8122
|
-
|
|
8123
|
-
|
|
8121
|
+
1501535: () => (typeof HTMLCanvasElement !== "undefined"),
|
|
8122
|
+
1501590: () => !!Module["preinitializedWebGPUDevice"],
|
|
8123
|
+
1501641: () => {
|
|
8124
8124
|
specialHTMLTargets["#canvas"] = Module.canvas;
|
|
8125
8125
|
}
|
|
8126
8126
|
};
|
|
Binary file
|