#include <poseExtractor.hpp>
 | 
|   | PoseExtractor (const std::shared_ptr< PoseExtractorNet > &poseExtractorNet, const std::shared_ptr< KeepTopNPeople > &keepTopNPeople=nullptr, const std::shared_ptr< PersonIdExtractor > &personIdExtractor=nullptr, const std::shared_ptr< std::vector< std::shared_ptr< PersonTracker >>> &personTracker={}, const int numberPeopleMax=-1, const int tracking=-1) | 
|   | 
| virtual  | ~PoseExtractor () | 
|   | 
| void  | initializationOnThread () | 
|   | 
| void  | forwardPass (const std::vector< Array< float >> &inputNetData, const Point< int > &inputDataSize, const std::vector< double > &scaleRatios, const Array< float > &poseNetOutput=Array< float >{}, const long long frameId=-1ll) | 
|   | 
| Array< float >  | getHeatMapsCopy () const | 
|   | 
| std::vector< std::vector< std::array< float, 3 > > >  | getCandidatesCopy () const | 
|   | 
| Array< float >  | getPoseKeypoints () const | 
|   | 
| Array< float >  | getPoseScores () const | 
|   | 
| float  | getScaleNetToOutput () const | 
|   | 
| void  | keepTopPeople (Array< float > &poseKeypoints, const Array< float > &poseScores) const | 
|   | 
| Array< long long >  | extractIds (const Array< float > &poseKeypoints, const Matrix &cvMatInput, const unsigned long long imageIndex=0ull) | 
|   | 
| Array< long long >  | extractIdsLockThread (const Array< float > &poseKeypoints, const Matrix &cvMatInput, const unsigned long long imageIndex, const long long frameId) | 
|   | 
| void  | track (Array< float > &poseKeypoints, Array< long long > &poseIds, const Matrix &cvMatInput, const unsigned long long imageViewIndex=0ull) | 
|   | 
| void  | trackLockThread (Array< float > &poseKeypoints, Array< long long > &poseIds, const Matrix &cvMatInput, const unsigned long long imageViewIndex, const long long frameId) | 
|   | 
Definition at line 14 of file poseExtractor.hpp.
 
◆ PoseExtractor()
      
        
          | op::PoseExtractor::PoseExtractor  | 
          ( | 
          const std::shared_ptr< PoseExtractorNet > &  | 
          poseExtractorNet,  | 
        
        
           | 
           | 
          const std::shared_ptr< KeepTopNPeople > &  | 
          keepTopNPeople = nullptr,  | 
        
        
           | 
           | 
          const std::shared_ptr< PersonIdExtractor > &  | 
          personIdExtractor = nullptr,  | 
        
        
           | 
           | 
          const std::shared_ptr< std::vector< std::shared_ptr< PersonTracker >>> &  | 
          personTracker = {},  | 
        
        
           | 
           | 
          const int  | 
          numberPeopleMax = -1,  | 
        
        
           | 
           | 
          const int  | 
          tracking = -1  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ ~PoseExtractor()
  
  
      
        
          | virtual op::PoseExtractor::~PoseExtractor  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
◆ extractIds()
      
        
          | Array<long long> op::PoseExtractor::extractIds  | 
          ( | 
          const Array< float > &  | 
          poseKeypoints,  | 
        
        
           | 
           | 
          const Matrix &  | 
          cvMatInput,  | 
        
        
           | 
           | 
          const unsigned long long  | 
          imageIndex = 0ull  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ extractIdsLockThread()
      
        
          | Array<long long> op::PoseExtractor::extractIdsLockThread  | 
          ( | 
          const Array< float > &  | 
          poseKeypoints,  | 
        
        
           | 
           | 
          const Matrix &  | 
          cvMatInput,  | 
        
        
           | 
           | 
          const unsigned long long  | 
          imageIndex,  | 
        
        
           | 
           | 
          const long long  | 
          frameId  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ forwardPass()
      
        
          | void op::PoseExtractor::forwardPass  | 
          ( | 
          const std::vector< Array< float >> &  | 
          inputNetData,  | 
        
        
           | 
           | 
          const Point< int > &  | 
          inputDataSize,  | 
        
        
           | 
           | 
          const std::vector< double > &  | 
          scaleRatios,  | 
        
        
           | 
           | 
          const Array< float > &  | 
          poseNetOutput = Array< float >{},  | 
        
        
           | 
           | 
          const long long  | 
          frameId = -1ll  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ getCandidatesCopy()
      
        
          | std::vector<std::vector<std::array<float, 3> > > op::PoseExtractor::getCandidatesCopy  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ getHeatMapsCopy()
      
        
          | Array<float> op::PoseExtractor::getHeatMapsCopy  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ getPoseKeypoints()
      
        
          | Array<float> op::PoseExtractor::getPoseKeypoints  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ getPoseScores()
      
        
          | Array<float> op::PoseExtractor::getPoseScores  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ getScaleNetToOutput()
      
        
          | float op::PoseExtractor::getScaleNetToOutput  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ initializationOnThread()
      
        
          | void op::PoseExtractor::initializationOnThread  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ keepTopPeople()
      
        
          | void op::PoseExtractor::keepTopPeople  | 
          ( | 
          Array< float > &  | 
          poseKeypoints,  | 
        
        
           | 
           | 
          const Array< float > &  | 
          poseScores  | 
        
        
           | 
          ) | 
           |  const | 
        
      
 
 
◆ track()
      
        
          | void op::PoseExtractor::track  | 
          ( | 
          Array< float > &  | 
          poseKeypoints,  | 
        
        
           | 
           | 
          Array< long long > &  | 
          poseIds,  | 
        
        
           | 
           | 
          const Matrix &  | 
          cvMatInput,  | 
        
        
           | 
           | 
          const unsigned long long  | 
          imageViewIndex = 0ull  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ trackLockThread()
      
        
          | void op::PoseExtractor::trackLockThread  | 
          ( | 
          Array< float > &  | 
          poseKeypoints,  | 
        
        
           | 
           | 
          Array< long long > &  | 
          poseIds,  | 
        
        
           | 
           | 
          const Matrix &  | 
          cvMatInput,  | 
        
        
           | 
           | 
          const unsigned long long  | 
          imageViewIndex,  | 
        
        
           | 
           | 
          const long long  | 
          frameId  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
The documentation for this class was generated from the following file: