AI Watch A1
Multi-person 3D skeleton detection using Intel RealSense and OpenPose with Kafka support.
BodyKeyPoint.cpp
Go to the documentation of this file.
1//
2// BodyKeyPoint.cpp
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#include "BodyKeyPoint.hpp"
12
13
14
15void BodyKeyPoint::setConfidence (float confidence) {
16 this->confidence = confidence;
17}
18
19
20
21BodyKeyPoint::BodyKeyPoint (float x, float y, float confidence, Point * decorated) : Point(x, y, decorated) {
23}
24
26 return this->confidence;
27}
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