OpenPose  1.7.0
The first real-time multi-person system to jointly detect human body, hand, facial, and foot keypoints
poseParametersRender.hpp File Reference

Go to the source code of this file.

Namespaces

 op
 

Macros

#define POSE_BODY_25_PAIRS_RENDER_GPU    1,8, 1,2, 1,5, 2,3, 3,4, 5,6, 6,7, 8,9, 9,10, 10,11, 8,12, 12,13, 13,14, 1,0, 0,15, 15,17, 0,16, 16,18, 14,19,19,20,14,21, 11,22,22,23,11,24
 
#define POSE_BODY_25_SCALES_RENDER_GPU   1
 
#define POSE_BODY_25_COLORS_RENDER_GPU
 
#define POSE_COCO_PAIRS_RENDER_GPU    1,2, 1,5, 2,3, 3,4, 5,6, 6,7, 1,8, 8,9, 9,10, 1,11, 11,12, 12,13, 1,0, 0,14, 14,16, 0,15, 15,17
 
#define POSE_COCO_SCALES_RENDER_GPU   1
 
#define POSE_COCO_COLORS_RENDER_GPU
 
#define POSE_MPI_PAIRS_RENDER_GPU    0,1, 1,2, 2,3, 3,4, 1,5, 5,6, 6,7, 1,14, 14,8, 8,9, 9,10, 14,11, 11,12, 12,13
 
#define POSE_MPI_SCALES_RENDER_GPU   1
 
#define POSE_MPI_COLORS_RENDER_GPU
 
#define POSE_BODY_19_PAIRS_RENDER_GPU    1,8, 1,2, 1,5, 2,3, 3,4, 5,6, 6,7, 8,9, 9,10, 10,11, 8,12, 12,13, 13,14, 1,0, 0,15, 15,17, 0,16, 16,18
 
#define POSE_BODY_19_SCALES_RENDER_GPU   1
 
#define POSE_BODY_19_COLORS_RENDER_GPU
 
#define POSE_BODY_23_PAIRS_RENDER_GPU    1,7, 4,10, 0,1, 0,4, 1,2, 2,3, 4,5, 5,6, 7,8, 8,9, 10,11, 11,12, 0,13, 13,15, 0,14, 14,16, 12,17,17,18,12,19, 9,20,20,21,9,22
 
#define POSE_BODY_23_SCALES_RENDER_GPU   1
 
#define POSE_BODY_23_COLORS_RENDER_GPU
 
#define POSE_BODY_25B_PAIRS_RENDER_GPU
 
#define POSE_BODY_25B_SCALES_RENDER_GPU   1
 
#define POSE_BODY_25B_COLORS_RENDER_GPU
 
#define POSE_BODY_135_PAIRS_RENDER_GPU
 
#define POSE_BODY_135_SCALES_RENDER_GPU
 
#define POSE_BODY_135_COLORS_RENDER_GPU
 
#define POSE_CAR_12_PAIRS_RENDER_GPU    4,5, 4,6, 4,0, 0,2, 4,8, 8,10, 5,7, 5,1, 1,3, 5,9, 9,11, 0,1, 8,9, 2,3, 6,7, 10,11, 6,2,7,3, 6,10,7,11
 
#define POSE_CAR_12_SCALES_RENDER_GPU   0.5
 
#define POSE_CAR_12_COLORS_RENDER_GPU
 
#define POSE_CAR_22_PAIRS_RENDER_GPU
 
#define POSE_CAR_22_SCALES_RENDER_GPU   0.625
 
#define POSE_CAR_22_COLORS_RENDER_GPU
 

Functions

OP_API const std::vector< float > & op::getPoseScales (const PoseModel poseModel)
 
OP_API const std::vector< float > & op::getPoseColors (const PoseModel poseModel)
 
OP_API const std::vector< unsigned int > & op::getPoseBodyPartPairsRender (const PoseModel poseModel)
 
OP_API unsigned int op::getNumberElementsToRender (const PoseModel poseModel)
 

Variables

const auto op::POSE_DEFAULT_ALPHA_KEYPOINT = 0.6f
 
const auto op::POSE_DEFAULT_ALPHA_HEAT_MAP = 0.7f
 
const auto op::H135 = 25
 
const auto op::F135 = H135 + 40
 

Macro Definition Documentation

◆ POSE_BODY_135_COLORS_RENDER_GPU

#define POSE_BODY_135_COLORS_RENDER_GPU

Definition at line 219 of file poseParametersRender.hpp.

◆ POSE_BODY_135_PAIRS_RENDER_GPU

#define POSE_BODY_135_PAIRS_RENDER_GPU
Value:
0,1, 0,2, 1,3, 2,4, 5,7, 6,8, 7,9, 8,10, 5,11, 6,12, 11,13, 12,14, 13,15, 14,16, \
15,19, 19,20, 15,21, 16,22, 22,23, 16,24, 5,6, 17,18, 11,12, \
\
9,H135+0, H135+0,H135+1, H135+1,H135+2, H135+2,H135+3, 9,H135+4, H135+4,H135+5, H135+5,H135+6, H135+6,H135+7, \
9,H135+8, H135+8,H135+9, H135+9,H135+10, H135+10,H135+11, 9,H135+12, H135+12,H135+13, H135+13,H135+14, H135+14,H135+15, \
9,H135+16, H135+16,H135+17, H135+17,H135+18, H135+18,H135+19, \
\
10,H135+20, H135+20,H135+21, H135+21,H135+22, H135+22,H135+23, 10,H135+24, H135+24,H135+25, H135+25,H135+26, H135+26,H135+27, \
10,H135+28, H135+28,H135+29, H135+29,H135+30, H135+30,H135+31, 10,H135+32, H135+32,H135+33, H135+33,H135+34, H135+34,H135+35, \
10,H135+36, H135+36,H135+37, H135+37,H135+38, H135+38,H135+39, \
\
F135+0,F135+1, F135+1,F135+2, F135+2,F135+3, F135+3,F135+4, F135+4,F135+5, F135+5,F135+6, F135+6,F135+7, F135+7,F135+8, F135+8,F135+9, F135+9,F135+10, F135+10,F135+11, F135+11,F135+12, F135+12,F135+13, F135+13,F135+14, F135+14,F135+15, F135+15,F135+16, F135+17,F135+18, F135+18,F135+19, F135+19,F135+20, \
F135+20,F135+21, F135+22,F135+23, F135+23,F135+24, F135+24,F135+25, F135+25,F135+26, F135+27,F135+28, F135+28,F135+29, F135+29,F135+30, F135+31,F135+32, F135+32,F135+33, F135+33,F135+34, F135+34,F135+35, F135+36,F135+37, F135+37,F135+38, F135+38,F135+39, F135+39,F135+40, F135+40,F135+41, \
F135+41,F135+36, F135+42,F135+43, F135+43,F135+44, F135+44,F135+45, F135+45,F135+46, F135+46,F135+47, F135+47,F135+42, F135+48,F135+49, F135+49,F135+50, F135+50,F135+51, F135+51,F135+52, F135+52,F135+53, F135+53,F135+54, F135+54,F135+55, F135+55,F135+56, F135+56,F135+57, F135+57,F135+58, \
F135+58,F135+59, F135+59,F135+48, F135+60,F135+61, F135+61,F135+62, F135+62,F135+63, F135+63,F135+64, F135+64,F135+65, F135+65,F135+66, F135+66,F135+67, F135+67,F135+60
const auto F135
const auto H135

Definition at line 190 of file poseParametersRender.hpp.

◆ POSE_BODY_135_SCALES_RENDER_GPU

#define POSE_BODY_135_SCALES_RENDER_GPU
Value:
1.f,1.f,1.f,1.f,1.f, 1.f,1.f,1.f,1.f,1.f, 1.f,1.f,1.f,1.f,1.f, 1.f,1.f, \
0.00f,0.00f, \
1.f,1.f,1.f,1.f,1.f,1.f, \
0.60f,0.60f,0.60f,0.60f,0.60f, 0.60f,0.60f,0.60f,0.60f,0.60f, 0.60f,0.60f,0.60f,0.60f,0.60f, 0.60f,0.60f,0.60f,0.60f,0.60f, \
0.60f,0.60f,0.60f,0.60f,0.60f, 0.60f,0.60f,0.60f,0.60f,0.60f, 0.60f,0.60f,0.60f,0.60f,0.60f, 0.60f,0.60f,0.60f,0.60f,0.60f, \
0.45f,0.45f,0.45f,0.45f,0.45f, 0.45f,0.45f,0.45f,0.45f,0.45f, 0.45f,0.45f,0.45f,0.45f,0.45f, 0.45f,0.45f,0.45f,0.45f,0.45f, \
0.45f,0.45f,0.45f,0.45f,0.45f, 0.45f,0.45f,0.45f,0.45f,0.45f, 0.45f,0.45f,0.45f,0.45f,0.45f, 0.45f,0.45f,0.45f,0.45f,0.45f, \
0.45f,0.45f,0.45f,0.45f,0.45f, 0.45f,0.45f,0.45f,0.45f,0.45f, 0.45f,0.45f,0.45f,0.45f,0.45f, 0.45f,0.45f,0.45f,0.45f,0.45f, \
0.45f,0.45f,0.45f,0.45f,0.45f, 0.45f,0.45f,0.45f,0.45f,0.45f

