Struct machinebox::tagbox::Tag
[−]
[src]
pub struct Tag { pub tag: String, pub confidence: Option<f64>, pub id: Option<String>, }
A tag represents a single tag that describes an image. Depending on how you obtained the tag, there might be a confidence score associated with it
Fields
tag: String
The user-friendly description of the tag
confidence: Option<f64>
If present, this is a probability score between 0 and 1. This is an Option to make an explicit difference between a 0 probability and a probability that was not supplied as part of the operation.
id: Option<String>
The ID is a unique identifier for the image supplied during a call to teach
Trait Implementations
impl Debug for Tag
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more