1 #ifndef OPENPOSE_POSE_POSE_EXTRACTOR_HPP
2 #define OPENPOSE_POSE_POSE_EXTRACTOR_HPP
17 PoseExtractor(
const std::shared_ptr<PoseExtractorNet>& poseExtractorNet,
18 const std::shared_ptr<KeepTopNPeople>& keepTopNPeople =
nullptr,
19 const std::shared_ptr<PersonIdExtractor>& personIdExtractor =
nullptr,
20 const std::shared_ptr<
std::vector<std::shared_ptr<PersonTracker>>>& personTracker = {},
21 const int numberPeopleMax = -1,
const int tracking = -1);
25 void initializationOnThread();
29 const std::vector<double>& scaleRatios,
30 const long long frameId = -1ll);
35 std::vector<std::vector<std::array<float, 3>>> getCandidatesCopy()
const;
41 float getScaleNetToOutput()
const;
49 const unsigned long long imageIndex = 0ull);
53 const unsigned long long imageIndex,
54 const long long frameId);
58 const cv::Mat& cvMatInput,
const unsigned long long imageViewIndex = 0ull);
61 const cv::Mat& cvMatInput,
62 const unsigned long long imageViewIndex,
63 const long long frameId);
66 const int mNumberPeopleMax;
68 const std::shared_ptr<PoseExtractorNet> spPoseExtractorNet;
69 const std::shared_ptr<KeepTopNPeople> spKeepTopNPeople;
70 const std::shared_ptr<PersonIdExtractor> spPersonIdExtractor;
71 const std::shared_ptr<std::vector<std::shared_ptr<PersonTracker>>> spPersonTrackers;
77 #endif // OPENPOSE_POSE_POSE_EXTRACTOR_HPP
#define DELETE_COPY(className)
Definition: macros.hpp:31
std::vector< T, Alloc > vector
Definition: cl2.hpp:567
#define OP_API
Definition: macros.hpp:16