The one of mediavision's enum was deprecated which used in modality_vision.
So, it changed from MV_INFERENCE_TARGET_TYPE to MV_INFERENCE_TARGET_DEVICE_TYPE.
Change-Id: Ia14e71f6652c479fb5084c8c25e9ebe1e780c8be
RET_IF_FAIL(mv_engine_config_set_int_attribute(
handle, MV_INFERENCE_BACKEND_TYPE, MV_INFERENCE_BACKEND_TFLITE));
RET_IF_FAIL(mv_engine_config_set_int_attribute(
- handle, MV_INFERENCE_TARGET_TYPE, MV_INFERENCE_TARGET_CPU));
+ handle, MV_INFERENCE_TARGET_DEVICE_TYPE, MV_INFERENCE_TARGET_DEVICE_CPU));
if (meta_file != NULL)
RET_IF_FAIL(mv_engine_config_set_string_attribute(
handle, MV_INFERENCE_MODEL_META_FILE_PATH, meta_file));