Let C-API users use Intel NCS.
CC: Wook Song <wook16.song@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
/**
* @brief Types of NNFWs.
* @since_tizen 5.5
+ * @details To check if a nnfw-type is supported in a system, an application may call the API, ml_check_nnfw_availability()
*/
typedef enum {
ML_NNFW_TYPE_ANY = 0, /**< NNHW is not specified (Try to determine the NNFW with file extension). */
ML_NNFW_TYPE_TENSORFLOW_LITE, /**< Tensorflow-lite (.tflite). */
ML_NNFW_TYPE_TENSORFLOW, /**< Tensorflow (.pb). */
ML_NNFW_TYPE_NNFW, /**< Neural Network Inference framework, which is developed by SR */
+ ML_NNFW_TYPE_MVNC, /**< Intel NCSDK (libmvnc). */
} ml_nnfw_type_e;
/**
goto error;
}
break;
+ case ML_NNFW_TYPE_MVNC:
+ g_object_set (filter_obj, "framework", "movidius-ncsdk2", "model", model, NULL);
+ /** @todo Verify this! (this code is not tested) */
+ break;
default:
/** @todo Add other fw later. */
ml_loge ("The given nnfw is not supported.");