Name: inference-engine-opencv
Summary: OpenCV based implementation of inference-engine-interface
Version: 0.0.1
-Release: 4
+Release: 5
Group: Multimedia/Libraries
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
namespace InferenceEngineImpl {
namespace OpenCVImpl {
-InferenceOpenCV::InferenceOpenCV(std::string protoFile, std::string weightFile,
+InferenceOpenCV::InferenceOpenCV(std::string protoFile, std::string weightFile,
std::string userFile) :
mNet(),
mConfigFile(protoFile),
{
int ret = INFERENCE_ENGINE_ERROR_NONE;
- if (access(mConfigFile.c_str(), F_OK) ||
+ if (access(mConfigFile.c_str(), F_OK) ||
access(mWeightFile.c_str(), F_OK)) {
LOGE("protofile in [%s] ", mConfigFile.c_str());
LOGE("weightFilePath in [%s] ", mWeightFile.c_str());
LOGI("test....");
LOGI("names: %s", mUserListName[classIdx].c_str());
results.names.push_back(mUserListName[classIdx]);
-
+
}
results.number_of_classes = mOutputNumbers;
void EngineCommonDestroy(class IInferenceEngineCommon *engine)
{
- delete engine;
+ delete engine;
}
}
} /* OpenCVImpl */