派生自 Algorithm/baseDetector

Scheaven
2021-06-03 168af40fe9a3cc81c6ee16b3e81f154780c36bdb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//
// Created by Scheaven on 2020/4/26.
//
 
#ifndef INC_01_CPP_SORT_HUMAN_INTERFACE_H
#define INC_01_CPP_SORT_HUMAN_INTERFACE_H
 
#include "./core/tracker_manager.h"
#include "utils/result_util.h"
#include "utils/config_util.h"
 
void* manager_create(const char *conf, int *max_chan);
int set_cam_reg(void* handle, const char *data, const int len, const int type);
int set_id_name(void *handle, const char *chan_json, const int json_len, const int type);
int set_callback(void* handle, fn FUNC, void *args);
void* frame_result(void *handle, const void *img, const int chan);
void* frame_result_face(void *handle, const void *img, const char* arg_json, const int arg_len, void *face_info, const int face_info_size);
void manager_release(void* handle);
void manager_result(void *res);
 
void ReadJsonFromFile(const char* filename); // 读取json文件
int setCamConfig(const char* data);
int ReadJsonStr(void* handle, const char* data);
 
void init_TResult(TResult *t);
 
#endif //INC_01_CPP_SORT_HUMAN_INTERFACE_H