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

#include <poseExtractorNet.hpp>

Inheritance diagram for op::PoseExtractorNet:
op::PoseExtractorCaffe

Public Member Functions

 PoseExtractorNet (const PoseModel poseModel, const std::vector< HeatMapType > &heatMapTypes={}, const ScaleMode heatMapScaleMode=ScaleMode::ZeroToOneFixedAspect, const bool addPartCandidates=false, const bool maximizePositives=false)
 
virtual ~PoseExtractorNet ()
 
void initializationOnThread ()
 
virtual void forwardPass (const std::vector< Array< float >> &inputNetData, const Point< int > &inputDataSize, const std::vector< double > &scaleRatios={1.f}, const Array< float > &poseNetOutput=Array< float >{})=0
 
virtual const float * getCandidatesCpuConstPtr () const =0
 
virtual const float * getCandidatesGpuConstPtr () const =0
 
virtual const float * getHeatMapCpuConstPtr () const =0
 
virtual const float * getHeatMapGpuConstPtr () const =0
 
virtual std::vector< int > getHeatMapSize () const =0
 
Array< float > getHeatMapsCopy () const
 
std::vector< std::vector< std::array< float, 3 > > > getCandidatesCopy () const
 
virtual const float * getPoseGpuConstPtr () const =0
 
Array< float > getPoseKeypoints () const
 
Array< float > getPoseScores () const
 
float getScaleNetToOutput () const
 
double get (const PoseProperty property) const
 
void set (const PoseProperty property, const double value)
 
void increase (const PoseProperty property, const double value)
 
void clear ()
 

Protected Member Functions

void checkThread () const
 
virtual void netInitializationOnThread ()=0
 

Protected Attributes

const PoseModel mPoseModel
 
Point< int > mNetOutputSize
 
Array< float > mPoseKeypoints
 
Array< float > mPoseScores
 
float mScaleNetToOutput
 

Detailed Description

Definition at line 11 of file poseExtractorNet.hpp.

Constructor & Destructor Documentation

◆ PoseExtractorNet()

op::PoseExtractorNet::PoseExtractorNet ( const PoseModel  poseModel,
const std::vector< HeatMapType > &  heatMapTypes = {},
const ScaleMode  heatMapScaleMode = ScaleMode::ZeroToOneFixedAspect,
const bool  addPartCandidates = false,
const bool  maximizePositives = false 
)

◆ ~PoseExtractorNet()

virtual op::PoseExtractorNet::~PoseExtractorNet ( )
virtual

Member Function Documentation

◆ checkThread()

void op::PoseExtractorNet::checkThread ( ) const
protected

◆ clear()

void op::PoseExtractorNet::clear ( )

◆ forwardPass()

virtual void op::PoseExtractorNet::forwardPass ( const std::vector< Array< float >> &  inputNetData,
const Point< int > &  inputDataSize,
const std::vector< double > &  scaleRatios = {1.f},
const Array< float > &  poseNetOutput = Array< float >{} 
)
pure virtual

Implemented in op::PoseExtractorCaffe.

◆ get()

double op::PoseExtractorNet::get ( const PoseProperty  property) const

◆ getCandidatesCopy()

std::vector<std::vector<std::array<float,3> > > op::PoseExtractorNet::getCandidatesCopy ( ) const

◆ getCandidatesCpuConstPtr()

virtual const float* op::PoseExtractorNet::getCandidatesCpuConstPtr ( ) const
pure virtual

Implemented in op::PoseExtractorCaffe.

◆ getCandidatesGpuConstPtr()

virtual const float* op::PoseExtractorNet::getCandidatesGpuConstPtr ( ) const
pure virtual

Implemented in op::PoseExtractorCaffe.

◆ getHeatMapCpuConstPtr()

virtual const float* op::PoseExtractorNet::getHeatMapCpuConstPtr ( ) const
pure virtual

Implemented in op::PoseExtractorCaffe.

◆ getHeatMapGpuConstPtr()

virtual const float* op::PoseExtractorNet::getHeatMapGpuConstPtr ( ) const
pure virtual

Implemented in op::PoseExtractorCaffe.

◆ getHeatMapsCopy()

Array<float> op::PoseExtractorNet::getHeatMapsCopy ( ) const

◆ getHeatMapSize()

virtual std::vector<int> op::PoseExtractorNet::getHeatMapSize ( ) const
pure virtual

Implemented in op::PoseExtractorCaffe.

◆ getPoseGpuConstPtr()

virtual const float* op::PoseExtractorNet::getPoseGpuConstPtr ( ) const
pure virtual

Implemented in op::PoseExtractorCaffe.

◆ getPoseKeypoints()

Array<float> op::PoseExtractorNet::getPoseKeypoints ( ) const

◆ getPoseScores()

Array<float> op::PoseExtractorNet::getPoseScores ( ) const

◆ getScaleNetToOutput()

float op::PoseExtractorNet::getScaleNetToOutput ( ) const

◆ increase()

void op::PoseExtractorNet::increase ( const PoseProperty  property,
const double  value 
)

◆ initializationOnThread()

void op::PoseExtractorNet::initializationOnThread ( )

◆ netInitializationOnThread()

virtual void op::PoseExtractorNet::netInitializationOnThread ( )
protectedpure virtual

Implemented in op::PoseExtractorCaffe.

◆ set()

void op::PoseExtractorNet::set ( const PoseProperty  property,
const double  value 
)

Member Data Documentation

◆ mNetOutputSize

Point<int> op::PoseExtractorNet::mNetOutputSize
protected

Definition at line 60 of file poseExtractorNet.hpp.

◆ mPoseKeypoints

Array<float> op::PoseExtractorNet::mPoseKeypoints
protected

Definition at line 61 of file poseExtractorNet.hpp.

◆ mPoseModel

const PoseModel op::PoseExtractorNet::mPoseModel
protected

Definition at line 59 of file poseExtractorNet.hpp.

◆ mPoseScores

Array<float> op::PoseExtractorNet::mPoseScores
protected

Definition at line 62 of file poseExtractorNet.hpp.

◆ mScaleNetToOutput

float op::PoseExtractorNet::mScaleNetToOutput
protected

Definition at line 63 of file poseExtractorNet.hpp.


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