Huggingface.js documentation

Interface: ImageClassificationOutputValue

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Interface: ImageClassificationOutputValue

Properties

label

label: string

The label for the class (model specific)

Defined in

inference/src/tasks/cv/imageClassification.ts:16


score

score: number

A float that represents how likely it is that the image file belongs to this class.

Defined in

inference/src/tasks/cv/imageClassification.ts:20

< > Update on GitHub