> ## Documentation Index
> Fetch the complete documentation index at: https://docs.generalrobotics.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# eomt

> Segment an image using EoMT

Segment an image using EoMT.

## Parameters

<ParamField body="image_input" type="Union[str, Image.Image, np.ndarray]" required>
  RGB input image.
</ParamField>

<ParamField body="mode" type="str" default="'panoptic'">
  "panoptic" ("instance" is temporarily disabled).
</ParamField>

<ParamField body="timeout" type="float | None">
  Optional HTTP timeout.
</ParamField>

## Returns

Dict\[str, Any]: Backend-specific segmentation output.

## Example

```python theme={null}
from grid_cortex_client import CortexClient, ModelType
import numpy as np
from PIL import Image
client = CortexClient()
image = np.array(Image.open("cat.jpg"))
result = client.run(ModelType.EOMT, image_input=image, mode="panoptic")
```
