CoreFlow 1.0.0
A modern orchestration and execution runtime
Loading...
Searching...
No Matches
vx_khr_class.h File Reference
#include <VX/vx.h>

Macros

#define OPENVX_KHR_CLASS   "vx_khr_class"
 
#define VX_LIBRARY_KHR_CLASS_EXTENSION   (0x2)
 The Classifier Extension Library Set.
 

Typedefs

typedef struct _vx_classifier_model * vx_classifier_model
 classification model to be used in vxScanClassifierNode. The classification models are loadable by undefined binary format see vxImportClassifierModel. Extensions will be added to the specification, to support a defined binary format.
 

Enumerations

enum  vx_kernel_nn_ext_e { VX_KERNEL_SCAN_CLASSIFIER = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_CLASS_EXTENSION) + 0x0 }
 The list of Classifier Extension Kernels. More...
 
enum  vx_class_enum_e { VX_ENUM_CLASSIFIER_MODEL = 0x1E }
 Classifier Extension type enums. More...
 
enum  vx_classifier_model_format_e { VX_CLASSIFIER_MODEL_UNDEFINED = VX_ENUM_BASE( VX_ID_KHRONOS, VX_ENUM_CLASSIFIER_MODEL ) + 0x0 }
 Classifier model format enums. In the main specification only undefined binary format is supported. Extensions to the specification will be added in order to support specific binary format. More...
 
enum  vx_classifier_type_e { VX_TYPE_CLASSIFER_MODEL = 0x02C }
 The type enumeration lists all classifier extension types. More...
 

Functions

VX_API_ENTRY vx_classifier_model VX_API_CALL vxImportClassifierModel (vx_context context, vx_enum format, const vx_uint8 *ptr, vx_size length)
 Creates an opaque reference classifier model This function creates a classifier model to be used in vxScanClassifierNode. The object classifier object is a read-only constant object. It cannot be changed during graph execution.
 
VX_API_ENTRY vx_status VX_API_CALL vxReleaseClassifierModel (vx_classifier_model *model)
 Releases a reference of an ClassifierModel object. The object may not be garbage collected until its total reference and its contained objects count is zero. After returning from this function the reference is zeroed/cleared.
 
VX_API_ENTRY vx_node VX_API_CALL vxScanClassifierNode (vx_graph graph, vx_tensor input_feature_map, vx_classifier_model model, vx_int32 scan_window_width, vx_int32 scan_window_height, vx_int32 step_x, vx_int32 step_y, vx_array object_confidences, vx_array object_rectangles, vx_scalar num_objects)
 [Graph] Scans a feature-map (input_feature_map) and detect the classification for each scan-window.
 

Macro Definition Documentation

◆ OPENVX_KHR_CLASS

#define OPENVX_KHR_CLASS   "vx_khr_class"