Load backend path ini file in default.
MV_INFERENCE_BACKEND_MLAPI type has been deprecated so inference engine
mlapi backend should be used in default by inference_engine_backend_path.ini
file.
Change-Id: If0fbdbfa07fba60e9d8939f9ce3cfe49ff9e01e4
Signed-off-by: Inki Dae <inki.dae@samsung.com>
return MEDIA_VISION_ERROR_OUT_OF_MEMORY;
}
- ret = MEDIA_VISION_ERROR_NONE;
-
- // Load configuration file if a given backend type is mlapi.
- if (config.backend_type == MV_INFERENCE_BACKEND_MLAPI) {
- ret = mBackend->LoadConfigFile();
- if (ret != INFERENCE_ENGINE_ERROR_NONE) {
- return MEDIA_VISION_ERROR_INVALID_OPERATION;
- }
+ ret = mBackend->LoadConfigFile();
+ if (ret != INFERENCE_ENGINE_ERROR_NONE) {
+ return MEDIA_VISION_ERROR_INVALID_OPERATION;
}
// Bind a backend library.