OpenPose  1.0.0rc2
OpenPose: A Real-Time Multi-Person Key-Point Detection And Multi-Threading C++ Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 Point<int>& outputResolution,
13  const int scaleNumber = 1, const double scaleGap = 0.25);
14 
15  std::tuple<std::vector<double>, std::vector<Point<int>>, double, Point<int>> extract(
16  const Point<int>& inputResolution) const;
17 
18  private:
19  const Point<int> mNetInputResolution;
20  const Point<int> mOutputSize;
21  const int mScaleNumber;
22  const double mScaleGap;
23  };
24 }
25 
26 #endif // OPENPOSE_CORE_SCALE_AND_SIZE_EXTRACTOR_HPP
Definition: scaleAndSizeExtractor.hpp:9
#define OP_API
Definition: macros.hpp:15