@huggingface/inference
Version:
Typescript client for the Hugging Face Inference Providers and Inference Endpoints
10 lines • 633 B
TypeScript
import type { ImageSegmentationInput, ImageSegmentationOutput } from "@huggingface/tasks";
import type { BaseArgs, Options } from "../../types";
import { type LegacyImageInput } from "./utils";
export type ImageSegmentationArgs = BaseArgs & (ImageSegmentationInput | LegacyImageInput);
/**
* This task reads some image input and outputs the likelihood of classes & bounding boxes of detected objects.
* Recommended model: facebook/detr-resnet-50-panoptic
*/
export declare function imageSegmentation(args: ImageSegmentationArgs, options?: Options): Promise<ImageSegmentationOutput>;
//# sourceMappingURL=imageSegmentation.d.ts.map