pub struct PersonDetection {
pub x1: f32,
pub y1: f32,
pub x2: f32,
pub y2: f32,
pub score: f32,
pub class_id: i64,
}Expand description
Person detection result in original image pixel coordinates.
Fields§
§x1: f32§y1: f32§x2: f32§y2: f32§score: f32§class_id: i64Trait Implementations§
Source§impl Clone for PersonDetection
impl Clone for PersonDetection
Source§fn clone(&self) -> PersonDetection
fn clone(&self) -> PersonDetection
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PersonDetection
impl RefUnwindSafe for PersonDetection
impl Send for PersonDetection
impl Sync for PersonDetection
impl Unpin for PersonDetection
impl UnwindSafe for PersonDetection
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