Skip to main content
Segment an image using EoMT.
Input images up to 1280 x 720 (width x height). Larger images are rejected with HTTP 413, not downscaled — resize first.

Parameters

Union[str, Image.Image, np.ndarray]
required
RGB input image.
str
default:"'panoptic'"
“panoptic” (“instance” is temporarily disabled).
float | None
Optional HTTP timeout.

Returns

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

Example