Classes | |
struct | _IGNORE_PIPE_SIGNAL |
struct | detection_t |
class | JSON_sender |
class | MJPG_sender |
struct | similarity_detections_t |
Macros | |
#define | _XOPEN_SOURCE |
#define | ADDRPOINTER unsigned int* |
#define | HOSTENT struct hostent |
#define | INVALID_SOCKET -1 |
#define | NI_MAXHOST 1025 |
#define | NI_NUMERICHOST 0x02 |
#define | PORT unsigned short |
#define | SOCKADDR struct sockaddr |
#define | SOCKADDR_IN struct sockaddr_in |
#define | SOCKET int |
#define | SOCKET_ERROR -1 |
Functions | |
int | check_classes_id (detection det1, detection det2, float thresh) |
int | check_prob (detection det, float thresh) |
static int | close_socket (int s) |
void | delete_json_sender () |
int | fill_remaining_id (detection *new_dets, int new_dets_num, int new_track_id, float thresh, int detection_count) |
std::string | get_system_frame_time_string () |
double | get_time () |
double | get_time_point () |
float * | make_float_array (float *src, size_t size) |
int | send_http_post_request (char *http_post_host, int server_port, const char *videosource, detection *dets, int nboxes, int classes, char **names, long long int frame_id, int ext_output, int timeout) |
void | send_json (detection *dets, int nboxes, int classes, char **names, long long int frame_id, int port, int timeout) |
void | send_json_custom (char const *send_buf, int port, int timeout) |
void | send_mjpeg (mat_cv *mat, int port, int timeout, int quality) |
void | set_track_id (detection *new_dets, int new_dets_num, float thresh, float sim_thresh, float track_ciou_norm, int deque_size, int dets_for_track, int dets_for_show) |
void | start_timer () |
void | stop_timer () |
void | stop_timer_and_show () |
void | stop_timer_and_show_name (char *name) |
void | total_time () |
Variables | |
struct _IGNORE_PIPE_SIGNAL | _init_once |
static std::unique_ptr< JSON_sender > | js_ptr |
static std::mutex | mtx |
static std::mutex | mtx_mjpeg |
#define _XOPEN_SOURCE |
#define ADDRPOINTER unsigned int* |
#define HOSTENT struct hostent |
#define INVALID_SOCKET -1 |
#define NI_MAXHOST 1025 |
#define NI_NUMERICHOST 0x02 |
#define PORT unsigned short |
#define SOCKADDR struct sockaddr |
#define SOCKADDR_IN struct sockaddr_in |
#define SOCKET int |
#define SOCKET_ERROR -1 |
int check_prob | ( | detection | det, |
float | thresh | ||
) |
|
static |
void delete_json_sender | ( | ) |
int fill_remaining_id | ( | detection * | new_dets, |
int | new_dets_num, | ||
int | new_track_id, | ||
float | thresh, | ||
int | detection_count | ||
) |
std::string get_system_frame_time_string | ( | ) |
double get_time | ( | ) |
double get_time_point | ( | ) |
float * make_float_array | ( | float * | src, |
size_t | size | ||
) |
int send_http_post_request | ( | char * | http_post_host, |
int | server_port, | ||
const char * | videosource, | ||
detection * | dets, | ||
int | nboxes, | ||
int | classes, | ||
char ** | names, | ||
long long int | frame_id, | ||
int | ext_output, | ||
int | timeout | ||
) |
void send_json | ( | detection * | dets, |
int | nboxes, | ||
int | classes, | ||
char ** | names, | ||
long long int | frame_id, | ||
int | port, | ||
int | timeout | ||
) |
void send_json_custom | ( | char const * | send_buf, |
int | port, | ||
int | timeout | ||
) |
void send_mjpeg | ( | mat_cv * | mat, |
int | port, | ||
int | timeout, | ||
int | quality | ||
) |
void set_track_id | ( | detection * | new_dets, |
int | new_dets_num, | ||
float | thresh, | ||
float | sim_thresh, | ||
float | track_ciou_norm, | ||
int | deque_size, | ||
int | dets_for_track, | ||
int | dets_for_show | ||
) |
void start_timer | ( | ) |
void stop_timer | ( | ) |
void stop_timer_and_show | ( | ) |
void stop_timer_and_show_name | ( | char * | name | ) |
void total_time | ( | ) |
struct _IGNORE_PIPE_SIGNAL _init_once |
|
static |
|
static |
|
static |