1 #ifndef OPENPOSE_HAND_HAND_EXTRACTOR_HPP
2 #define OPENPOSE_HAND_HAND_EXTRACTOR_HPP
5 #include <opencv2/core/core.hpp>
26 const unsigned short numberScales = 1,
const float rangeScales = 0.4f,
27 const std::vector<HeatMapType>& heatMapTypes = {},
40 void initializationOnThread();
52 const cv::Mat& cvInputData) = 0;
54 std::array<Array<float>, 2> getHeatMaps()
const;
63 std::array<Array<float>, 2> getHandKeypoints()
const;
65 bool getEnabled()
const;
67 void setEnabled(
const bool enabled);
81 virtual void netInitializationOnThread() = 0;
85 std::thread::id mThreadId;
87 void checkThread()
const;
93 #endif // OPENPOSE_HAND_HAND_EXTRACTOR_HPP
#define DELETE_COPY(className)
Definition: macros.hpp:34
std::array< T, N > array
Definition: cl2.hpp:594
std::atomic< bool > mEnabled
Definition: handExtractorNet.hpp:79
Array< float > mHandImageCrop
Definition: handExtractorNet.hpp:72
const ScaleMode mHeatMapScaleMode
Definition: handExtractorNet.hpp:75
const Point< int > mNetOutputSize
Definition: handExtractorNet.hpp:71
const std::pair< unsigned short, float > mMultiScaleNumberAndRange
Definition: handExtractorNet.hpp:70
std::array< Array< float >, 2 > mHandKeypoints
Definition: handExtractorNet.hpp:73
std::array< Array< float >, 2 > mHeatMaps
Definition: handExtractorNet.hpp:77
ScaleMode
Definition: enumClasses.hpp:6
Definition: rectangle.hpp:11
Definition: handExtractorNet.hpp:14
std::vector< T, Alloc > vector
Definition: cl2.hpp:567
#define OP_API
Definition: macros.hpp:19
const std::vector< HeatMapType > mHeatMapTypes
Definition: handExtractorNet.hpp:76