Momentum
A library for solving nonlinear optimization problems related to human body kinematics
Loading...
Searching...
No Matches
momentum::KeypointObservation Struct Reference

A single 2D keypoint observation from a camera view. More...

#include <marker_tracker.h>

Public Attributes

size_t locatorIndex {}
 Index into the character's locator list.
Eigen::Vector2f target = Eigen::Vector2f::Zero()
 Target 2D pixel coordinates.
float confidence = 1.0f
 Detection confidence, used as weight multiplier.

Detailed Description

A single 2D keypoint observation from a camera view.

Each observation maps a detected 2D pixel location to a specific locator on the character skeleton (identified by index into the character's locator list). The confidence score from the keypoint detector is used as a weight multiplier.

Definition at line 24 of file marker_tracker.h.

Member Data Documentation

◆ confidence

float momentum::KeypointObservation::confidence = 1.0f

Detection confidence, used as weight multiplier.

Definition at line 27 of file marker_tracker.h.

◆ locatorIndex

size_t momentum::KeypointObservation::locatorIndex {}

Index into the character's locator list.

Definition at line 25 of file marker_tracker.h.

Referenced by momentum::logKeypointReprojectionDiagnostic().

◆ target

Eigen::Vector2f momentum::KeypointObservation::target = Eigen::Vector2f::Zero()

Target 2D pixel coordinates.

Definition at line 26 of file marker_tracker.h.

Referenced by momentum::logKeypointReprojectionDiagnostic().


The documentation for this struct was generated from the following file: