Fix build error due to Mediavision ACR.
Recently, Mediavision API has been changed so Mediavision backend
of SingleO framework should be updated.
Change-Id: Icba1b75f0bf0bc06440db38ea9c1d890836f4f8f
Signed-off-by: Inki Dae <inki.dae@samsung.com>
#define __MV_FACE_DETECTION_H__
#include "IInferenceTaskInterface.h"
+#include "mv_face_detection.h"
#include "mv_face_detection_internal.h"
#include "SingleoCommonTypes.h"
#define __MV_FACE_LANDMARK_H__
#include "IInferenceTaskInterface.h"
+#include "mv_facial_landmark.h"
#include "mv_facial_landmark_internal.h"
#include "SingleoCommonTypes.h"
#define __MV_IMAGE_CLASSIFICATION_H__
#include "IInferenceTaskInterface.h"
+#include "mv_image_classification.h"
#include "mv_image_classification_internal.h"
#include "SingleoCommonTypes.h"
#define __MV_OBJECT_DETECTION_H__
#include "IInferenceTaskInterface.h"
+#include "mv_object_detection.h"
#include "mv_object_detection_internal.h"
#include "SingleoCommonTypes.h"
for (unsigned int idx = 0; idx < result_cnt; ++idx) {
Rect rect;
- ret = mv_face_detection_get_bbox(_handle, idx, &rect.left, &rect.top, &rect.right, &rect.bottom);
+ ret = mv_face_detection_get_bound_box(_handle, idx, &rect.left, &rect.top, &rect.right, &rect.bottom);
if (ret != MEDIA_VISION_ERROR_NONE)
throw runtime_error("Fail to get face detection bound box.");
for (unsigned int idx = 0; idx < result_cnt; ++idx) {
Rect rect;
- ret = mv_object_detection_get_bbox(_handle, idx, &rect.left, &rect.top, &rect.right, &rect.bottom);
+ ret = mv_object_detection_get_bound_box(_handle, idx, &rect.left, &rect.top, &rect.right, &rect.bottom);
if (ret != MEDIA_VISION_ERROR_NONE)
throw runtime_error("Fail to get object detection bound box.");