Struct aws_sdk_rekognition::model::Instance
source · [−]#[non_exhaustive]pub struct Instance { /* private fields */ }Expand description
An instance of a label returned by Amazon Rekognition Image (DetectLabels) or by Amazon Rekognition Video (GetLabelDetection).
Implementations
sourceimpl Instance
impl Instance
sourcepub fn bounding_box(&self) -> Option<&BoundingBox>
pub fn bounding_box(&self) -> Option<&BoundingBox>
The position of the label instance on the image.
sourcepub fn confidence(&self) -> Option<f32>
pub fn confidence(&self) -> Option<f32>
The confidence that Amazon Rekognition has in the accuracy of the bounding box.
Trait Implementations
impl StructuralPartialEq for Instance
Auto Trait Implementations
impl RefUnwindSafe for Instance
impl Send for Instance
impl Sync for Instance
impl Unpin for Instance
impl UnwindSafe for Instance
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more