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
handParameters.hpp
Go to the documentation of this file.
1 #ifndef OPENPOSE_HAND_HAND_PARAMETERS_HPP
2 #define OPENPOSE_HAND_HAND_PARAMETERS_HPP
3
4 #include <openpose/pose/poseParameters.hpp>
5 #include <openpose/pose/poseParametersRender.hpp>
6
7 namespace op
8 {
9 const auto HAND_MAX_HANDS = 2*POSE_MAX_PEOPLE;
10
11 const auto HAND_NUMBER_PARTS = 21u;
12 #define HAND_PAIRS_RENDER_GPU \
13 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
14 #define HAND_SCALES_RENDER_GPU 1
15 const std::vector<unsigned int> HAND_PAIRS_RENDER {HAND_PAIRS_RENDER_GPU};
16 #define HAND_COLORS_RENDER_GPU \
17 100.f, 100.f, 100.f, \
18 100.f, 0.f, 0.f, \
19 150.f, 0.f, 0.f, \
20 200.f, 0.f, 0.f, \
21 255.f, 0.f, 0.f, \
22 100.f, 100.f, 0.f, \
23 150.f, 150.f, 0.f, \
24 200.f, 200.f, 0.f, \
25 255.f, 255.f, 0.f, \
26 0.f, 100.f, 50.f, \
27 0.f, 150.f, 75.f, \
28 0.f, 200.f, 100.f, \
29 0.f, 255.f, 125.f, \
30 0.f, 50.f, 100.f, \
31 0.f, 75.f, 150.f, \
32 0.f, 100.f, 200.f, \
33 0.f, 125.f, 255.f, \
34 100.f, 0.f, 100.f, \
35 150.f, 0.f, 150.f, \
36 200.f, 0.f, 200.f, \
37 255.f, 0.f, 255.f
38 const std::vector<float> HAND_COLORS_RENDER{HAND_COLORS_RENDER_GPU};
39 const std::vector<float> HAND_SCALES_RENDER{HAND_SCALES_RENDER_GPU};
40
41
42 // Constant parameters
43 const auto HAND_CCN_DECREASE_FACTOR = 8.f;
44 const std::string HAND_PROTOTXT{"hand/pose_deploy.prototxt"};
45 const std::string HAND_TRAINED_MODEL{"hand/pose_iter_102000.caffemodel"};
46
47 // Rendering parameters
48 const auto HAND_DEFAULT_ALPHA_KEYPOINT = POSE_DEFAULT_ALPHA_KEYPOINT;
49 const auto HAND_DEFAULT_ALPHA_HEAT_MAP = POSE_DEFAULT_ALPHA_HEAT_MAP;
50 }
51
52 #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