Label Type

Object that represents the detected object.

Field Summary

Name Type Meaning
Confidence Int Required. This indicates the confidence level of an algorithm for a detected object, between [0,1].
Name String Required. The tag that represents the object detected by the algorithm.

Method Summary

Label(confidence, name)

Syntax Sample

from vision.models import Label
label = Label(0.21,"gril")

Parameters

  • confidence : int

    Obtain the confidence level of the tag.

  • name : string

    Object label detected by algorithm.

Return Type

  • Label Class Object