diff --git a/src/BodySegmentation/index.js b/src/BodySegmentation/index.js index b9bdfa37..4fc3a47b 100644 --- a/src/BodySegmentation/index.js +++ b/src/BodySegmentation/index.js @@ -20,7 +20,7 @@ import { handleModelName } from "../utils/handleOptions"; class BodySegmentation { /** * Create BodyPix. - * @param {HTMLVideoElement} [video] - An HTMLVideoElement. + * @param {String} [modelName] - A name of a model to use. * @param {object} [options] - An object with options. * @param {function} [callback] - A callback to be called when the model is ready. */ @@ -31,7 +31,6 @@ class BodySegmentation { "SelfieSegmentation", "bodySegmentation" ); - this.video = video; this.model = null; this.config = options; this.runtimeConfig = {};