FastDeploy  latest
Fast & Easy to Deploy!
Namespaces | Macros | Functions
types_internal.h File Reference
#include "fastdeploy_capi/core/fd_type.h"
#include <memory>
#include "fastdeploy/vision/classification/ppcls/model.h"
#include "fastdeploy/vision/common/result.h"
#include "fastdeploy/vision/detection/ppdet/model.h"
#include "fastdeploy/vision/detection/contrib/yolov5/yolov5.h"
#include "fastdeploy/vision/detection/contrib/yolov7/yolov7.h"
#include "fastdeploy/vision/detection/contrib/yolov8/yolov8.h"
#include "fastdeploy/vision/detection/contrib/yolor.h"
#include "fastdeploy/vision/detection/contrib/yolox.h"
#include "fastdeploy/vision/detection/contrib/yolov6.h"
#include "fastdeploy/vision/ocr/ppocr/classifier.h"
#include "fastdeploy/vision/ocr/ppocr/dbdetector.h"
#include "fastdeploy/vision/ocr/ppocr/recognizer.h"
#include "fastdeploy/vision/ocr/ppocr/ppocr_v2.h"
#include "fastdeploy/vision/ocr/ppocr/ppocr_v3.h"
#include "fastdeploy/vision/segmentation/ppseg/model.h"
Include dependency graph for types_internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 fastdeploy
 

Macros

#define DEFINE_RESULT_WRAPPER_STRUCT(typename, varname)
 
#define DEFINE_CLASSIFICATION_MODEL_WRAPPER_STRUCT(typename, varname)
 
#define DEFINE_DETECTION_MODEL_WRAPPER_STRUCT(typename, varname)
 
#define DEFINE_OCR_MODEL_WRAPPER_STRUCT(typename, varname)
 
#define DEFINE_PIPELINE_MODEL_WRAPPER_STRUCT(typename, varname)
 
#define DEFINE_SEGMENTATION_MODEL_WRAPPER_STRUCT(typename, varname)
 
#define DECLARE_RESULT_FUNC_FOR_GET_PTR_FROM_WRAPPER(typename, varname)
 
#define DECLARE_CLASSIFICATION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER(typename, varname)
 
#define DECLARE_DETECTION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER(typename, varname)
 
#define DECLARE_OCR_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER(typename, varname)
 
#define DECLARE_PIPELINE_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER(typename, varname)
 
#define DECLARE_SEGMENTATION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER(typename, varname)
 
#define DECL_AND_IMPLEMENT_RESULT_FUNC_FOR_GET_PTR_FROM_WRAPPER(typename, var_wrapper_name, var_ptr_name)
 
#define DECL_AND_IMPLEMENT_CLASSIFICATION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER(typename, var_wrapper_name, var_ptr_name)
 
#define DECL_AND_IMPLEMENT_DETECTION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER(typename, var_wrapper_name, var_ptr_name)
 
#define DECL_AND_IMPLEMENT_OCR_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER(typename, var_wrapper_name, var_ptr_name)
 
#define DECL_AND_IMPLEMENT_PIPELINE_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER(typename, var_wrapper_name, var_ptr_name)
 
#define DECL_AND_IMPLEMENT_SEGMENTATION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER(typename, var_wrapper_name, var_ptr_name)
 

Functions

 DEFINE_RESULT_WRAPPER_STRUCT (ClassifyResult, classify_result)
 
 DEFINE_RESULT_WRAPPER_STRUCT (DetectionResult, detection_result)
 
 DEFINE_RESULT_WRAPPER_STRUCT (OCRResult, ocr_result)
 
 DEFINE_RESULT_WRAPPER_STRUCT (SegmentationResult, segmentation_result)
 
 DEFINE_CLASSIFICATION_MODEL_WRAPPER_STRUCT (PaddleClasModel, paddleclas_model)
 
 DEFINE_DETECTION_MODEL_WRAPPER_STRUCT (PPYOLOE, ppyoloe_model)
 
 DEFINE_DETECTION_MODEL_WRAPPER_STRUCT (PicoDet, picodet_model)
 
 DEFINE_DETECTION_MODEL_WRAPPER_STRUCT (PPYOLO, ppyolo_model)
 
 DEFINE_DETECTION_MODEL_WRAPPER_STRUCT (YOLOv3, yolov3_model)
 
 DEFINE_DETECTION_MODEL_WRAPPER_STRUCT (PaddleYOLOX, paddleyolox_model)
 
 DEFINE_DETECTION_MODEL_WRAPPER_STRUCT (FasterRCNN, fasterrcnn_model)
 
 DEFINE_DETECTION_MODEL_WRAPPER_STRUCT (MaskRCNN, maskrcnn_model)
 
 DEFINE_DETECTION_MODEL_WRAPPER_STRUCT (SSD, ssd_model)
 
 DEFINE_DETECTION_MODEL_WRAPPER_STRUCT (PaddleYOLOv5, paddleyolov5_model)
 
 DEFINE_DETECTION_MODEL_WRAPPER_STRUCT (PaddleYOLOv6, paddleyolov6_model)
 
 DEFINE_DETECTION_MODEL_WRAPPER_STRUCT (PaddleYOLOv7, paddleyolov7_model)
 
 DEFINE_DETECTION_MODEL_WRAPPER_STRUCT (PaddleYOLOv8, paddleyolov8_model)
 
 DEFINE_DETECTION_MODEL_WRAPPER_STRUCT (RTMDet, rtmdet_model)
 
 DEFINE_DETECTION_MODEL_WRAPPER_STRUCT (CascadeRCNN, cascadercnn_model)
 
 DEFINE_DETECTION_MODEL_WRAPPER_STRUCT (PSSDet, pssdet_model)
 
 DEFINE_DETECTION_MODEL_WRAPPER_STRUCT (RetinaNet, retinanet_model)
 
 DEFINE_DETECTION_MODEL_WRAPPER_STRUCT (FCOS, fcos_model)
 
 DEFINE_DETECTION_MODEL_WRAPPER_STRUCT (TTFNet, ttfnet_model)
 
 DEFINE_DETECTION_MODEL_WRAPPER_STRUCT (TOOD, tood_model)
 
 DEFINE_DETECTION_MODEL_WRAPPER_STRUCT (GFL, gfl_model)
 
 DEFINE_DETECTION_MODEL_WRAPPER_STRUCT (YOLOv5, yolov5_model)
 
 DEFINE_DETECTION_MODEL_WRAPPER_STRUCT (YOLOv7, yolov7_model)
 
 DEFINE_DETECTION_MODEL_WRAPPER_STRUCT (YOLOv8, yolov8_model)
 
 DEFINE_DETECTION_MODEL_WRAPPER_STRUCT (YOLOv6, yolov6_model)
 
 DEFINE_DETECTION_MODEL_WRAPPER_STRUCT (YOLOR, yolor_model)
 
 DEFINE_DETECTION_MODEL_WRAPPER_STRUCT (YOLOX, yolox_model)
 
 DEFINE_OCR_MODEL_WRAPPER_STRUCT (Recognizer, recognizer_model)
 
 DEFINE_OCR_MODEL_WRAPPER_STRUCT (DBDetector, dbdetector_model)
 
 DEFINE_OCR_MODEL_WRAPPER_STRUCT (Classifier, classifier_model)
 
 DEFINE_PIPELINE_MODEL_WRAPPER_STRUCT (PPOCRv2, ppocrv2_model)
 
 DEFINE_PIPELINE_MODEL_WRAPPER_STRUCT (PPOCRv3, ppocrv3_model)
 
 DEFINE_SEGMENTATION_MODEL_WRAPPER_STRUCT (PaddleSegModel, segmentation_model)
 
 fastdeploy::DECLARE_RESULT_FUNC_FOR_GET_PTR_FROM_WRAPPER (ClassifyResult, fd_classify_result_wrapper)
 
 fastdeploy::DECLARE_RESULT_FUNC_FOR_GET_PTR_FROM_WRAPPER (DetectionResult, fd_detection_result_wrapper)
 
 fastdeploy::DECLARE_RESULT_FUNC_FOR_GET_PTR_FROM_WRAPPER (OCRResult, fd_ocr_result_wrapper)
 
 fastdeploy::DECLARE_RESULT_FUNC_FOR_GET_PTR_FROM_WRAPPER (SegmentationResult, fd_segmentation_result_wrapper)
 
 fastdeploy::DECLARE_CLASSIFICATION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (PaddleClasModel, fd_paddleclas_model_wrapper)
 
 fastdeploy::DECLARE_DETECTION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (PPYOLOE, fd_ppyoloe_wrapper)
 
 fastdeploy::DECLARE_DETECTION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (PicoDet, fd_picodet_wrapper)
 
 fastdeploy::DECLARE_DETECTION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (PPYOLO, fd_ppyolo_wrapper)
 
 fastdeploy::DECLARE_DETECTION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (YOLOv3, fd_yolov3_wrapper)
 
 fastdeploy::DECLARE_DETECTION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (PaddleYOLOX, fd_paddleyolox_wrapper)
 
 fastdeploy::DECLARE_DETECTION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (FasterRCNN, fd_fasterrcnn_wrapper)
 
 fastdeploy::DECLARE_DETECTION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (MaskRCNN, fd_maskrcnn_wrapper)
 
 fastdeploy::DECLARE_DETECTION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (SSD, fd_ssd_wrapper)
 
 fastdeploy::DECLARE_DETECTION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (PaddleYOLOv5, fd_paddleyolov5_wrapper)
 
 fastdeploy::DECLARE_DETECTION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (PaddleYOLOv6, fd_paddleyolov6_wrapper)
 
 fastdeploy::DECLARE_DETECTION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (PaddleYOLOv7, fd_paddleyolov7_wrapper)
 
 fastdeploy::DECLARE_DETECTION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (PaddleYOLOv8, fd_paddleyolov8_wrapper)
 
 fastdeploy::DECLARE_DETECTION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (RTMDet, fd_rtmdet_wrapper)
 
 fastdeploy::DECLARE_DETECTION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (CascadeRCNN, fd_cascadercnn_wrapper)
 
 fastdeploy::DECLARE_DETECTION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (PSSDet, fd_pssdet_wrapper)
 
 fastdeploy::DECLARE_DETECTION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (RetinaNet, fd_retinanet_wrapper)
 
 fastdeploy::DECLARE_DETECTION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (FCOS, fd_fcos_wrapper)
 
 fastdeploy::DECLARE_DETECTION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (TTFNet, fd_ttfnet_wrapper)
 
 fastdeploy::DECLARE_DETECTION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (TOOD, fd_tood_wrapper)
 
 fastdeploy::DECLARE_DETECTION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (GFL, fd_gfl_wrapper)
 
 fastdeploy::DECLARE_DETECTION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (YOLOv5, fd_yolov5_wrapper)
 
 fastdeploy::DECLARE_DETECTION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (YOLOv7, fd_yolov7_wrapper)
 
 fastdeploy::DECLARE_DETECTION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (YOLOv8, fd_yolov8_wrapper)
 
 fastdeploy::DECLARE_DETECTION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (YOLOv6, fd_yolov6_wrapper)
 
 fastdeploy::DECLARE_DETECTION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (YOLOR, fd_yolor_wrapper)
 
 fastdeploy::DECLARE_DETECTION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (YOLOX, fd_yolox_wrapper)
 
 fastdeploy::DECLARE_OCR_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (Recognizer, fd_recognizer_wrapper)
 
 fastdeploy::DECLARE_OCR_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (DBDetector, fd_dbdetector_wrapper)
 
 fastdeploy::DECLARE_OCR_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (Classifier, fd_classifier_wrapper)
 
 fastdeploy::DECLARE_PIPELINE_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (PPOCRv2, fd_ppocrv2_wrapper)
 
 fastdeploy::DECLARE_PIPELINE_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (PPOCRv3, fd_ppocrv3_wrapper)
 
 fastdeploy::DECLARE_SEGMENTATION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (PaddleSegModel, fd_paddleseg_model_wrapper)
 

