pub struct PoseFeatures {
pub spine_lean: f32,
pub shoulder_elevation: f32,
pub arm_openness: f32,
pub head_tilt: f32,
pub head_nod: f32,
pub hip_sway: f32,
pub leg_spread: f32,
pub gesture_height: f32,
}Expand description
Pose feature vector extracted from a body pose.
Fields§
§spine_lean: f32Forward lean angle in degrees (+ve = leaning forward).
shoulder_elevation: f32Shoulder elevation: 0 = relaxed, 1 = maximally raised.
arm_openness: f32Arm openness: 0 = arms crossed, 1 = wide open.
head_tilt: f32Head tilt in degrees (+ve = right tilt).
head_nod: f32Head nod: -1 = looking down, +1 = looking up.
hip_sway: f32Lateral hip sway (normalised).
leg_spread: f32Leg spread: 0 = together, 1 = wide.
gesture_height: f32Gesture height: 0 = low, 1 = high.
Trait Implementations§
Source§impl Clone for PoseFeatures
impl Clone for PoseFeatures
Source§fn clone(&self) -> PoseFeatures
fn clone(&self) -> PoseFeatures
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 PoseFeatures
impl RefUnwindSafe for PoseFeatures
impl Send for PoseFeatures
impl Sync for PoseFeatures
impl Unpin for PoseFeatures
impl UnsafeUnpin for PoseFeatures
impl UnwindSafe for PoseFeatures
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more