pub struct DetectedFace {
pub bounding_box: BoundingBox,
pub confidence: f32,
pub roll: Option<f32>,
pub yaw: Option<f32>,
pub pitch: Option<f32>,
}Available on crate feature
detect_faces only.Expand description
One detected face.
Fields§
§bounding_box: BoundingBoxBounding box in normalised image coordinates (origin bottom-left).
confidence: f32Detection confidence in 0.0..=1.0.
roll: Option<f32>Face roll in radians; None if not reported by the request revision.
yaw: Option<f32>§pitch: Option<f32>Trait Implementations§
Source§impl Clone for DetectedFace
impl Clone for DetectedFace
Source§fn clone(&self) -> DetectedFace
fn clone(&self) -> DetectedFace
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 DetectedFace
impl Debug for DetectedFace
Source§impl PartialEq for DetectedFace
impl PartialEq for DetectedFace
Source§fn eq(&self, other: &DetectedFace) -> bool
fn eq(&self, other: &DetectedFace) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DetectedFace
Auto Trait Implementations§
impl Freeze for DetectedFace
impl RefUnwindSafe for DetectedFace
impl Send for DetectedFace
impl Sync for DetectedFace
impl Unpin for DetectedFace
impl UnsafeUnpin for DetectedFace
impl UnwindSafe for DetectedFace
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