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