Packagecom.tuarua.firebase.ml.vision.label
Classpublic class VisionImageLabel
InheritanceVisionImageLabel Inheritance Object

Represents a label for an image.



Public Properties
 PropertyDefined By
  confidence : Number
Confidence for the label in range [0, 1].
VisionImageLabel
  entityId : String
Opaque entity ID.
VisionImageLabel
  text : String
The human readable label string in American English.
VisionImageLabel
Public Methods
 MethodDefined By
  
VisionImageLabel
Property Detail
confidenceproperty
public var confidence:Number

Confidence for the label in range [0, 1].

entityIdproperty 
public var entityId:String

Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search API]. (https://developers.google.com/knowledge-graph/).

textproperty 
public var text:String

The human readable label string in American English. For example: "Balloon".

Note: this is not fit for display purposes, as it is not localized. Use the entityId and query the Knowledge Graph to get a localized description of the label.

Constructor Detail
VisionImageLabel()Constructor
public function VisionImageLabel()