Macro Definition Documentation

◆ DECL_AND_IMPLEMENT_CLASSIFICATION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER

#define DECL_AND_IMPLEMENT_CLASSIFICATION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (   typename,
  var_wrapper_name,
  var_ptr_name 
)
Value:
std::unique_ptr<fastdeploy::vision::classification::typename>& \
FD_C_CheckAndConvert##typename##Wrapper( \
FD_C_##typename##Wrapper* var_wrapper_name) { \
FDASSERT(var_wrapper_name != nullptr, \
"The pointer of " #var_wrapper_name " shouldn't be nullptr."); \
return var_wrapper_name->var_ptr_name; \
}

◆ DECL_AND_IMPLEMENT_DETECTION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER

#define DECL_AND_IMPLEMENT_DETECTION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (   typename,
  var_wrapper_name,
  var_ptr_name 
)
Value:
std::unique_ptr<fastdeploy::vision::detection::typename>& \
FD_C_CheckAndConvert##typename##Wrapper( \
FD_C_##typename##Wrapper* var_wrapper_name) { \
FDASSERT(var_wrapper_name != nullptr, \
"The pointer of " #var_wrapper_name " shouldn't be nullptr."); \
return var_wrapper_name->var_ptr_name; \
}

◆ DECL_AND_IMPLEMENT_OCR_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER

