pub struct Keypoint {
pub x: f32,
pub y: f32,
pub confidence: f32,
}Expand description
One keypoint of a detection (a pose joint or a landmark), in the frame’s own pixel resolution, with its own detection confidence.
Fields§
§x: f32§y: f32§confidence: f32Confidence this keypoint was located correctly, 0..1.
Trait Implementations§
impl Copy for Keypoint
Source§impl<'de> Deserialize<'de> for Keypoint
impl<'de> Deserialize<'de> for Keypoint
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Keypoint
Auto Trait Implementations§
impl Freeze for Keypoint
impl RefUnwindSafe for Keypoint
impl Send for Keypoint
impl Sync for Keypoint
impl Unpin for Keypoint
impl UnsafeUnpin for Keypoint
impl UnwindSafe for Keypoint
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