FastDeploy  latest
Fast & Easy to Deploy!
Typedefs | Functions
model.h File Reference
#include "fastdeploy_capi/core/fd_common.h"
#include "fastdeploy_capi/core/fd_type.h"
#include "fastdeploy_capi/runtime/runtime_option.h"
#include "fastdeploy_capi/vision/result.h"
#include "fastdeploy_capi/vision/detection/ppdet/base_define.h"
Include dependency graph for model.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct FD_C_RuntimeOptionWrapper FD_C_RuntimeOptionWrapper
 
typedef struct FD_C_PPYOLOEWrapper FD_C_PPYOLOEWrapper
 
typedef struct FD_C_PicoDetWrapper FD_C_PicoDetWrapper
 
typedef struct FD_C_PPYOLOWrapper FD_C_PPYOLOWrapper
 
typedef struct FD_C_YOLOv3Wrapper FD_C_YOLOv3Wrapper
 
typedef struct FD_C_PaddleYOLOXWrapper FD_C_PaddleYOLOXWrapper
 
typedef struct FD_C_FasterRCNNWrapper FD_C_FasterRCNNWrapper
 
typedef struct FD_C_MaskRCNNWrapper FD_C_MaskRCNNWrapper
 
typedef struct FD_C_SSDWrapper FD_C_SSDWrapper
 
typedef struct FD_C_PaddleYOLOv5Wrapper FD_C_PaddleYOLOv5Wrapper
 
typedef struct FD_C_PaddleYOLOv6Wrapper FD_C_PaddleYOLOv6Wrapper
 
typedef struct FD_C_PaddleYOLOv7Wrapper FD_C_PaddleYOLOv7Wrapper
 
typedef struct FD_C_PaddleYOLOv8Wrapper FD_C_PaddleYOLOv8Wrapper
 
typedef struct FD_C_RTMDetWrapper FD_C_RTMDetWrapper
 
typedef struct FD_C_CascadeRCNNWrapper FD_C_CascadeRCNNWrapper
 
typedef struct FD_C_PSSDetWrapper FD_C_PSSDetWrapper
 
typedef struct FD_C_RetinaNetWrapper FD_C_RetinaNetWrapper
 
typedef struct FD_C_FCOSWrapper FD_C_FCOSWrapper
 
typedef struct FD_C_TTFNetWrapper FD_C_TTFNetWrapper
 
typedef struct FD_C_TOODWrapper FD_C_TOODWrapper
 
typedef struct FD_C_GFLWrapper FD_C_GFLWrapper
 

Functions

FASTDEPLOY_CAPI_EXPORT __fd_give FD_C_PPYOLOEWrapperFD_C_CreatePPYOLOEWrapper (const char *model_file, const char *params_file, const char *config_file, FD_C_RuntimeOptionWrapper *fd_c_runtime_option_wrapper, const FD_C_ModelFormat model_format)
 Create a new FD_C_PPYOLOEWrapper object. More...
 
FASTDEPLOY_CAPI_EXPORT void FD_C_DestroyPPYOLOEWrapper (__fd_take FD_C_PPYOLOEWrapper *fd_c_ppyoloe_wrapper)
 Destroy a FD_C_PPYOLOEWrapper object. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PPYOLOEWrapperPredict (__fd_take FD_C_PPYOLOEWrapper *fd_c_ppyoloe_wrapper, FD_C_Mat img, FD_C_DetectionResult *fd_c_detection_result)
 Predict the detection result for an input image. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PPYOLOEWrapperInitialized (__fd_keep FD_C_PPYOLOEWrapper *fd_c_ppyoloe_wrapper)
 Check if the model is initialized successfully. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PPYOLOEWrapperBatchPredict (__fd_keep FD_C_PPYOLOEWrapper *fd_c_ppyoloe_wrapper, FD_C_OneDimMat imgs, FD_C_OneDimDetectionResult *results)
 Predict the detection results for a batch of input images. More...
 
FASTDEPLOY_CAPI_EXPORT __fd_give FD_C_PicoDetWrapperFD_C_CreatePicoDetWrapper (const char *model_file, const char *params_file, const char *config_file, FD_C_RuntimeOptionWrapper *fd_c_runtime_option_wrapper, const FD_C_ModelFormat model_format)
 Create a new FD_C_PicoDetWrapper object. More...
 
FASTDEPLOY_CAPI_EXPORT void FD_C_DestroyPicoDetWrapper (__fd_take FD_C_PicoDetWrapper *fd_c_picodet_wrapper)
 Destroy a FD_C_PicoDetWrapper object. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PicoDetWrapperPredict (__fd_take FD_C_PicoDetWrapper *fd_c_picodet_wrapper, FD_C_Mat img, FD_C_DetectionResult *fd_c_detection_result)
 Predict the detection result for an input image. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PicoDetWrapperInitialized (__fd_keep FD_C_PicoDetWrapper *fd_c_picodet_wrapper)
 Check if the model is initialized successfully. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PicoDetWrapperBatchPredict (__fd_keep FD_C_PicoDetWrapper *fd_c_picodet_wrapper, FD_C_OneDimMat imgs, FD_C_OneDimDetectionResult *results)
 Predict the detection results for a batch of input images. More...
 
FASTDEPLOY_CAPI_EXPORT __fd_give FD_C_PPYOLOWrapperFD_C_CreatePPYOLOWrapper (const char *model_file, const char *params_file, const char *config_file, FD_C_RuntimeOptionWrapper *fd_c_runtime_option_wrapper, const FD_C_ModelFormat model_format)
 Create a new FD_C_PPYOLOWrapper object. More...
 
FASTDEPLOY_CAPI_EXPORT void FD_C_DestroyPPYOLOWrapper (__fd_take FD_C_PPYOLOWrapper *fd_c_ppyolo_wrapper)
 Destroy a FD_C_PPYOLOWrapper object. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PPYOLOWrapperPredict (__fd_take FD_C_PPYOLOWrapper *fd_c_ppyolo_wrapper, FD_C_Mat img, FD_C_DetectionResult *fd_c_detection_result)
 Predict the detection result for an input image. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PPYOLOWrapperInitialized (__fd_keep FD_C_PPYOLOWrapper *fd_c_ppyolo_wrapper)
 Check if the model is initialized successfully. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PPYOLOWrapperBatchPredict (__fd_keep FD_C_PPYOLOWrapper *fd_c_ppyolo_wrapper, FD_C_OneDimMat imgs, FD_C_OneDimDetectionResult *results)
 Predict the detection results for a batch of input images. More...
 
FASTDEPLOY_CAPI_EXPORT __fd_give FD_C_YOLOv3WrapperFD_C_CreateYOLOv3Wrapper (const char *model_file, const char *params_file, const char *config_file, FD_C_RuntimeOptionWrapper *fd_c_runtime_option_wrapper, const FD_C_ModelFormat model_format)
 Create a new FD_C_YOLOv3Wrapper object. More...
 
FASTDEPLOY_CAPI_EXPORT void FD_C_DestroyYOLOv3Wrapper (__fd_take FD_C_YOLOv3Wrapper *fd_c_yolov3_wrapper)
 Destroy a FD_C_YOLOv3Wrapper object. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_YOLOv3WrapperPredict (__fd_take FD_C_YOLOv3Wrapper *fd_c_yolov3_wrapper, FD_C_Mat img, FD_C_DetectionResult *fd_c_detection_result)
 Predict the detection result for an input image. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_YOLOv3WrapperInitialized (__fd_keep FD_C_YOLOv3Wrapper *fd_c_yolov3_wrapper)
 Check if the model is initialized successfully. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_YOLOv3WrapperBatchPredict (__fd_keep FD_C_YOLOv3Wrapper *fd_c_yolov3_wrapper, FD_C_OneDimMat imgs, FD_C_OneDimDetectionResult *results)
 Predict the detection results for a batch of input images. More...
 
FASTDEPLOY_CAPI_EXPORT __fd_give FD_C_PaddleYOLOXWrapperFD_C_CreatePaddleYOLOXWrapper (const char *model_file, const char *params_file, const char *config_file, FD_C_RuntimeOptionWrapper *fd_c_runtime_option_wrapper, const FD_C_ModelFormat model_format)
 Create a new FD_C_PaddleYOLOXWrapper object. More...
 
FASTDEPLOY_CAPI_EXPORT void FD_C_DestroyPaddleYOLOXWrapper (__fd_take FD_C_PaddleYOLOXWrapper *fd_c_paddleyolox_wrapper)
 Destroy a FD_C_PaddleYOLOXWrapper object. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PaddleYOLOXWrapperPredict (__fd_take FD_C_PaddleYOLOXWrapper *fd_c_paddleyolox_wrapper, FD_C_Mat img, FD_C_DetectionResult *fd_c_detection_result)
 Predict the detection result for an input image. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PaddleYOLOXWrapperInitialized (__fd_keep FD_C_PaddleYOLOXWrapper *fd_c_paddleyolox_wrapper)
 Check if the model is initialized successfully. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PaddleYOLOXWrapperBatchPredict (__fd_keep FD_C_PaddleYOLOXWrapper *fd_c_paddleyolox_wrapper, FD_C_OneDimMat imgs, FD_C_OneDimDetectionResult *results)
 Predict the detection results for a batch of input images. More...
 
FASTDEPLOY_CAPI_EXPORT __fd_give FD_C_FasterRCNNWrapperFD_C_CreateFasterRCNNWrapper (const char *model_file, const char *params_file, const char *config_file, FD_C_RuntimeOptionWrapper *fd_c_runtime_option_wrapper, const FD_C_ModelFormat model_format)
 Create a new FD_C_FasterRCNNWrapper object. More...
 
FASTDEPLOY_CAPI_EXPORT void FD_C_DestroyFasterRCNNWrapper (__fd_take FD_C_FasterRCNNWrapper *fd_c_fasterrcnn_wrapper)
 Destroy a FD_C_FasterRCNNWrapper object. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_FasterRCNNWrapperPredict (__fd_take FD_C_FasterRCNNWrapper *fd_c_fasterrcnn_wrapper, FD_C_Mat img, FD_C_DetectionResult *fd_c_detection_result)
 Predict the detection result for an input image. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_FasterRCNNWrapperInitialized (__fd_keep FD_C_FasterRCNNWrapper *fd_c_fasterrcnn_wrapper)
 Check if the model is initialized successfully. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_FasterRCNNWrapperBatchPredict (__fd_keep FD_C_FasterRCNNWrapper *fd_c_fasterrcnn_wrapper, FD_C_OneDimMat imgs, FD_C_OneDimDetectionResult *results)
 Predict the detection results for a batch of input images. More...
 
FASTDEPLOY_CAPI_EXPORT __fd_give FD_C_MaskRCNNWrapperFD_C_CreateMaskRCNNWrapper (const char *model_file, const char *params_file, const char *config_file, FD_C_RuntimeOptionWrapper *fd_c_runtime_option_wrapper, const FD_C_ModelFormat model_format)
 Create a new FD_C_MaskRCNNWrapper object. More...
 
