@mediapipe/tasks-vision 0.10.35 → 0.10.36-rc.20260514

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/README.md CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mediapipe/tasks-vision",
3
- "version": "0.10.35",
3
+ "version": "0.10.36-rc.20260514",
4
4
  "description": "MediaPipe Vision Tasks",
5
5
  "main": "vision_bundle.cjs",
6
6
  "browser": "vision_bundle.mjs",
package/vision.d.ts CHANGED
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  /** Options to configure MediaPipe model loading and processing. */
17
- declare interface BaseOptions_2 {
17
+ declare interface BaseOptions {
18
18
  /**
19
19
  * The model path to the model asset file. Only one of `modelAssetPath` or
20
20
  * `modelAssetBuffer` can be set.
@@ -2674,6 +2674,7 @@ declare abstract class TaskRunner {
2674
2674
  protected constructor();
2675
2675
  /** Configures the task with custom options. */
2676
2676
  abstract setOptions(options: TaskRunnerOptions): Promise<void>;
2677
+ enableLogging(taskName: string, options: TaskRunnerOptions): void;
2677
2678
  /**
2678
2679
  * Closes and cleans up the resources held by this task.
2679
2680
  * @export
@@ -2684,7 +2685,7 @@ declare abstract class TaskRunner {
2684
2685
  /** Options to configure MediaPipe Tasks in general. */
2685
2686
  declare interface TaskRunnerOptions {
2686
2687
  /** Options to configure the loading of the model assets. */
2687
- baseOptions?: BaseOptions_2;
2688
+ baseOptions?: BaseOptions;
2688
2689
  }
2689
2690
 
2690
2691
  /** The options for configuring a MediaPipe vision task. */