pub struct DetectedHuman {
pub bounding_box: BoundingBox,
pub confidence: f32,
pub upper_body_only: bool,
}Available on crate feature
humans only.Expand description
One detected person.
Fields§
§bounding_box: BoundingBox§confidence: f32§upper_body_only: booltrue if the detection was constrained to upper body only.
Trait Implementations§
Source§impl Clone for DetectedHuman
impl Clone for DetectedHuman
Source§fn clone(&self) -> DetectedHuman
fn clone(&self) -> DetectedHuman
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 DetectedHuman
impl Debug for DetectedHuman
Source§impl PartialEq for DetectedHuman
impl PartialEq for DetectedHuman
Source§fn eq(&self, other: &DetectedHuman) -> bool
fn eq(&self, other: &DetectedHuman) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DetectedHuman
Auto Trait Implementations§
impl Freeze for DetectedHuman
impl RefUnwindSafe for DetectedHuman
impl Send for DetectedHuman
impl Sync for DetectedHuman
impl Unpin for DetectedHuman
impl UnsafeUnpin for DetectedHuman
impl UnwindSafe for DetectedHuman
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