Definition at line 207 of file poseParametersRender.hpp.

◆ POSE_BODY_19_COLORS_RENDER_GPU

#define POSE_BODY_19_COLORS_RENDER_GPU
Value:
255.f, 0.f, 85.f, \
255.f, 0.f, 0.f, \
255.f, 85.f, 0.f, \
255.f, 170.f, 0.f, \
255.f, 255.f, 0.f, \
170.f, 255.f, 0.f, \
85.f, 255.f, 0.f, \
0.f, 255.f, 0.f, \
255.f, 0.f, 0.f, \
0.f, 255.f, 85.f, \
0.f, 255.f, 170.f, \
0.f, 255.f, 255.f, \
0.f, 170.f, 255.f, \
0.f, 85.f, 255.f, \
0.f, 0.f, 255.f, \
255.f, 0.f, 170.f, \
170.f, 0.f, 255.f, \
255.f, 0.f, 255.f, \
85.f, 0.f, 255.f

Definition at line 93 of file poseParametersRender.hpp.

◆ POSE_BODY_19_PAIRS_RENDER_GPU

#define POSE_BODY_19_PAIRS_RENDER_GPU    1,8, 1,2, 1,5, 2,3, 3,4, 5,6, 6,7, 8,9, 9,10, 10,11, 8,12, 12,13, 13,14, 1,0, 0,15, 15,17, 0,16, 16,18

Definition at line 90 of file poseParametersRender.hpp.

◆ POSE_BODY_19_SCALES_RENDER_GPU

#define POSE_BODY_19_SCALES_RENDER_GPU   1

Definition at line 92 of file poseParametersRender.hpp.

◆ POSE_BODY_23_COLORS_RENDER_GPU

#define POSE_BODY_23_COLORS_RENDER_GPU
Value:
255.f, 0.f, 85.f, \
255.f, 0.f, 0.f, \
255.f, 85.f, 0.f, \
255.f, 170.f, 0.f, \
255.f, 255.f, 0.f, \
170.f, 255.f, 0.f, \
85.f, 255.f, 0.f, \
0.f, 255.f, 0.f, \
255.f, 0.f, 0.f, \
0.f, 255.f, 85.f, \
0.f, 255.f, 170.f, \
0.f, 255.f, 255.f, \
0.f, 170.f, 255.f, \
0.f, 85.f, 255.f, \
0.f, 0.f, 255.f, \
255.f, 0.f, 170.f, \
170.f, 0.f, 255.f, \
255.f, 0.f, 255.f, \
85.f, 0.f, 255.f, \
0.f, 0.f, 255.f, \
0.f, 0.f, 255.f, \
0.f, 0.f, 255.f, \
0.f, 255.f, 255.f, \
0.f, 255.f, 255.f, \
0.f, 255.f, 255.f

Definition at line 117 of file poseParametersRender.hpp.

◆ POSE_BODY_23_PAIRS_RENDER_GPU

#define POSE_BODY_23_PAIRS_RENDER_GPU    1,7, 4,10, 0,1, 0,4, 1,2, 2,3, 4,5, 5,6, 7,8, 8,9, 10,11, 11,12, 0,13, 13,15, 0,14, 14,16, 12,17,17,18,12,19, 9,20,20,21,9,22

Definition at line 114 of file poseParametersRender.hpp.

◆ POSE_BODY_23_SCALES_RENDER_GPU

#define POSE_BODY_23_SCALES_RENDER_GPU   1

Definition at line 116 of file poseParametersRender.hpp.

◆ POSE_BODY_25_COLORS_RENDER_GPU

#define POSE_BODY_25_COLORS_RENDER_GPU
Value:
255.f, 0.f, 85.f, \
255.f, 0.f, 0.f, \
255.f, 85.f, 0.f, \
255.f, 170.f, 0.f, \
255.f, 255.f, 0.f, \
170.f, 255.f, 0.f, \
85.f, 255.f, 0.f, \
0.f, 255.f, 0.f, \
255.f, 0.f, 0.f, \
0.f, 255.f, 85.f, \
0.f, 255.f, 170.f, \
0.f, 255.f, 255.f, \
0.f, 170.f, 255.f, \
0.f, 85.f, 255.f, \
0.f, 0.f, 255.f, \
255.f, 0.f, 170.f, \
170.f, 0.f, 255.f, \
255.f, 0.f, 255.f, \
85.f, 0.f, 255.f, \
0.f, 0.f, 255.f, \
0.f, 0.f, 255.f, \
0.f, 0.f, 255.f, \
0.f, 255.f, 255.f, \
0.f, 255.f, 255.f, \
0.f, 255.f, 255.f

