OpenPose  1.0.0rc2
OpenPose: A Real-Time Multi-Person Key-Point Detection And Multi-Threading C++ Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 
9 
10 namespace op
11 {
12  OP_API PoseModel flagsToPoseModel(const std::string& poseModeString);
13 
14  OP_API ScaleMode flagsToScaleMode(const int keypointScale);
15 
16  OP_API ScaleMode flagsToHeatMapScaleMode(const int heatMapScale);
17 
18  // Determine type of frame source
19  OP_API ProducerType flagsToProducerType(const std::string& imageDirectory, const std::string& videoPath,
20  const std::string& ipCameraPath, const int webcamIndex,
21  const bool flirCamera);
22 
23  OP_API std::pair<ProducerType, std::string> flagsToProducer(
24  const std::string& imageDirectory, const std::string& videoPath, const std::string& ipCameraPath = "",
25  const int webcamIndex = -1, const bool flirCamera = false, const int flirCameraIndex = -1);
26 
27  OP_API std::vector<HeatMapType> flagsToHeatMaps(const bool heatMapsAddParts = false,
28  const bool heatMapsAddBkg = false,
29  const bool heatMapsAddPAFs = false);
30 
31  OP_API RenderMode flagsToRenderMode(const int renderFlag, const bool gpuBuggy = false,
32  const int renderPoseFlag = -2);
33 
34  OP_API DisplayMode flagsToDisplayMode(const int display, const bool enabled3d);
35 
36  OP_API Point<int> flagsToPoint(const std::string& pointString, const std::string& pointExample = "1280x720");
37 }
38 
39 #endif // OPENPOSE_UTILITIES_FLAGS_TO_OPEN_POSE_HPP
OP_API std::pair< ProducerType, std::string > flagsToProducer(const std::string &imageDirectory, const std::string &videoPath, const std::string &ipCameraPath="", const int webcamIndex=-1, const bool flirCamera=false, const int flirCameraIndex=-1)
PoseModel
Definition: enumClasses.hpp:9
OP_API DisplayMode flagsToDisplayMode(const int display, const bool enabled3d)
OP_API ScaleMode flagsToScaleMode(const int keypointScale)
OP_API ScaleMode flagsToHeatMapScaleMode(const int heatMapScale)
DisplayMode
Definition: enumClasses.hpp:10
OP_API ProducerType flagsToProducerType(const std::string &imageDirectory, const std::string &videoPath, const std::string &ipCameraPath, const int webcamIndex, const bool flirCamera)
ScaleMode
Definition: enumClasses.hpp:6
OP_API std::vector< HeatMapType > flagsToHeatMaps(const bool heatMapsAddParts=false, const bool heatMapsAddBkg=false, const bool heatMapsAddPAFs=false)
RenderMode
Definition: enumClasses.hpp:24
OP_API PoseModel flagsToPoseModel(const std::string &poseModeString)
OP_API Point< int > flagsToPoint(const std::string &pointString, const std::string &pointExample="1280x720")
ProducerType
Definition: enumClasses.hpp:28
#define OP_API
Definition: macros.hpp:18
OP_API RenderMode flagsToRenderMode(const int renderFlag, const bool gpuBuggy=false, const int renderPoseFlag=-2)
std::string string
Definition: cl2.hpp:574