KanduAI SDK  1.1
emotion_c_api.h
Go to the documentation of this file.
1 #ifndef _EMOTION_C_API_H_
2 #define _EMOTION_C_API_H_
3 
4 #include "api_types.h"
5 
6 extern "C" {
14  void* rf_emotion_init(const char* model_path, rf_error_type *error);
15 
16 
23  void rf_emotion_close(void *classifier_handle, rf_error_type *error);
24 
46  int rf_emotion_classify_whole(void *classifier_handle,
47  void *image_handle,
48  int ymin, int xmin, int ymax, int xmax,
49  rf_error_type *error);
50 
51 }
52 
53 #endif //_EMOTION_C_API_H_
void * rf_emotion_init(const char *model_path, rf_error_type *error)
int rf_emotion_classify_whole(void *classifier_handle, void *image_handle, int ymin, int xmin, int ymax, int xmax, rf_error_type *error)
void rf_emotion_close(void *classifier_handle, rf_error_type *error)
Definition: api_types.h:74