OpenPose 1.0.0rc2 OpenPose: A Real-Time Multi-Person Key-Point Detection And Multi-Threading C++ Library

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

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
4 #include <openpose/core/common.hpp>
5 #include <openpose/core/enumClasses.hpp>
6 #include <openpose/pose/enumClasses.hpp>
7 #include <openpose/pose/poseParameters.hpp>
8 #include <openpose/pose/poseParametersRender.hpp>
9
10 namespace op
11 {
17 struct OP_API WrapperStructPose
18 {
24 bool enable;
25
31 Point<int> netInputSize;
32
39 Point<int> outputSize;
40
47 ScaleMode keypointScale;
48
54 int gpuNumber;
55
60 int gpuNumberStart;
61
68 int scalesNumber;
69
75 float scaleGap;
76
81 RenderMode renderMode;
82
88 PoseModel poseModel;
89
93 bool blendOriginalFrame;
94
99 float alphaKeypoint;
100
106 float alphaHeatMap;
107
115 int defaultPartToRender;
116
120 std::string modelFolder;
121
127 std::vector<HeatMapType> heatMapTypes;
128
135 ScaleMode heatMapScale;
136
141 bool addPartCandidates;
142
149 float renderThreshold;
150
159 int numberPeopleMax;
160
166 bool maximizePositives;
167
174 double fpsMax;
175
183 bool enableGoogleLogging;
184
190 WrapperStructPose(
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
op::WrapperStructPose::poseModel
PoseModel poseModel
Definition: wrapperStructPose.hpp:88
op::WrapperStructPose::netInputSize
Point< int > netInputSize
Definition: wrapperStructPose.hpp:31
enumClasses.hpp
op::WrapperStructPose::alphaHeatMap
float alphaHeatMap
Definition: wrapperStructPose.hpp:106
op::WrapperStructPose::heatMapScale
ScaleMode heatMapScale
Definition: wrapperStructPose.hpp:135
op::WrapperStructPose::heatMapTypes
std::vector< HeatMapType > heatMapTypes
Definition: wrapperStructPose.hpp:127
op::WrapperStructPose::addPartCandidates
bool addPartCandidates
Definition: wrapperStructPose.hpp:141
poseParameters.hpp
op::POSE_DEFAULT_ALPHA_KEYPOINT
const auto POSE_DEFAULT_ALPHA_KEYPOINT
Definition: poseParametersRender.hpp:10
op::WrapperStructPose
Definition: wrapperStructPose.hpp:17
op::PoseModel
PoseModel
Definition: enumClasses.hpp:9
op::ScaleMode::InputResolution
op::WrapperStructPose::defaultPartToRender
int defaultPartToRender
Definition: wrapperStructPose.hpp:115
op::Point< int >
op::WrapperStructPose::enable
bool enable
Definition: wrapperStructPose.hpp:24
common.hpp
op::WrapperStructPose::outputSize
Point< int > outputSize
Definition: wrapperStructPose.hpp:39
op::ScaleMode::ZeroToOne
op::WrapperStructPose::scaleGap
float scaleGap
Definition: wrapperStructPose.hpp:75
op::WrapperStructPose::renderMode
RenderMode renderMode
Definition: wrapperStructPose.hpp:81
op::WrapperStructPose::gpuNumberStart
int gpuNumberStart
Definition: wrapperStructPose.hpp:60
op::WrapperStructPose::modelFolder
std::string modelFolder
Definition: wrapperStructPose.hpp:120
op::WrapperStructPose::numberPeopleMax
int numberPeopleMax
Definition: wrapperStructPose.hpp:159
poseParametersRender.hpp
op::WrapperStructPose::maximizePositives
bool maximizePositives
Definition: wrapperStructPose.hpp:166
op::WrapperStructPose::scalesNumber
int scalesNumber
Definition: wrapperStructPose.hpp:68
op::ScaleMode
ScaleMode
Definition: enumClasses.hpp:6
op::RenderMode
RenderMode
Definition: enumClasses.hpp:24
op::RenderMode::Gpu
op::WrapperStructPose::fpsMax
double fpsMax
Definition: wrapperStructPose.hpp:174
op::WrapperStructPose::enableGoogleLogging
bool enableGoogleLogging
Definition: wrapperStructPose.hpp:183
op::PoseModel::BODY_25
op::WrapperStructPose::renderThreshold
float renderThreshold
Definition: wrapperStructPose.hpp:149
op::WrapperStructPose::alphaKeypoint
float alphaKeypoint
Definition: wrapperStructPose.hpp:99
op::WrapperStructPose::keypointScale
ScaleMode keypointScale
Definition: wrapperStructPose.hpp:47
op::WrapperStructPose::gpuNumber
int gpuNumber
Definition: wrapperStructPose.hpp:54
OP_API
#define OP_API
Definition: macros.hpp:19
enumClasses.hpp
op::POSE_DEFAULT_ALPHA_HEAT_MAP
const auto POSE_DEFAULT_ALPHA_HEAT_MAP
Definition: poseParametersRender.hpp:11
op::WrapperStructPose::blendOriginalFrame
bool blendOriginalFrame
Definition: wrapperStructPose.hpp:93
cl::string
std::string string
Definition: cl2.hpp:574