All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
wrapperStructHand.hpp
Go to the documentation of this file.
#ifndef OPENPOSE_WRAPPER_WRAPPER_STRUCT_HAND_HPP
#define OPENPOSE_WRAPPER_WRAPPER_STRUCT_HAND_HPP
#include <openpose/core/common.hpp>
#include <openpose/core/enumClasses.hpp>
#include <openpose/hand/handParameters.hpp>
namespace op
{
struct OP_API WrapperStructHand
{
bool enable;
Point<int> netInputSize;
int scalesNumber;
float scaleRange;
bool tracking;
RenderMode renderMode;
float alphaKeypoint;
float alphaHeatMap;
float renderThreshold;
WrapperStructHand(const bool enable = false, const Point<int>& netInputSize = Point<int>{368, 368},
const int scalesNumber = 1, const float scaleRange = 0.4f,
const bool tracking = false, const RenderMode renderMode = RenderMode::Gpu,
const float alphaKeypoint = HAND_DEFAULT_ALPHA_KEYPOINT,
const float alphaHeatMap = HAND_DEFAULT_ALPHA_HEAT_MAP,
const float renderThreshold = 0.2f);
};
}
#endif // OPENPOSE_WRAPPER_WRAPPER_STRUCT_HAND_HPP
op::WrapperStructHand::alphaKeypoint
float alphaKeypoint
Definition: wrapperStructHand.hpp:61
op::WrapperStructHand::alphaHeatMap
float alphaHeatMap
Definition: wrapperStructHand.hpp:68
op::Point< int >
op::HAND_DEFAULT_ALPHA_HEAT_MAP
const auto HAND_DEFAULT_ALPHA_HEAT_MAP
Definition: handParameters.hpp:49
common.hpp
op::WrapperStructHand::scaleRange
float scaleRange
Definition: wrapperStructHand.hpp:41
op::WrapperStructHand::tracking
bool tracking
Definition: wrapperStructHand.hpp:49
op::HAND_DEFAULT_ALPHA_KEYPOINT
const auto HAND_DEFAULT_ALPHA_KEYPOINT
Definition: handParameters.hpp:48
op::RenderMode
RenderMode
Definition: enumClasses.hpp:24
op::RenderMode::Gpu
op::WrapperStructHand
Definition: wrapperStructHand.hpp:15
op::WrapperStructHand::renderThreshold
float renderThreshold
Definition: wrapperStructHand.hpp:76
handParameters.hpp
op::WrapperStructHand::enable
bool enable
Definition: wrapperStructHand.hpp:20
OP_API
#define OP_API
Definition: macros.hpp:19
enumClasses.hpp
op::WrapperStructHand::netInputSize
Point< int > netInputSize
Definition: wrapperStructHand.hpp:27
op::WrapperStructHand::scalesNumber
int scalesNumber
Definition: wrapperStructHand.hpp:35
op::WrapperStructHand::renderMode
RenderMode renderMode
Definition: wrapperStructHand.hpp:55