AI Watch A1
Multi-person 3D skeleton detection using Intel RealSense and OpenPose with Kafka support.
BodyKeyPoint.hpp
Go to the documentation of this file.
1//
2// BodyKeyPoint.hpp
3// AI Watch A1
4//
5// Created by Denny Caruso on 17/07/22.
6//
7
8// License: Apache 2.0. See LICENSE file in root directory.
9// Copyright(c) 2022. All Rights Reserved.
10
11#ifndef BodyKeyPoint_hpp
12#define BodyKeyPoint_hpp
13
14#include "Point.hpp"
15
16
17
24class BodyKeyPoint : public Point {
25private:
31
32
33
38 void setConfidence (float confidence);
39public:
48 BodyKeyPoint (float x, float y, float confidence, Point * decorated = nullptr);
49
54 float getConfidence (void);
55};
56
57#endif /* BodyKeyPoint_hpp */
BodyKeyPoint class is used for body keypoint creations and manipulations.
void setConfidence(float confidence)
Set the confidence value.
float getConfidence(void)
Get the confidence value.
float confidence
The confidence value is an OpenPose parameter to evaluate how accurate the process was while determin...
BodyKeyPoint(float x, float y, float confidence, Point *decorated=nullptr)
Construct a new Body Keypoint object.
Point class is used for point creations and manipulations.
Definition: Point.hpp:21
const Point * decorated
A pointer to Point.
Definition: Point.hpp:34
float x
Point's x coordinate.
Definition: Point.hpp:26
float y
Point's y coordinate.
Definition: Point.hpp:30