OpenPose  1.0.0rc2
OpenPose: A Real-Time Multi-Person Key-Point Detection And Multi-Threading C++ Library
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
wrapperStructPose.hpp
Go to the documentation of this file.
1 #ifndef OPENPOSE_WRAPPER_WRAPPER_STRUCT_POSE_HPP
2 #define OPENPOSE_WRAPPER_WRAPPER_STRUCT_POSE_HPP
3 
8 
9 namespace op
10 {
17  {
24 
32 
39 
44  int gpuNumber;
45 
51 
58 
63  float scaleGap;
64 
70 
77 
82 
88 
93  float alphaHeatMap;
94 
102 
106  std::string modelFolder;
107 
112  std::vector<HeatMapType> heatMapTypes;
113 
120 
127 
133  WrapperStructPose(const Point<int>& netInputSize = Point<int>{656, 368},
134  const Point<int>& outputSize = Point<int>{1280, 720},
135  const ScaleMode keypointScale = ScaleMode::InputResolution,
136  const int gpuNumber = -1, const int gpuNumberStart = 0, const int scalesNumber = 1,
137  const float scaleGap = 0.15f, const RenderMode renderMode = RenderMode::None,
138  const PoseModel poseModel = PoseModel::COCO_18, const bool blendOriginalFrame = true,
139  const float alphaKeypoint = POSE_DEFAULT_ALPHA_KEYPOINT,
140  const float alphaHeatMap = POSE_DEFAULT_ALPHA_HEAT_MAP,
141  const int defaultPartToRender = 0, const std::string& modelFolder = "models/",
142  const std::vector<HeatMapType>& heatMapTypes = {},
143  const ScaleMode heatMapScale = ScaleMode::ZeroToOne,
144  const float renderThreshold = 0.05f);
145  };
146 }
147 
148 #endif // OPENPOSE_WRAPPER_WRAPPER_STRUCT_POSE_HPP
PoseModel poseModel
Definition: wrapperStructPose.hpp:76
Point< int > netInputSize
Definition: wrapperStructPose.hpp:23
float alphaHeatMap
Definition: wrapperStructPose.hpp:93
ScaleMode heatMapScale
Definition: wrapperStructPose.hpp:119
std::vector< HeatMapType > heatMapTypes
Definition: wrapperStructPose.hpp:112
const auto POSE_DEFAULT_ALPHA_KEYPOINT
Definition: poseParameters.hpp:298
Definition: wrapperStructPose.hpp:16
PoseModel
Definition: enumClasses.hpp:9
int defaultPartToRender
Definition: wrapperStructPose.hpp:101
Point< int > outputSize
Definition: wrapperStructPose.hpp:31
float scaleGap
Definition: wrapperStructPose.hpp:63
RenderMode renderMode
Definition: wrapperStructPose.hpp:69
int gpuNumberStart
Definition: wrapperStructPose.hpp:50
std::string modelFolder
Definition: wrapperStructPose.hpp:106
int scalesNumber
Definition: wrapperStructPose.hpp:57
ScaleMode
Definition: enumClasses.hpp:6
RenderMode
Definition: enumClasses.hpp:23
float renderThreshold
Definition: wrapperStructPose.hpp:126
float alphaKeypoint
Definition: wrapperStructPose.hpp:87
ScaleMode keypointScale
Definition: wrapperStructPose.hpp:38
int gpuNumber
Definition: wrapperStructPose.hpp:44
#define OP_API
Definition: macros.hpp:5
const auto POSE_DEFAULT_ALPHA_HEAT_MAP
Definition: poseParameters.hpp:299
bool blendOriginalFrame
Definition: wrapperStructPose.hpp:81