KanduAI SDK  1.1
processor_c_api.h
Go to the documentation of this file.
1 #ifndef _PROCESSOR_C_API_H_
2 #define _PROCESSOR_C_API_H_
3 
4 #include "api_types.h"
5 #include "processor.h"
6 
7 
8 extern "C" {
16  void* rf_processor_init(const char* model_path, rf_error_type *error);
17 
18 
28  void* rf_processor_init_from_buffer(uint8_t *buffer, int buffer_len, const char *json_params, rf_error_type *error);
29 
36  void rf_processor_close(void *processor_handle, rf_error_type *error);
37 
47  rf_object_type rf_processor_process_whole(void *processor_handle,
48  void *image_handle, rf_object_type params, rf_error_type *error);
49 
63  rf_object_type rf_processor_process(void *processor_handle,
64  void *image_handle,
65  rf_object_type params,
66  int ymin, int xmin, int ymax, int xmax, rf_error_type *error);
67 
68 }
69 
70 #endif //_PROCESSOR_C_API_H_
void * rf_processor_init(const char *model_path, rf_error_type *error)
rf_object_type rf_processor_process_whole(void *processor_handle, void *image_handle, rf_object_type params, rf_error_type *error)
rf_object_type rf_processor_process(void *processor_handle, void *image_handle, rf_object_type params, int ymin, int xmin, int ymax, int xmax, rf_error_type *error)
void rf_processor_close(void *processor_handle, rf_error_type *error)
Definition: api_types.h:129
void * rf_processor_init_from_buffer(uint8_t *buffer, int buffer_len, const char *json_params, rf_error_type *error)
Definition: api_types.h:74