| | |
| | | // 创建
|
| | | YOLOTRACK_API void* create(const char *conf, int *max_chan)
|
| | | {
|
| | | CLog::Initialize("/opt/vasystemn/models/humanCount/log.properties");
|
| | | CLog::Initialize("/opt/vasystem/bin/models/humanCount/log.properties");
|
| | | AriManager *handle = new AriManager();
|
| | | ReadJsonFromFile(conf);
|
| | | return handle;
|
| | |
| | | // TResult *t_result = new TResult();
|
| | | TResult *t_result = (TResult*)malloc(sizeof(TResult));
|
| | | init_TResult(t_result);
|
| | |
|
| | | DEBUG( "------yolo before ");
|
| | | h->doInfer("", img, t_result, face_info, face_info_size);
|
| | | DEBUG( "------yolo back " );
|
| | |
|
| | | return t_result;
|
| | | }
|