[][src]Struct mmal_sys::MMAL_PARAMETER_FACE_TRACK_FACE_T

#[repr(C)]
pub struct MMAL_PARAMETER_FACE_TRACK_FACE_T {
    pub face_id: i32,
    pub score: i32,
    pub face_rect: MMAL_RECT_T,
    pub eye_rect: [MMAL_RECT_T; 2],
    pub mouth_rect: MMAL_RECT_T,
}

Fields

face_id: i32

< Face ID. Should remain the same whilst the face is detected to remain in the scene

score: i32

< Confidence of the face detection. Range 1-100 (1=unsure, 100=positive).

face_rect: MMAL_RECT_T

< Rectangle around the whole face

eye_rect: [MMAL_RECT_T; 2]

< Rectangle around the eyes ([0] = left eye, [1] = right eye)

mouth_rect: MMAL_RECT_T

< Rectangle around the mouth

Trait Implementations

impl Clone for MMAL_PARAMETER_FACE_TRACK_FACE_T[src]

impl Copy for MMAL_PARAMETER_FACE_TRACK_FACE_T[src]

impl Debug for MMAL_PARAMETER_FACE_TRACK_FACE_T[src]

Auto Trait Implementations

impl Send for MMAL_PARAMETER_FACE_TRACK_FACE_T

impl Unpin for MMAL_PARAMETER_FACE_TRACK_FACE_T

impl Sync for MMAL_PARAMETER_FACE_TRACK_FACE_T

impl UnwindSafe for MMAL_PARAMETER_FACE_TRACK_FACE_T

impl RefUnwindSafe for MMAL_PARAMETER_FACE_TRACK_FACE_T

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]