FastDeploy  latest
Fast & Easy to Deploy!
Functions
result.cc File Reference
#include "fastdeploy_capi/vision/result.h"
#include "fastdeploy/utils/utils.h"
#include "fastdeploy_capi/internal/types_internal.h"
Include dependency graph for result.cc:

Functions

FD_C_ClassifyResultWrapperFD_C_CreateClassifyResultWrapper ()
 Create a new FD_C_ClassifyResultWrapper object. More...
 
void FD_C_DestroyClassifyResultWrapper (__fd_take FD_C_ClassifyResultWrapper *fd_c_classify_result_wrapper)
 Destroy a FD_C_ClassifyResultWrapper object. More...
 
void FD_C_DestroyClassifyResult (__fd_take FD_C_ClassifyResult *fd_c_classify_result)
 Destroy a FD_C_ClassifyResult object. More...
 
void FD_C_ClassifyResultWrapperToCResult (__fd_keep FD_C_ClassifyResultWrapper *fd_c_classify_result_wrapper, __fd_keep FD_C_ClassifyResult *fd_c_classify_result_data)
 Get a FD_C_ClassifyResult object from FD_C_ClassifyResultWrapper object. More...
 
FD_C_ClassifyResultWrapperFD_C_CreateClassifyResultWrapperFromCResult (__fd_keep FD_C_ClassifyResult *fd_c_classify_result)
 Create a new FD_C_ClassifyResultWrapper object from FD_C_ClassifyResult object. More...
 
void FD_C_ClassifyResultStr (FD_C_ClassifyResult *fd_c_classify_result, char *str_buffer)
 
FD_C_DetectionResultWrapperFD_C_CreateDetectionResultWrapper ()
 Create a new FD_C_DetectionResultWrapper object. More...
 
void FD_C_DestroyDetectionResultWrapper (__fd_take FD_C_DetectionResultWrapper *fd_c_detection_result_wrapper)
 Destroy a FD_C_DetectionResultWrapper object. More...
 
void FD_C_DestroyDetectionResult (__fd_take FD_C_DetectionResult *fd_c_detection_result)
 Destroy a FD_C_DetectionResult object. More...
 
void FD_C_DetectionResultWrapperToCResult (__fd_keep FD_C_DetectionResultWrapper *fd_c_detection_result_wrapper, __fd_keep FD_C_DetectionResult *fd_c_detection_result)
 Get a FD_C_DetectionResult object from FD_C_DetectionResultWrapper object. More...
 
FD_C_DetectionResultWrapperFD_C_CreateDetectionResultWrapperFromCResult (__fd_keep FD_C_DetectionResult *fd_c_detection_result)
 Create a new FD_C_DetectionResultWrapper object from FD_C_DetectionResult object. More...
 
void FD_C_DetectionResultStr (FD_C_DetectionResult *fd_c_detection_result, char *str_buffer)
 
FD_C_OCRResultWrapperFD_C_CreateOCRResultWrapper ()
 Create a new FD_C_OCRResultWrapper object. More...
 
void FD_C_DestroyOCRResultWrapper (__fd_take FD_C_OCRResultWrapper *fd_c_ocr_result_wrapper)
 Destroy a FD_C_OCRResultWrapper object. More...
 
void FD_C_DestroyOCRResult (__fd_take FD_C_OCRResult *fd_c_ocr_result)
 Destroy a FD_C_OCRResult object. More...
 
void FD_C_OCRResultWrapperToCResult (__fd_keep FD_C_OCRResultWrapper *fd_c_ocr_result_wrapper, __fd_keep FD_C_OCRResult *fd_c_ocr_result)
 Get a FD_C_OCRResult object from FD_C_OCRResultWrapper object. More...
 
FD_C_OCRResultWrapperFD_C_CreateOCRResultWrapperFromCResult (__fd_keep FD_C_OCRResult *fd_c_ocr_result)
 Create a new FD_C_OCRResultWrapper object from FD_C_OCRResult object. More...
 
void FD_C_OCRResultStr (FD_C_OCRResult *fd_c_ocr_result, char *str_buffer)
 
FD_C_SegmentationResultWrapperFD_C_CreateSegmentationResultWrapper ()
 Create a new FD_C_SegmentationResultWrapper object. More...
 
void FD_C_DestroySegmentationResultWrapper (__fd_take FD_C_SegmentationResultWrapper *fd_c_segmentation_result_wrapper)
 Destroy a FD_C_SegmentationResultWrapper object. More...
 
void FD_C_DestroySegmentationResult (__fd_take FD_C_SegmentationResult *fd_c_segmentation_result)
 Destroy a FD_C_SegmentationResult object. More...
 
