DLAlgoType
Definition dl_definition.h:92
@ FastLocating
Definition dl_definition.h:98
@ Unknown
Definition dl_definition.h:93
@ Classification
Definition dl_definition.h:94
@ DefectSegmentation
Definition dl_definition.h:97
@ ObjectDetection
<Classification
Definition dl_definition.h:95
@ InstanceSegmentation
Definition dl_definition.h:96
@ EdgeDetection
Definition dl_definition.h:99
FloatPrecisionType
This enumeration defines the floating-point format.
Definition dl_definition.h:87
@ FP32
Single-precision floating-point format.
Definition dl_definition.h:89
@ FP16
Half-precision floating-point format.
Definition dl_definition.h:88
BackendType
This enumeration defines the backend type.
Definition dl_definition.h:77
@ CPU
CPU mode. Used when a GPU is not available.
Definition dl_definition.h:81
@ GpuDefault
GPU default mode.
Definition dl_definition.h:78
@ GpuOptimization
Definition dl_definition.h:79
StatusCode
This enumeration defines the codes of status.
Definition dl_definition.h:43
@ E_INVALID_MODEL_PACK
Error: invalid model package.
Definition dl_definition.h:48
@ E_INIT_FAILED
Error: engine initialization failed.
Definition dl_definition.h:46
@ E_UNKNOWN
Unknown status.
Definition dl_definition.h:45
@ E_MODEL_REGISTEXCEEDLIMIT
Definition dl_definition.h:65
@ E_INVALID_ENGINE
Error: engine creation failed.
Definition dl_definition.h:70
@ E_INVALID_BACKEND_TYPE
Error: invalid backend type.
Definition dl_definition.h:71
@ E_UNSUPPORTED_BACKEND
Error: unsupported inference backend.
Definition dl_definition.h:53
@ E_LOAD_FAILED
Error: model loading failed.
Definition dl_definition.h:55
@ E_CONVERT_FAILED
Error: model conversion failed.
Definition dl_definition.h:51
@ E_SET_GPUID_ERROR
Error: incorrect GPU ID setting.
Definition dl_definition.h:69
@ I_LOADING
Status: model is being loaded.
Definition dl_definition.h:54
@ E_INVALID_MODEL_PATH
Error: invalid model package path.
Definition dl_definition.h:47
@ E_CONVERT_WITHOUT_INIT
Error: model uninitialized before conversion.
Definition dl_definition.h:52
@ E_LOAD_WITHOUT_CONVERT
Error: model unconverted before loading.
Definition dl_definition.h:56
@ E_MODULE_TYPE_ERROR
Error: the function of an incorrect model type was called.
Definition dl_definition.h:68
@ E_LOAD_WITHOUT_INIT
Error: uninitialized before loading.
Definition dl_definition.h:57
@ E_OUT_OF_DEVICE_MEMORY
Error: out of video memory.
Definition dl_definition.h:60
@ E_UNZIP_ERROR
Error: unable to unzip the model package.
Definition dl_definition.h:63
@ E_MODULE_INDEX_ERROR
Error: module index out of range.
Definition dl_definition.h:67
@ E_INVALID_MODEL_VERSION
Error: invalid model package version.
Definition dl_definition.h:49
@ E_OUT_OF_HOST_MEMORY
Error: out of memory.
Definition dl_definition.h:59
@ SUCCESS
Success status.
Definition dl_definition.h:44
@ E_INVALID_IMAGE_PATH
Error: invalid image path.
Definition dl_definition.h:62
@ E_INFER_FAILED
Error: inference failed.
Definition dl_definition.h:61
@ E_INFER_WITHOUT_LOAD
Error: model unloaded before inference.
Definition dl_definition.h:58
@ I_CONVERTING
Status: model is being converted.
Definition dl_definition.h:50
@ E_INVALID_IMAGE_NULLPTR
Error: invalid image pointer.
Definition dl_definition.h:64
This struct defines Engine.
Definition dl_definition.h:118
int id
The ID of the engine.
Definition dl_definition.h:120
int type
The type of algorithm corresponding to the engine.
Definition dl_definition.h:119
This struct defines Image.
Definition dl_definition.h:106
int depth
The depth of the image.
Definition dl_definition.h:110
unsigned char * data
The pointer of the image data.
Definition dl_definition.h:111
int channel
The number of channels in the image.
Definition dl_definition.h:109
int width
The width of the image.
Definition dl_definition.h:107
int height
The height of the image.
Definition dl_definition.h:108