FASTDEPLOY_CAPI_EXPORT void FD_C_DestroyMaskRCNNWrapper (__fd_take FD_C_MaskRCNNWrapper *fd_c_maskrcnn_wrapper)
 Destroy a FD_C_MaskRCNNWrapper object. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_MaskRCNNWrapperPredict (__fd_take FD_C_MaskRCNNWrapper *fd_c_maskrcnn_wrapper, FD_C_Mat img, FD_C_DetectionResult *fd_c_detection_result)
 Predict the detection result for an input image. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_MaskRCNNWrapperInitialized (__fd_keep FD_C_MaskRCNNWrapper *fd_c_maskrcnn_wrapper)
 Check if the model is initialized successfully. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_MaskRCNNWrapperBatchPredict (__fd_keep FD_C_MaskRCNNWrapper *fd_c_maskrcnn_wrapper, FD_C_OneDimMat imgs, FD_C_OneDimDetectionResult *results)
 Predict the detection results for a batch of input images. More...
 
FASTDEPLOY_CAPI_EXPORT __fd_give FD_C_SSDWrapperFD_C_CreateSSDWrapper (const char *model_file, const char *params_file, const char *config_file, FD_C_RuntimeOptionWrapper *fd_c_runtime_option_wrapper, const FD_C_ModelFormat model_format)
 Create a new FD_C_SSDWrapper object. More...
 
FASTDEPLOY_CAPI_EXPORT void FD_C_DestroySSDWrapper (__fd_take FD_C_SSDWrapper *fd_c_ssd_wrapper)
 Destroy a FD_C_SSDWrapper object. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_SSDWrapperPredict (__fd_take FD_C_SSDWrapper *fd_c_ssd_wrapper, FD_C_Mat img, FD_C_DetectionResult *fd_c_detection_result)
 Predict the detection result for an input image. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_SSDWrapperInitialized (__fd_keep FD_C_SSDWrapper *fd_c_ssd_wrapper)
 Check if the model is initialized successfully. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_SSDWrapperBatchPredict (__fd_keep FD_C_SSDWrapper *fd_c_ssd_wrapper, FD_C_OneDimMat imgs, FD_C_OneDimDetectionResult *results)
 Predict the detection results for a batch of input images. More...
 
FASTDEPLOY_CAPI_EXPORT __fd_give FD_C_PaddleYOLOv5WrapperFD_C_CreatePaddleYOLOv5Wrapper (const char *model_file, const char *params_file, const char *config_file, FD_C_RuntimeOptionWrapper *fd_c_runtime_option_wrapper, const FD_C_ModelFormat model_format)
 Create a new FD_C_PaddleYOLOv5Wrapper object. More...
 
FASTDEPLOY_CAPI_EXPORT void FD_C_DestroyPaddleYOLOv5Wrapper (__fd_take FD_C_PaddleYOLOv5Wrapper *fd_c_paddleyolov5_wrapper)
 Destroy a FD_C_PaddleYOLOv5Wrapper object. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PaddleYOLOv5WrapperPredict (__fd_take FD_C_PaddleYOLOv5Wrapper *fd_c_paddleyolov5_wrapper, FD_C_Mat img, FD_C_DetectionResult *fd_c_detection_result)
 Predict the detection result for an input image. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PaddleYOLOv5WrapperInitialized (__fd_keep FD_C_PaddleYOLOv5Wrapper *fd_c_paddleyolov5_wrapper)
 Check if the model is initialized successfully. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PaddleYOLOv5WrapperBatchPredict (__fd_keep FD_C_PaddleYOLOv5Wrapper *fd_c_paddleyolov5_wrapper, FD_C_OneDimMat imgs, FD_C_OneDimDetectionResult *results)
 Predict the detection results for a batch of input images. More...
 
FASTDEPLOY_CAPI_EXPORT __fd_give FD_C_PaddleYOLOv6WrapperFD_C_CreatePaddleYOLOv6Wrapper (const char *model_file, const char *params_file, const char *config_file, FD_C_RuntimeOptionWrapper *fd_c_runtime_option_wrapper, const FD_C_ModelFormat model_format)
 Create a new FD_C_PaddleYOLOv6Wrapper object. More...
 
FASTDEPLOY_CAPI_EXPORT void FD_C_DestroyPaddleYOLOv6Wrapper (__fd_take FD_C_PaddleYOLOv6Wrapper *fd_c_paddleyolov6_wrapper)
 Destroy a FD_C_PaddleYOLOv6Wrapper object. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PaddleYOLOv6WrapperPredict (__fd_take FD_C_PaddleYOLOv6Wrapper *fd_c_paddleyolov6_wrapper, FD_C_Mat img, FD_C_DetectionResult *fd_c_detection_result)
 Predict the detection result for an input image. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PaddleYOLOv6WrapperInitialized (__fd_keep FD_C_PaddleYOLOv6Wrapper *fd_c_paddleyolov6_wrapper)
 Check if the model is initialized successfully. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PaddleYOLOv6WrapperBatchPredict (__fd_keep FD_C_PaddleYOLOv6Wrapper *fd_c_paddleyolov6_wrapper, FD_C_OneDimMat imgs, FD_C_OneDimDetectionResult *results)
 Predict the detection results for a batch of input images. More...
 
FASTDEPLOY_CAPI_EXPORT __fd_give FD_C_PaddleYOLOv7WrapperFD_C_CreatePaddleYOLOv7Wrapper (const char *model_file, const char *params_file, const char *config_file, FD_C_RuntimeOptionWrapper *fd_c_runtime_option_wrapper, const FD_C_ModelFormat model_format)
 Create a new FD_C_PaddleYOLOv7Wrapper object. More...
 
FASTDEPLOY_CAPI_EXPORT void FD_C_DestroyPaddleYOLOv7Wrapper (__fd_take FD_C_PaddleYOLOv7Wrapper *fd_c_paddleyolov7_wrapper)
 Destroy a FD_C_PaddleYOLOv7Wrapper object. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PaddleYOLOv7WrapperPredict (__fd_take FD_C_PaddleYOLOv7Wrapper *fd_c_paddleyolov7_wrapper, FD_C_Mat img, FD_C_DetectionResult *fd_c_detection_result)
 Predict the detection result for an input image. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PaddleYOLOv7WrapperInitialized (__fd_keep FD_C_PaddleYOLOv7Wrapper *fd_c_paddleyolov7_wrapper)
 Check if the model is initialized successfully. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PaddleYOLOv7WrapperBatchPredict (__fd_keep FD_C_PaddleYOLOv7Wrapper *fd_c_paddleyolov7_wrapper, FD_C_OneDimMat imgs, FD_C_OneDimDetectionResult *results)
 Predict the detection results for a batch of input images. More...
 
FASTDEPLOY_CAPI_EXPORT __fd_give FD_C_PaddleYOLOv8WrapperFD_C_CreatePaddleYOLOv8Wrapper (const char *model_file, const char *params_file, const char *config_file, FD_C_RuntimeOptionWrapper *fd_c_runtime_option_wrapper, const FD_C_ModelFormat model_format)
 Create a new FD_C_PaddleYOLOv8Wrapper object. More...
 
FASTDEPLOY_CAPI_EXPORT void FD_C_DestroyPaddleYOLOv8Wrapper (__fd_take FD_C_PaddleYOLOv8Wrapper *fd_c_paddleyolov8_wrapper)
 Destroy a FD_C_PaddleYOLOv8Wrapper object. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PaddleYOLOv8WrapperPredict (__fd_take FD_C_PaddleYOLOv8Wrapper *fd_c_paddleyolov8_wrapper, FD_C_Mat img, FD_C_DetectionResult *fd_c_detection_result)
 Predict the detection result for an input image. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PaddleYOLOv8WrapperInitialized (__fd_keep FD_C_PaddleYOLOv8Wrapper *fd_c_paddleyolov8_wrapper)
 Check if the model is initialized successfully. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PaddleYOLOv8WrapperBatchPredict (__fd_keep FD_C_PaddleYOLOv8Wrapper *fd_c_paddleyolov8_wrapper, FD_C_OneDimMat imgs, FD_C_OneDimDetectionResult *results)
 Predict the detection results for a batch of input images. More...
 
FASTDEPLOY_CAPI_EXPORT __fd_give FD_C_RTMDetWrapperFD_C_CreateRTMDetWrapper (const char *model_file, const char *params_file, const char *config_file, FD_C_RuntimeOptionWrapper *fd_c_runtime_option_wrapper, const FD_C_ModelFormat model_format)
 Create a new FD_C_RTMDetWrapper object. More...
 
FASTDEPLOY_CAPI_EXPORT void FD_C_DestroyRTMDetWrapper (__fd_take FD_C_RTMDetWrapper *fd_c_rtmdet_wrapper)
 Destroy a FD_C_RTMDetWrapper object. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_RTMDetWrapperPredict (__fd_take FD_C_RTMDetWrapper *fd_c_rtmdet_wrapper, FD_C_Mat img, FD_C_DetectionResult *fd_c_detection_result)
 Predict the detection result for an input image. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_RTMDetWrapperInitialized (__fd_keep FD_C_RTMDetWrapper *fd_c_rtmdet_wrapper)
 Check if the model is initialized successfully. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_RTMDetWrapperBatchPredict (__fd_keep FD_C_RTMDetWrapper *fd_c_rtmdet_wrapper, FD_C_OneDimMat imgs, FD_C_OneDimDetectionResult *results)
 Predict the detection results for a batch of input images. More...
 
FASTDEPLOY_CAPI_EXPORT __fd_give FD_C_CascadeRCNNWrapperFD_C_CreateCascadeRCNNWrapper (const char *model_file, const char *params_file, const char *config_file, FD_C_RuntimeOptionWrapper *fd_c_runtime_option_wrapper, const FD_C_ModelFormat model_format)
 Create a new FD_C_CascadeRCNNWrapper object. More...
 
FASTDEPLOY_CAPI_EXPORT void FD_C_DestroyCascadeRCNNWrapper (__fd_take FD_C_CascadeRCNNWrapper *fd_c_cascadercnn_wrapper)
 Destroy a FD_C_CascadeRCNNWrapper object. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_CascadeRCNNWrapperPredict (__fd_take FD_C_CascadeRCNNWrapper *fd_c_cascadercnn_wrapper, FD_C_Mat img, FD_C_DetectionResult *fd_c_detection_result)
 Predict the detection result for an input image. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_CascadeRCNNWrapperInitialized (__fd_keep FD_C_CascadeRCNNWrapper *fd_c_cascadercnn_wrapper)
 Check if the model is initialized successfully. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_CascadeRCNNWrapperBatchPredict (__fd_keep FD_C_CascadeRCNNWrapper *fd_c_cascadercnn_wrapper, FD_C_OneDimMat imgs, FD_C_OneDimDetectionResult *results)
 Predict the detection results for a batch of input images. More...
 
FASTDEPLOY_CAPI_EXPORT __fd_give FD_C_PSSDetWrapperFD_C_CreatePSSDetWrapper (const char *model_file, const char *params_file, const char *config_file, FD_C_RuntimeOptionWrapper *fd_c_runtime_option_wrapper, const FD_C_ModelFormat model_format)
 Create a new FD_C_PSSDetWrapper object. More...
 