#define DECL_AND_IMPLEMENT_OCR_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (   typename,
  var_wrapper_name,
  var_ptr_name 
)
Value:
std::unique_ptr<fastdeploy::vision::ocr::typename>& \
FD_C_CheckAndConvert##typename##Wrapper( \
FD_C_##typename##Wrapper* var_wrapper_name) { \
FDASSERT(var_wrapper_name != nullptr, \
"The pointer of " #var_wrapper_name " shouldn't be nullptr."); \
return var_wrapper_name->var_ptr_name; \
}

◆ DECL_AND_IMPLEMENT_PIPELINE_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER

#define DECL_AND_IMPLEMENT_PIPELINE_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (   typename,
  var_wrapper_name,
  var_ptr_name 
)
Value:
std::unique_ptr<fastdeploy::pipeline::typename>& \
FD_C_CheckAndConvert##typename##Wrapper( \
FD_C_##typename##Wrapper* var_wrapper_name) { \
FDASSERT(var_wrapper_name != nullptr, \
"The pointer of " #var_wrapper_name " shouldn't be nullptr."); \
return var_wrapper_name->var_ptr_name; \
}

◆ DECL_AND_IMPLEMENT_RESULT_FUNC_FOR_GET_PTR_FROM_WRAPPER

#define DECL_AND_IMPLEMENT_RESULT_FUNC_FOR_GET_PTR_FROM_WRAPPER (   typename,
  var_wrapper_name,
  var_ptr_name 
)
Value:
std::unique_ptr<fastdeploy::vision::typename>& \
FD_C_CheckAndConvert##typename##Wrapper( \
FD_C_##typename##Wrapper* var_wrapper_name) { \
FDASSERT(var_wrapper_name != nullptr, \
"The pointer of " #var_wrapper_name " shouldn't be nullptr."); \
return var_wrapper_name->var_ptr_name; \
}

◆ DECL_AND_IMPLEMENT_SEGMENTATION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER

#define DECL_AND_IMPLEMENT_SEGMENTATION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (   typename,
  var_wrapper_name,
  var_ptr_name 
)
Value:
std::unique_ptr<fastdeploy::vision::segmentation::typename>& \
FD_C_CheckAndConvert##typename##Wrapper( \
FD_C_##typename##Wrapper* var_wrapper_name) { \
FDASSERT(var_wrapper_name != nullptr, \
"The pointer of " #var_wrapper_name " shouldn't be nullptr."); \
return var_wrapper_name->var_ptr_name; \
}

◆ DECLARE_CLASSIFICATION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER

#define DECLARE_CLASSIFICATION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (   typename,
  varname 
)
Value:
std::unique_ptr<fastdeploy::vision::classification::typename>& \
FD_C_CheckAndConvert##typename##Wrapper( \
FD_C_##typename##Wrapper* varname)

