@mediapipe/tasks-vision 1.2.0-rc.20261028 → 1.2.0-rc.20261029
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 -3
- package/vision.d.ts +3 -17
- 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 +0 -9131
- 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.20261029",
|
|
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",
|
|
@@ -15,8 +15,6 @@
|
|
|
15
15
|
"./vision_bundle.js": "./vision_bundle.js",
|
|
16
16
|
"./vision_wasm_internal.js": "./wasm/vision_wasm_internal.js",
|
|
17
17
|
"./vision_wasm_internal.wasm": "./wasm/vision_wasm_internal.wasm",
|
|
18
|
-
"./vision_wasm_nosimd_internal.js": "./wasm/vision_wasm_nosimd_internal.js",
|
|
19
|
-
"./vision_wasm_nosimd_internal.wasm": "./wasm/vision_wasm_nosimd_internal.wasm",
|
|
20
18
|
"./vision_wasm_module_internal.js": "./wasm/vision_wasm_module_internal.js",
|
|
21
19
|
"./vision_wasm_module_internal.wasm": "./wasm/vision_wasm_module_internal.wasm"
|
|
22
20
|
},
|
package/vision.d.ts
CHANGED
|
@@ -728,25 +728,11 @@ export declare interface FaceLandmarkerResult {
|
|
|
728
728
|
/**
|
|
729
729
|
* Resolves the files required for the MediaPipe Task APIs.
|
|
730
730
|
*
|
|
731
|
-
*
|
|
732
|
-
*
|
|
733
|
-
*
|
|
734
|
-
* possible, you can invoke the MediaPipe Tasks APIs using a manually created
|
|
735
|
-
* `WasmFileset`.
|
|
731
|
+
* The returned filesets require that the Wasm files are published without
|
|
732
|
+
* renaming. If this is not possible, you can invoke the MediaPipe Tasks APIs
|
|
733
|
+
* using a manually created `WasmFileset`.
|
|
736
734
|
*/
|
|
737
735
|
export declare class FilesetResolver {
|
|
738
|
-
/**
|
|
739
|
-
* Returns whether SIMD is supported in the current environment.
|
|
740
|
-
*
|
|
741
|
-
* If your environment requires custom locations for the MediaPipe Wasm files,
|
|
742
|
-
* you can use `isSimdSupported()` to decide whether to load the SIMD-based
|
|
743
|
-
* assets. Note that for ES6 Modules, SIMD is assumed to be always supported.
|
|
744
|
-
*
|
|
745
|
-
* @param useModule Whether to use ES6 Modules for the Wasm files.
|
|
746
|
-
* @export
|
|
747
|
-
* @return Whether SIMD support was detected in the current environment.
|
|
748
|
-
*/
|
|
749
|
-
static isSimdSupported(useModule?: boolean): Promise<boolean>;
|
|
750
736
|
/**
|
|
751
737
|
* Creates a fileset for the MediaPipe Audio tasks.
|
|
752
738
|
*
|