@mediapipe/tasks-vision 1.2.0-rc.20261017 → 1.2.0-rc.20261019
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mediapipe/tasks-vision",
|
|
3
|
-
"version": "1.2.0-rc.
|
|
3
|
+
"version": "1.2.0-rc.20261019",
|
|
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",
|
|
@@ -8363,12 +8363,12 @@ Module["FS_createLazyFile"] = FS_createLazyFile;
|
|
|
8363
8363
|
// End JS library exports
|
|
8364
8364
|
// end include: postlibrary.js
|
|
8365
8365
|
var ASM_CONSTS = {
|
|
8366
|
-
|
|
8366
|
+
1612324: $0 => {
|
|
8367
8367
|
const canvas = Emval.toValue($0);
|
|
8368
8368
|
const context = canvas.getContext("webgpu");
|
|
8369
8369
|
return WebGPU.importJsTexture(context.getCurrentTexture());
|
|
8370
8370
|
},
|
|
8371
|
-
|
|
8371
|
+
1612467: ($0, $1, $2, $3, $4) => {
|
|
8372
8372
|
const drawable = Emval.toValue($0);
|
|
8373
8373
|
const device = WebGPU.getJsObject($1);
|
|
8374
8374
|
const texture = WebGPU.getJsObject($2);
|
|
@@ -8380,7 +8380,7 @@ var ASM_CONSTS = {
|
|
|
8380
8380
|
texture
|
|
8381
8381
|
}, [ width, height ]);
|
|
8382
8382
|
},
|
|
8383
|
-
|
|
8383
|
+
1612726: ($0, $1, $2, $3) => {
|
|
8384
8384
|
const sourceExtTex = Emval.toValue($0);
|
|
8385
8385
|
const device = WebGPU.getJsObject($1);
|
|
8386
8386
|
const sampler = WebGPU.getJsObject($2);
|
|
@@ -8397,29 +8397,29 @@ var ASM_CONSTS = {
|
|
|
8397
8397
|
});
|
|
8398
8398
|
return WebGPU.importJsBindGroup(bindGroup);
|
|
8399
8399
|
},
|
|
8400
|
-
|
|
8400
|
+
1613096: ($0, $1) => {
|
|
8401
8401
|
const input = Emval.toValue($0);
|
|
8402
8402
|
const output = Emval.toValue($1);
|
|
8403
8403
|
const ctx = output.getContext("2d");
|
|
8404
8404
|
ctx.drawImage(input, 0, 0, output.width, output.height);
|
|
8405
8405
|
},
|
|
8406
|
-
|
|
8406
|
+
1613261: ($0, $1) => {
|
|
8407
8407
|
const inputArray = Emval.toValue($0);
|
|
8408
8408
|
const output = Emval.toValue($1);
|
|
8409
8409
|
const ctx = output.getContext("2d");
|
|
8410
8410
|
const image_data = new ImageData(inputArray, output.width, output.height);
|
|
8411
8411
|
ctx.putImageData(image_data, 0, 0);
|
|
8412
8412
|
},
|
|
8413
|
-
|
|
8413
|
+
1613485: ($0, $1) => {
|
|
8414
8414
|
const input = Emval.toValue($0);
|
|
8415
8415
|
const outputArray = Emval.toValue($1);
|
|
8416
8416
|
const ctx = input.getContext("2d");
|
|
8417
8417
|
const data = ctx.getImageData(0, 0, input.width, input.height);
|
|
8418
8418
|
outputArray.set(data.data);
|
|
8419
8419
|
},
|
|
8420
|
-
|
|
8421
|
-
|
|
8422
|
-
|
|
8420
|
+
1613689: () => (typeof HTMLCanvasElement !== "undefined"),
|
|
8421
|
+
1613744: () => !!Module["preinitializedWebGPUDevice"],
|
|
8422
|
+
1613795: () => {
|
|
8423
8423
|
specialHTMLTargets["#canvas"] = Module.canvas;
|
|
8424
8424
|
}
|
|
8425
8425
|
};
|
|
Binary file
|
|
@@ -8366,12 +8366,12 @@ Module["FS_createLazyFile"] = FS_createLazyFile;
|
|
|
8366
8366
|
// End JS library exports
|
|
8367
8367
|
// end include: postlibrary.js
|
|
8368
8368
|
var ASM_CONSTS = {
|
|
8369
|
-
|
|
8369
|
+
1612324: $0 => {
|
|
8370
8370
|
const canvas = Emval.toValue($0);
|
|
8371
8371
|
const context = canvas.getContext("webgpu");
|
|
8372
8372
|
return WebGPU.importJsTexture(context.getCurrentTexture());
|
|
8373
8373
|
},
|
|
8374
|
-
|
|
8374
|
+
1612467: ($0, $1, $2, $3, $4) => {
|
|
8375
8375
|
const drawable = Emval.toValue($0);
|
|
8376
8376
|
const device = WebGPU.getJsObject($1);
|
|
8377
8377
|
const texture = WebGPU.getJsObject($2);
|
|
@@ -8383,7 +8383,7 @@ var ASM_CONSTS = {
|
|
|
8383
8383
|
texture
|
|
8384
8384
|
}, [ width, height ]);
|
|
8385
8385
|
},
|
|
8386
|
-
|
|
8386
|
+
1612726: ($0, $1, $2, $3) => {
|
|
8387
8387
|
const sourceExtTex = Emval.toValue($0);
|
|
8388
8388
|
const device = WebGPU.getJsObject($1);
|
|
8389
8389
|
const sampler = WebGPU.getJsObject($2);
|
|
@@ -8400,29 +8400,29 @@ var ASM_CONSTS = {
|
|
|
8400
8400
|
});
|
|
8401
8401
|
return WebGPU.importJsBindGroup(bindGroup);
|
|
8402
8402
|
},
|
|
8403
|
-
|
|
8403
|
+
1613096: ($0, $1) => {
|
|
8404
8404
|
const input = Emval.toValue($0);
|
|
8405
8405
|
const output = Emval.toValue($1);
|
|
8406
8406
|
const ctx = output.getContext("2d");
|
|
8407
8407
|
ctx.drawImage(input, 0, 0, output.width, output.height);
|
|
8408
8408
|
},
|
|
8409
|
-
|
|
8409
|
+
1613261: ($0, $1) => {
|
|
8410
8410
|
const inputArray = Emval.toValue($0);
|
|
8411
8411
|
const output = Emval.toValue($1);
|
|
8412
8412
|
const ctx = output.getContext("2d");
|
|
8413
8413
|
const image_data = new ImageData(inputArray, output.width, output.height);
|
|
8414
8414
|
ctx.putImageData(image_data, 0, 0);
|
|
8415
8415
|
},
|
|
8416
|
-
|
|
8416
|
+
1613485: ($0, $1) => {
|
|
8417
8417
|
const input = Emval.toValue($0);
|
|
8418
8418
|
const outputArray = Emval.toValue($1);
|
|
8419
8419
|
const ctx = input.getContext("2d");
|
|
8420
8420
|
const data = ctx.getImageData(0, 0, input.width, input.height);
|
|
8421
8421
|
outputArray.set(data.data);
|
|
8422
8422
|
},
|
|
8423
|
-
|
|
8424
|
-
|
|
8425
|
-
|
|
8423
|
+
1613689: () => (typeof HTMLCanvasElement !== "undefined"),
|
|
8424
|
+
1613744: () => !!Module["preinitializedWebGPUDevice"],
|
|
8425
|
+
1613795: () => {
|
|
8426
8426
|
specialHTMLTargets["#canvas"] = Module.canvas;
|
|
8427
8427
|
}
|
|
8428
8428
|
};
|
|
Binary file
|
|
@@ -8363,12 +8363,12 @@ Module["FS_createLazyFile"] = FS_createLazyFile;
|
|
|
8363
8363
|
// End JS library exports
|
|
8364
8364
|
// end include: postlibrary.js
|
|
8365
8365
|
var ASM_CONSTS = {
|
|
8366
|
-
|
|
8366
|
+
1611046: $0 => {
|
|
8367
8367
|
const canvas = Emval.toValue($0);
|
|
8368
8368
|
const context = canvas.getContext("webgpu");
|
|
8369
8369
|
return WebGPU.importJsTexture(context.getCurrentTexture());
|
|
8370
8370
|
},
|
|
8371
|
-
|
|
8371
|
+
1611189: ($0, $1, $2, $3, $4) => {
|
|
8372
8372
|
const drawable = Emval.toValue($0);
|
|
8373
8373
|
const device = WebGPU.getJsObject($1);
|
|
8374
8374
|
const texture = WebGPU.getJsObject($2);
|
|
@@ -8380,7 +8380,7 @@ var ASM_CONSTS = {
|
|
|
8380
8380
|
texture
|
|
8381
8381
|
}, [ width, height ]);
|
|
8382
8382
|
},
|
|
8383
|
-
|
|
8383
|
+
1611448: ($0, $1, $2, $3) => {
|
|
8384
8384
|
const sourceExtTex = Emval.toValue($0);
|
|
8385
8385
|
const device = WebGPU.getJsObject($1);
|
|
8386
8386
|
const sampler = WebGPU.getJsObject($2);
|
|
@@ -8397,29 +8397,29 @@ var ASM_CONSTS = {
|
|
|
8397
8397
|
});
|
|
8398
8398
|
return WebGPU.importJsBindGroup(bindGroup);
|
|
8399
8399
|
},
|
|
8400
|
-
|
|
8400
|
+
1611818: ($0, $1) => {
|
|
8401
8401
|
const input = Emval.toValue($0);
|
|
8402
8402
|
const output = Emval.toValue($1);
|
|
8403
8403
|
const ctx = output.getContext("2d");
|
|
8404
8404
|
ctx.drawImage(input, 0, 0, output.width, output.height);
|
|
8405
8405
|
},
|
|
8406
|
-
|
|
8406
|
+
1611983: ($0, $1) => {
|
|
8407
8407
|
const inputArray = Emval.toValue($0);
|
|
8408
8408
|
const output = Emval.toValue($1);
|
|
8409
8409
|
const ctx = output.getContext("2d");
|
|
8410
8410
|
const image_data = new ImageData(inputArray, output.width, output.height);
|
|
8411
8411
|
ctx.putImageData(image_data, 0, 0);
|
|
8412
8412
|
},
|
|
8413
|
-
|
|
8413
|
+
1612207: ($0, $1) => {
|
|
8414
8414
|
const input = Emval.toValue($0);
|
|
8415
8415
|
const outputArray = Emval.toValue($1);
|
|
8416
8416
|
const ctx = input.getContext("2d");
|
|
8417
8417
|
const data = ctx.getImageData(0, 0, input.width, input.height);
|
|
8418
8418
|
outputArray.set(data.data);
|
|
8419
8419
|
},
|
|
8420
|
-
|
|
8421
|
-
|
|
8422
|
-
|
|
8420
|
+
1612411: () => (typeof HTMLCanvasElement !== "undefined"),
|
|
8421
|
+
1612466: () => !!Module["preinitializedWebGPUDevice"],
|
|
8422
|
+
1612517: () => {
|
|
8423
8423
|
specialHTMLTargets["#canvas"] = Module.canvas;
|
|
8424
8424
|
}
|
|
8425
8425
|
};
|
|
Binary file
|