|
| HPEOpenPose (const std::string &modelFileName, double aspectRatio, int targetSize, float confidenceThreshold, const std::string &layout="") |
|
std::unique_ptr< ResultBase > | postprocess (InferenceResult &infResult) override |
|
std::shared_ptr< InternalModelData > | preprocess (const InputData &inputData, ov::InferRequest &request) override |
|
| ImageModel (const std::string &modelFileName, bool useAutoResize, const std::string &layout="") |
|
std::shared_ptr< InternalModelData > | preprocess (const InputData &inputData, ov::InferRequest &request) override |
|
| ModelBase (const std::string &modelFileName, const std::string &layout="") |
|
virtual ov::CompiledModel | compileModel (const ModelConfig &config, ov::Core &core) |
|
virtual void | onLoadCompleted (const std::vector< ov::InferRequest > &requests) |
|
const std::vector< std::string > & | getOutputsNames () const |
|
const std::vector< std::string > & | getInputsNames () const |
|
std::string | getModelFileName () |
|
void | setInputsPreprocessing (bool reverseInputChannels, const std::string &meanValues, const std::string &scaleValues) |
|
|
static const size_t | keypointsNumber = 18 |
|
|
void | prepareInputsOutputs (std::shared_ptr< ov::Model > &model) override |
|
std::vector< HumanPose > | extractPoses (const std::vector< cv::Mat > &heatMaps, const std::vector< cv::Mat > &pafs) const |
|
void | resizeFeatureMaps (std::vector< cv::Mat > &featureMaps) const |
|
void | changeInputSize (std::shared_ptr< ov::Model > &model) |
|
virtual void | setBatch (std::shared_ptr< ov::Model > &model) |
|
std::shared_ptr< ov::Model > | prepareModel (ov::Core &core) |
|
ov::Layout | getInputLayout (const ov::Output< ov::Node > &input) |
|
|
cv::Size | inputLayerSize |
|
double | aspectRatio |
|
int | targetSize |
|
float | confidenceThreshold |
|
bool | useAutoResize |
|
size_t | netInputHeight = 0 |
|
size_t | netInputWidth = 0 |
|
cv::InterpolationFlags | interpolationMode = cv::INTER_LINEAR |
|
RESIZE_MODE | resizeMode = RESIZE_FILL |
|
InputTransform | inputTransform = InputTransform() |
|
std::vector< std::string > | inputsNames |
|
std::vector< std::string > | outputsNames |
|
ov::CompiledModel | compiledModel |
|
std::string | modelFileName |
|
ModelConfig | config = {} |
|
std::map< std::string, ov::Layout > | inputsLayouts |
|
|
static const int | minJointsNumber = 3 |
|
static const int | stride = 8 |
|
static const int | upsampleRatio = 4 |
|
static const cv::Vec3f | meanPixel = cv::Vec3f::all(128) |
|
static const float | minPeaksDistance = 3.0f |
|
static const float | midPointsScoreThreshold = 0.05f |
|
static const float | foundMidPointsRatioThreshold = 0.8f |
|
static const float | minSubsetScore = 0.2f |
|
◆ HPEOpenPose()
HPEOpenPose::HPEOpenPose |
( |
const std::string & |
modelFileName, |
|
|
double |
aspectRatio, |
|
|
int |
targetSize, |
|
|
float |
confidenceThreshold, |
|
|
const std::string & |
layout = "" |
|
) |
| |
Constructor
- Parameters
-
modelFileName | name of model to load |
aspectRatio | - the ratio of input width to its height. |
targetSize | - the height used for model reshaping. |
confidenceThreshold | - threshold to eliminate low-confidence keypoints. |
layout | - model input layout |
The documentation for this class was generated from the following files: