@mediapipe/tasks-vision 1.0.1-rc.20260913 → 1.0.1-rc.20260915

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@mediapipe/tasks-vision",
3
- "version": "1.0.1-rc.20260913",
3
+ "version": "1.0.1-rc.20260915",
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",
package/vision.d.ts CHANGED
@@ -778,6 +778,18 @@ export declare class FilesetResolver {
778
778
  * tasks.
779
779
  */
780
780
  static forTextTasks(basePath?: string, useModule?: boolean): Promise<WasmFileset>;
781
+ /**
782
+ * Creates a fileset for the MediaPipe LiteRT LM Text tasks.
783
+ *
784
+ * @export
785
+ * @param basePath An optional base path to specify the directory the Wasm
786
+ * files should be loaded from. If not specified, the Wasm files are
787
+ * loaded from the host's root directory.
788
+ * @param useModule Whether to use ES6 Modules for the Wasm files.
789
+ * @return A `WasmFileset` that can be used to initialize MediaPipe LiteRT LM
790
+ * Text tasks.
791
+ */
792
+ static forLiteRtLmTextTasks(basePath?: string, useModule?: boolean): Promise<WasmFileset>;
781
793
  /**
782
794
  * Creates a fileset for the MediaPipe Vision tasks.
783
795
  *