FastDeploy
latest
Fast & Easy to Deploy!
|
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... | |
PPTinyPose Pipeline object used when to load a detection model + pptinypose model.
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.
[in] | det_model | Initialized detection model object |
[in] | pptinypose_model | Initialized pptinypose model object |
|
virtual |
Predict the keypoint detection result for an input image.
[in] | img | The input image data, comes from cv::imread() |
[in] | result | The output keypoint detection result will be writen to this structure |