pub struct HumanBodyPoseObservation {
pub recognized_points: RecognizedPointsObservation,
pub available_joint_names: Vec<String>,
pub available_joint_group_names: Vec<String>,
}Available on crate feature
body_pose only.Expand description
A dedicated VNHumanBodyPoseObservation wrapper built on top of the generic
VNRecognizedPointsObservation surface.
Fields§
§recognized_points: RecognizedPointsObservation§available_joint_names: Vec<String>§available_joint_group_names: Vec<String>Implementations§
Source§impl HumanBodyPoseObservation
impl HumanBodyPoseObservation
pub const fn supported_joint_name_keys() -> &'static [HumanBodyPoseJointName]
pub const fn supported_joint_names() -> &'static [&'static str]
pub const fn supported_joint_group_name_keys() -> &'static [HumanBodyPoseJointGroupName]
pub const fn supported_joint_group_names() -> &'static [&'static str]
pub fn recognized_point( &self, joint_name: HumanBodyPoseJointName, ) -> Option<VisionRecognizedPoint>
pub fn into_detected_body_pose(self) -> DetectedBodyPose
Trait Implementations§
Source§impl Clone for HumanBodyPoseObservation
impl Clone for HumanBodyPoseObservation
Source§fn clone(&self) -> HumanBodyPoseObservation
fn clone(&self) -> HumanBodyPoseObservation
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 HumanBodyPoseObservation
impl Debug for HumanBodyPoseObservation
Source§impl From<DetectedBodyPose> for HumanBodyPoseObservation
impl From<DetectedBodyPose> for HumanBodyPoseObservation
Source§fn from(value: DetectedBodyPose) -> Self
fn from(value: DetectedBodyPose) -> Self
Converts to this type from the input type.
Source§impl From<HumanBodyPoseObservation> for DetectedBodyPose
impl From<HumanBodyPoseObservation> for DetectedBodyPose
Source§fn from(value: HumanBodyPoseObservation) -> Self
fn from(value: HumanBodyPoseObservation) -> Self
Converts to this type from the input type.
Source§impl PartialEq for HumanBodyPoseObservation
impl PartialEq for HumanBodyPoseObservation
Source§fn eq(&self, other: &HumanBodyPoseObservation) -> bool
fn eq(&self, other: &HumanBodyPoseObservation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HumanBodyPoseObservation
Auto Trait Implementations§
impl Freeze for HumanBodyPoseObservation
impl RefUnwindSafe for HumanBodyPoseObservation
impl Send for HumanBodyPoseObservation
impl Sync for HumanBodyPoseObservation
impl Unpin for HumanBodyPoseObservation
impl UnsafeUnpin for HumanBodyPoseObservation
impl UnwindSafe for HumanBodyPoseObservation
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