FASTDEPLOY_CAPI_EXPORT void FD_C_DestroyPSSDetWrapper (__fd_take FD_C_PSSDetWrapper *fd_c_pssdet_wrapper)
 Destroy a FD_C_PSSDetWrapper object. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PSSDetWrapperPredict (__fd_take FD_C_PSSDetWrapper *fd_c_pssdet_wrapper, FD_C_Mat img, FD_C_DetectionResult *fd_c_detection_result)
 Predict the detection result for an input image. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PSSDetWrapperInitialized (__fd_keep FD_C_PSSDetWrapper *fd_c_pssdet_wrapper)
 Check if the model is initialized successfully. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PSSDetWrapperBatchPredict (__fd_keep FD_C_PSSDetWrapper *fd_c_pssdet_wrapper, FD_C_OneDimMat imgs, FD_C_OneDimDetectionResult *results)
 Predict the detection results for a batch of input images. More...
 
FASTDEPLOY_CAPI_EXPORT __fd_give FD_C_RetinaNetWrapperFD_C_CreateRetinaNetWrapper (const char *model_file, const char *params_file, const char *config_file, FD_C_RuntimeOptionWrapper *fd_c_runtime_option_wrapper, const FD_C_ModelFormat model_format)
 Create a new FD_C_RetinaNetWrapper object. More...
 
FASTDEPLOY_CAPI_EXPORT void FD_C_DestroyRetinaNetWrapper (__fd_take FD_C_RetinaNetWrapper *fd_c_retinanet_wrapper)
 Destroy a FD_C_RetinaNetWrapper object. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_RetinaNetWrapperPredict (__fd_take FD_C_RetinaNetWrapper *fd_c_retinanet_wrapper, FD_C_Mat img, FD_C_DetectionResult *fd_c_detection_result)
 Predict the detection result for an input image. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_RetinaNetWrapperInitialized (__fd_keep FD_C_RetinaNetWrapper *fd_c_retinanet_wrapper)
 Check if the model is initialized successfully. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_RetinaNetWrapperBatchPredict (__fd_keep FD_C_RetinaNetWrapper *fd_c_retinanet_wrapper, FD_C_OneDimMat imgs, FD_C_OneDimDetectionResult *results)
 Predict the detection results for a batch of input images. More...
 
FASTDEPLOY_CAPI_EXPORT __fd_give FD_C_FCOSWrapperFD_C_CreateFCOSWrapper (const char *model_file, const char *params_file, const char *config_file, FD_C_RuntimeOptionWrapper *fd_c_runtime_option_wrapper, const FD_C_ModelFormat model_format)
 Create a new FD_C_FCOSWrapper object. More...
 
FASTDEPLOY_CAPI_EXPORT void FD_C_DestroyFCOSWrapper (__fd_take FD_C_FCOSWrapper *fd_c_fcos_wrapper)
 Destroy a FD_C_FCOSWrapper object. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_FCOSWrapperPredict (__fd_take FD_C_FCOSWrapper *fd_c_fcos_wrapper, FD_C_Mat img, FD_C_DetectionResult *fd_c_detection_result)
 Predict the detection result for an input image. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_FCOSWrapperInitialized (__fd_keep FD_C_FCOSWrapper *fd_c_fcos_wrapper)
 Check if the model is initialized successfully. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_FCOSWrapperBatchPredict (__fd_keep FD_C_FCOSWrapper *fd_c_fcos_wrapper, FD_C_OneDimMat imgs, FD_C_OneDimDetectionResult *results)
 Predict the detection results for a batch of input images. More...
 
FASTDEPLOY_CAPI_EXPORT __fd_give FD_C_TTFNetWrapperFD_C_CreateTTFNetWrapper (const char *model_file, const char *params_file, const char *config_file, FD_C_RuntimeOptionWrapper *fd_c_runtime_option_wrapper, const FD_C_ModelFormat model_format)
 Create a new FD_C_TTFNetWrapper object. More...
 
FASTDEPLOY_CAPI_EXPORT void FD_C_DestroyTTFNetWrapper (__fd_take FD_C_TTFNetWrapper *fd_c_ttfnet_wrapper)
 Destroy a FD_C_TTFNetWrapper object. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_TTFNetWrapperPredict (__fd_take FD_C_TTFNetWrapper *fd_c_ttfnet_wrapper, FD_C_Mat img, FD_C_DetectionResult *fd_c_detection_result)
 Predict the detection result for an input image. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_TTFNetWrapperInitialized (__fd_keep FD_C_TTFNetWrapper *fd_c_ttfnet_wrapper)
 Check if the model is initialized successfully. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_TTFNetWrapperBatchPredict (__fd_keep FD_C_TTFNetWrapper *fd_c_ttfnet_wrapper, FD_C_OneDimMat imgs, FD_C_OneDimDetectionResult *results)
 Predict the detection results for a batch of input images. More...
 
FASTDEPLOY_CAPI_EXPORT __fd_give FD_C_TOODWrapperFD_C_CreateTOODWrapper (const char *model_file, const char *params_file, const char *config_file, FD_C_RuntimeOptionWrapper *fd_c_runtime_option_wrapper, const FD_C_ModelFormat model_format)
 Create a new FD_C_TOODWrapper object. More...
 
FASTDEPLOY_CAPI_EXPORT void FD_C_DestroyTOODWrapper (__fd_take FD_C_TOODWrapper *fd_c_tood_wrapper)
 Destroy a FD_C_TOODWrapper object. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_TOODWrapperPredict (__fd_take FD_C_TOODWrapper *fd_c_tood_wrapper, FD_C_Mat img, FD_C_DetectionResult *fd_c_detection_result)
 Predict the detection result for an input image. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_TOODWrapperInitialized (__fd_keep FD_C_TOODWrapper *fd_c_tood_wrapper)
 Check if the model is initialized successfully. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_TOODWrapperBatchPredict (__fd_keep FD_C_TOODWrapper *fd_c_tood_wrapper, FD_C_OneDimMat imgs, FD_C_OneDimDetectionResult *results)
 Predict the detection results for a batch of input images. More...
 
FASTDEPLOY_CAPI_EXPORT __fd_give FD_C_GFLWrapperFD_C_CreateGFLWrapper (const char *model_file, const char *params_file, const char *config_file, FD_C_RuntimeOptionWrapper *fd_c_runtime_option_wrapper, const FD_C_ModelFormat model_format)
 Create a new FD_C_GFLWrapper object. More...
 
FASTDEPLOY_CAPI_EXPORT void FD_C_DestroyGFLWrapper (__fd_take FD_C_GFLWrapper *fd_c_gfl_wrapper)
 Destroy a FD_C_GFLWrapper object. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_GFLWrapperPredict (__fd_take FD_C_GFLWrapper *fd_c_gfl_wrapper, FD_C_Mat img, FD_C_DetectionResult *fd_c_detection_result)
 Predict the detection result for an input image. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_GFLWrapperInitialized (__fd_keep FD_C_GFLWrapper *fd_c_gfl_wrapper)
 Check if the model is initialized successfully. More...
 
FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_GFLWrapperBatchPredict (__fd_keep FD_C_GFLWrapper *fd_c_gfl_wrapper, FD_C_OneDimMat imgs, FD_C_OneDimDetectionResult *results)
 Predict the detection results for a batch of input images. More...
 

Typedef Documentation

◆ FD_C_CascadeRCNNWrapper

◆ FD_C_FasterRCNNWrapper

◆ FD_C_FCOSWrapper

◆ FD_C_GFLWrapper

◆ FD_C_MaskRCNNWrapper

◆ FD_C_PaddleYOLOv5Wrapper

◆ FD_C_PaddleYOLOv6Wrapper

◆ FD_C_PaddleYOLOv7Wrapper

◆ FD_C_PaddleYOLOv8Wrapper

◆ FD_C_PaddleYOLOXWrapper

◆ FD_C_PicoDetWrapper

◆ FD_C_PPYOLOEWrapper

◆ FD_C_PPYOLOWrapper

◆ FD_C_PSSDetWrapper

◆ FD_C_RetinaNetWrapper

◆ FD_C_RTMDetWrapper

◆ FD_C_RuntimeOptionWrapper

◆ FD_C_SSDWrapper

◆ FD_C_TOODWrapper

◆ FD_C_TTFNetWrapper

◆ FD_C_YOLOv3Wrapper

Function Documentation

◆ FD_C_CascadeRCNNWrapperBatchPredict()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_CascadeRCNNWrapperBatchPredict ( __fd_keep FD_C_CascadeRCNNWrapper fd_c_cascadercnn_wrapper,
FD_C_OneDimMat  imgs,
FD_C_OneDimDetectionResult results 
)

Predict the detection results for a batch of input images.

Parameters
[in]fd_c_cascadercnn_wrapperpointer to FD_C_CascadeRCNNWrapper object
[in]imgsThe input image list, each element comes from cv::imread()
[in]resultsThe output detection result list
Returns
true if the prediction successed, otherwise false

◆ FD_C_CascadeRCNNWrapperInitialized()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_CascadeRCNNWrapperInitialized ( __fd_keep FD_C_CascadeRCNNWrapper fd_c_cascadercnn_wrapper)

Check if the model is initialized successfully.

Parameters
[in]fd_c_cascadercnn_wrapperpointer to FD_C_CascadeRCNNWrapper object
Returns
Return a bool of value true if initialized successfully

◆ FD_C_CascadeRCNNWrapperPredict()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_CascadeRCNNWrapperPredict ( __fd_take FD_C_CascadeRCNNWrapper fd_c_cascadercnn_wrapper,
FD_C_Mat  img,
FD_C_DetectionResult fd_c_detection_result 
)

Predict the detection result for an input image.

Parameters
[in]fd_c_cascadercnn_wrapperpointer to FD_C_CascadeRCNNWrapper object
[in]imgpointer to cv::Mat image
[in]fd_c_detection_result_wrapperpointer to FD_C_DetectionResultWrapper object, which stores the result.

◆ FD_C_CreateCascadeRCNNWrapper()

FASTDEPLOY_CAPI_EXPORT __fd_give FD_C_CascadeRCNNWrapper* FD_C_CreateCascadeRCNNWrapper ( const char *  model_file,
const char *  params_file,
const char *  config_file,
FD_C_RuntimeOptionWrapper fd_c_runtime_option_wrapper,
const FD_C_ModelFormat  model_format 
)

Create a new FD_C_CascadeRCNNWrapper object.

Parameters
[in]model_filePath of model file, e.g model.pdmodel
[in]params_filePath of parameter file, e.g model.pdiparams, if the model format is ONNX, this parameter will be ignored
[in]config_filePath of configuration file for deployment, e.g infer_cfg.yml
[in]fd_c_runtime_option_wrapperRuntimeOption for inference, the default will use cpu, and choose the backend defined in valid_cpu_backends
[in]model_formatModel format of the loaded model, default is Paddle format
Returns
Return a pointer to FD_C_CascadeRCNNWrapper object

◆ FD_C_CreateFasterRCNNWrapper()

FASTDEPLOY_CAPI_EXPORT __fd_give FD_C_FasterRCNNWrapper* FD_C_CreateFasterRCNNWrapper ( const char *  model_file,
const char *  params_file,
const char *  config_file,
FD_C_RuntimeOptionWrapper fd_c_runtime_option_wrapper,
const FD_C_ModelFormat  model_format 
)

Create a new FD_C_FasterRCNNWrapper object.

