@mediapipe/tasks-vision 0.10.2-rc2 → 0.10.2

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 CHANGED
@@ -1,10 +1,15 @@
1
1
  {
2
2
  "name": "@mediapipe/tasks-vision",
3
- "version": "0.10.2-rc2",
3
+ "version": "0.10.2",
4
4
  "description": "MediaPipe Vision Tasks",
5
5
  "main": "vision_bundle.cjs",
6
6
  "browser": "vision_bundle.mjs",
7
7
  "module": "vision_bundle.mjs",
8
+ "exports": {
9
+ "import": "./vision_bundle.mjs",
10
+ "require": "./vision_bundle.cjs",
11
+ "default": "./vision_bundle.mjs"
12
+ },
8
13
  "author": "mediapipe@google.com",
9
14
  "license": "Apache-2.0",
10
15
  "type": "module",
package/vision.d.ts CHANGED
@@ -1375,7 +1375,7 @@ export declare class ImageSegmenter extends VisionTaskRunner {
1375
1375
  /**
1376
1376
  * Performs image segmentation on the provided video frame and returns the
1377
1377
  * segmentation result. This method creates a copy of the resulting masks and
1378
- * should not be used in high-throughput applictions. Only use this method
1378
+ * should not be used in high-throughput applications. Only use this method
1379
1379
  * when the ImageSegmenter is created with running mode `video`.
1380
1380
  *
1381
1381
  * @param videoFrame A video frame to process.
@@ -1583,7 +1583,7 @@ export declare class InteractiveSegmenter extends VisionTaskRunner {
1583
1583
  /**
1584
1584
  * Performs interactive segmentation on the provided video frame and returns
1585
1585
  * the segmentation result. This method creates a copy of the resulting masks
1586
- * and should not be used in high-throughput applictions. The `roi` parameter
1586
+ * and should not be used in high-throughput applications. The `roi` parameter
1587
1587
  * is used to represent a user's region of interest for segmentation.
1588
1588
  *
1589
1589
  * @param image An image to process.
@@ -1595,7 +1595,7 @@ export declare class InteractiveSegmenter extends VisionTaskRunner {
1595
1595
  /**
1596
1596
  * Performs interactive segmentation on the provided video frame and returns
1597
1597
  * the segmentation result. This method creates a copy of the resulting masks
1598
- * and should not be used in high-throughput applictions. The `roi` parameter
1598
+ * and should not be used in high-throughput applications. The `roi` parameter
1599
1599
  * is used to represent a user's region of interest for segmentation.
1600
1600
  *
1601
1601
  * The 'image_processing_options' parameter can be used to specify the
@@ -2082,7 +2082,7 @@ export declare class PoseLandmarker extends VisionTaskRunner {
2082
2082
  /**
2083
2083
  * Performs pose detection on the provided single image and waits
2084
2084
  * synchronously for the response. This method creates a copy of the resulting
2085
- * masks and should not be used in high-throughput applictions. Only
2085
+ * masks and should not be used in high-throughput applications. Only
2086
2086
  * use this method when the PoseLandmarker is created with running mode
2087
2087
  * `image`.
2088
2088
  *
@@ -2095,7 +2095,7 @@ export declare class PoseLandmarker extends VisionTaskRunner {
2095
2095
  /**
2096
2096
  * Performs pose detection on the provided single image and waits
2097
2097
  * synchronously for the response. This method creates a copy of the resulting
2098
- * masks and should not be used in high-throughput applictions. Only
2098
+ * masks and should not be used in high-throughput applications. Only
2099
2099
  * use this method when the PoseLandmarker is created with running mode
2100
2100
  * `image`.
2101
2101
  *
@@ -2136,7 +2136,7 @@ export declare class PoseLandmarker extends VisionTaskRunner {
2136
2136
  /**
2137
2137
  * Performs pose detection on the provided video frame and returns the result.
2138
2138
  * This method creates a copy of the resulting masks and should not be used
2139
- * in high-throughput applictions. Only use this method when the
2139
+ * in high-throughput applications. Only use this method when the
2140
2140
  * PoseLandmarker is created with running mode `video`.
2141
2141
  *
2142
2142
  * @param videoFrame A video frame to process.
@@ -2148,7 +2148,7 @@ export declare class PoseLandmarker extends VisionTaskRunner {
2148
2148
  /**
2149
2149
  * Performs pose detection on the provided video frame and returns the result.
2150
2150
  * This method creates a copy of the resulting masks and should not be used
2151
- * in high-throughput applictions. The method returns synchronously once the
2151
+ * in high-throughput applications. The method returns synchronously once the
2152
2152
  * callback returns. Only use this method when the PoseLandmarker is created
2153
2153
  * with running mode `video`.
2154
2154
  *