Definition at line 19 of file poseParametersRender.hpp.

◆ POSE_BODY_25_PAIRS_RENDER_GPU

#define POSE_BODY_25_PAIRS_RENDER_GPU    1,8, 1,2, 1,5, 2,3, 3,4, 5,6, 6,7, 8,9, 9,10, 10,11, 8,12, 12,13, 13,14, 1,0, 0,15, 15,17, 0,16, 16,18, 14,19,19,20,14,21, 11,22,22,23,11,24

Definition at line 16 of file poseParametersRender.hpp.

◆ POSE_BODY_25_SCALES_RENDER_GPU

#define POSE_BODY_25_SCALES_RENDER_GPU   1

Definition at line 18 of file poseParametersRender.hpp.

◆ POSE_BODY_25B_COLORS_RENDER_GPU

#define POSE_BODY_25B_COLORS_RENDER_GPU
Value:
255.f, 0.f, 85.f, \
170.f, 0.f, 255.f, \
255.f, 0.f, 170.f, \
85.f, 0.f, 255.f, \
255.f, 0.f, 255.f, \
170.f, 255.f, 0.f, \
255.f, 85.f, 0.f, \
85.f, 255.f, 0.f, \
255.f, 170.f, 0.f, \
0.f, 255.f, 0.f, \
255.f, 255.f, 0.f, \
0.f, 170.f, 255.f, \
0.f, 255.f, 85.f, \
0.f, 85.f, 255.f, \
0.f, 255.f, 170.f, \
0.f, 0.f, 255.f, \
0.f, 255.f, 255.f, \
255.f, 0.f, 0.f, \
255.f, 0.f, 0.f, \
0.f, 0.f, 255.f, \
0.f, 0.f, 255.f, \
0.f, 0.f, 255.f, \
0.f, 255.f, 255.f, \
0.f, 255.f, 255.f, \
0.f, 255.f, 255.f

Definition at line 149 of file poseParametersRender.hpp.

◆ POSE_BODY_25B_PAIRS_RENDER_GPU

#define POSE_BODY_25B_PAIRS_RENDER_GPU
Value:
0,1, 0,2, 1,3, 2,4, 5,7, 6,8, 7,9, 8,10, 5,11, 6,12, 11,13, 12,14, 13,15, 14,16, \
15,19, 19,20, 15,21, 16,22, 22,23, 16,24, 5,17, \
6,17, 17,18, 11,12

Definition at line 144 of file poseParametersRender.hpp.

◆ POSE_BODY_25B_SCALES_RENDER_GPU

#define POSE_BODY_25B_SCALES_RENDER_GPU   1

Definition at line 148 of file poseParametersRender.hpp.

◆ POSE_CAR_12_COLORS_RENDER_GPU

#define POSE_CAR_12_COLORS_RENDER_GPU
Value:
0.f, 255.f, 0.f, \
0.f, 255.f, 0.f, \
255.f, 255.f, 0.f, \
255.f, 255.f, 0.f, \
\
255.f, 0.f, 0.f, \
255.f, 0.f, 0.f, \
255.f, 75.f, 75.f, \
255.f, 75.f, 75.f, \
\
0.f, 0.f, 255.f, \
0.f, 0.f, 255.f, \
255.f, 0.f, 255.f, \
255.f, 0.f, 255.f

Definition at line 365 of file poseParametersRender.hpp.

◆ POSE_CAR_12_PAIRS_RENDER_GPU

#define POSE_CAR_12_PAIRS_RENDER_GPU    4,5, 4,6, 4,0, 0,2, 4,8, 8,10, 5,7, 5,1, 1,3, 5,9, 9,11, 0,1, 8,9, 2,3, 6,7, 10,11, 6,2,7,3, 6,10,7,11

Definition at line 361 of file poseParametersRender.hpp.

◆ POSE_CAR_12_SCALES_RENDER_GPU

#define POSE_CAR_12_SCALES_RENDER_GPU   0.5

Definition at line 364 of file poseParametersRender.hpp.

◆ POSE_CAR_22_COLORS_RENDER_GPU