void FD_C_SegmentationResultWrapperToCResult (__fd_keep FD_C_SegmentationResultWrapper *fd_c_segmentation_result_wrapper, __fd_keep FD_C_SegmentationResult *fd_c_segmentation_result)
 Get a FD_C_SegmentationResult object from FD_C_SegmentationResultWrapper object. More...
 
FD_C_SegmentationResultWrapperFD_C_CreateSegmentationResultWrapperFromCResult (__fd_keep FD_C_SegmentationResult *fd_c_segmentation_result)
 Create a new FD_C_SegmentationResultWrapper object from FD_C_SegmentationResult object. More...
 
void FD_C_SegmentationResultStr (FD_C_SegmentationResult *fd_c_segmentation_result, char *str_buffer)
 

Function Documentation

◆ FD_C_ClassifyResultStr()

void FD_C_ClassifyResultStr ( FD_C_ClassifyResult fd_c_classify_result,
char *  str_buffer 
)

◆ FD_C_ClassifyResultWrapperToCResult()

void FD_C_ClassifyResultWrapperToCResult ( __fd_keep FD_C_ClassifyResultWrapper fd_c_classify_result_wrapper,
__fd_keep FD_C_ClassifyResult fd_c_classify_result 
)

Get a FD_C_ClassifyResult object from FD_C_ClassifyResultWrapper object.

Parameters
[in]fd_c_classify_result_wrapperpointer to FD_C_ClassifyResultWrapper object
[out]fd_c_classify_resultpointer to FD_C_ClassifyResult object used to store data

◆ FD_C_CreateClassifyResultWrapper()

FD_C_ClassifyResultWrapper* FD_C_CreateClassifyResultWrapper ( )

Create a new FD_C_ClassifyResultWrapper object.

Returns
Return a pointer to FD_C_ClassifyResultWrapper object

◆ FD_C_CreateClassifyResultWrapperFromCResult()

FD_C_ClassifyResultWrapper* FD_C_CreateClassifyResultWrapperFromCResult ( __fd_keep FD_C_ClassifyResult fd_c_classify_result)

Create a new FD_C_ClassifyResultWrapper object from FD_C_ClassifyResult object.

Parameters
[in]fd_c_classify_resultpointer to FD_C_ClassifyResult object
Returns
Return a pointer to FD_C_ClassifyResultWrapper object

◆ FD_C_CreateDetectionResultWrapper()

FD_C_DetectionResultWrapper* FD_C_CreateDetectionResultWrapper ( )

Create a new FD_C_DetectionResultWrapper object.

Returns
Return a pointer to FD_C_DetectionResultWrapper object

◆ FD_C_CreateDetectionResultWrapperFromCResult()

FD_C_DetectionResultWrapper* FD_C_CreateDetectionResultWrapperFromCResult ( __fd_keep FD_C_DetectionResult fd_c_detection_result)

Create a new FD_C_DetectionResultWrapper object from FD_C_DetectionResult object.

Parameters
[in]fd_c_detection_resultpointer to FD_C_DetectionResult object
Returns
Return a pointer to FD_C_DetectionResultWrapper object

◆ FD_C_CreateOCRResultWrapper()

FD_C_OCRResultWrapper* FD_C_CreateOCRResultWrapper ( )

Create a new FD_C_OCRResultWrapper object.

Returns
Return a pointer to FD_C_OCRResultWrapper object

◆ FD_C_CreateOCRResultWrapperFromCResult()

FD_C_OCRResultWrapper* FD_C_CreateOCRResultWrapperFromCResult ( __fd_keep FD_C_OCRResult fd_c_ocr_result)

Create a new FD_C_OCRResultWrapper object from FD_C_OCRResult object.

Parameters
[in]fd_c_ocr_resultpointer to FD_C_OCRResult object
Returns
Return a pointer to FD_C_OCRResultWrapper object

◆ FD_C_CreateSegmentationResultWrapper()

FD_C_SegmentationResultWrapper* FD_C_CreateSegmentationResultWrapper ( )

Create a new FD_C_SegmentationResultWrapper object.

Returns
Return a pointer to FD_C_SegmentationResultWrapper object

◆ FD_C_CreateSegmentationResultWrapperFromCResult()

FD_C_SegmentationResultWrapper* FD_C_CreateSegmentationResultWrapperFromCResult ( __fd_keep FD_C_SegmentationResult fd_c_segmentation_result)

Create a new FD_C_SegmentationResultWrapper object from FD_C_SegmentationResult object.

Parameters
[in]fd_c_segmentation_resultpointer to FD_C_SegmentationResult object
Returns
Return a pointer to FD_C_SegmentationResultWrapper object

◆ FD_C_DestroyClassifyResult()

void FD_C_DestroyClassifyResult ( __fd_take FD_C_ClassifyResult fd_c_classify_result)

Destroy a FD_C_ClassifyResult object.

