OpenPose  1.7.0
The first real-time multi-person system to jointly detect human body, hand, facial, and foot keypoints
scaleAndSizeExtractor.hpp
Go to the documentation of this file.
1 #ifndef OPENPOSE_CORE_SCALE_AND_SIZE_EXTRACTOR_HPP
2 #define OPENPOSE_CORE_SCALE_AND_SIZE_EXTRACTOR_HPP
3 
4 #include <tuple>
6 
7 namespace op
8 {
10  {
11  public:
12  ScaleAndSizeExtractor(const Point<int>& netInputResolution, const float netInputResolutionDynamicBehavior,
13  const Point<int>& outputResolution, const int scaleNumber = 1, const double scaleGap = 0.25);
14 
16 
17  std::tuple<std::vector<double>, std::vector<Point<int>>, double, Point<int>> extract(
18  const Point<int>& inputResolution) const;
19 
20  private:
21  const Point<int> mNetInputResolution;
22  const float mNetInputResolutionDynamicBehavior;
23  const Point<int> mOutputSize;
24  const int mScaleNumber;
25  const double mScaleGap;
26  };
27 }
28 
29 #endif // OPENPOSE_CORE_SCALE_AND_SIZE_EXTRACTOR_HPP
ScaleAndSizeExtractor(const Point< int > &netInputResolution, const float netInputResolutionDynamicBehavior, const Point< int > &outputResolution, const int scaleNumber=1, const double scaleGap=0.25)
std::tuple< std::vector< double >, std::vector< Point< int > >, double, Point< int > > extract(const Point< int > &inputResolution) const
#define OP_API
Definition: macros.hpp:18