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