Parameters
[in]model_filePath of model file, e.g model.pdmodel
[in]params_filePath of parameter file, e.g model.pdiparams, if the model format is ONNX, this parameter will be ignored
[in]config_filePath of configuration file for deployment, e.g infer_cfg.yml
[in]fd_c_runtime_option_wrapperRuntimeOption for inference, the default will use cpu, and choose the backend defined in valid_cpu_backends
[in]model_formatModel format of the loaded model, default is Paddle format
Returns
Return a pointer to FD_C_FasterRCNNWrapper object

◆ FD_C_CreateFCOSWrapper()

FASTDEPLOY_CAPI_EXPORT __fd_give FD_C_FCOSWrapper* FD_C_CreateFCOSWrapper ( const char *  model_file,
const char *  params_file,
const char *  config_file,
FD_C_RuntimeOptionWrapper fd_c_runtime_option_wrapper,
const FD_C_ModelFormat  model_format 
)

Create a new FD_C_FCOSWrapper object.

Parameters
[in]model_filePath of model file, e.g model.pdmodel
[in]params_filePath of parameter file, e.g model.pdiparams, if the model format is ONNX, this parameter will be ignored
[in]config_filePath of configuration file for deployment, e.g infer_cfg.yml
[in]fd_c_runtime_option_wrapperRuntimeOption for inference, the default will use cpu, and choose the backend defined in valid_cpu_backends
[in]model_formatModel format of the loaded model, default is Paddle format
Returns
Return a pointer to FD_C_FCOSWrapper object

◆ FD_C_CreateGFLWrapper()

FASTDEPLOY_CAPI_EXPORT __fd_give FD_C_GFLWrapper* FD_C_CreateGFLWrapper ( const char *  model_file,
const char *  params_file,
const char *  config_file,
FD_C_RuntimeOptionWrapper fd_c_runtime_option_wrapper,
const FD_C_ModelFormat  model_format 
)

Create a new FD_C_GFLWrapper object.

Parameters
[in]model_filePath of model file, e.g model.pdmodel
[in]params_filePath of parameter file, e.g model.pdiparams, if the model format is ONNX, this parameter will be ignored
[in]config_filePath of configuration file for deployment, e.g infer_cfg.yml
[in]fd_c_runtime_option_wrapperRuntimeOption for inference, the default will use cpu, and choose the backend defined in valid_cpu_backends
[in]model_formatModel format of the loaded model, default is Paddle format
Returns
Return a pointer to FD_C_GFLWrapper object

◆ FD_C_CreateMaskRCNNWrapper()

FASTDEPLOY_CAPI_EXPORT __fd_give FD_C_MaskRCNNWrapper* FD_C_CreateMaskRCNNWrapper ( const char *  model_file,
const char *  params_file,
const char *  config_file,
FD_C_RuntimeOptionWrapper fd_c_runtime_option_wrapper,
const FD_C_ModelFormat  model_format 
)

Create a new FD_C_MaskRCNNWrapper object.

Parameters
[in]model_filePath of model file, e.g model.pdmodel
[in]params_filePath of parameter file, e.g model.pdiparams, if the model format is ONNX, this parameter will be ignored
[in]config_filePath of configuration file for deployment, e.g infer_cfg.yml
[in]fd_c_runtime_option_wrapperRuntimeOption for inference, the default will use cpu, and choose the backend defined in valid_cpu_backends
[in]model_formatModel format of the loaded model, default is Paddle format
Returns
Return a pointer to FD_C_MaskRCNNWrapper object

◆ FD_C_CreatePaddleYOLOv5Wrapper()

FASTDEPLOY_CAPI_EXPORT __fd_give FD_C_PaddleYOLOv5Wrapper* FD_C_CreatePaddleYOLOv5Wrapper ( const char *  model_file,
const char *  params_file,
const char *  config_file,
FD_C_RuntimeOptionWrapper fd_c_runtime_option_wrapper,
const FD_C_ModelFormat  model_format 
)

Create a new FD_C_PaddleYOLOv5Wrapper object.

Parameters
[in]model_filePath of model file, e.g model.pdmodel
[in]params_filePath of parameter file, e.g model.pdiparams, if the model format is ONNX, this parameter will be ignored
[in]config_filePath of configuration file for deployment, e.g infer_cfg.yml
[in]fd_c_runtime_option_wrapperRuntimeOption for inference, the default will use cpu, and choose the backend defined in valid_cpu_backends
[in]model_formatModel format of the loaded model, default is Paddle format
Returns
Return a pointer to FD_C_PaddleYOLOv5Wrapper object

◆ FD_C_CreatePaddleYOLOv6Wrapper()

FASTDEPLOY_CAPI_EXPORT __fd_give FD_C_PaddleYOLOv6Wrapper* FD_C_CreatePaddleYOLOv6Wrapper ( const char *  model_file,
const char *  params_file,
const char *  config_file,
FD_C_RuntimeOptionWrapper fd_c_runtime_option_wrapper,
const FD_C_ModelFormat  model_format 
)

Create a new FD_C_PaddleYOLOv6Wrapper object.

Parameters
[in]model_filePath of model file, e.g model.pdmodel
[in]params_filePath of parameter file, e.g model.pdiparams, if the model format is ONNX, this parameter will be ignored
[in]config_filePath of configuration file for deployment, e.g infer_cfg.yml
[in]fd_c_runtime_option_wrapperRuntimeOption for inference, the default will use cpu, and choose the backend defined in valid_cpu_backends
[in]model_formatModel format of the loaded model, default is Paddle format
Returns
Return a pointer to FD_C_PaddleYOLOv6Wrapper object

◆ FD_C_CreatePaddleYOLOv7Wrapper()

FASTDEPLOY_CAPI_EXPORT __fd_give FD_C_PaddleYOLOv7Wrapper* FD_C_CreatePaddleYOLOv7Wrapper ( const char *  model_file,
const char *  params_file,
const char *  config_file,
FD_C_RuntimeOptionWrapper fd_c_runtime_option_wrapper,
const FD_C_ModelFormat  model_format 
)

Create a new FD_C_PaddleYOLOv7Wrapper object.

Parameters
[in]model_filePath of model file, e.g model.pdmodel
[in]params_filePath of parameter file, e.g model.pdiparams, if the model format is ONNX, this parameter will be ignored
[in]config_filePath of configuration file for deployment, e.g infer_cfg.yml
[in]fd_c_runtime_option_wrapperRuntimeOption for inference, the default will use cpu, and choose the backend defined in valid_cpu_backends
[in]model_formatModel format of the loaded model, default is Paddle format
Returns
Return a pointer to FD_C_PaddleYOLOv7Wrapper object

◆ FD_C_CreatePaddleYOLOv8Wrapper()

FASTDEPLOY_CAPI_EXPORT __fd_give FD_C_PaddleYOLOv8Wrapper* FD_C_CreatePaddleYOLOv8Wrapper ( const char *  model_file,
const char *  params_file,
const char *  config_file,
FD_C_RuntimeOptionWrapper fd_c_runtime_option_wrapper,
const FD_C_ModelFormat  model_format 
)

Create a new FD_C_PaddleYOLOv8Wrapper object.

Parameters
[in]model_filePath of model file, e.g model.pdmodel
[in]params_filePath of parameter file, e.g model.pdiparams, if the model format is ONNX, this parameter will be ignored
[in]config_filePath of configuration file for deployment, e.g infer_cfg.yml
[in]fd_c_runtime_option_wrapperRuntimeOption for inference, the default will use cpu, and choose the backend defined in valid_cpu_backends
[in]model_formatModel format of the loaded model, default is Paddle format
Returns
Return a pointer to FD_C_PaddleYOLOv8Wrapper object

◆ FD_C_CreatePaddleYOLOXWrapper()

FASTDEPLOY_CAPI_EXPORT __fd_give FD_C_PaddleYOLOXWrapper* FD_C_CreatePaddleYOLOXWrapper ( const char *  model_file,
const char *  params_file,
const char *  config_file,
FD_C_RuntimeOptionWrapper fd_c_runtime_option_wrapper,
const FD_C_ModelFormat  model_format 
)

Create a new FD_C_PaddleYOLOXWrapper object.

Parameters
[in]model_filePath of model file, e.g model.pdmodel
[in]params_filePath of parameter file, e.g model.pdiparams, if the model format is ONNX, this parameter will be ignored
[in]config_filePath of configuration file for deployment, e.g infer_cfg.yml
[in]fd_c_runtime_option_wrapperRuntimeOption for inference, the default will use cpu, and choose the backend defined in valid_cpu_backends
[in]model_formatModel format of the loaded model, default is Paddle format
Returns
Return a pointer to FD_C_PaddleYOLOXWrapper object

◆ FD_C_CreatePicoDetWrapper()

FASTDEPLOY_CAPI_EXPORT __fd_give FD_C_PicoDetWrapper* FD_C_CreatePicoDetWrapper ( const char *  model_file,
const char *  params_file,
const char *  config_file,
FD_C_RuntimeOptionWrapper fd_c_runtime_option_wrapper,
const FD_C_ModelFormat  model_format 
)

Create a new FD_C_PicoDetWrapper object.

Parameters
[in]model_filePath of model file, e.g model.pdmodel
[in]params_filePath of parameter file, e.g model.pdiparams, if the model format is ONNX, this parameter will be ignored
[in]config_filePath of configuration file for deployment, e.g infer_cfg.yml
[in]fd_c_runtime_option_wrapperRuntimeOption for inference, the default will use cpu, and choose the backend defined in valid_cpu_backends
[in]model_formatModel format of the loaded model, default is Paddle format
Returns
Return a pointer to FD_C_PicoDetWrapper object

◆ FD_C_CreatePPYOLOEWrapper()

FASTDEPLOY_CAPI_EXPORT __fd_give FD_C_PPYOLOEWrapper* FD_C_CreatePPYOLOEWrapper ( const char *  model_file,
const char *  params_file,
const char *  config_file,
FD_C_RuntimeOptionWrapper fd_c_runtime_option_wrapper,
const FD_C_ModelFormat  model_format 
)

Create a new FD_C_PPYOLOEWrapper object.

Parameters
[in]model_filePath of model file, e.g model.pdmodel
[in]params_filePath of parameter file, e.g model.pdiparams, if the model format is ONNX, this parameter will be ignored
[in]config_filePath of configuration file for deployment, e.g infer_cfg.yml
[in]fd_c_runtime_option_wrapperRuntimeOption for inference, the default will use cpu, and choose the backend defined in valid_cpu_backends
[in]model_formatModel format of the loaded model, default is Paddle format
Returns
Return a pointer to FD_C_PPYOLOEWrapper object

◆ FD_C_CreatePPYOLOWrapper()

FASTDEPLOY_CAPI_EXPORT __fd_give FD_C_PPYOLOWrapper* FD_C_CreatePPYOLOWrapper ( const char *  model_file,
const char *  params_file,
const char *  config_file,
FD_C_RuntimeOptionWrapper fd_c_runtime_option_wrapper,
const FD_C_ModelFormat  model_format 
)

Create a new FD_C_PPYOLOWrapper object.

Parameters
[in]model_filePath of model file, e.g model.pdmodel
[in]params_filePath of parameter file, e.g model.pdiparams, if the model format is ONNX, this parameter will be ignored
[in]config_filePath of configuration file for deployment, e.g infer_cfg.yml
[in]fd_c_runtime_option_wrapperRuntimeOption for inference, the default will use cpu, and choose the backend defined in valid_cpu_backends
[in]model_formatModel format of the loaded model, default is Paddle format
Returns
Return a pointer to FD_C_PPYOLOWrapper object

