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
cvMatToOpInput.hpp
Go to the documentation of this file.
1 #ifndef OPENPOSE_CORE_CV_MAT_TO_OP_INPUT_HPP
2 #define OPENPOSE_CORE_CV_MAT_TO_OP_INPUT_HPP
3 
4 #include <opencv2/core/core.hpp> // cv::Mat
7 
8 namespace op
9 {
11  {
12  public:
13  CvMatToOpInput(const PoseModel poseModel = PoseModel::BODY_25);
14 
15  virtual ~CvMatToOpInput();
16 
17  std::vector<Array<float>> createArray(const cv::Mat& cvInputData,
18  const std::vector<double>& scaleInputToNetInputs,
19  const std::vector<Point<int>>& netInputSizes) const;
20 
21  private:
22  const PoseModel mPoseModel;
23  };
24 }
25 
26 #endif // OPENPOSE_CORE_CV_MAT_TO_OP_INPUT_HPP
PoseModel
Definition: enumClasses.hpp:9
Definition: cvMatToOpInput.hpp:10
std::vector< T, Alloc > vector
Definition: cl2.hpp:567
#define OP_API
Definition: macros.hpp:18