All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
cvMatToOpInput.hpp
Go to the documentation of this file.
#ifndef OPENPOSE_CORE_CV_MAT_TO_OP_INPUT_HPP
#define OPENPOSE_CORE_CV_MAT_TO_OP_INPUT_HPP
#include <opencv2/core/core.hpp> // cv::Mat
#include <openpose/core/common.hpp>
#include <openpose/pose/enumClasses.hpp>
namespace op
{
class OP_API CvMatToOpInput
{
public:
CvMatToOpInput(const PoseModel poseModel = PoseModel::BODY_25);
virtual ~CvMatToOpInput();
std::vector<Array<float>> createArray(const cv::Mat& cvInputData,
const std::vector<double>& scaleInputToNetInputs,
const std::vector<Point<int>>& netInputSizes) const;
private:
const PoseModel mPoseModel;
};
}
#endif // OPENPOSE_CORE_CV_MAT_TO_OP_INPUT_HPP
enumClasses.hpp
op::PoseModel
PoseModel
Definition: enumClasses.hpp:9
op::Point< int >
common.hpp
op::PoseModel::BODY_25
op::CvMatToOpInput
Definition: cvMatToOpInput.hpp:10
cl::vector
std::vector< T, Alloc > vector
Definition: cl2.hpp:567
OP_API
#define OP_API
Definition: macros.hpp:19