@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 +0 -0
- package/package.json +1 -1
- package/vision.d.ts +3 -2
- package/vision_bundle.cjs +1 -1
- package/vision_bundle.cjs.map +1 -1
- package/vision_bundle.mjs +1 -1
- package/vision_bundle.mjs.map +1 -1
- package/wasm/vision_wasm_internal.js +76 -70
- package/wasm/vision_wasm_internal.wasm +0 -0
- package/wasm/vision_wasm_module_internal.js +76 -70
- package/wasm/vision_wasm_module_internal.wasm +0 -0
- package/wasm/vision_wasm_nosimd_internal.js +76 -70
- package/wasm/vision_wasm_nosimd_internal.wasm +0 -0
package/README.md
CHANGED
|
File without changes
|
package/package.json
CHANGED
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
|
|
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?:
|
|
2688
|
+
baseOptions?: BaseOptions;
|
|
2688
2689
|
}
|
|
2689
2690
|
|
|
2690
2691
|
/** The options for configuring a MediaPipe vision task. */
|