site/0.6/lib/ccv-icf/index.html
ccv_icf_classifier_cascade_t* ccv_icf_classifier_cascade_new(ccv_array_t* posfiles, int posnum, ccv_array_t* bgfiles, int negnum, ccv_array_t* testfiles, const char* dir, ccv_icf_new_param_t params)
Create a new ICF classifier cascade from given positive examples and background images. This function has a hard dependency on GSL and better be used with libdispatch for maximum efficiency.
void ccv_icf_classifier_cascade_soft(ccv_icf_classifier_cascade_t* cascade, ccv_array_t* posfiles, double acceptance)
Compute soft cascade thresholds to speed up the classifier cascade performance.
ccv_array_t* ccv_icf_detect_objects(ccv_dense_matrix_t* a, ccv_classifier_cascade_t** cascades, int count, ccv_icf_param_t params)
ccv_array_t* ccv_icf_detect_objects(ccv_dense_matrix_t* a, ccv_multiscale_classifier_cascade_t** cascades, int count, ccv_icf_param_t params)
Using a ICF classifier cascade to detect objects in a given image. If you have several classifier cascades, it is better to use them in one method call. In this way, ccv will try to optimize the overall performance.
ccv_icf_classifier_cascade_t* ccv_icf_read_classifier_cascade(const char* filename)
Read a ICF classifier from a file.
void ccv_icf_write_classifier_cascade(ccv_icf_classifier_cascade_t* classifier, const char* filename)
Write a ICF classifier to a file.
void ccv_icf_classifier_cascade_free(ccv_icf_classifier_cascade_t* classifier)
Free up the memory of ICF classifier cascade.