FastDeploy  latest
Fast & Easy to Deploy!
Public Member Functions | List of all members
fastdeploy::pipeline::PPTinyPose Class Reference

PPTinyPose Pipeline object used when to load a detection model + pptinypose model. More...

#include <pipeline.h>

Public Member Functions

 PPTinyPose (fastdeploy::vision::detection::PicoDet *det_model, fastdeploy::vision::keypointdetection::PPTinyPose *pptinypose_model)
 Set initialized detection model object and pptinypose model object. More...
 
virtual bool Predict (cv::Mat *img, fastdeploy::vision::KeyPointDetectionResult *result)
 Predict the keypoint detection result for an input image. More...
 

Detailed Description

PPTinyPose Pipeline object used when to load a detection model + pptinypose model.

Constructor & Destructor Documentation

◆ PPTinyPose()

fastdeploy::pipeline::PPTinyPose::PPTinyPose ( fastdeploy::vision::detection::PicoDet *  det_model,
fastdeploy::vision::keypointdetection::PPTinyPose pptinypose_model 
)

Set initialized detection model object and pptinypose model object.

Parameters
[in]det_modelInitialized detection model object
[in]pptinypose_modelInitialized pptinypose model object

Member Function Documentation

◆ Predict()

bool fastdeploy::pipeline::PPTinyPose::Predict ( cv::Mat *  img,
fastdeploy::vision::KeyPointDetectionResult result 
)
virtual

Predict the keypoint detection result for an input image.

Parameters
[in]imgThe input image data, comes from cv::imread()
[in]resultThe output keypoint detection result will be writen to this structure
Returns
true if the prediction successed, otherwise false

The documentation for this class was generated from the following files: