File size: 879 Bytes
7fc5a59
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#ifndef OPENPOSE_CORE_ENUM_CLASSES_HPP
#define OPENPOSE_CORE_ENUM_CLASSES_HPP

namespace op
{
    enum class ScaleMode : unsigned char
    {
        InputResolution,
        NetOutputResolution,
        OutputResolution,
        ZeroToOne, // [0, 1]
        ZeroToOneFixedAspect, // [0, 1]
        PlusMinusOne, // [-1, 1]
        PlusMinusOneFixedAspect, // [-1, 1]
        UnsignedChar, // [0, 255]
        NoScale,
    };

    enum class HeatMapType : unsigned char
    {
        Parts,
        Background,
        PAFs,
    };

    enum class RenderMode : unsigned char
    {
        None,
        Auto, // It will select Gpu if CUDA version, or Cpu otherwise
        Cpu,
        Gpu,
    };

    enum class ElementToRender : unsigned char
    {
        Skeleton,
        Background,
        AddKeypoints,
        AddPAFs,
    };
}

#endif // OPENPOSE_CORE_ENUM_CLASSES_HPP