OpenPose  1.7.0
The first real-time multi-person system to jointly detect human body, hand, facial, and foot keypoints
enumClasses.hpp
Go to the documentation of this file.
1 #ifndef OPENPOSE_CORE_ENUM_CLASSES_HPP
2 #define OPENPOSE_CORE_ENUM_CLASSES_HPP
3 
4 namespace op
5 {
6  enum class ScaleMode : unsigned char
7  {
11  ZeroToOne, // [0, 1]
12  ZeroToOneFixedAspect, // [0, 1]
13  PlusMinusOne, // [-1, 1]
14  PlusMinusOneFixedAspect, // [-1, 1]
15  UnsignedChar, // [0, 255]
16  NoScale,
17  };
18 
19  enum class HeatMapType : unsigned char
20  {
21  Parts,
22  Background,
23  PAFs,
24  };
25 
26  enum class RenderMode : unsigned char
27  {
28  None,
29  Auto, // It will select Gpu if CUDA version, or Cpu otherwise
30  Cpu,
31  Gpu,
32  };
33 
34  enum class ElementToRender : unsigned char
35  {
36  Skeleton,
37  Background,
39  AddPAFs,
40  };
41 }
42 
43 #endif // OPENPOSE_CORE_ENUM_CLASSES_HPP
HeatMapType
Definition: enumClasses.hpp:20
ElementToRender
Definition: enumClasses.hpp:35
ScaleMode
Definition: enumClasses.hpp:7
RenderMode
Definition: enumClasses.hpp:27