@mediapipe/tasks-vision 0.10.5 → 20230919.0.0

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.5",
3
+ "version": "20230919.0.0",
4
4
  "description": "MediaPipe Vision Tasks",
5
5
  "main": "vision_bundle.cjs",
6
6
  "browser": "vision_bundle.mjs",
package/vision.d.ts CHANGED
@@ -355,6 +355,8 @@ export declare class FaceDetector extends VisionTaskRunner {
355
355
  /**
356
356
  * Initializes the Wasm runtime and creates a new face detector from the
357
357
  * provided options.
358
+ *
359
+ * @export
358
360
  * @param wasmFileset A configuration object that provides the location of the
359
361
  * Wasm binary and its loader.
360
362
  * @param faceDetectorOptions The options for the FaceDetector. Note that
@@ -365,6 +367,8 @@ export declare class FaceDetector extends VisionTaskRunner {
365
367
  /**
366
368
  * Initializes the Wasm runtime and creates a new face detector based on the
367
369
  * provided model asset buffer.
370
+ *
371
+ * @export
368
372
  * @param wasmFileset A configuration object that provides the location of the
369
373
  * Wasm binary and its loader.
370
374
  * @param modelAssetBuffer A binary representation of the model.
@@ -373,6 +377,8 @@ export declare class FaceDetector extends VisionTaskRunner {
373
377
  /**
374
378
  * Initializes the Wasm runtime and creates a new face detector based on the
375
379
  * path to the model asset.
380
+ *
381
+ * @export
376
382
  * @param wasmFileset A configuration object that provides the location of the
377
383
  * Wasm binary and its loader.
378
384
  * @param modelAssetPath The path to the model asset.
@@ -386,6 +392,7 @@ export declare class FaceDetector extends VisionTaskRunner {
386
392
  * You can reset an option back to its default value by explicitly setting it
387
393
  * to `undefined`.
388
394
  *
395
+ * @export
389
396
  * @param options The options for the FaceDetector.
390
397
  */
391
398
  setOptions(options: FaceDetectorOptions): Promise<void>;
@@ -405,6 +412,7 @@ export declare class FaceDetector extends VisionTaskRunner {
405
412
  * synchronously for the response. Only use this method when the
406
413
  * FaceDetector is created with running mode `video`.
407
414
  *
415
+ * @export
408
416
  * @param videoFrame A video frame to process.
409
417
  * @param timestamp The timestamp of the current frame, in ms.
410
418
  * @param imageProcessingOptions the `ImageProcessingOptions` specifying how