◆ DECLARE_DETECTION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER

#define DECLARE_DETECTION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (   typename,
  varname 
)
Value:
std::unique_ptr<fastdeploy::vision::detection::typename>& \
FD_C_CheckAndConvert##typename##Wrapper( \
FD_C_##typename##Wrapper* varname)

◆ DECLARE_OCR_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER

#define DECLARE_OCR_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (   typename,
  varname 
)
Value:
std::unique_ptr<fastdeploy::vision::ocr::typename>& \
FD_C_CheckAndConvert##typename##Wrapper( \
FD_C_##typename##Wrapper* varname)

◆ DECLARE_PIPELINE_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER

#define DECLARE_PIPELINE_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (   typename,
  varname 
)
Value:
std::unique_ptr<fastdeploy::pipeline::typename>& \
FD_C_CheckAndConvert##typename##Wrapper( \
FD_C_##typename##Wrapper* varname)

◆ DECLARE_RESULT_FUNC_FOR_GET_PTR_FROM_WRAPPER

#define DECLARE_RESULT_FUNC_FOR_GET_PTR_FROM_WRAPPER (   typename,
  varname 
)
Value:
std::unique_ptr<fastdeploy::vision::typename>& \
FD_C_CheckAndConvert##typename##Wrapper( \
FD_C_##typename##Wrapper* varname)

◆ DECLARE_SEGMENTATION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER

#define DECLARE_SEGMENTATION_MODEL_FUNC_FOR_GET_PTR_FROM_WRAPPER (   typename,
  varname 
)
Value:
std::unique_ptr<fastdeploy::vision::segmentation::typename>& \
FD_C_CheckAndConvert##typename##Wrapper( \
FD_C_##typename##Wrapper* varname)

◆ DEFINE_CLASSIFICATION_MODEL_WRAPPER_STRUCT

#define DEFINE_CLASSIFICATION_MODEL_WRAPPER_STRUCT (   typename,
  varname 
)
Value:
typedef struct FD_C_##typename##Wrapper { \
std::unique_ptr<fastdeploy::vision::classification::typename> \
varname; \
} FD_C_##typename##Wrapper

◆ DEFINE_DETECTION_MODEL_WRAPPER_STRUCT

#define DEFINE_DETECTION_MODEL_WRAPPER_STRUCT (   typename,
  varname 
)
Value:
typedef struct FD_C_##typename##Wrapper { \
std::unique_ptr<fastdeploy::vision::detection::typename> varname; \
} FD_C_##typename##Wrapper

◆ DEFINE_OCR_MODEL_WRAPPER_STRUCT

#define DEFINE_OCR_MODEL_WRAPPER_STRUCT (   typename,
  varname 
)
Value:
typedef struct FD_C_##typename##Wrapper { \
std::unique_ptr<fastdeploy::vision::ocr::typename> varname; \
} FD_C_##typename##Wrapper

◆ DEFINE_PIPELINE_MODEL_WRAPPER_STRUCT

#define DEFINE_PIPELINE_MODEL_WRAPPER_STRUCT (   typename,
  varname 
)
Value:
typedef struct FD_C_##typename##Wrapper { \
std::unique_ptr<fastdeploy::pipeline::typename> varname; \
} FD_C_##typename##Wrapper

◆ DEFINE_RESULT_WRAPPER_STRUCT

#define DEFINE_RESULT_WRAPPER_STRUCT (   typename,
  varname 
)
Value:
typedef struct FD_C_##typename##Wrapper { \
std::unique_ptr<fastdeploy::vision::typename> varname; \
} FD_C_##typename##Wrapper

◆ DEFINE_SEGMENTATION_MODEL_WRAPPER_STRUCT

#define DEFINE_SEGMENTATION_MODEL_WRAPPER_STRUCT (   typename,
  varname 
)
Value:
typedef struct FD_C_##typename##Wrapper { \
std::unique_ptr<fastdeploy::vision::segmentation::typename> varname; \
} FD_C_##typename##Wrapper

Function Documentation

◆ DEFINE_CLASSIFICATION_MODEL_WRAPPER_STRUCT()