◆ FD_C_CreatePSSDetWrapper()

FASTDEPLOY_CAPI_EXPORT __fd_give FD_C_PSSDetWrapper* FD_C_CreatePSSDetWrapper ( const char *  model_file,
const char *  params_file,
const char *  config_file,
FD_C_RuntimeOptionWrapper fd_c_runtime_option_wrapper,
const FD_C_ModelFormat  model_format 
)

Create a new FD_C_PSSDetWrapper object.

Parameters
[in]model_filePath of model file, e.g model.pdmodel
[in]params_filePath of parameter file, e.g model.pdiparams, if the model format is ONNX, this parameter will be ignored
[in]config_filePath of configuration file for deployment, e.g infer_cfg.yml
[in]fd_c_runtime_option_wrapperRuntimeOption for inference, the default will use cpu, and choose the backend defined in valid_cpu_backends
[in]model_formatModel format of the loaded model, default is Paddle format
Returns
Return a pointer to FD_C_PSSDetWrapper object

◆ FD_C_CreateRetinaNetWrapper()

FASTDEPLOY_CAPI_EXPORT __fd_give FD_C_RetinaNetWrapper* FD_C_CreateRetinaNetWrapper ( const char *  model_file,
const char *  params_file,
const char *  config_file,
FD_C_RuntimeOptionWrapper fd_c_runtime_option_wrapper,
const FD_C_ModelFormat  model_format 
)

Create a new FD_C_RetinaNetWrapper object.

Parameters
[in]model_filePath of model file, e.g model.pdmodel
[in]params_filePath of parameter file, e.g model.pdiparams, if the model format is ONNX, this parameter will be ignored
[in]config_filePath of configuration file for deployment, e.g infer_cfg.yml
[in]fd_c_runtime_option_wrapperRuntimeOption for inference, the default will use cpu, and choose the backend defined in valid_cpu_backends
[in]model_formatModel format of the loaded model, default is Paddle format
Returns
Return a pointer to FD_C_RetinaNetWrapper object

◆ FD_C_CreateRTMDetWrapper()

FASTDEPLOY_CAPI_EXPORT __fd_give FD_C_RTMDetWrapper* FD_C_CreateRTMDetWrapper ( const char *  model_file,
const char *  params_file,
const char *  config_file,
FD_C_RuntimeOptionWrapper fd_c_runtime_option_wrapper,
const FD_C_ModelFormat  model_format 
)

Create a new FD_C_RTMDetWrapper object.

Parameters
[in]model_filePath of model file, e.g model.pdmodel
[in]params_filePath of parameter file, e.g model.pdiparams, if the model format is ONNX, this parameter will be ignored
[in]config_filePath of configuration file for deployment, e.g infer_cfg.yml
[in]fd_c_runtime_option_wrapperRuntimeOption for inference, the default will use cpu, and choose the backend defined in valid_cpu_backends
[in]model_formatModel format of the loaded model, default is Paddle format
Returns
Return a pointer to FD_C_RTMDetWrapper object

◆ FD_C_CreateSSDWrapper()

FASTDEPLOY_CAPI_EXPORT __fd_give FD_C_SSDWrapper* FD_C_CreateSSDWrapper ( const char *  model_file,
const char *  params_file,
const char *  config_file,
FD_C_RuntimeOptionWrapper fd_c_runtime_option_wrapper,
const FD_C_ModelFormat  model_format 
)

Create a new FD_C_SSDWrapper object.

Parameters
[in]model_filePath of model file, e.g model.pdmodel
[in]params_filePath of parameter file, e.g model.pdiparams, if the model format is ONNX, this parameter will be ignored
[in]config_filePath of configuration file for deployment, e.g infer_cfg.yml
[in]fd_c_runtime_option_wrapperRuntimeOption for inference, the default will use cpu, and choose the backend defined in valid_cpu_backends
[in]model_formatModel format of the loaded model, default is Paddle format
Returns
Return a pointer to FD_C_SSDWrapper object

◆ FD_C_CreateTOODWrapper()

FASTDEPLOY_CAPI_EXPORT __fd_give FD_C_TOODWrapper* FD_C_CreateTOODWrapper ( const char *  model_file,
const char *  params_file,
const char *  config_file,
FD_C_RuntimeOptionWrapper fd_c_runtime_option_wrapper,
const FD_C_ModelFormat  model_format 
)

Create a new FD_C_TOODWrapper object.

Parameters
[in]model_filePath of model file, e.g model.pdmodel
[in]params_filePath of parameter file, e.g model.pdiparams, if the model format is ONNX, this parameter will be ignored
[in]config_filePath of configuration file for deployment, e.g infer_cfg.yml
[in]fd_c_runtime_option_wrapperRuntimeOption for inference, the default will use cpu, and choose the backend defined in valid_cpu_backends
[in]model_formatModel format of the loaded model, default is Paddle format
Returns
Return a pointer to FD_C_TOODWrapper object

◆ FD_C_CreateTTFNetWrapper()

FASTDEPLOY_CAPI_EXPORT __fd_give FD_C_TTFNetWrapper* FD_C_CreateTTFNetWrapper ( const char *  model_file,
const char *  params_file,
const char *  config_file,
FD_C_RuntimeOptionWrapper fd_c_runtime_option_wrapper,
const FD_C_ModelFormat  model_format 
)

Create a new FD_C_TTFNetWrapper object.

Parameters
[in]model_filePath of model file, e.g model.pdmodel
[in]params_filePath of parameter file, e.g model.pdiparams, if the model format is ONNX, this parameter will be ignored
[in]config_filePath of configuration file for deployment, e.g infer_cfg.yml
[in]fd_c_runtime_option_wrapperRuntimeOption for inference, the default will use cpu, and choose the backend defined in valid_cpu_backends
[in]model_formatModel format of the loaded model, default is Paddle format
Returns
Return a pointer to FD_C_TTFNetWrapper object

◆ FD_C_CreateYOLOv3Wrapper()

FASTDEPLOY_CAPI_EXPORT __fd_give FD_C_YOLOv3Wrapper* FD_C_CreateYOLOv3Wrapper ( const char *  model_file,
const char *  params_file,
const char *  config_file,
FD_C_RuntimeOptionWrapper fd_c_runtime_option_wrapper,
const FD_C_ModelFormat  model_format 
)

Create a new FD_C_YOLOv3Wrapper object.

Parameters
[in]model_filePath of model file, e.g model.pdmodel
[in]params_filePath of parameter file, e.g model.pdiparams, if the model format is ONNX, this parameter will be ignored
[in]config_filePath of configuration file for deployment, e.g infer_cfg.yml
[in]fd_c_runtime_option_wrapperRuntimeOption for inference, the default will use cpu, and choose the backend defined in valid_cpu_backends
[in]model_formatModel format of the loaded model, default is Paddle format
Returns
Return a pointer to FD_C_YOLOv3Wrapper object

◆ FD_C_DestroyCascadeRCNNWrapper()

FASTDEPLOY_CAPI_EXPORT void FD_C_DestroyCascadeRCNNWrapper ( __fd_take FD_C_CascadeRCNNWrapper fd_c_cascadercnn_wrapper)

Destroy a FD_C_CascadeRCNNWrapper object.

Parameters
[in]fd_c_cascadercnn_wrapperpointer to FD_C_CascadeRCNNWrapper object

◆ FD_C_DestroyFasterRCNNWrapper()

FASTDEPLOY_CAPI_EXPORT void FD_C_DestroyFasterRCNNWrapper ( __fd_take FD_C_FasterRCNNWrapper fd_c_fasterrcnn_wrapper)

Destroy a FD_C_FasterRCNNWrapper object.

Parameters
[in]fd_c_fasterrcnn_wrapperpointer to FD_C_FasterRCNNWrapper object

◆ FD_C_DestroyFCOSWrapper()

FASTDEPLOY_CAPI_EXPORT void FD_C_DestroyFCOSWrapper ( __fd_take FD_C_FCOSWrapper fd_c_fcos_wrapper)

Destroy a FD_C_FCOSWrapper object.

Parameters
[in]fd_c_fcos_wrapperpointer to FD_C_FCOSWrapper object

◆ FD_C_DestroyGFLWrapper()

FASTDEPLOY_CAPI_EXPORT void FD_C_DestroyGFLWrapper ( __fd_take FD_C_GFLWrapper fd_c_gfl_wrapper)

Destroy a FD_C_GFLWrapper object.

Parameters
[in]fd_c_gfl_wrapperpointer to FD_C_GFLWrapper object

◆ FD_C_DestroyMaskRCNNWrapper()

FASTDEPLOY_CAPI_EXPORT void FD_C_DestroyMaskRCNNWrapper ( __fd_take FD_C_MaskRCNNWrapper fd_c_maskrcnn_wrapper)

Destroy a FD_C_MaskRCNNWrapper object.

Parameters
[in]fd_c_maskrcnn_wrapperpointer to FD_C_MaskRCNNWrapper object

◆ FD_C_DestroyPaddleYOLOv5Wrapper()

FASTDEPLOY_CAPI_EXPORT void FD_C_DestroyPaddleYOLOv5Wrapper ( __fd_take FD_C_PaddleYOLOv5Wrapper fd_c_paddleyolov5_wrapper)

Destroy a FD_C_PaddleYOLOv5Wrapper object.

Parameters
[in]fd_c_paddleyolov5_wrapperpointer to FD_C_PaddleYOLOv5Wrapper object

◆ FD_C_DestroyPaddleYOLOv6Wrapper()

FASTDEPLOY_CAPI_EXPORT void FD_C_DestroyPaddleYOLOv6Wrapper ( __fd_take FD_C_PaddleYOLOv6Wrapper fd_c_paddleyolov6_wrapper)

Destroy a FD_C_PaddleYOLOv6Wrapper object.

Parameters
[in]fd_c_paddleyolov6_wrapperpointer to FD_C_PaddleYOLOv6Wrapper object

◆ FD_C_DestroyPaddleYOLOv7Wrapper()

FASTDEPLOY_CAPI_EXPORT void FD_C_DestroyPaddleYOLOv7Wrapper ( __fd_take FD_C_PaddleYOLOv7Wrapper fd_c_paddleyolov7_wrapper)

Destroy a FD_C_PaddleYOLOv7Wrapper object.

Parameters
[in]fd_c_paddleyolov7_wrapperpointer to FD_C_PaddleYOLOv7Wrapper object

◆ FD_C_DestroyPaddleYOLOv8Wrapper()

FASTDEPLOY_CAPI_EXPORT void FD_C_DestroyPaddleYOLOv8Wrapper ( __fd_take FD_C_PaddleYOLOv8Wrapper fd_c_paddleyolov8_wrapper)

Destroy a FD_C_PaddleYOLOv8Wrapper object.

Parameters
[in]fd_c_paddleyolov8_wrapperpointer to FD_C_PaddleYOLOv8Wrapper object

◆ FD_C_DestroyPaddleYOLOXWrapper()

FASTDEPLOY_CAPI_EXPORT void FD_C_DestroyPaddleYOLOXWrapper ( __fd_take FD_C_PaddleYOLOXWrapper fd_c_paddleyolox_wrapper)

