pub struct RecognizedPointsObservation {
pub bounding_box: NormalizedRect,
pub confidence: f32,
pub available_keys: Vec<String>,
pub available_group_keys: Vec<String>,
pub points: HashMap<String, RecognizedPoint>,
}Expand description
A generic VNRecognizedPointsObservation wrapper.
Fields§
§bounding_box: NormalizedRect§confidence: f32§available_keys: Vec<String>§available_group_keys: Vec<String>§points: HashMap<String, RecognizedPoint>Implementations§
Source§impl RecognizedPointsObservation
impl RecognizedPointsObservation
pub fn point(&self, key: &str) -> Option<&RecognizedPoint>
pub fn recognized_point(&self, key: &str) -> Option<VisionRecognizedPoint>
pub fn recognized_points(&self) -> Vec<VisionRecognizedPoint>
Trait Implementations§
Source§impl Clone for RecognizedPointsObservation
impl Clone for RecognizedPointsObservation
Source§fn clone(&self) -> RecognizedPointsObservation
fn clone(&self) -> RecognizedPointsObservation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RecognizedPointsObservation
impl Debug for RecognizedPointsObservation
Source§impl PartialEq for RecognizedPointsObservation
impl PartialEq for RecognizedPointsObservation
Source§fn eq(&self, other: &RecognizedPointsObservation) -> bool
fn eq(&self, other: &RecognizedPointsObservation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RecognizedPointsObservation
Auto Trait Implementations§
impl Freeze for RecognizedPointsObservation
impl RefUnwindSafe for RecognizedPointsObservation
impl Send for RecognizedPointsObservation
impl Sync for RecognizedPointsObservation
impl Unpin for RecognizedPointsObservation
impl UnsafeUnpin for RecognizedPointsObservation
impl UnwindSafe for RecognizedPointsObservation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more