#include #include #include CV_SDK_API cv_result_t cv_image_allocate( int width, int height, cv_pixel_format pixel_format, cv_image ** image ) { return 0; } CV_SDK_API void cv_image_release(cv_image* image) { } CV_SDK_API cv_result_t cv_common_color_convert( const cv_image* image_src, cv_image* image_dst ) { return 0; } CV_SDK_API cv_result_t cv_common_image_affine_transfer( const cv_image *image_src, const cv_pointf_t *src_points_array, const int src_points_count, const cv_pointf_t *dst_points_array, const int dst_points_count, cv_image *image_dst ) { return 0; } CV_SDK_API cv_result_t cv_common_image_resize( const cv_image *image_src, cv_image *image_dst, cv_image_resize_method method ) { return 0; } CV_SDK_API cv_result_t cv_common_image_crop( const cv_image *image_src, const cv_rect_t *crop_area, cv_image *image_dst ) { return 0; } CV_SDK_API cv_result_t cv_common_image_rotate( const cv_image *image_src, cv_image *image_dst, unsigned int rotate_degree ) { return 0; } CV_SDK_API cv_result_t cv_common_load_model( const char *file, cv_model_t *model ) { return 0; } CV_SDK_API void cv_common_unload_model( cv_model_t model ) { } CV_SDK_API cv_result_t cv_common_load_resource( const unsigned char *model_start, const unsigned char *model_end, cv_model_t *model ) { return 0; } CV_SDK_API cv_result_t cv_common_load_composite_model( const char *file, cv_composite_model_t *model ) { return 0; } CV_SDK_API cv_result_t cv_common_unload_composite_model( cv_composite_model_t model ) { return 0; } CV_SDK_API cv_result_t cv_common_composite_model_get_submodel( cv_composite_model_t model, const char *name, cv_model_t *submodel ) { return 0; } CV_SDK_API void cv_face_algorithm_info() { } CV_SDK_API cv_result_t cv_face_init_license_config(const char* szLicense) { return 0; } CV_SDK_API cv_result_t cv_face_create_detector( cv_handle_t *handle, const char *model_path, unsigned int config ) { return 0; } CV_SDK_API cv_result_t cv_face_detect_get_threshold( cv_handle_t detector_handle, float *threshold ) { return 0; } CV_SDK_API cv_result_t cv_face_detect_set_threshold( cv_handle_t detector_handle, float threshold ) { return 0; } CV_SDK_API void cv_face_destroy_detector( cv_handle_t detector_handle ) { } CV_SDK_API cv_result_t cv_face_detect( cv_handle_t detector_handle, const unsigned char *image, cv_pixel_format pixel_format, int image_width, int image_height, int image_stride, cv_face_orientation orientation, cv_face_t **p_faces_array, int *p_faces_count ) { return 0; } CV_SDK_API void cv_face_release_detector_result( cv_face_t *faces_array, int faces_count ) { return; } CV_SDK_API cv_result_t cv_face_create_tracker( cv_handle_t *handle, const char *model_path, unsigned int config ) { return 0; } CV_SDK_API void cv_face_destroy_tracker( cv_handle_t tracker_handle ) { return; } CV_SDK_API cv_result_t cv_face_track( cv_handle_t tracker_handle, const unsigned char *image, cv_pixel_format pixel_format, int image_width, int image_height, int image_stride, cv_face_orientation orientation, cv_face_t **p_faces_array, int *p_faces_count ) { return 0; } CV_SDK_API void cv_face_reset_tracker( cv_handle_t tracker_handle ) { return; } CV_SDK_API void cv_face_release_tracker_result( cv_face_t *faces_array, int faces_count ) { } CV_SDK_API cv_result_t cv_face_track_set_detect_face_cnt_limit( cv_handle_t tracker_handle, int detect_face_cnt_limit, int* val ) { return 0; } CV_SDK_API cv_result_t cv_verify_create_handle( cv_handle_t* handle, const char *model_path ) { return 0; } CV_SDK_API cv_result_t cv_verify_duplicate_handle( cv_handle_t old_handle, cv_handle_t* new_handle ) { return 0; } CV_SDK_API void cv_verify_destroy_handle( cv_handle_t verify_handle ) { return; } CV_SDK_API int cv_verify_get_version( cv_handle_t verify_handle ) { return 0; } CV_SDK_API int cv_verify_get_feature_length( cv_handle_t verify_handle ) { return 0; } CV_SDK_API cv_result_t cv_verify_get_feature( cv_handle_t verify_handle, const unsigned char *image, cv_pixel_format pixel_format, int image_width, int image_height, int image_stride, const cv_face_t *face, cv_feature_t **p_feature, unsigned int *feature_blob_size ) { return 0; } CV_SDK_API cv_result_t cv_verify_serialize_feature( const cv_feature_t *feature, char *feature_str ) { return 0; } CV_SDK_API cv_feature_t * cv_verify_deserialize_feature( const char *feature_str ) { return 0; } CV_SDK_API cv_result_t cv_verify_compare_feature( cv_handle_t verify_handle, const cv_feature_t *feature1, const cv_feature_t *feature2, float *score ) { return 0; } CV_SDK_API void cv_verify_release_feature( cv_feature_t *feature ) { return; } CV_SDK_API cv_result_t cv_verify_create_db(cv_handle_t *handle) { return 0; } CV_SDK_API void cv_verify_destroy_db( cv_handle_t db_handle ) { } CV_SDK_API cv_result_t cv_verify_build_db( cv_handle_t db_handle, cv_feature_t* const *items, unsigned int item_count ) { return 0; } CV_SDK_API cv_result_t cv_verify_add_face( cv_handle_t db_handle, const cv_feature_t *item, int *idx ) { return 0; } CV_SDK_API cv_result_t cv_verify_delete_face( cv_handle_t db_handle, int idx ) { return 0; } CV_SDK_API cv_result_t cv_verify_save_db( cv_handle_t db_handle, const char *db_path ) { return 0; } CV_SDK_API cv_result_t cv_verify_load_db( cv_handle_t db_handle, const char *db_path ) { return 0; } CV_SDK_API cv_result_t cv_verify_search_face( cv_handle_t verify_handle, cv_handle_t db_handle, const cv_feature_t *query, unsigned int top_k, int *top_idxs, float *top_scores, unsigned int *result_length ) { return 0; } CV_SDK_API cv_result_t cv_verify_search_face_from_list( cv_handle_t verify_handle, cv_feature_t* const *list_feature, int list_count, const cv_feature_t *query, unsigned int top_k, int *top_idxs, float *top_scores, unsigned int *result_length ) { return 0; } CV_SDK_API cv_result_t cv_verify_grouping( cv_handle_t verify_handle, const cv_feature_t * const *features, unsigned int feature_count, unsigned int *p_groups_array, unsigned int *groups_count ) { return 0; } CV_SDK_API void cv_verify_initialize_labels( unsigned int *p_groups_array, unsigned int feature_count ) { } CV_SDK_API cv_result_t cv_face_create_clustering( cv_handle_t *clustering_handle, const char* model_path ) { return 0; } CV_SDK_API cv_result_t cv_face_clustering( cv_handle_t clustering_handle, const cv_feature_t * const *features, unsigned int *labels, int size ) { return 0; } CV_SDK_API void cv_face_clustering_destroy( cv_handle_t clustering_handle ) { }