All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
handParameters.hpp
Go to the documentation of this file.
#ifndef OPENPOSE_HAND_HAND_PARAMETERS_HPP
#define OPENPOSE_HAND_HAND_PARAMETERS_HPP
#include <openpose/pose/poseParameters.hpp>
#include <openpose/pose/poseParametersRender.hpp>
namespace op
{
const auto HAND_MAX_HANDS = 2*POSE_MAX_PEOPLE;
const auto HAND_NUMBER_PARTS = 21u;
#define HAND_PAIRS_RENDER_GPU \
0,1, 1,2, 2,3, 3,4, 0,5, 5,6, 6,7, 7,8, 0,9, 9,10, 10,11, 11,12, 0,13, 13,14, 14,15, 15,16, 0,17, 17,18, 18,19, 19,20
#define HAND_SCALES_RENDER_GPU 1
const std::vector<unsigned int> HAND_PAIRS_RENDER {HAND_PAIRS_RENDER_GPU};
#define HAND_COLORS_RENDER_GPU \
100.f, 100.f, 100.f, \
100.f, 0.f, 0.f, \
150.f, 0.f, 0.f, \
200.f, 0.f, 0.f, \
255.f, 0.f, 0.f, \
100.f, 100.f, 0.f, \
150.f, 150.f, 0.f, \
200.f, 200.f, 0.f, \
255.f, 255.f, 0.f, \
0.f, 100.f, 50.f, \
0.f, 150.f, 75.f, \
0.f, 200.f, 100.f, \
0.f, 255.f, 125.f, \
0.f, 50.f, 100.f, \
0.f, 75.f, 150.f, \
0.f, 100.f, 200.f, \
0.f, 125.f, 255.f, \
100.f, 0.f, 100.f, \
150.f, 0.f, 150.f, \
200.f, 0.f, 200.f, \
255.f, 0.f, 255.f
const std::vector<float> HAND_COLORS_RENDER{HAND_COLORS_RENDER_GPU};
const std::vector<float> HAND_SCALES_RENDER{HAND_SCALES_RENDER_GPU};
// Constant parameters
const auto HAND_CCN_DECREASE_FACTOR = 8.f;
const std::string HAND_PROTOTXT{"hand/pose_deploy.prototxt"};
const std::string HAND_TRAINED_MODEL{"hand/pose_iter_102000.caffemodel"};
// Rendering parameters
const auto HAND_DEFAULT_ALPHA_KEYPOINT = POSE_DEFAULT_ALPHA_KEYPOINT;
const auto HAND_DEFAULT_ALPHA_HEAT_MAP = POSE_DEFAULT_ALPHA_HEAT_MAP;
}
#endif // OPENPOSE_HAND_HAND_PARAMETERS_HPP
op::HAND_MAX_HANDS
const auto HAND_MAX_HANDS
Definition: handParameters.hpp:9
op::HAND_PROTOTXT
const std::string HAND_PROTOTXT
Definition: handParameters.hpp:44
poseParameters.hpp
op::POSE_DEFAULT_ALPHA_KEYPOINT
const auto POSE_DEFAULT_ALPHA_KEYPOINT
Definition: poseParametersRender.hpp:10
op::POSE_MAX_PEOPLE
const auto POSE_MAX_PEOPLE
Definition: poseParameters.hpp:14
op::HAND_DEFAULT_ALPHA_HEAT_MAP
const auto HAND_DEFAULT_ALPHA_HEAT_MAP
Definition: handParameters.hpp:49
op::HAND_NUMBER_PARTS
const auto HAND_NUMBER_PARTS
Definition: handParameters.hpp:11
op::HAND_CCN_DECREASE_FACTOR
const auto HAND_CCN_DECREASE_FACTOR
Definition: handParameters.hpp:43
poseParametersRender.hpp
op::HAND_DEFAULT_ALPHA_KEYPOINT
const auto HAND_DEFAULT_ALPHA_KEYPOINT
Definition: handParameters.hpp:48
op::HAND_COLORS_RENDER
const std::vector< float > HAND_COLORS_RENDER
Definition: handParameters.hpp:38
HAND_SCALES_RENDER_GPU
#define HAND_SCALES_RENDER_GPU
Definition: handParameters.hpp:14
HAND_COLORS_RENDER_GPU
#define HAND_COLORS_RENDER_GPU
Definition: handParameters.hpp:16
op::HAND_PAIRS_RENDER
const std::vector< unsigned int > HAND_PAIRS_RENDER
Definition: handParameters.hpp:15
op::HAND_TRAINED_MODEL
const std::string HAND_TRAINED_MODEL
Definition: handParameters.hpp:45
HAND_PAIRS_RENDER_GPU
#define HAND_PAIRS_RENDER_GPU
Definition: handParameters.hpp:12
op::POSE_DEFAULT_ALPHA_HEAT_MAP
const auto POSE_DEFAULT_ALPHA_HEAT_MAP
Definition: poseParametersRender.hpp:11
op::HAND_SCALES_RENDER
const std::vector< float > HAND_SCALES_RENDER
Definition: handParameters.hpp:39
cl::string
std::string string
Definition: cl2.hpp:574