29 #ifndef _VX_KHR_CLASSIFIER_H_ 30 #define _VX_KHR_CLASSIFIER_H_ 38 #define OPENVX_KHR_CLASS "vx_khr_class" 49 #define VX_LIBRARY_KHR_CLASS_EXTENSION (0x2) 53 enum vx_kernel_nn_ext_e {
57 VX_KERNEL_CONVOLUTION_LAYER = VX_KERNEL_BASE(VX_ID_KHRONOS, VX_LIBRARY_KHR_NN_EXTENSION) + 0x0,
65 VX_ENUM_CLASSIFIER_MODEL= 0x1E,
103 VX_API_ENTRY vx_classifier_model
vxImportClassifierModel(vx_context context, vx_enum format,
const vx_uint8* ptr, vx_size length);
135 VX_API_ENTRY vx_node
vxScanClassifierNode(vx_graph graph,vx_tensor input_feature_map, vx_classifier_model model, vx_int32 scanwindow_width, vx_int32 scanwindow_height, vx_int32 step_x, vx_int32 step_y,
136 vx_array object_confidences, vx_array object_rectangles, vx_scalar num_objects);
vx_classifier_model vxImportClassifierModel(vx_context context, vx_enum format, vx_uint8 *ptr, vx_size length)
Creates an opaque reference classifier model This function creates a classifier model to be used in v...
vx_status vxReleaseClassifierModel(vx_classifier_model *model)
Releases a reference of an ClassifierModel object. The object may not be garbage collected until its ...
vx_classifier_model_format_e
Classifier model format enums. In the main specification only undefined binary format is supported...
vx_node vxScanClassifierNode(vx_graph graph, vx_tensor input_feature_map, vx_classifier_model model, vx_int32 scanwindow_width, vx_int32 scanwindow_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...
Undefined binary format. Using this enumeration will result in an implementation defined behaviour...
struct _vx_classifier_model * vx_classifier_model
classification model to be used in vxScanClassifierNode. The classification models are loadable by un...