AI Watch A1
Multi-person 3D skeleton detection using Intel RealSense and OpenPose with Kafka support.
|
BodyKeyPoint class is used for body keypoint creations and manipulations. More...
#include <BodyKeyPoint.hpp>
Public Member Functions | |
BodyKeyPoint (float x, float y, float confidence, Point *decorated=nullptr) | |
Construct a new Body Keypoint object. More... | |
float | getConfidence (void) |
Get the confidence value. More... | |
float | getX (void) |
Get the Point's x coordinate value. More... | |
float | getY (void) |
Get the Point's y coordinate value. More... | |
const Point * | getDecorated (void) |
Get the pointer to Point used to check if that's a "decorated" Point. More... | |
Protected Member Functions | |
void | setX (float x) |
Set the Point's x coordinate value. More... | |
void | setY (float y) |
Set the Point's y coordinate value. More... | |
Private Member Functions | |
void | setConfidence (float confidence) |
Set the confidence value. More... | |
Private Attributes | |
float | confidence |
The confidence value is an OpenPose parameter to evaluate how accurate the process was while determining this particular joint point. More... | |
float | x |
Point's x coordinate. More... | |
float | y |
Point's y coordinate. More... | |
const Point * | decorated |
A pointer to Point. More... | |
BodyKeyPoint class is used for body keypoint creations and manipulations.
BodyKeyPoint class is a class that represents a Body Keypoint with its own x coordinate and y coordinate. This class inherits from Point and adds the "confidence" detail in order to keep track of the OpenPose confidence on this particular point.
Definition at line 24 of file BodyKeyPoint.hpp.
BodyKeyPoint::BodyKeyPoint | ( | float | x, |
float | y, | ||
float | confidence, | ||
Point * | decorated = nullptr |
||
) |
Construct a new Body Keypoint object.
x | |
y | |
confidence | |
decorated |
Definition at line 21 of file BodyKeyPoint.cpp.
References confidence, and setConfidence().
float BodyKeyPoint::getConfidence | ( | void | ) |
Get the confidence value.
Definition at line 25 of file BodyKeyPoint.cpp.
References confidence.
|
inherited |
Get the pointer to Point used to check if that's a "decorated" Point.
Definition at line 37 of file Point.cpp.
References Point::decorated.
Referenced by Point::~Point().
|
inherited |
|
inherited |
|
private |
Set the confidence value.
confidence |
Definition at line 15 of file BodyKeyPoint.cpp.
References confidence.
Referenced by BodyKeyPoint().
|
protectedinherited |
|
protectedinherited |
|
private |
The confidence value is an OpenPose parameter to evaluate how accurate the process was while determining this particular joint point.
Definition at line 30 of file BodyKeyPoint.hpp.
Referenced by BodyKeyPoint(), getConfidence(), and setConfidence().
|
privateinherited |
|
privateinherited |
Point's x coordinate.
Definition at line 26 of file Point.hpp.
Referenced by Point::getX(), Point::Point(), and Point::setX().
|
privateinherited |
Point's y coordinate.
Definition at line 30 of file Point.hpp.
Referenced by Point::getY(), Point::Point(), and Point::setY().