OpenPose  1.7.0
The first real-time multi-person system to jointly detect human body, hand, facial, and foot keypoints
op::KeypointScaler Class Reference

#include <keypointScaler.hpp>

Public Member Functions

 KeypointScaler (const ScaleMode scaleMode)
 
virtual ~KeypointScaler ()
 
void scale (Array< float > &arrayToScale, const double scaleInputToOutput, const double scaleNetToOutput, const Point< int > &producerSize) const
 
void scale (std::vector< Array< float >> &arraysToScale, const double scaleInputToOutput, const double scaleNetToOutput, const Point< int > &producerSize) const
 
void scale (std::vector< std::vector< std::array< float, 3 >>> &poseCandidates, const double scaleInputToOutput, const double scaleNetToOutput, const Point< int > &producerSize) const
 

Detailed Description

Definition at line 9 of file keypointScaler.hpp.

Constructor & Destructor Documentation

◆ KeypointScaler()

op::KeypointScaler::KeypointScaler ( const ScaleMode  scaleMode)
explicit

◆ ~KeypointScaler()

virtual op::KeypointScaler::~KeypointScaler ( )
virtual

Member Function Documentation

◆ scale() [1/3]

void op::KeypointScaler::scale ( Array< float > &  arrayToScale,
const double  scaleInputToOutput,
const double  scaleNetToOutput,
const Point< int > &  producerSize 
) const

◆ scale() [2/3]

void op::KeypointScaler::scale ( std::vector< Array< float >> &  arraysToScale,
const double  scaleInputToOutput,
const double  scaleNetToOutput,
const Point< int > &  producerSize 
) const

◆ scale() [3/3]

void op::KeypointScaler::scale ( std::vector< std::vector< std::array< float, 3 >>> &  poseCandidates,
const double  scaleInputToOutput,
const double  scaleNetToOutput,
const Point< int > &  producerSize 
) const

The documentation for this class was generated from the following file: