Functions | |
void * | fetch_in_thread (void *ptr) |
void * | fetch_in_thread_sync (void *ptr) |
void * | detect_in_thread (void *ptr) |
void * | detect_in_thread_sync (void *ptr) |
double | get_wall_time () |
void | demo (char *cfgfile, char *weightfile, float thresh, float hier_thresh, int cam_index, const char *filename, char **names, int classes, int avgframes, int frame_skip, char *prefix, char *out_filename, int mjpeg_port, int dontdraw_bbox, int json_port, int dont_show, int ext_output, int letter_box_in, int time_limit_sec, char *http_post_host, int benchmark, int benchmark_layers) |
Variables | |
static char ** | demo_names |
static image ** | demo_alphabet |
static int | demo_classes |
static int | nboxes = 0 |
static detection * | dets = NULL |
static network | net |
static image | in_s |
static image | det_s |
static cap_cv * | cap |
static float | fps = 0 |
static float | demo_thresh = 0 |
static int | demo_ext_output = 0 |
static long long int | frame_id = 0 |
static int | demo_json_port = -1 |
static bool | demo_skip_frame = false |
static int | avg_frames |
static int | demo_index = 0 |
static mat_cv ** | cv_images |
mat_cv * | in_img |
mat_cv * | det_img |
mat_cv * | show_img |
static volatile int | flag_exit |
static int | letter_box = 0 |
static const int | thread_wait_ms = 1 |
static volatile int | run_fetch_in_thread = 0 |
static volatile int | run_detect_in_thread = 0 |
void* fetch_in_thread | ( | void * | ptr | ) |
void* fetch_in_thread_sync | ( | void * | ptr | ) |
void* detect_in_thread | ( | void * | ptr | ) |
void* detect_in_thread_sync | ( | void * | ptr | ) |
double get_wall_time | ( | ) |
void demo | ( | char * | cfgfile, |
char * | weightfile, | ||
float | thresh, | ||
float | hier_thresh, | ||
int | cam_index, | ||
const char * | filename, | ||
char ** | names, | ||
int | classes, | ||
int | avgframes, | ||
int | frame_skip, | ||
char * | prefix, | ||
char * | out_filename, | ||
int | mjpeg_port, | ||
int | dontdraw_bbox, | ||
int | json_port, | ||
int | dont_show, | ||
int | ext_output, | ||
int | letter_box_in, | ||
int | time_limit_sec, | ||
char * | http_post_host, | ||
int | benchmark, | ||
int | benchmark_layers | ||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
mat_cv* in_img |
mat_cv* det_img |
mat_cv* show_img |
|
static |
|
static |
|
static |
|
static |
|
static |