All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
wrapperStructPose.hpp
Go to the documentation of this file.
#ifndef OPENPOSE_WRAPPER_WRAPPER_STRUCT_POSE_HPP
#define OPENPOSE_WRAPPER_WRAPPER_STRUCT_POSE_HPP
#include <openpose/core/common.hpp>
#include <openpose/core/enumClasses.hpp>
#include <openpose/pose/enumClasses.hpp>
#include <openpose/pose/poseParameters.hpp>
#include <openpose/pose/poseParametersRender.hpp>
namespace op
{
struct OP_API WrapperStructPose
{
bool enable;
Point<int> netInputSize;
Point<int> outputSize;
ScaleMode keypointScale;
int gpuNumber;
int gpuNumberStart;
int scalesNumber;
float scaleGap;
RenderMode renderMode;
PoseModel poseModel;
bool blendOriginalFrame;
float alphaKeypoint;
float alphaHeatMap;
int defaultPartToRender;
std::string modelFolder;
std::vector<HeatMapType> heatMapTypes;
ScaleMode heatMapScale;
bool addPartCandidates;
float renderThreshold;
int numberPeopleMax;
bool enableGoogleLogging;
WrapperStructPose(const bool enable = true, const Point<int>& netInputSize = Point<int>{656, 368},
const Point<int>& outputSize = Point<int>{-1, -1},
const ScaleMode keypointScale = ScaleMode::InputResolution,
const int gpuNumber = -1, const int gpuNumberStart = 0, const int scalesNumber = 1,
const float scaleGap = 0.15f, const RenderMode renderMode = RenderMode::Gpu,
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 std::string& modelFolder = "models/",
const std::vector<HeatMapType>& heatMapTypes = {},
const ScaleMode heatMapScale = ScaleMode::ZeroToOne, const bool addPartCandidates = false,
const float renderThreshold = 0.05f, const int numberPeopleMax = -1,
const bool enableGoogleLogging = true);
};
}
#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::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::enableGoogleLogging
bool enableGoogleLogging
Definition: wrapperStructPose.hpp:168
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