Destroy a FD_C_PaddleYOLOXWrapper object.

Parameters
[in]fd_c_paddleyolox_wrapperpointer to FD_C_PaddleYOLOXWrapper object

◆ FD_C_DestroyPicoDetWrapper()

FASTDEPLOY_CAPI_EXPORT void FD_C_DestroyPicoDetWrapper ( __fd_take FD_C_PicoDetWrapper fd_c_picodet_wrapper)

Destroy a FD_C_PicoDetWrapper object.

Parameters
[in]fd_c_picodet_wrapperpointer to FD_C_PicoDetWrapper object

◆ FD_C_DestroyPPYOLOEWrapper()

FASTDEPLOY_CAPI_EXPORT void FD_C_DestroyPPYOLOEWrapper ( __fd_take FD_C_PPYOLOEWrapper fd_c_ppyoloe_wrapper)

Destroy a FD_C_PPYOLOEWrapper object.

Parameters
[in]fd_c_ppyoloe_wrapperpointer to FD_C_PPYOLOEWrapper object

◆ FD_C_DestroyPPYOLOWrapper()

FASTDEPLOY_CAPI_EXPORT void FD_C_DestroyPPYOLOWrapper ( __fd_take FD_C_PPYOLOWrapper fd_c_ppyolo_wrapper)

Destroy a FD_C_PPYOLOWrapper object.

Parameters
[in]fd_c_ppyolo_wrapperpointer to FD_C_PPYOLOWrapper object

◆ FD_C_DestroyPSSDetWrapper()

FASTDEPLOY_CAPI_EXPORT void FD_C_DestroyPSSDetWrapper ( __fd_take FD_C_PSSDetWrapper fd_c_pssdet_wrapper)

Destroy a FD_C_PSSDetWrapper object.

Parameters
[in]fd_c_pssdet_wrapperpointer to FD_C_PSSDetWrapper object

◆ FD_C_DestroyRetinaNetWrapper()

FASTDEPLOY_CAPI_EXPORT void FD_C_DestroyRetinaNetWrapper ( __fd_take FD_C_RetinaNetWrapper fd_c_retinanet_wrapper)

Destroy a FD_C_RetinaNetWrapper object.

Parameters
[in]fd_c_retinanet_wrapperpointer to FD_C_RetinaNetWrapper object

◆ FD_C_DestroyRTMDetWrapper()

FASTDEPLOY_CAPI_EXPORT void FD_C_DestroyRTMDetWrapper ( __fd_take FD_C_RTMDetWrapper fd_c_rtmdet_wrapper)

Destroy a FD_C_RTMDetWrapper object.

Parameters
[in]fd_c_rtmdet_wrapperpointer to FD_C_RTMDetWrapper object

◆ FD_C_DestroySSDWrapper()

FASTDEPLOY_CAPI_EXPORT void FD_C_DestroySSDWrapper ( __fd_take FD_C_SSDWrapper fd_c_ssd_wrapper)

Destroy a FD_C_SSDWrapper object.

Parameters
[in]fd_c_ssd_wrapperpointer to FD_C_SSDWrapper object

◆ FD_C_DestroyTOODWrapper()

FASTDEPLOY_CAPI_EXPORT void FD_C_DestroyTOODWrapper ( __fd_take FD_C_TOODWrapper fd_c_tood_wrapper)

Destroy a FD_C_TOODWrapper object.

Parameters
[in]fd_c_tood_wrapperpointer to FD_C_TOODWrapper object

◆ FD_C_DestroyTTFNetWrapper()

FASTDEPLOY_CAPI_EXPORT void FD_C_DestroyTTFNetWrapper ( __fd_take FD_C_TTFNetWrapper fd_c_ttfnet_wrapper)

Destroy a FD_C_TTFNetWrapper object.

Parameters
[in]fd_c_ttfnet_wrapperpointer to FD_C_TTFNetWrapper object

◆ FD_C_DestroyYOLOv3Wrapper()

FASTDEPLOY_CAPI_EXPORT void FD_C_DestroyYOLOv3Wrapper ( __fd_take FD_C_YOLOv3Wrapper fd_c_yolov3_wrapper)

Destroy a FD_C_YOLOv3Wrapper object.

Parameters
[in]fd_c_yolov3_wrapperpointer to FD_C_YOLOv3Wrapper object

◆ FD_C_FasterRCNNWrapperBatchPredict()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_FasterRCNNWrapperBatchPredict ( __fd_keep FD_C_FasterRCNNWrapper fd_c_fasterrcnn_wrapper,
FD_C_OneDimMat  imgs,
FD_C_OneDimDetectionResult results 
)

Predict the detection results for a batch of input images.

Parameters
[in]fd_c_fasterrcnn_wrapperpointer to FD_C_FasterRCNNWrapper object
[in]imgsThe input image list, each element comes from cv::imread()
[in]resultsThe output detection result list
Returns
true if the prediction successed, otherwise false

◆ FD_C_FasterRCNNWrapperInitialized()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_FasterRCNNWrapperInitialized ( __fd_keep FD_C_FasterRCNNWrapper fd_c_fasterrcnn_wrapper)

Check if the model is initialized successfully.

Parameters
[in]fd_c_fasterrcnn_wrapperpointer to FD_C_FasterRCNNWrapper object
Returns
Return a bool of value true if initialized successfully

◆ FD_C_FasterRCNNWrapperPredict()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_FasterRCNNWrapperPredict ( __fd_take FD_C_FasterRCNNWrapper fd_c_fasterrcnn_wrapper,
FD_C_Mat  img,
FD_C_DetectionResult fd_c_detection_result 
)

Predict the detection result for an input image.

Parameters
[in]fd_c_fasterrcnn_wrapperpointer to FD_C_FasterRCNNWrapper object
[in]imgpointer to cv::Mat image
[in]fd_c_detection_result_wrapperpointer to FD_C_DetectionResultWrapper object, which stores the result.

◆ FD_C_FCOSWrapperBatchPredict()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_FCOSWrapperBatchPredict ( __fd_keep FD_C_FCOSWrapper fd_c_fcos_wrapper,
FD_C_OneDimMat  imgs,
FD_C_OneDimDetectionResult results 
)

Predict the detection results for a batch of input images.

Parameters
[in]fd_c_fcos_wrapperpointer to FD_C_FCOSWrapper object
[in]imgsThe input image list, each element comes from cv::imread()
[in]resultsThe output detection result list
Returns
true if the prediction successed, otherwise false

◆ FD_C_FCOSWrapperInitialized()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_FCOSWrapperInitialized ( __fd_keep FD_C_FCOSWrapper fd_c_fcos_wrapper)

Check if the model is initialized successfully.

Parameters
[in]fd_c_fcos_wrapperpointer to FD_C_FCOSWrapper object
Returns
Return a bool of value true if initialized successfully

◆ FD_C_FCOSWrapperPredict()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_FCOSWrapperPredict ( __fd_take FD_C_FCOSWrapper fd_c_fcos_wrapper,
FD_C_Mat  img,
FD_C_DetectionResult fd_c_detection_result 
)

Predict the detection result for an input image.

Parameters
[in]fd_c_fcos_wrapperpointer to FD_C_FCOSWrapper object
[in]imgpointer to cv::Mat image
[in]fd_c_detection_result_wrapperpointer to FD_C_DetectionResultWrapper object, which stores the result.

◆ FD_C_GFLWrapperBatchPredict()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_GFLWrapperBatchPredict ( __fd_keep FD_C_GFLWrapper fd_c_gfl_wrapper,
FD_C_OneDimMat  imgs,
FD_C_OneDimDetectionResult results 
)

Predict the detection results for a batch of input images.

Parameters
[in]fd_c_gfl_wrapperpointer to FD_C_GFLWrapper object
[in]imgsThe input image list, each element comes from cv::imread()
[in]resultsThe output detection result list
Returns
true if the prediction successed, otherwise false

◆ FD_C_GFLWrapperInitialized()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_GFLWrapperInitialized ( __fd_keep FD_C_GFLWrapper fd_c_gfl_wrapper)

Check if the model is initialized successfully.

Parameters
[in]fd_c_gfl_wrapperpointer to FD_C_GFLWrapper object
Returns
Return a bool of value true if initialized successfully

◆ FD_C_GFLWrapperPredict()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_GFLWrapperPredict ( __fd_take FD_C_GFLWrapper fd_c_gfl_wrapper,
FD_C_Mat  img,
FD_C_DetectionResult fd_c_detection_result 
)

Predict the detection result for an input image.

Parameters
[in]fd_c_gfl_wrapperpointer to FD_C_GFLWrapper object
[in]imgpointer to cv::Mat image
[in]fd_c_detection_result_wrapperpointer to FD_C_DetectionResultWrapper object, which stores the result.

◆ FD_C_MaskRCNNWrapperBatchPredict()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_MaskRCNNWrapperBatchPredict ( __fd_keep FD_C_MaskRCNNWrapper fd_c_maskrcnn_wrapper,
FD_C_OneDimMat  imgs,
FD_C_OneDimDetectionResult results 
)

Predict the detection results for a batch of input images.

Parameters
[in]fd_c_maskrcnn_wrapperpointer to FD_C_MaskRCNNWrapper object
[in]imgsThe input image list, each element comes from cv::imread()
[in]resultsThe output detection result list
Returns
true if the prediction successed, otherwise false

◆ FD_C_MaskRCNNWrapperInitialized()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_MaskRCNNWrapperInitialized ( __fd_keep FD_C_MaskRCNNWrapper fd_c_maskrcnn_wrapper)

Check if the model is initialized successfully.

Parameters
[in]fd_c_maskrcnn_wrapperpointer to FD_C_MaskRCNNWrapper object
Returns
Return a bool of value true if initialized successfully

◆ FD_C_MaskRCNNWrapperPredict()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_MaskRCNNWrapperPredict ( __fd_take FD_C_MaskRCNNWrapper fd_c_maskrcnn_wrapper,
FD_C_Mat  img,
FD_C_DetectionResult fd_c_detection_result 
)

Predict the detection result for an input image.

Parameters
[in]fd_c_maskrcnn_wrapperpointer to FD_C_MaskRCNNWrapper object
[in]imgpointer to cv::Mat image
[in]fd_c_detection_result_wrapperpointer to FD_C_DetectionResultWrapper object, which stores the result.

◆ FD_C_PaddleYOLOv5WrapperBatchPredict()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PaddleYOLOv5WrapperBatchPredict ( __fd_keep FD_C_PaddleYOLOv5Wrapper fd_c_paddleyolov5_wrapper,
FD_C_OneDimMat  imgs,
FD_C_OneDimDetectionResult results 
)

Predict the detection results for a batch of input images.

Parameters
[in]fd_c_paddleyolov5_wrapperpointer to FD_C_PaddleYOLOv5Wrapper object
[in]imgsThe input image list, each element comes from cv::imread()
[in]resultsThe output detection result list
Returns
true if the prediction successed, otherwise false

◆ FD_C_PaddleYOLOv5WrapperInitialized()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PaddleYOLOv5WrapperInitialized ( __fd_keep FD_C_PaddleYOLOv5Wrapper fd_c_paddleyolov5_wrapper)

Check if the model is initialized successfully.

