Drop mv_facial_landmark_set_model call.
mv_facial_landmark_set_model API is a private one for internal developers.
As for custom model support, we will introduce a new interface to support
custom model later.
Change-Id: Ie118aaf33b79fef49c9bfccaa556807b75457940
Signed-off-by: Inki Dae <inki.dae@samsung.com>
void MvFaceLandmark::configure()
{
- int ret = mv_facial_landmark_set_model(_handle, "fld_u2net_160x160.tflite", "fld_u2net_160x160.json",
- "", "FLD_U2NET");
- if (ret != MEDIA_VISION_ERROR_NONE)
- throw runtime_error("Fail to set face landmark model.");
-
- ret = mv_facial_landmark_configure(_handle);
+ int ret = mv_facial_landmark_configure(_handle);
if (ret != MEDIA_VISION_ERROR_NONE)
throw runtime_error("Fail to configure face landmark detection.");
}