chenshijun
2019-04-22 291dbcd9331cd0df41addef74defa4654ee034fb
QiaoJiaSystem/FaceDetectServer/FaceExtractServerI.cpp
@@ -6,8 +6,8 @@
#include <THFeature_i.h>
FaceExtractServerI::FaceExtractServerI() {
    long threadMax = appPref.getLongData("thread.max");
    long gpuIndex = appPref.getLongData("gpu.index");
    long threadMax = appPref.getIntData("thread.max");
    long gpuIndex = appPref.getIntData("gpu.index");
    for (int i = 0; i < threadMax; i++) {
        extractResourcesManager.pushResource(i);
    }
@@ -47,7 +47,9 @@
        }
        return feature;
    } else {
        throw std::runtime_error("shareMemory attach faild");
        ERR("shareMemory attach faild");
//        throw std::runtime_error("shareMemory attach faild");
    }
    return feature;
}