<br />

Options to configure the MediaPipe Interactive Segmenter Task.

**Signature:**

    export declare interface InteractiveSegmenterOptions extends TaskRunnerOptions 

## Properties

| Property | Modifiers | Type | Description |
|---|---|---|---|
| [canvas](https://developers.google.com/edge/api/mediapipe/js/tasks-vision.interactivesegmenteroptions#interactivesegmenteroptionscanvas) |   | HTMLCanvasElement \| OffscreenCanvas | The canvas element or offscreen canvas to use for WebGL context creation and mask rendering/transfers. If not provided, a canvas is created internally. |

## InteractiveSegmenterOptions.canvas {#interactivesegmenteroptionscanvas}

The canvas element or offscreen canvas to use for WebGL context creation and mask rendering/transfers. If not provided, a canvas is created internally.

**Signature:**

    canvas?: HTMLCanvasElement | OffscreenCanvas;