Parameters
[in]fd_c_paddleyolov5_wrapperpointer to FD_C_PaddleYOLOv5Wrapper object
Returns
Return a bool of value true if initialized successfully

◆ FD_C_PaddleYOLOv5WrapperPredict()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PaddleYOLOv5WrapperPredict ( __fd_take FD_C_PaddleYOLOv5Wrapper fd_c_paddleyolov5_wrapper,
FD_C_Mat  img,
FD_C_DetectionResult fd_c_detection_result 
)

Predict the detection result for an input image.

Parameters
[in]fd_c_paddleyolov5_wrapperpointer to FD_C_PaddleYOLOv5Wrapper object
[in]imgpointer to cv::Mat image
[in]fd_c_detection_result_wrapperpointer to FD_C_DetectionResultWrapper object, which stores the result.

◆ FD_C_PaddleYOLOv6WrapperBatchPredict()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PaddleYOLOv6WrapperBatchPredict ( __fd_keep FD_C_PaddleYOLOv6Wrapper fd_c_paddleyolov6_wrapper,
FD_C_OneDimMat  imgs,
FD_C_OneDimDetectionResult results 
)

Predict the detection results for a batch of input images.

Parameters
[in]fd_c_paddleyolov6_wrapperpointer to FD_C_PaddleYOLOv6Wrapper object
[in]imgsThe input image list, each element comes from cv::imread()
[in]resultsThe output detection result list
Returns
true if the prediction successed, otherwise false

◆ FD_C_PaddleYOLOv6WrapperInitialized()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PaddleYOLOv6WrapperInitialized ( __fd_keep FD_C_PaddleYOLOv6Wrapper fd_c_paddleyolov6_wrapper)

Check if the model is initialized successfully.

Parameters
[in]fd_c_paddleyolov6_wrapperpointer to FD_C_PaddleYOLOv6Wrapper object
Returns
Return a bool of value true if initialized successfully

◆ FD_C_PaddleYOLOv6WrapperPredict()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PaddleYOLOv6WrapperPredict ( __fd_take FD_C_PaddleYOLOv6Wrapper fd_c_paddleyolov6_wrapper,
FD_C_Mat  img,
FD_C_DetectionResult fd_c_detection_result 
)

Predict the detection result for an input image.

Parameters
[in]fd_c_paddleyolov6_wrapperpointer to FD_C_PaddleYOLOv6Wrapper object
[in]imgpointer to cv::Mat image
[in]fd_c_detection_result_wrapperpointer to FD_C_DetectionResultWrapper object, which stores the result.

◆ FD_C_PaddleYOLOv7WrapperBatchPredict()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PaddleYOLOv7WrapperBatchPredict ( __fd_keep FD_C_PaddleYOLOv7Wrapper fd_c_paddleyolov7_wrapper,
FD_C_OneDimMat  imgs,
FD_C_OneDimDetectionResult results 
)

Predict the detection results for a batch of input images.

Parameters
[in]fd_c_paddleyolov7_wrapperpointer to FD_C_PaddleYOLOv7Wrapper object
[in]imgsThe input image list, each element comes from cv::imread()
[in]resultsThe output detection result list
Returns
true if the prediction successed, otherwise false

◆ FD_C_PaddleYOLOv7WrapperInitialized()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PaddleYOLOv7WrapperInitialized ( __fd_keep FD_C_PaddleYOLOv7Wrapper fd_c_paddleyolov7_wrapper)

Check if the model is initialized successfully.

Parameters
[in]fd_c_paddleyolov7_wrapperpointer to FD_C_PaddleYOLOv7Wrapper object
Returns
Return a bool of value true if initialized successfully

◆ FD_C_PaddleYOLOv7WrapperPredict()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PaddleYOLOv7WrapperPredict ( __fd_take FD_C_PaddleYOLOv7Wrapper fd_c_paddleyolov7_wrapper,
FD_C_Mat  img,
FD_C_DetectionResult fd_c_detection_result 
)

Predict the detection result for an input image.

Parameters
[in]fd_c_paddleyolov7_wrapperpointer to FD_C_PaddleYOLOv7Wrapper object
[in]imgpointer to cv::Mat image
[in]fd_c_detection_result_wrapperpointer to FD_C_DetectionResultWrapper object, which stores the result.

◆ FD_C_PaddleYOLOv8WrapperBatchPredict()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PaddleYOLOv8WrapperBatchPredict ( __fd_keep FD_C_PaddleYOLOv8Wrapper fd_c_paddleyolov8_wrapper,
FD_C_OneDimMat  imgs,
FD_C_OneDimDetectionResult results 
)

Predict the detection results for a batch of input images.

Parameters
[in]fd_c_paddleyolov8_wrapperpointer to FD_C_PaddleYOLOv8Wrapper object
[in]imgsThe input image list, each element comes from cv::imread()
[in]resultsThe output detection result list
Returns
true if the prediction successed, otherwise false

◆ FD_C_PaddleYOLOv8WrapperInitialized()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PaddleYOLOv8WrapperInitialized ( __fd_keep FD_C_PaddleYOLOv8Wrapper fd_c_paddleyolov8_wrapper)

Check if the model is initialized successfully.

Parameters
[in]fd_c_paddleyolov8_wrapperpointer to FD_C_PaddleYOLOv8Wrapper object
Returns
Return a bool of value true if initialized successfully

◆ FD_C_PaddleYOLOv8WrapperPredict()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PaddleYOLOv8WrapperPredict ( __fd_take FD_C_PaddleYOLOv8Wrapper fd_c_paddleyolov8_wrapper,
FD_C_Mat  img,
FD_C_DetectionResult fd_c_detection_result 
)

Predict the detection result for an input image.

Parameters
[in]fd_c_paddleyolov8_wrapperpointer to FD_C_PaddleYOLOv8Wrapper object
[in]imgpointer to cv::Mat image
[in]fd_c_detection_result_wrapperpointer to FD_C_DetectionResultWrapper object, which stores the result.

◆ FD_C_PaddleYOLOXWrapperBatchPredict()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PaddleYOLOXWrapperBatchPredict ( __fd_keep FD_C_PaddleYOLOXWrapper fd_c_paddleyolox_wrapper,
FD_C_OneDimMat  imgs,
FD_C_OneDimDetectionResult results 
)

Predict the detection results for a batch of input images.

Parameters
[in]fd_c_paddleyolox_wrapperpointer to FD_C_PaddleYOLOXWrapper object
[in]imgsThe input image list, each element comes from cv::imread()
[in]resultsThe output detection result list
Returns
true if the prediction successed, otherwise false

◆ FD_C_PaddleYOLOXWrapperInitialized()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PaddleYOLOXWrapperInitialized ( __fd_keep FD_C_PaddleYOLOXWrapper fd_c_paddleyolox_wrapper)

Check if the model is initialized successfully.

Parameters
[in]fd_c_paddleyolox_wrapperpointer to FD_C_PaddleYOLOXWrapper object
Returns
Return a bool of value true if initialized successfully

◆ FD_C_PaddleYOLOXWrapperPredict()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PaddleYOLOXWrapperPredict ( __fd_take FD_C_PaddleYOLOXWrapper fd_c_paddleyolox_wrapper,
FD_C_Mat  img,
FD_C_DetectionResult fd_c_detection_result 
)

Predict the detection result for an input image.

Parameters
[in]fd_c_paddleyolox_wrapperpointer to FD_C_PaddleYOLOXWrapper object
[in]imgpointer to cv::Mat image
[in]fd_c_detection_result_wrapperpointer to FD_C_DetectionResultWrapper object, which stores the result.

◆ FD_C_PicoDetWrapperBatchPredict()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PicoDetWrapperBatchPredict ( __fd_keep FD_C_PicoDetWrapper fd_c_picodet_wrapper,
FD_C_OneDimMat  imgs,
FD_C_OneDimDetectionResult results 
)

Predict the detection results for a batch of input images.

Parameters
[in]fd_c_picodet_wrapperpointer to FD_C_PicoDetWrapper object
[in]imgsThe input image list, each element comes from cv::imread()
[in]resultsThe output detection result list
Returns
true if the prediction successed, otherwise false

◆ FD_C_PicoDetWrapperInitialized()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PicoDetWrapperInitialized ( __fd_keep FD_C_PicoDetWrapper fd_c_picodet_wrapper)

Check if the model is initialized successfully.

Parameters
[in]fd_c_picodet_wrapperpointer to FD_C_PicoDetWrapper object
Returns
Return a bool of value true if initialized successfully

◆ FD_C_PicoDetWrapperPredict()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PicoDetWrapperPredict ( __fd_take FD_C_PicoDetWrapper fd_c_picodet_wrapper,
FD_C_Mat  img,
FD_C_DetectionResult fd_c_detection_result 
)

Predict the detection result for an input image.

Parameters
[in]fd_c_picodet_wrapperpointer to FD_C_PicoDetWrapper object
[in]imgpointer to cv::Mat image
[in]fd_c_detection_result_wrapperpointer to FD_C_DetectionResultWrapper object, which stores the result.

◆ FD_C_PPYOLOEWrapperBatchPredict()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PPYOLOEWrapperBatchPredict ( __fd_keep FD_C_PPYOLOEWrapper fd_c_ppyoloe_wrapper,
FD_C_OneDimMat  imgs,
FD_C_OneDimDetectionResult results 
)

Predict the detection results for a batch of input images.

Parameters
[in]fd_c_ppyoloe_wrapperpointer to FD_C_PPYOLOEWrapper object
[in]imgsThe input image list, each element comes from cv::imread()
[in]resultsThe output detection result list
Returns
true if the prediction successed, otherwise false

◆ FD_C_PPYOLOEWrapperInitialized()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PPYOLOEWrapperInitialized ( __fd_keep FD_C_PPYOLOEWrapper fd_c_ppyoloe_wrapper)

Check if the model is initialized successfully.

Parameters
[in]fd_c_ppyoloe_wrapperpointer to FD_C_PPYOLOEWrapper object
Returns
Return a bool of value true if initialized successfully

◆ FD_C_PPYOLOEWrapperPredict()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PPYOLOEWrapperPredict ( __fd_take FD_C_PPYOLOEWrapper fd_c_ppyoloe_wrapper,
FD_C_Mat  img,
FD_C_DetectionResult fd_c_detection_result 
)

Predict the detection result for an input image.

Parameters
[in]fd_c_ppyoloe_wrapperpointer to FD_C_PPYOLOEWrapper object
[in]imgpointer to cv::Mat image
[in]fd_c_detection_result_wrapperpointer to FD_C_DetectionResultWrapper object, which stores the result.

◆ FD_C_PPYOLOWrapperBatchPredict()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PPYOLOWrapperBatchPredict ( __fd_keep FD_C_PPYOLOWrapper fd_c_ppyolo_wrapper,
FD_C_OneDimMat  imgs,
FD_C_OneDimDetectionResult results 
)

Predict the detection results for a batch of input images.

Parameters
[in]fd_c_ppyolo_wrapperpointer to FD_C_PPYOLOWrapper object
[in]imgsThe input image list, each element comes from cv::imread()
[in]resultsThe output detection result list
Returns
true if the prediction successed, otherwise false

◆ FD_C_PPYOLOWrapperInitialized()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PPYOLOWrapperInitialized ( __fd_keep FD_C_PPYOLOWrapper fd_c_ppyolo_wrapper)

