Jetson Inference
DNN Vision Library
|
The pose of an object, composed of links between keypoints. More...
#include <poseNet.h>
Classes | |
struct | Keypoint |
A keypoint or joint in the topology. More... | |
Public Member Functions | |
int | FindKeypoint (uint32_t id) const |
Find a link index by two keypoint ID's, or return -1 if not found. More... | |
int | FindLink (uint32_t a, uint32_t b) const |
Public Attributes | |
uint32_t | ID |
Object ID in the image frame, starting with 0. More... | |
float | Left |
Bounding box left, as determined by the left-most keypoint in the pose. More... | |
float | Right |
Bounding box right, as determined by the right-most keypoint in the pose. More... | |
float | Top |
Bounding box top, as determined by the top-most keypoint in the pose. More... | |
float | Bottom |
Bounding box bottom, as determined by the bottom-most keypoint in the pose. More... | |
std::vector< Keypoint > | Keypoints |
List of keypoints in the object, which contain the keypoint ID and x/y coordinates. More... | |
std::vector< std::array< uint32_t, 2 > > | Links |
List of links in the object. More... | |
The pose of an object, composed of links between keypoints.
Each image can have multiple objects detected per frame.
|
inline |
Find a link index by two keypoint ID's, or return -1 if not found.
This returns an index into the Links list
|
inline |
float poseNet::ObjectPose::Bottom |
Bounding box bottom, as determined by the bottom-most keypoint in the pose.
uint32_t poseNet::ObjectPose::ID |
Object ID in the image frame, starting with 0.
std::vector<Keypoint> poseNet::ObjectPose::Keypoints |
List of keypoints in the object, which contain the keypoint ID and x/y coordinates.
float poseNet::ObjectPose::Left |
Bounding box left, as determined by the left-most keypoint in the pose.
std::vector<std::array<uint32_t, 2> > poseNet::ObjectPose::Links |
List of links in the object.
Each link has two keypoint indexes into the Keypoints list Find a keypoint index by it's ID, or return -1 if not found. This returns an index into the Keypoints list
float poseNet::ObjectPose::Right |
Bounding box right, as determined by the right-most keypoint in the pose.
float poseNet::ObjectPose::Top |
Bounding box top, as determined by the top-most keypoint in the pose.