| | |
| | | struct stface_handles |
| | | { |
| | | cv_handle_t handle_verify; |
| | | cv_handle_t handle_db; |
| | | cv_handle_t handle_detect; |
| | | cv_handle_t handle_db; |
| | | |
| | | stface_handles() : handle_verify(nullptr), handle_db(nullptr), handle_detect(nullptr) |
| | | stface_handles() : handle_verify(nullptr), handle_detect(nullptr), handle_db(nullptr) |
| | | {} |
| | | }; |
| | | |
| | |
| | | cv_feature_t *stface_extract_feature(stface_handles& handles, const char *image_path); |
| | | cv_feature_t *stface_extract_feature(stface_handles& handles, const STFaceImage& image); |
| | | |
| | | float stface_compare(stface_handles& handles, const STFaceImage& image1, const STFaceImage& image2); |
| | | |
| | | int stface_db_add(stface_handles& handles, const char *image_path); |
| | | int stface_db_add(stface_handles& handles, const STFaceImage& image); |
| | | |