OpenPose 1.0.0rc2 OpenPose: A Real-Time Multi-Person Key-Point Detection And Multi-Threading C++ Library

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

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
4 #include <openpose/core/common.hpp>
5 #include <openpose/core/enumClasses.hpp>
6 #include <openpose/gui/enumClasses.hpp>
7 #include <openpose/pose/enumClasses.hpp>
8 #include <openpose/producer/enumClasses.hpp>
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
enumClasses.hpp
op::flagsToProducer
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)
enumClasses.hpp
op::PoseModel
PoseModel
Definition: enumClasses.hpp:9
op::flagsToDisplayMode
OP_API DisplayMode flagsToDisplayMode(const int display, const bool enabled3d)
op::flagsToScaleMode
OP_API ScaleMode flagsToScaleMode(const int keypointScale)
op::flagsToHeatMapScaleMode
OP_API ScaleMode flagsToHeatMapScaleMode(const int heatMapScale)
op::DisplayMode
DisplayMode
Definition: enumClasses.hpp:10
common.hpp
op::flagsToProducerType
OP_API ProducerType flagsToProducerType(const std::string &imageDirectory, const std::string &videoPath, const std::string &ipCameraPath, const int webcamIndex, const bool flirCamera)
op::ScaleMode
ScaleMode
Definition: enumClasses.hpp:6
op::flagsToHeatMaps
OP_API std::vector< HeatMapType > flagsToHeatMaps(const bool heatMapsAddParts=false, const bool heatMapsAddBkg=false, const bool heatMapsAddPAFs=false)
op::RenderMode
RenderMode
Definition: enumClasses.hpp:24
op::flagsToPoseModel
OP_API PoseModel flagsToPoseModel(const std::string &poseModeString)
op::flagsToPoint
OP_API Point< int > flagsToPoint(const std::string &pointString, const std::string &pointExample="1280x720")
op::ProducerType
ProducerType
Definition: enumClasses.hpp:29
OP_API
#define OP_API
Definition: macros.hpp:19
enumClasses.hpp
op::flagsToRenderMode
OP_API RenderMode flagsToRenderMode(const int renderFlag, const bool gpuBuggy=false, const int renderPoseFlag=-2)
enumClasses.hpp
cl::string
std::string string
Definition: cl2.hpp:574