OpenPose  1.7.0
The first real-time multi-person system to jointly detect human body, hand, facial, and foot keypoints
flagsToOpenPose.hpp
Go to the documentation of this file.
1 #ifndef OPENPOSE_UTILITIES_FLAGS_TO_OPEN_POSE_HPP
2 #define OPENPOSE_UTILITIES_FLAGS_TO_OPEN_POSE_HPP
3 
10 
11 namespace op
12 {
13  OP_API PoseMode flagsToPoseMode(const int poseModeInt);
14 
15  OP_API PoseModel flagsToPoseModel(const String& poseModeString);
16 
17  OP_API ScaleMode flagsToScaleMode(const int keypointScaleMode);
18 
19  OP_API ScaleMode flagsToHeatMapScaleMode(const int heatMapScaleMode);
20 
21  OP_API Detector flagsToDetector(const int detector);
22 
23  // Determine type of frame source
25  const String& imageDirectory, const String& videoPath, const String& ipCameraPath,
26  const int webcamIndex, const bool flirCamera);
27 
28  OP_API std::pair<ProducerType, String> flagsToProducer(
29  const String& imageDirectory, const String& videoPath, const String& ipCameraPath = String(""),
30  const int webcamIndex = -1, const bool flirCamera = false, const int flirCameraIndex = -1);
31 
32  OP_API std::vector<HeatMapType> flagsToHeatMaps(
33  const bool heatMapsAddParts = false, const bool heatMapsAddBkg = false,
34  const bool heatMapsAddPAFs = false);
35 
37  const int renderFlag, const bool gpuBuggy = false, const int renderPoseFlag = -2);
38 
39  OP_API DisplayMode flagsToDisplayMode(const int display, const bool enabled3d);
40 
45  OP_API Point<int> flagsToPoint(const String& pointString, const String& pointExample);
46 }
47 
48 #endif // OPENPOSE_UTILITIES_FLAGS_TO_OPEN_POSE_HPP
#define OP_API
Definition: macros.hpp:18
OP_API Point< int > flagsToPoint(const String &pointString, const String &pointExample)
Detector
Definition: enumClasses.hpp:15
OP_API ProducerType flagsToProducerType(const String &imageDirectory, const String &videoPath, const String &ipCameraPath, const int webcamIndex, const bool flirCamera)
PoseMode
Definition: enumClasses.hpp:7
ProducerType
Definition: enumClasses.hpp:30
OP_API PoseModel flagsToPoseModel(const String &poseModeString)
OP_API RenderMode flagsToRenderMode(const int renderFlag, const bool gpuBuggy=false, const int renderPoseFlag=-2)
OP_API std::pair< ProducerType, String > flagsToProducer(const String &imageDirectory, const String &videoPath, const String &ipCameraPath=String(""), const int webcamIndex=-1, const bool flirCamera=false, const int flirCameraIndex=-1)
OP_API Detector flagsToDetector(const int detector)
OP_API ScaleMode flagsToScaleMode(const int keypointScaleMode)
OP_API std::vector< HeatMapType > flagsToHeatMaps(const bool heatMapsAddParts=false, const bool heatMapsAddBkg=false, const bool heatMapsAddPAFs=false)
DisplayMode
Definition: enumClasses.hpp:11
OP_API ScaleMode flagsToHeatMapScaleMode(const int heatMapScaleMode)
PoseModel
Definition: enumClasses.hpp:10
OP_API PoseMode flagsToPoseMode(const int poseModeInt)
ScaleMode
Definition: enumClasses.hpp:7
RenderMode
Definition: enumClasses.hpp:27
OP_API DisplayMode flagsToDisplayMode(const int display, const bool enabled3d)