Namespaces | |
namespace | Darknet |
The namespace for the C++ Darknet API. | |
Functions | |
data | concat_data (data d1, data d2) |
void | Darknet::free_data (data &d) |
Frees the "data buffer" used to load images. | |
data | get_data_part (data d, int part, int total) |
void | get_next_batch (data d, int n, int offset, float *X, float *y) |
list * | get_paths (const char *filename) |
void | Darknet::image_loading_loop (const int idx, load_args args) |
Run the permanent thread image loading loop. | |
void | Darknet::load_single_image_data (load_args args) |
Load the given image data as described by the load_args parameter. | |
box_label * | read_boxes (char *filename, int *n) |
void | Darknet::run_image_loading_control_thread (load_args args) |
This runs as a std::thread . | |
void | Darknet::stop_image_loading_threads () |
Stop and join the image loading threads started in Darknet::run_image_loading_control_thread(). | |
void get_next_batch | ( | data | d, |
int | n, | ||
int | offset, | ||
float * | X, | ||
float * | y | ||
) |
list * get_paths | ( | const char * | filename | ) |
box_label * read_boxes | ( | char * | filename, |
int * | n | ||
) |