//
|
// 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
|