DEFINE_CLASSIFICATION_MODEL_WRAPPER_STRUCT ( PaddleClasModel  ,
paddleclas_model   
)

◆ DEFINE_DETECTION_MODEL_WRAPPER_STRUCT() [1/26]

DEFINE_DETECTION_MODEL_WRAPPER_STRUCT ( PPYOLOE  ,
ppyoloe_model   
)

◆ DEFINE_DETECTION_MODEL_WRAPPER_STRUCT() [2/26]

DEFINE_DETECTION_MODEL_WRAPPER_STRUCT ( PicoDet  ,
picodet_model   
)

◆ DEFINE_DETECTION_MODEL_WRAPPER_STRUCT() [3/26]

DEFINE_DETECTION_MODEL_WRAPPER_STRUCT ( PPYOLO  ,
ppyolo_model   
)

◆ DEFINE_DETECTION_MODEL_WRAPPER_STRUCT() [4/26]

DEFINE_DETECTION_MODEL_WRAPPER_STRUCT ( YOLOv3  ,
yolov3_model   
)

◆ DEFINE_DETECTION_MODEL_WRAPPER_STRUCT() [5/26]

DEFINE_DETECTION_MODEL_WRAPPER_STRUCT ( PaddleYOLOX  ,
paddleyolox_model   
)

◆ DEFINE_DETECTION_MODEL_WRAPPER_STRUCT() [6/26]

DEFINE_DETECTION_MODEL_WRAPPER_STRUCT ( FasterRCNN  ,
fasterrcnn_model   
)

◆ DEFINE_DETECTION_MODEL_WRAPPER_STRUCT() [7/26]

DEFINE_DETECTION_MODEL_WRAPPER_STRUCT ( MaskRCNN  ,
maskrcnn_model   
)

◆ DEFINE_DETECTION_MODEL_WRAPPER_STRUCT() [8/26]

DEFINE_DETECTION_MODEL_WRAPPER_STRUCT ( SSD  ,
ssd_model   
)

◆ DEFINE_DETECTION_MODEL_WRAPPER_STRUCT() [9/26]

DEFINE_DETECTION_MODEL_WRAPPER_STRUCT ( PaddleYOLOv5  ,
paddleyolov5_model   
)

◆ DEFINE_DETECTION_MODEL_WRAPPER_STRUCT() [10/26]

DEFINE_DETECTION_MODEL_WRAPPER_STRUCT ( PaddleYOLOv6  ,
paddleyolov6_model   
)

◆ DEFINE_DETECTION_MODEL_WRAPPER_STRUCT() [11/26]

DEFINE_DETECTION_MODEL_WRAPPER_STRUCT ( PaddleYOLOv7  ,
paddleyolov7_model   
)

◆ DEFINE_DETECTION_MODEL_WRAPPER_STRUCT() [12/26]

DEFINE_DETECTION_MODEL_WRAPPER_STRUCT ( PaddleYOLOv8  ,
paddleyolov8_model   
)

◆ DEFINE_DETECTION_MODEL_WRAPPER_STRUCT() [13/26]

DEFINE_DETECTION_MODEL_WRAPPER_STRUCT ( RTMDet  ,
rtmdet_model   
)

◆ DEFINE_DETECTION_MODEL_WRAPPER_STRUCT() [14/26]

DEFINE_DETECTION_MODEL_WRAPPER_STRUCT ( CascadeRCNN  ,
cascadercnn_model   
)

◆ DEFINE_DETECTION_MODEL_WRAPPER_STRUCT() [15/26]

DEFINE_DETECTION_MODEL_WRAPPER_STRUCT ( PSSDet  ,
pssdet_model   
)

◆ DEFINE_DETECTION_MODEL_WRAPPER_STRUCT() [16/26]

DEFINE_DETECTION_MODEL_WRAPPER_STRUCT ( RetinaNet  ,
retinanet_model   
)

◆ DEFINE_DETECTION_MODEL_WRAPPER_STRUCT() [17/26]

DEFINE_DETECTION_MODEL_WRAPPER_STRUCT ( FCOS  ,
fcos_model   
)

