diff --git a/mediapipe/tasks/web/vision/face_detector/face_detector.ts b/mediapipe/tasks/web/vision/face_detector/face_detector.ts index d9a69037f..efbf118ca 100644 --- a/mediapipe/tasks/web/vision/face_detector/face_detector.ts +++ b/mediapipe/tasks/web/vision/face_detector/face_detector.ts @@ -50,6 +50,8 @@ export class FaceDetector extends VisionTaskRunner { /** * Initializes the Wasm runtime and creates a new face detector from the * provided options. + * + * @export * @param wasmFileset A configuration object that provides the location of the * Wasm binary and its loader. * @param faceDetectorOptions The options for the FaceDetector. Note that @@ -66,6 +68,8 @@ export class FaceDetector extends VisionTaskRunner { /** * Initializes the Wasm runtime and creates a new face detector based on the * provided model asset buffer. + * + * @export * @param wasmFileset A configuration object that provides the location of the * Wasm binary and its loader. * @param modelAssetBuffer A binary representation of the model. @@ -80,6 +84,8 @@ export class FaceDetector extends VisionTaskRunner { /** * Initializes the Wasm runtime and creates a new face detector based on the * path to the model asset. + * + * @export * @param wasmFileset A configuration object that provides the location of the * Wasm binary and its loader. * @param modelAssetPath The path to the model asset. @@ -118,6 +124,7 @@ export class FaceDetector extends VisionTaskRunner { * You can reset an option back to its default value by explicitly setting it * to `undefined`. * + * @export * @param options The options for the FaceDetector. */ override setOptions(options: FaceDetectorOptions): Promise { @@ -154,6 +161,7 @@ export class FaceDetector extends VisionTaskRunner { * synchronously for the response. Only use this method when the * FaceDetector is created with running mode `video`. * + * @export * @param videoFrame A video frame to process. * @param timestamp The timestamp of the current frame, in ms. * @param imageProcessingOptions the `ImageProcessingOptions` specifying how