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
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
op::Point< int >
common.hpp
op::ScaleAndSizeExtractor
Definition:
scaleAndSizeExtractor.hpp:9
OP_API
#define OP_API
Definition:
macros.hpp:15
include
openpose
core
scaleAndSizeExtractor.hpp
Generated by
1.8.6