Parameters
[in]fd_c_classify_resultpointer to FD_C_ClassifyResult object

◆ FD_C_DestroyClassifyResultWrapper()

void FD_C_DestroyClassifyResultWrapper ( __fd_take FD_C_ClassifyResultWrapper fd_c_classify_result_wrapper)

Destroy a FD_C_ClassifyResultWrapper object.

Parameters
[in]fd_c_classify_result_wrapperpointer to FD_C_ClassifyResultWrapper object

◆ FD_C_DestroyDetectionResult()

void FD_C_DestroyDetectionResult ( __fd_take FD_C_DetectionResult fd_c_detection_result)

Destroy a FD_C_DetectionResult object.

Parameters
[in]fd_c_detection_resultpointer to FD_C_DetectionResult object

◆ FD_C_DestroyDetectionResultWrapper()

void FD_C_DestroyDetectionResultWrapper ( __fd_take FD_C_DetectionResultWrapper fd_c_detection_result_wrapper)

Destroy a FD_C_DetectionResultWrapper object.

Parameters
[in]fd_c_detection_result_wrapperpointer to FD_C_DetectionResultWrapper object

◆ FD_C_DestroyOCRResult()

void FD_C_DestroyOCRResult ( __fd_take FD_C_OCRResult fd_c_ocr_result)

Destroy a FD_C_OCRResult object.

Parameters
[in]fd_c_ocr_resultpointer to FD_C_OCRResult object

◆ FD_C_DestroyOCRResultWrapper()

void FD_C_DestroyOCRResultWrapper ( __fd_take FD_C_OCRResultWrapper fd_c_ocr_result_wrapper)

Destroy a FD_C_OCRResultWrapper object.

Parameters
[in]fd_c_ocr_result_wrapperpointer to FD_C_OCRResultWrapper object

◆ FD_C_DestroySegmentationResult()

void FD_C_DestroySegmentationResult ( __fd_take FD_C_SegmentationResult fd_c_segmentation_result)

Destroy a FD_C_SegmentationResult object.

Parameters
[in]fd_c_segmentation_resultpointer to FD_C_SegmentationResult object

◆ FD_C_DestroySegmentationResultWrapper()

void FD_C_DestroySegmentationResultWrapper ( __fd_take FD_C_SegmentationResultWrapper fd_c_segmentation_result_wrapper)

Destroy a FD_C_SegmentationResultWrapper object.

Parameters
[in]fd_c_segmentation_result_wrapperpointer to FD_C_SegmentationResultWrapper object

◆ FD_C_DetectionResultStr()

void FD_C_DetectionResultStr ( FD_C_DetectionResult fd_c_detection_result,
char *  str_buffer 
)

◆ FD_C_DetectionResultWrapperToCResult()

void FD_C_DetectionResultWrapperToCResult ( __fd_keep FD_C_DetectionResultWrapper fd_c_detection_result_wrapper,
__fd_keep FD_C_DetectionResult fd_c_detection_result 
)

Get a FD_C_DetectionResult object from FD_C_DetectionResultWrapper object.

Parameters
[in]fd_c_detection_result_wrapperpointer to FD_C_DetectionResultWrapper object
[out]fd_c_detection_resultpointer to FD_C_DetectionResult object used to store data

◆ FD_C_OCRResultStr()

void FD_C_OCRResultStr ( FD_C_OCRResult fd_c_ocr_result,
char *  str_buffer 
)

◆ FD_C_OCRResultWrapperToCResult()

void FD_C_OCRResultWrapperToCResult ( __fd_keep FD_C_OCRResultWrapper fd_c_ocr_result_wrapper,
__fd_keep FD_C_OCRResult fd_c_ocr_result 
)

Get a FD_C_OCRResult object from FD_C_OCRResultWrapper object.

Parameters
[in]fd_c_ocr_result_wrapperpointer to FD_C_OCRResultWrapper object
[out]fd_c_ocr_resultpointer to FD_C_OCRResult object used to store data

◆ FD_C_SegmentationResultStr()

void FD_C_SegmentationResultStr ( FD_C_SegmentationResult fd_c_segmentation_result,
char *  str_buffer 
)

◆ FD_C_SegmentationResultWrapperToCResult()

void FD_C_SegmentationResultWrapperToCResult ( __fd_keep FD_C_SegmentationResultWrapper fd_c_segmentation_result_wrapper,
__fd_keep FD_C_SegmentationResult fd_c_segmentation_result 
)

Get a FD_C_SegmentationResult object from FD_C_SegmentationResultWrapper object.

Parameters
[in]fd_c_segmentation_result_wrapperpointer to FD_C_SegmentationResultWrapper object
[out]fd_c_segmentation_resultpointer to FD_C_SegmentationResult object used to store data