SSCMA-Micro CPP SDK  v2.0.0
SSCMA-Micro is a cross-platform machine learning inference framework designed for embedded devices.
ma::model::YoloV8Pose Class Reference

#include <ma_model_yolov8_pose.h>

Inheritance diagram for ma::model::YoloV8Pose:
Collaboration diagram for ma::model::YoloV8Pose:

Public Member Functions

 YoloV8Pose (Engine *engine)
 
 ~YoloV8Pose ()
 
- Public Member Functions inherited from ma::model::PoseDetector
 PoseDetector (Engine *engine, const char *name, ma_model_type_t type)
 
virtual ~PoseDetector ()
 
const std::forward_list< ma_keypoint3f_t > & getResults () const
 
ma_err_t run (const ma_img_t *img)
 
const void * getInput () override
 
ma_err_t setConfig (ma_model_cfg_opt_t opt,...) override
 
ma_err_t getConfig (ma_model_cfg_opt_t opt,...) override
 
- Public Member Functions inherited from ma::Model
 Model (Engine *engine, const char *name, uint16_t type)
 
virtual ~Model ()
 
const ma_perf_t getPerf () const
 
const char * getName () const
 
ma_model_type_t getType () const
 
ma_input_type_t getInputType () const
 
ma_output_type_t getOutputType () const
 
void setPreprocessDone (std::function< void(void *)> func)
 
void setPostprocessDone (std::function< void(void *)> func)
 
void setRunDone (std::function< void(void *)> func)
 
void setUserCtx (void *ctx)
 

Static Public Member Functions

static bool isValid (Engine *engine)
 
static const char * getTag ()
 

Protected Member Functions

ma_err_t postprocess () override
 
ma_err_t postProcessI8 ()
 
- Protected Member Functions inherited from ma::model::PoseDetector
ma_err_t preprocess () override
 
- Protected Member Functions inherited from ma::Model
ma_err_t underlyingRun ()
 

Additional Inherited Members

- Protected Attributes inherited from ma::model::PoseDetector
ma_tensor_t input_
 
ma_img_t img_
 
const ma_img_tinput_img_
 
float threshold_nms_
 
float threshold_score_
 
bool is_nhwc_
 
std::forward_list< ma_keypoint3f_t > results_
 
- Protected Attributes inherited from ma::Model
Enginep_engine_
 
const char * p_name_
 

Constructor & Destructor Documentation

◆ YoloV8Pose()

ma::model::YoloV8Pose::YoloV8Pose ( Engine engine)
Here is the call graph for this function:

◆ ~YoloV8Pose()

ma::model::YoloV8Pose::~YoloV8Pose ( )

Member Function Documentation

◆ getTag()

const char * ma::model::YoloV8Pose::getTag ( )
static

◆ isValid()

bool ma::model::YoloV8Pose::isValid ( Engine engine)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ postprocess()

ma_err_t ma::model::YoloV8Pose::postprocess ( )
overrideprotectedvirtual

Implements ma::Model.

Here is the call graph for this function:

◆ postProcessI8()

ma_err_t ma::model::YoloV8Pose::postProcessI8 ( )
protected
Here is the call graph for this function:
Here is the caller graph for this function: