Interface: ImageSegmentationReturnValue

Properties

label

label: string

The label for the class (model specific) of a segment.

Defined in

HfInference.ts:531


mask

mask: string

A str (base64 str of a single channel black-and-white img) representing the mask of a segment.

Defined in

HfInference.ts:535


score

score: number

A float that represents how likely it is that the detected object belongs to the given class.

Defined in

HfInference.ts:539