1 #ifndef OPENPOSE_HAND_HAND_EXTRACTOR_HPP
2 #define OPENPOSE_HAND_HAND_EXTRACTOR_HPP
25 const int numberScales = 1,
const float rangeScales = 0.4f,
26 const std::vector<HeatMapType>& heatMapTypes = {},
51 const Matrix& cvInputData) = 0;
84 std::thread::id mThreadId;
86 void checkThread()
const;
Array< float > mHandImageCrop
virtual void forwardPass(const std::vector< std::array< Rectangle< float >, 2 >> handRectangles, const Matrix &cvInputData)=0
const std::pair< int, float > mMultiScaleNumberAndRange
std::atomic< bool > mEnabled
virtual ~HandExtractorNet()
void initializationOnThread()
std::array< Array< float >, 2 > mHeatMaps
std::array< Array< float >, 2 > mHandKeypoints
std::array< Array< float >, 2 > getHeatMaps() const
HandExtractorNet(const Point< int > &netInputSize, const Point< int > &netOutputSize, const int numberScales=1, const float rangeScales=0.4f, const std::vector< HeatMapType > &heatMapTypes={}, const ScaleMode heatMapScaleMode=ScaleMode::ZeroToOneFixedAspect)
virtual void netInitializationOnThread()=0
const std::vector< HeatMapType > mHeatMapTypes
void setEnabled(const bool enabled)
const Point< int > mNetOutputSize
std::array< Array< float >, 2 > getHandKeypoints() const
const ScaleMode mHeatMapScaleMode
#define DELETE_COPY(className)