a
suntianyu
2021-07-29 b186a5ae8097bf8f9796bf44b8a299e52b72918c
lib/h_interface.cpp
@@ -13,7 +13,7 @@
// 创建
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;
@@ -38,8 +38,9 @@
//    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;
}