◆ DEFINE_DETECTION_MODEL_WRAPPER_STRUCT() [18/26]

DEFINE_DETECTION_MODEL_WRAPPER_STRUCT ( TTFNet  ,
ttfnet_model   
)

◆ DEFINE_DETECTION_MODEL_WRAPPER_STRUCT() [19/26]

DEFINE_DETECTION_MODEL_WRAPPER_STRUCT ( TOOD  ,
tood_model   
)

◆ DEFINE_DETECTION_MODEL_WRAPPER_STRUCT() [20/26]

DEFINE_DETECTION_MODEL_WRAPPER_STRUCT ( GFL  ,
gfl_model   
)

◆ DEFINE_DETECTION_MODEL_WRAPPER_STRUCT() [21/26]

DEFINE_DETECTION_MODEL_WRAPPER_STRUCT ( YOLOv5  ,
yolov5_model   
)

◆ DEFINE_DETECTION_MODEL_WRAPPER_STRUCT() [22/26]

DEFINE_DETECTION_MODEL_WRAPPER_STRUCT ( YOLOv7  ,
yolov7_model   
)

◆ DEFINE_DETECTION_MODEL_WRAPPER_STRUCT() [23/26]

DEFINE_DETECTION_MODEL_WRAPPER_STRUCT ( YOLOv8  ,
yolov8_model   
)

◆ DEFINE_DETECTION_MODEL_WRAPPER_STRUCT() [24/26]

DEFINE_DETECTION_MODEL_WRAPPER_STRUCT ( YOLOv6  ,
yolov6_model   
)

◆ DEFINE_DETECTION_MODEL_WRAPPER_STRUCT() [25/26]

DEFINE_DETECTION_MODEL_WRAPPER_STRUCT ( YOLOR  ,
yolor_model   
)

◆ DEFINE_DETECTION_MODEL_WRAPPER_STRUCT() [26/26]

DEFINE_DETECTION_MODEL_WRAPPER_STRUCT ( YOLOX  ,
yolox_model   
)

◆ DEFINE_OCR_MODEL_WRAPPER_STRUCT() [1/3]

DEFINE_OCR_MODEL_WRAPPER_STRUCT ( Recognizer  ,
recognizer_model   
)

◆ DEFINE_OCR_MODEL_WRAPPER_STRUCT() [2/3]

DEFINE_OCR_MODEL_WRAPPER_STRUCT ( DBDetector  ,
dbdetector_model   
)

◆ DEFINE_OCR_MODEL_WRAPPER_STRUCT() [3/3]

DEFINE_OCR_MODEL_WRAPPER_STRUCT ( Classifier  ,
classifier_model   
)

◆ DEFINE_PIPELINE_MODEL_WRAPPER_STRUCT() [1/2]

DEFINE_PIPELINE_MODEL_WRAPPER_STRUCT ( PPOCRv2  ,
ppocrv2_model   
)

◆ DEFINE_PIPELINE_MODEL_WRAPPER_STRUCT() [2/2]

DEFINE_PIPELINE_MODEL_WRAPPER_STRUCT ( PPOCRv3  ,
ppocrv3_model   
)

◆ DEFINE_RESULT_WRAPPER_STRUCT() [1/4]

DEFINE_RESULT_WRAPPER_STRUCT ( ClassifyResult  ,
classify_result   
)

◆ DEFINE_RESULT_WRAPPER_STRUCT() [2/4]

DEFINE_RESULT_WRAPPER_STRUCT ( DetectionResult  ,
detection_result   
)

◆ DEFINE_RESULT_WRAPPER_STRUCT() [3/4]

DEFINE_RESULT_WRAPPER_STRUCT ( OCRResult  ,
ocr_result   
)

◆ DEFINE_RESULT_WRAPPER_STRUCT() [4/4]

DEFINE_RESULT_WRAPPER_STRUCT ( SegmentationResult  ,
segmentation_result   
)

◆ DEFINE_SEGMENTATION_MODEL_WRAPPER_STRUCT()

DEFINE_SEGMENTATION_MODEL_WRAPPER_STRUCT ( PaddleSegModel  ,
segmentation_model   
)