KanduAI SDK  1.1
face_landmarks_c_api.h
Go to the documentation of this file.
1 #ifndef _FACE_LANDMARKS_C_API_H_
2 #define _FACE_LANDMARKS_C_API_H_
3 
4 #include "api_types.h"
5 
6 extern "C" {
14  void *rf_face_landmarks_init(const char *landmarks_path, rf_error_type *error);
15 
22  void rf_face_landmarks_close(void *face_landmarks_handle, rf_error_type *error);
23 
37  void rf_face_landmarks_get(void *face_landmarks_handle, void *image_handle,
38  int ymin, int xmin, int ymax, int xmax,
39  rf_int_vector_type *out_landmarks, rf_error_type *error);
40 
41 
54  void rf_face_landmarks_align_face(rf_int_vector_type landmarks, void *image_handle,
55  int ymin, int xmin, int ymax, int xmax,
56  void **out_align_face, rf_error_type *error);
57 }
58 
59 #endif // _FACE_LANDMARKS_C_API_H_
60 
void * rf_face_landmarks_init(const char *landmarks_path, rf_error_type *error)
void rf_face_landmarks_align_face(rf_int_vector_type landmarks, void *image_handle, int ymin, int xmin, int ymax, int xmax, void **out_align_face, rf_error_type *error)
void rf_face_landmarks_get(void *face_landmarks_handle, void *image_handle, int ymin, int xmin, int ymax, int xmax, rf_int_vector_type *out_landmarks, rf_error_type *error)
Definition: api_types.h:22
Definition: api_types.h:74
void rf_face_landmarks_close(void *face_landmarks_handle, rf_error_type *error)