<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/google-ai-edge/mediapipe/blob/master/mediapipe/tasks/python/vision/interactive_segmenter_legacy.py#L151-L180) |

The Region-Of-Interest (ROI) to interact with.

```python
mp.tasks.vision.InteractiveSegmenterLegacyRegionOfInterest(
    format: `mp.tasks.vision.InteractiveSegmenterLegacyRegionOfInterest.Format`,
    keypoint: Optional[`mp.tasks.components.containers.keypoint.NormalizedKeypoint`] = None
)
```

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `format` | Dataclass field |
| `keypoint` | Dataclass field |

<br />

## Child Classes

[`class Format`](https://developers.google.com/edge/api/mediapipe/python/mp/tasks/vision/InteractiveSegmenterLegacyRegionOfInterest/Format.md.txt)

## Methods

### `to_ctypes`

[View source](https://github.com/google-ai-edge/mediapipe/blob/master/mediapipe/tasks/python/vision/interactive_segmenter_legacy.py#L162-L180)

```python
to_ctypes() -> MpRegionOfInterestC
```

Converts a Python RegionOfInterest to a C MpRegionOfInterestC.

### `__eq__`

```python
__eq__(
    other
)
```

Return self==value.

<br />

<br />

<br />

| ## Class Variables ||
|---|---|
| keypoint | `None` |

<br />