SSCMA-Micro CPP SDK  v2.0.0
SSCMA-Micro is a cross-platform machine learning inference framework designed for embedded devices.
ma_model_yolov8.h
Go to the documentation of this file.
1 #ifndef _MA_MODEL_YOLOV8_H
2 #define _MA_MODEL_YOLOV8_H
3 
4 #include <vector>
5 
6 #include "ma_model_detector.h"
7 
8 namespace ma::model {
9 
10 class YoloV8 : public Detector {
11 private:
12  ma_tensor_t outputs_[6];
13  int32_t num_record_;
14  int32_t num_class_;
15 
16 protected:
17  ma_err_t postprocess() override;
19 
21 
22 
23 public:
24  YoloV8(Engine* engine);
25  ~YoloV8();
26  static bool isValid(Engine* engine);
27 };
28 
29 } // namespace ma::model
30 
31 #endif // _MA_MODEL_YOLO_H
Definition: ma_engine_base.h:17
Definition: ma_model_detector.h:12
Definition: ma_model_yolov8.h:10
static bool isValid(Engine *engine)
Definition: ma_model_yolov8.cpp:39
ma_err_t postProcessF32()
Definition: ma_model_yolov8.cpp:164
~YoloV8()
Definition: ma_model_yolov8.cpp:37
ma_err_t postprocess() override
Definition: ma_model_yolov8.cpp:232
ma_err_t postProcessI8()
Definition: ma_model_yolov8.cpp:98
YoloV8(Engine *engine)
Definition: ma_model_yolov8.cpp:15
ma_err_t
Definition: ma_types.h:21
Definition: ma_model_classifier.cpp:5
Definition: ma_types.h:74