OpenPose  1.0.0rc2
OpenPose: A Real-Time Multi-Person Key-Point Detection And Multi-Threading C++ Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends 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 
9 
10 namespace op
11 {
18  {
24  bool enable;
25 
32 
40 
48 
54  int gpuNumber;
55 
61 
69 
75  float scaleGap;
76 
82 
89 
94 
100 
107 
116 
121 
127  std::vector<HeatMapType> heatMapTypes;
128 
136 
142 
150 
160 
169 
175  WrapperStructPose(const bool enable = true, const Point<int>& netInputSize = Point<int>{656, 368},
176  const Point<int>& outputSize = Point<int>{-1, -1},
177  const ScaleMode keypointScale = ScaleMode::InputResolution,
178  const int gpuNumber = -1, const int gpuNumberStart = 0, const int scalesNumber = 1,
179  const float scaleGap = 0.15f, const RenderMode renderMode = RenderMode::Gpu,
180  const PoseModel poseModel = PoseModel::BODY_25, const bool blendOriginalFrame = true,
181  const float alphaKeypoint = POSE_DEFAULT_ALPHA_KEYPOINT,
182  const float alphaHeatMap = POSE_DEFAULT_ALPHA_HEAT_MAP,
183  const int defaultPartToRender = 0, const std::string& modelFolder = "models/",
184  const std::vector<HeatMapType>& heatMapTypes = {},
185  const ScaleMode heatMapScale = ScaleMode::ZeroToOne, const bool addPartCandidates = false,
186  const float renderThreshold = 0.05f, const int numberPeopleMax = -1,
187  const bool enableGoogleLogging = true);
188  };
189 }
190 
191 #endif // OPENPOSE_WRAPPER_WRAPPER_STRUCT_POSE_HPP
PoseModel poseModel
Definition: wrapperStructPose.hpp:88
Point< int > netInputSize
Definition: wrapperStructPose.hpp:31
float alphaHeatMap
Definition: wrapperStructPose.hpp:106
ScaleMode heatMapScale
Definition: wrapperStructPose.hpp:135
std::vector< HeatMapType > heatMapTypes
Definition: wrapperStructPose.hpp:127
bool addPartCandidates
Definition: wrapperStructPose.hpp:141
const auto POSE_DEFAULT_ALPHA_KEYPOINT
Definition: poseParametersRender.hpp:10
Definition: wrapperStructPose.hpp:17
PoseModel
Definition: enumClasses.hpp:9
int defaultPartToRender
Definition: wrapperStructPose.hpp:115
bool enable
Definition: wrapperStructPose.hpp:24
Point< int > outputSize
Definition: wrapperStructPose.hpp:39
float scaleGap
Definition: wrapperStructPose.hpp:75
RenderMode renderMode
Definition: wrapperStructPose.hpp:81
int gpuNumberStart
Definition: wrapperStructPose.hpp:60
std::string modelFolder
Definition: wrapperStructPose.hpp:120
int numberPeopleMax
Definition: wrapperStructPose.hpp:159
int scalesNumber
Definition: wrapperStructPose.hpp:68
ScaleMode
Definition: enumClasses.hpp:6
RenderMode
Definition: enumClasses.hpp:24
bool enableGoogleLogging
Definition: wrapperStructPose.hpp:168
float renderThreshold
Definition: wrapperStructPose.hpp:149
float alphaKeypoint
Definition: wrapperStructPose.hpp:99
ScaleMode keypointScale
Definition: wrapperStructPose.hpp:47
int gpuNumber
Definition: wrapperStructPose.hpp:54
#define OP_API
Definition: macros.hpp:19
const auto POSE_DEFAULT_ALPHA_HEAT_MAP
Definition: poseParametersRender.hpp:11
bool blendOriginalFrame
Definition: wrapperStructPose.hpp:93
std::string string
Definition: cl2.hpp:574