All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
wrapperStructInput.hpp
Go to the documentation of this file.
#ifndef OPENPOSE_WRAPPER_WRAPPER_STRUCT_INPUT_HPP
#define OPENPOSE_WRAPPER_WRAPPER_STRUCT_INPUT_HPP
#include <limits> // std::numeric_limits
#include <openpose/core/common.hpp>
#include <openpose/producer/producer.hpp>
namespace op
{
struct OP_API WrapperStructInput
{
ProducerType producerType;
std::string producerString;
unsigned long long frameFirst;
unsigned long long frameStep;
unsigned long long frameLast;
bool realTimeProcessing;
bool frameFlip;
int frameRotate;
bool framesRepeat;
Point<int> cameraResolution;
double webcamFps;
std::string cameraParameterPath;
bool undistortImage;
unsigned int imageDirectoryStereo;
WrapperStructInput(const ProducerType producerType = ProducerType::None,
const std::string& producerString = "", const unsigned long long frameFirst = 0,
const unsigned long long frameStep = 1,
const unsigned long long frameLast = std::numeric_limits<unsigned long long>::max(),
const bool realTimeProcessing = false, const bool frameFlip = false,
const int frameRotate = 0, const bool framesRepeat = false,
const Point<int>& cameraResolution = Point<int>{-1,-1}, const double webcamFps = 30.,
const std::string& cameraParameterPath = "models/cameraParameters/",
const bool undistortImage = true, const unsigned int imageDirectoryStereo = 1);
};
}
#endif // OPENPOSE_WRAPPER_WRAPPER_STRUCT_INPUT_HPP
op::RenderMode::None
op::WrapperStructInput::cameraParameterPath
std::string cameraParameterPath
Definition: wrapperStructInput.hpp:82
op::WrapperStructInput::frameFlip
bool frameFlip
Definition: wrapperStructInput.hpp:56
op::WrapperStructInput::framesRepeat
bool framesRepeat
Definition: wrapperStructInput.hpp:67
op::Point< int >
common.hpp
op::WrapperStructInput::realTimeProcessing
bool realTimeProcessing
Definition: wrapperStructInput.hpp:51
op::WrapperStructInput
Definition: wrapperStructInput.hpp:14
op::WrapperStructInput::frameStep
unsigned long long frameStep
Definition: wrapperStructInput.hpp:40
op::WrapperStructInput::undistortImage
bool undistortImage
Definition: wrapperStructInput.hpp:87
op::WrapperStructInput::cameraResolution
Point< int > cameraResolution
Definition: wrapperStructInput.hpp:72
op::WrapperStructInput::producerType
ProducerType producerType
Definition: wrapperStructInput.hpp:20
op::WrapperStructInput::frameLast
unsigned long long frameLast
Definition: wrapperStructInput.hpp:46
op::WrapperStructInput::producerString
std::string producerString
Definition: wrapperStructInput.hpp:27
op::WrapperStructInput::imageDirectoryStereo
unsigned int imageDirectoryStereo
Definition: wrapperStructInput.hpp:92
op::ProducerType
ProducerType
Definition: enumClasses.hpp:28
producer.hpp
OP_API
#define OP_API
Definition: macros.hpp:19
op::WrapperStructInput::frameRotate
int frameRotate
Definition: wrapperStructInput.hpp:62
op::WrapperStructInput::frameFirst
unsigned long long frameFirst
Definition: wrapperStructInput.hpp:33
op::WrapperStructInput::webcamFps
double webcamFps
Definition: wrapperStructInput.hpp:77
cl::string
std::string string
Definition: cl2.hpp:574