@mediapipe/tasks-vision 1.2.0 → 1.2.1-rc.20261031
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/LICENSE +218 -0
- package/NOTICE +26949 -0
- package/README.md +0 -0
- package/package.json +1 -3
- package/vision.d.ts +17 -19
- 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 -0
- package/vision_bundle.mjs +1 -1
- package/vision_bundle.mjs.map +1 -1
- package/wasm/vision_wasm_internal.js +17 -17
- package/wasm/vision_wasm_internal.wasm +0 -0
- package/wasm/vision_wasm_module_internal.js +17 -17
- 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/README.md
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mediapipe/tasks-vision",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1-rc.20261031",
|
|
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
|
*
|
|
@@ -956,10 +942,16 @@ export declare interface GestureRecognizerResult {
|
|
|
956
942
|
landmarks: NormalizedLandmark[][];
|
|
957
943
|
/** Hand landmarks in world coordinates of detected hands. */
|
|
958
944
|
worldLandmarks: Landmark[][];
|
|
959
|
-
/**
|
|
945
|
+
/**
|
|
946
|
+
* Handedness of detected hands.
|
|
947
|
+
* Note: Left and Right handedness correspond to the subject's hands, not the
|
|
948
|
+
* viewer. Passing a horizontally mirrored image will invert these outputs.
|
|
949
|
+
*/
|
|
960
950
|
handedness: Category[][];
|
|
961
951
|
/**
|
|
962
952
|
* Handedness of detected hands.
|
|
953
|
+
* Note: Left and Right handedness correspond to the subject's hands, not the
|
|
954
|
+
* viewer. Passing a horizontally mirrored image will invert these outputs.
|
|
963
955
|
* @deprecated Use `.handedness` instead.
|
|
964
956
|
*/
|
|
965
957
|
handednesses: Category[][];
|
|
@@ -1083,10 +1075,16 @@ export declare interface HandLandmarkerResult {
|
|
|
1083
1075
|
worldLandmarks: Landmark[][];
|
|
1084
1076
|
/**
|
|
1085
1077
|
* Handedness of detected hands.
|
|
1078
|
+
* Note: Left and Right handedness correspond to the subject's hands, not the
|
|
1079
|
+
* viewer. Passing a horizontally mirrored image will invert these outputs.
|
|
1086
1080
|
* @deprecated Use `.handedness` instead.
|
|
1087
1081
|
*/
|
|
1088
1082
|
handednesses: Category[][];
|
|
1089
|
-
/**
|
|
1083
|
+
/**
|
|
1084
|
+
* Handedness of detected hands.
|
|
1085
|
+
* Note: Left and Right handedness correspond to the subject's hands, not the
|
|
1086
|
+
* viewer. Passing a horizontally mirrored image will invert these outputs.
|
|
1087
|
+
*/
|
|
1090
1088
|
handedness: Category[][];
|
|
1091
1089
|
}
|
|
1092
1090
|
|