UNPKG

@huggingface/inference

Version:

Typescript client for the Hugging Face Inference Providers and Inference Endpoints

10 lines 608 B
import type { ObjectDetectionInput, ObjectDetectionOutput } from "@huggingface/tasks"; import type { BaseArgs, Options } from "../../types"; import { type LegacyImageInput } from "./utils"; export type ObjectDetectionArgs = BaseArgs & (ObjectDetectionInput | LegacyImageInput); /** * This task reads some image input and outputs the likelihood of classes & bounding boxes of detected objects. * Recommended model: facebook/detr-resnet-50 */ export declare function objectDetection(args: ObjectDetectionArgs, options?: Options): Promise<ObjectDetectionOutput>; //# sourceMappingURL=objectDetection.d.ts.map