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 
167 
174  double fpsMax;
175 
184 
191  const bool enable = true, const Point<int>& netInputSize = Point<int>{656, 368},
192  const Point<int>& outputSize = Point<int>{-1, -1},
193  const ScaleMode keypointScale = ScaleMode::InputResolution, const int gpuNumber = -1,
194  const int gpuNumberStart = 0, const int scalesNumber = 1, const float scaleGap = 0.15f,
195  const RenderMode renderMode = RenderMode::Gpu, const PoseModel poseModel = PoseModel::BODY_25,
196  const bool blendOriginalFrame = true, const float alphaKeypoint = POSE_DEFAULT_ALPHA_KEYPOINT,
197  const float alphaHeatMap = POSE_DEFAULT_ALPHA_HEAT_MAP, const int defaultPartToRender = 0,
198  const std::string& modelFolder = "models/", const std::vector<HeatMapType>& heatMapTypes = {},
199  const ScaleMode heatMapScale = ScaleMode::ZeroToOne, const bool addPartCandidates = false,
200  const float renderThreshold = 0.05f, const int numberPeopleMax = -1, const bool maximizePositives = false,
201  const double fpsMax = -1., const bool enableGoogleLogging = true);
202  };
203 }
204 
205 #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
bool maximizePositives
Definition: wrapperStructPose.hpp:166
int scalesNumber
Definition: wrapperStructPose.hpp:68
ScaleMode
Definition: enumClasses.hpp:6
RenderMode
Definition: enumClasses.hpp:24
double fpsMax
Definition: wrapperStructPose.hpp:174
bool enableGoogleLogging
Definition: wrapperStructPose.hpp:183
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