Check if the model is initialized successfully.

Parameters
[in]fd_c_ppyolo_wrapperpointer to FD_C_PPYOLOWrapper object
Returns
Return a bool of value true if initialized successfully

◆ FD_C_PPYOLOWrapperPredict()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PPYOLOWrapperPredict ( __fd_take FD_C_PPYOLOWrapper fd_c_ppyolo_wrapper,
FD_C_Mat  img,
FD_C_DetectionResult fd_c_detection_result 
)

Predict the detection result for an input image.

Parameters
[in]fd_c_ppyolo_wrapperpointer to FD_C_PPYOLOWrapper object
[in]imgpointer to cv::Mat image
[in]fd_c_detection_result_wrapperpointer to FD_C_DetectionResultWrapper object, which stores the result.

◆ FD_C_PSSDetWrapperBatchPredict()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PSSDetWrapperBatchPredict ( __fd_keep FD_C_PSSDetWrapper fd_c_pssdet_wrapper,
FD_C_OneDimMat  imgs,
FD_C_OneDimDetectionResult results 
)

Predict the detection results for a batch of input images.

Parameters
[in]fd_c_pssdet_wrapperpointer to FD_C_PSSDetWrapper object
[in]imgsThe input image list, each element comes from cv::imread()
[in]resultsThe output detection result list
Returns
true if the prediction successed, otherwise false

◆ FD_C_PSSDetWrapperInitialized()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PSSDetWrapperInitialized ( __fd_keep FD_C_PSSDetWrapper fd_c_pssdet_wrapper)

Check if the model is initialized successfully.

Parameters
[in]fd_c_pssdet_wrapperpointer to FD_C_PSSDetWrapper object
Returns
Return a bool of value true if initialized successfully

◆ FD_C_PSSDetWrapperPredict()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_PSSDetWrapperPredict ( __fd_take FD_C_PSSDetWrapper fd_c_pssdet_wrapper,
FD_C_Mat  img,
FD_C_DetectionResult fd_c_detection_result 
)

Predict the detection result for an input image.

Parameters
[in]fd_c_pssdet_wrapperpointer to FD_C_PSSDetWrapper object
[in]imgpointer to cv::Mat image
[in]fd_c_detection_result_wrapperpointer to FD_C_DetectionResultWrapper object, which stores the result.

◆ FD_C_RetinaNetWrapperBatchPredict()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_RetinaNetWrapperBatchPredict ( __fd_keep FD_C_RetinaNetWrapper fd_c_retinanet_wrapper,
FD_C_OneDimMat  imgs,
FD_C_OneDimDetectionResult results 
)

Predict the detection results for a batch of input images.

Parameters
[in]fd_c_retinanet_wrapperpointer to FD_C_RetinaNetWrapper object
[in]imgsThe input image list, each element comes from cv::imread()
[in]resultsThe output detection result list
Returns
true if the prediction successed, otherwise false

◆ FD_C_RetinaNetWrapperInitialized()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_RetinaNetWrapperInitialized ( __fd_keep FD_C_RetinaNetWrapper fd_c_retinanet_wrapper)

Check if the model is initialized successfully.

Parameters
[in]fd_c_retinanet_wrapperpointer to FD_C_RetinaNetWrapper object
Returns
Return a bool of value true if initialized successfully

◆ FD_C_RetinaNetWrapperPredict()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_RetinaNetWrapperPredict ( __fd_take FD_C_RetinaNetWrapper fd_c_retinanet_wrapper,
FD_C_Mat  img,
FD_C_DetectionResult fd_c_detection_result 
)

Predict the detection result for an input image.

Parameters
[in]fd_c_retinanet_wrapperpointer to FD_C_RetinaNetWrapper object
[in]imgpointer to cv::Mat image
[in]fd_c_detection_result_wrapperpointer to FD_C_DetectionResultWrapper object, which stores the result.

◆ FD_C_RTMDetWrapperBatchPredict()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_RTMDetWrapperBatchPredict ( __fd_keep FD_C_RTMDetWrapper fd_c_rtmdet_wrapper,
FD_C_OneDimMat  imgs,
FD_C_OneDimDetectionResult results 
)

Predict the detection results for a batch of input images.

Parameters
[in]fd_c_rtmdet_wrapperpointer to FD_C_RTMDetWrapper object
[in]imgsThe input image list, each element comes from cv::imread()
[in]resultsThe output detection result list
Returns
true if the prediction successed, otherwise false

◆ FD_C_RTMDetWrapperInitialized()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_RTMDetWrapperInitialized ( __fd_keep FD_C_RTMDetWrapper fd_c_rtmdet_wrapper)

Check if the model is initialized successfully.

Parameters
[in]fd_c_rtmdet_wrapperpointer to FD_C_RTMDetWrapper object
Returns
Return a bool of value true if initialized successfully

◆ FD_C_RTMDetWrapperPredict()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_RTMDetWrapperPredict ( __fd_take FD_C_RTMDetWrapper fd_c_rtmdet_wrapper,
FD_C_Mat  img,
FD_C_DetectionResult fd_c_detection_result 
)

Predict the detection result for an input image.

Parameters
[in]fd_c_rtmdet_wrapperpointer to FD_C_RTMDetWrapper object
[in]imgpointer to cv::Mat image
[in]fd_c_detection_result_wrapperpointer to FD_C_DetectionResultWrapper object, which stores the result.

◆ FD_C_SSDWrapperBatchPredict()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_SSDWrapperBatchPredict ( __fd_keep FD_C_SSDWrapper fd_c_ssd_wrapper,
FD_C_OneDimMat  imgs,
FD_C_OneDimDetectionResult results 
)

Predict the detection results for a batch of input images.

Parameters
[in]fd_c_ssd_wrapperpointer to FD_C_SSDWrapper object
[in]imgsThe input image list, each element comes from cv::imread()
[in]resultsThe output detection result list
Returns
true if the prediction successed, otherwise false

◆ FD_C_SSDWrapperInitialized()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_SSDWrapperInitialized ( __fd_keep FD_C_SSDWrapper fd_c_ssd_wrapper)

Check if the model is initialized successfully.

Parameters
[in]fd_c_ssd_wrapperpointer to FD_C_SSDWrapper object
Returns
Return a bool of value true if initialized successfully

◆ FD_C_SSDWrapperPredict()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_SSDWrapperPredict ( __fd_take FD_C_SSDWrapper fd_c_ssd_wrapper,
FD_C_Mat  img,
FD_C_DetectionResult fd_c_detection_result 
)

Predict the detection result for an input image.

Parameters
[in]fd_c_ssd_wrapperpointer to FD_C_SSDWrapper object
[in]imgpointer to cv::Mat image
[in]fd_c_detection_result_wrapperpointer to FD_C_DetectionResultWrapper object, which stores the result.

◆ FD_C_TOODWrapperBatchPredict()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_TOODWrapperBatchPredict ( __fd_keep FD_C_TOODWrapper fd_c_tood_wrapper,
FD_C_OneDimMat  imgs,
FD_C_OneDimDetectionResult results 
)

Predict the detection results for a batch of input images.

Parameters
[in]fd_c_tood_wrapperpointer to FD_C_TOODWrapper object
[in]imgsThe input image list, each element comes from cv::imread()
[in]resultsThe output detection result list
Returns
true if the prediction successed, otherwise false

◆ FD_C_TOODWrapperInitialized()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_TOODWrapperInitialized ( __fd_keep FD_C_TOODWrapper fd_c_tood_wrapper)

Check if the model is initialized successfully.

Parameters
[in]fd_c_tood_wrapperpointer to FD_C_TOODWrapper object
Returns
Return a bool of value true if initialized successfully

◆ FD_C_TOODWrapperPredict()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_TOODWrapperPredict ( __fd_take FD_C_TOODWrapper fd_c_tood_wrapper,
FD_C_Mat  img,
FD_C_DetectionResult fd_c_detection_result 
)

Predict the detection result for an input image.

Parameters
[in]fd_c_tood_wrapperpointer to FD_C_TOODWrapper object
[in]imgpointer to cv::Mat image
[in]fd_c_detection_result_wrapperpointer to FD_C_DetectionResultWrapper object, which stores the result.

◆ FD_C_TTFNetWrapperBatchPredict()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_TTFNetWrapperBatchPredict ( __fd_keep FD_C_TTFNetWrapper fd_c_ttfnet_wrapper,
FD_C_OneDimMat  imgs,
FD_C_OneDimDetectionResult results 
)

Predict the detection results for a batch of input images.

Parameters
[in]fd_c_ttfnet_wrapperpointer to FD_C_TTFNetWrapper object
[in]imgsThe input image list, each element comes from cv::imread()
[in]resultsThe output detection result list
Returns
true if the prediction successed, otherwise false

◆ FD_C_TTFNetWrapperInitialized()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_TTFNetWrapperInitialized ( __fd_keep FD_C_TTFNetWrapper fd_c_ttfnet_wrapper)

Check if the model is initialized successfully.

Parameters
[in]fd_c_ttfnet_wrapperpointer to FD_C_TTFNetWrapper object
Returns
Return a bool of value true if initialized successfully

◆ FD_C_TTFNetWrapperPredict()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_TTFNetWrapperPredict ( __fd_take FD_C_TTFNetWrapper fd_c_ttfnet_wrapper,
FD_C_Mat  img,
FD_C_DetectionResult fd_c_detection_result 
)

Predict the detection result for an input image.

Parameters
[in]fd_c_ttfnet_wrapperpointer to FD_C_TTFNetWrapper object
[in]imgpointer to cv::Mat image
[in]fd_c_detection_result_wrapperpointer to FD_C_DetectionResultWrapper object, which stores the result.

◆ FD_C_YOLOv3WrapperBatchPredict()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_YOLOv3WrapperBatchPredict ( __fd_keep FD_C_YOLOv3Wrapper fd_c_yolov3_wrapper,
FD_C_OneDimMat  imgs,
FD_C_OneDimDetectionResult results 
)

Predict the detection results for a batch of input images.

Parameters
[in]fd_c_yolov3_wrapperpointer to FD_C_YOLOv3Wrapper object
[in]imgsThe input image list, each element comes from cv::imread()
[in]resultsThe output detection result list
Returns
true if the prediction successed, otherwise false

◆ FD_C_YOLOv3WrapperInitialized()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_YOLOv3WrapperInitialized ( __fd_keep FD_C_YOLOv3Wrapper fd_c_yolov3_wrapper)

Check if the model is initialized successfully.

Parameters
[in]fd_c_yolov3_wrapperpointer to FD_C_YOLOv3Wrapper object
Returns
Return a bool of value true if initialized successfully

◆ FD_C_YOLOv3WrapperPredict()

FASTDEPLOY_CAPI_EXPORT FD_C_Bool FD_C_YOLOv3WrapperPredict ( __fd_take FD_C_YOLOv3Wrapper fd_c_yolov3_wrapper,
FD_C_Mat  img,
FD_C_DetectionResult fd_c_detection_result 
)

Predict the detection result for an input image.

Parameters
[in]fd_c_yolov3_wrapperpointer to FD_C_YOLOv3Wrapper object
[in]imgpointer to cv::Mat image
[in]fd_c_detection_result_wrapperpointer to FD_C_DetectionResultWrapper object, which stores the result.