#define POSE_CAR_22_COLORS_RENDER_GPU
Value:
255.f, 128.f, 128.f, \
255.f, 0.f, 0.f, \
64.f, 0.f, 0.f, \
255.f, 0.f, 0.f, \
\
0.f, 255.f, 0.f, \
0.f, 255.f, 0.f, \
\
0.f, 0.f, 64.f, \
128.f, 128.f, 255.f, \
\
0.f, 255.f, 0.f, \
0.f, 255.f, 0.f, \
\
0.f, 255.f, 0.f, \
0.f, 255.f, 0.f, \
\
64.f, 0.f, 0.f, \
255.f, 128.f, 128.f, \
255.f, 0.f, 0.f, \
255.f, 0.f, 0.f, \
\
0.f, 0.f, 255.f, \
0.f, 0.f, 255.f, \
\
0.f, 255.f, 0.f, \
0.f, 255.f, 0.f, \
\
0.f, 0.f, 255.f, \
0.f, 0.f, 64.f

Definition at line 386 of file poseParametersRender.hpp.

◆ POSE_CAR_22_PAIRS_RENDER_GPU

#define POSE_CAR_22_PAIRS_RENDER_GPU
Value:
0,1,1,3,3,2,2,0, 6,7,7,16,16,17,17,6, 12,13,13,14,14,15,15,12, 6,8,7,8,6,9,7,9,6,4,7,5, 12,11,13,10, \
16,18,17,18,16,19,17,19, 6,21,7,20

Definition at line 382 of file poseParametersRender.hpp.

◆ POSE_CAR_22_SCALES_RENDER_GPU

#define POSE_CAR_22_SCALES_RENDER_GPU   0.625

Definition at line 385 of file poseParametersRender.hpp.

◆ POSE_COCO_COLORS_RENDER_GPU

#define POSE_COCO_COLORS_RENDER_GPU
Value:
255.f, 0.f, 85.f, \
255.f, 0.f, 0.f, \
255.f, 85.f, 0.f, \
255.f, 170.f, 0.f, \
255.f, 255.f, 0.f, \
170.f, 255.f, 0.f, \
85.f, 255.f, 0.f, \
0.f, 255.f, 0.f, \
0.f, 255.f, 85.f, \
0.f, 255.f, 170.f, \
0.f, 255.f, 255.f, \
0.f, 170.f, 255.f, \
0.f, 85.f, 255.f, \
0.f, 0.f, 255.f, \
255.f, 0.f, 170.f, \
170.f, 0.f, 255.f, \
255.f, 0.f, 255.f, \
85.f, 0.f, 255.f

Definition at line 49 of file poseParametersRender.hpp.

◆ POSE_COCO_PAIRS_RENDER_GPU

#define POSE_COCO_PAIRS_RENDER_GPU    1,2, 1,5, 2,3, 3,4, 5,6, 6,7, 1,8, 8,9, 9,10, 1,11, 11,12, 12,13, 1,0, 0,14, 14,16, 0,15, 15,17

Definition at line 46 of file poseParametersRender.hpp.

◆ POSE_COCO_SCALES_RENDER_GPU

#define POSE_COCO_SCALES_RENDER_GPU   1

Definition at line 48 of file poseParametersRender.hpp.

◆ POSE_MPI_COLORS_RENDER_GPU

#define POSE_MPI_COLORS_RENDER_GPU
Value:
255.f, 0.f, 85.f, \
255.f, 0.f, 0.f, \
255.f, 85.f, 0.f, \
255.f, 170.f, 0.f, \
255.f, 255.f, 0.f, \
170.f, 255.f, 0.f, \
85.f, 255.f, 0.f, \
43.f, 255.f, 0.f, \
0.f, 255.f, 0.f, \
0.f, 255.f, 85.f, \
0.f, 255.f, 170.f, \
0.f, 255.f, 255.f, \
0.f, 170.f, 255.f, \
0.f, 85.f, 255.f, \
0.f, 0.f, 255.f

Definition at line 73 of file poseParametersRender.hpp.

◆ POSE_MPI_PAIRS_RENDER_GPU

#define POSE_MPI_PAIRS_RENDER_GPU    0,1, 1,2, 2,3, 3,4, 1,5, 5,6, 6,7, 1,14, 14,8, 8,9, 9,10, 14,11, 11,12, 12,13

Definition at line 70 of file poseParametersRender.hpp.

◆ POSE_MPI_SCALES_RENDER_GPU

#define POSE_MPI_SCALES_RENDER_GPU   1

Definition at line 72 of file poseParametersRender.hpp.