OpenPose  1.7.0
The first real-time multi-person system to jointly detect human body, hand, facial, and foot keypoints
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 
10 
11 namespace op
12 {
19  {
26 
33 
42 
50 
58 
64  int gpuNumber;
65 
71 
79 
85  float scaleGap;
86 
92 
99 
104 
110 
117 
126 
131 
137  std::vector<HeatMapType> heatMapTypes;
138 
146 
152 
161 
171 
178 
185  double fpsMax;
186 
193 
200 
206 
215 
222  const PoseMode poseMode = PoseMode::Enabled, const Point<int>& netInputSize = Point<int>{-1, 368},
223  const double netInputSizeDynamicBehavior = 1.,
224  const Point<int>& outputSize = Point<int>{-1, -1},
225  const ScaleMode keypointScaleMode = ScaleMode::InputResolution, const int gpuNumber = -1,
226  const int gpuNumberStart = 0, const int scalesNumber = 1, const float scaleGap = 0.25f,
227  const RenderMode renderMode = RenderMode::Auto, const PoseModel poseModel = PoseModel::BODY_25,
228  const bool blendOriginalFrame = true, const float alphaKeypoint = POSE_DEFAULT_ALPHA_KEYPOINT,
229  const float alphaHeatMap = POSE_DEFAULT_ALPHA_HEAT_MAP, const int defaultPartToRender = 0,
230  const String& modelFolder = "models/", const std::vector<HeatMapType>& heatMapTypes = {},
231  const ScaleMode heatMapScaleMode = ScaleMode::UnsignedChar, const bool addPartCandidates = false,
232  const float renderThreshold = 0.05f, const int numberPeopleMax = -1, const bool maximizePositives = false,
233  const double fpsMax = -1., const String& protoTxtPath = "", const String& caffeModelPath = "",
234  const float upsamplingRatio = 0.f, const bool enableGoogleLogging = true);
235  };
236 }
237 
238 #endif // OPENPOSE_WRAPPER_WRAPPER_STRUCT_POSE_HPP
#define OP_API
Definition: macros.hpp:18
const auto POSE_DEFAULT_ALPHA_KEYPOINT
PoseMode
Definition: enumClasses.hpp:7
const auto POSE_DEFAULT_ALPHA_HEAT_MAP
PoseModel
Definition: enumClasses.hpp:10
ScaleMode
Definition: enumClasses.hpp:7
RenderMode
Definition: enumClasses.hpp:27
std::vector< HeatMapType > heatMapTypes
WrapperStructPose(const PoseMode poseMode=PoseMode::Enabled, const Point< int > &netInputSize=Point< int >{-1, 368}, const double netInputSizeDynamicBehavior=1., const Point< int > &outputSize=Point< int >{-1, -1}, const ScaleMode keypointScaleMode=ScaleMode::InputResolution, const int gpuNumber=-1, const int gpuNumberStart=0, const int scalesNumber=1, const float scaleGap=0.25f, const RenderMode renderMode=RenderMode::Auto, const PoseModel poseModel=PoseModel::BODY_25, const bool blendOriginalFrame=true, const float alphaKeypoint=POSE_DEFAULT_ALPHA_KEYPOINT, const float alphaHeatMap=POSE_DEFAULT_ALPHA_HEAT_MAP, const int defaultPartToRender=0, const String &modelFolder="models/", const std::vector< HeatMapType > &heatMapTypes={}, const ScaleMode heatMapScaleMode=ScaleMode::UnsignedChar, const bool addPartCandidates=false, const float renderThreshold=0.05f, const int numberPeopleMax=-1, const bool maximizePositives=false, const double fpsMax=-1., const String &protoTxtPath="", const String &caffeModelPath="", const float upsamplingRatio=0.f, const bool enableGoogleLogging=true)