1 #ifndef OPENPOSE_HAND_HAND_EXTRACTOR_CAFFE_HPP
2 #define OPENPOSE_HAND_HAND_EXTRACTOR_CAFFE_HPP
4 #include <opencv2/core/core.hpp>
28 const std::string& modelFolder,
const int gpuId,
29 const unsigned short numberScales = 1,
const float rangeScales = 0.4f,
30 const std::vector<HeatMapType>& heatMapTypes = {},
32 const bool enableGoogleLogging =
true);
44 void netInitializationOnThread();
57 void forwardPass(
const std::vector<std::array<
Rectangle<float>, 2>> handRectangles,
const cv::Mat& cvInputData,
58 const double scaleInputToOutput);
63 struct ImplHandExtractorCaffe;
64 std::unique_ptr<ImplHandExtractorCaffe> upImpl;
66 void detectHandKeypoints(
Array<float>& handCurrent,
const double scaleInputToOutput,
const int person,
67 const cv::Mat& affineMatrix);
77 #endif // OPENPOSE_HAND_HAND_EXTRACTOR_CAFFE_HPP
#define DELETE_COPY(className)
Definition: macros.hpp:24
Definition: handExtractor.hpp:14
ScaleMode
Definition: enumClasses.hpp:6
Definition: rectangle.hpp:11
Definition: handExtractorCaffe.hpp:14
#define OP_API
Definition: macros.hpp:9