OpenPose 1.0.0rc2 OpenPose: A Real-Time Multi-Person Key-Point Detection And Multi-Threading C++ Library

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

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>
5 #include <openpose/core/common.hpp>
6
7 namespace op
8 {
9 class OP_API ScaleAndSizeExtractor
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 virtual ~ScaleAndSizeExtractor();
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 Point<int> mOutputSize;
23 const int mScaleNumber;
24 const double mScaleGap;
25 };
26 }
27
28 #endif // OPENPOSE_CORE_SCALE_AND_SIZE_EXTRACTOR_HPP
op::Point< int >
common.hpp
op::ScaleAndSizeExtractor
Definition: scaleAndSizeExtractor.hpp:9
OP_API
#define OP_API
Definition: macros.hpp:19