void darknet_fix_out_of_bound_values | ( | DarknetNetworkPtr | ptr, |
const bool | toggle | ||
) |
This is the C
equivalent to Darknet::fix_out_of_bound_values().
void darknet_free_neural_network | ( | DarknetNetworkPtr * | ptr | ) |
This is the C
equivalent to Darknet::free_neural_network().
DarknetNetworkPtr darknet_load_neural_network | ( | const char *const | cfg_filename, |
const char *const | names_filename, | ||
const char *const | weights_filename | ||
) |
This is the C
equivalent to Darknet::load_neural_network().
void darknet_network_dimensions | ( | DarknetNetworkPtr | ptr, |
int * | w, | ||
int * | h, | ||
int * | c | ||
) |
This is the C
equivalent to Darknet::network_dimensions().
void darknet_set_detection_threshold | ( | DarknetNetworkPtr | ptr, |
float | threshold | ||
) |
This is the C
equivalent to Darknet::set_detection_threshold().
void darknet_set_gpu_index | ( | int | idx | ) |
void darknet_set_non_maximal_suppression_threshold | ( | DarknetNetworkPtr | ptr, |
float | threshold | ||
) |
This is the C
equivalent to Darknet::set_non_maximal_suppression_threshold().
void darknet_set_trace | ( | const bool | flag | ) |
void darknet_set_verbose | ( | const bool | flag | ) |