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
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
5 #include <openpose/core/common.hpp>
6 #include <openpose/pose/enumClasses.hpp>
7
8 namespace op
9 {
10 class OP_API CvMatToOpInput
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
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