* @pre Request an inference by calling mv_face_detection_inference()
*/
int mv_face_detection_get_result_count(mv_face_detection_h handle, unsigned long *frame_number,
- unsigned int *result_cnt);
+ unsigned int *result_cnt);
/**
* @brief Gets a bound box to detected face region.
* @pre Get result count by calling mv_face_detection_get_result_count()
*/
int mv_face_detection_get_bound_box(mv_face_detection_h handle, unsigned int index, int *left, int *top, int *right,
- int *bottom);
+ int *bottom);
/**
* @}
*/
* @pre Request an inference by calling mv_facial_landmark_inference()
*/
int mv_facial_landmark_get_result_count(mv_facial_landmark_h handle, unsigned long *frame_number,
- unsigned int *result_cnt);
+ unsigned int *result_cnt);
/**
* @brief Gets the facial landmark position values to a given index.
* @pre Get result count by calling mv_facial_landmark_get_result_count()
*/
int mv_facial_landmark_get_position(mv_facial_landmark_h handle, unsigned int index, unsigned int *pos_x,
- unsigned int *pos_y);
+ unsigned int *pos_y);
/**
* @}
*/
* @pre Request an inference by calling mv_image_classification_inference()
*/
int mv_image_classification_get_result_count(mv_image_classification_h handle, unsigned long *frame_number,
- unsigned int *result_cnt);
+ unsigned int *result_cnt);
/**
* @brief Gets the image classification inference result to a given index.
* @pre Request an inference by calling mv_object_detection_inference()
*/
int mv_object_detection_get_result_count(mv_object_detection_h handle, unsigned long *frame_number,
- unsigned int *result_cnt);
+ unsigned int *result_cnt);
/**
* @brief Gets a bound box to detected object region.
* @pre Prepare an inference by calling mv_object_detection_inference()
*/
int mv_object_detection_get_bound_box(mv_object_detection_h handle, unsigned int index, int *left, int *top, int *right,
- int *bottom);
+ int *bottom);
/**
* @}
*/
* @pre Get result count by calling mv_pose_landmark_get_result_count()
*/
int mv_pose_landmark_get_position(mv_pose_landmark_h handle, unsigned int index, unsigned int *pos_x,
- unsigned int *pos_y);
+ unsigned int *pos_y);
/**
* @}
*/
* limitations under the License.
*/
-#include "mv_facial_landmark_internal.h"
#include "mv_facial_landmark.h"
#include "Context.h"
#include "FacialLandmarkAdapter.h"
#include "ITask.h"
#include "MvMlException.h"
#include "landmark_detection_type.h"
+#include "mv_facial_landmark_internal.h"
#include "mv_feature_key.h"
#include "mv_private.h"
#include "native_capi.h"
* limitations under the License.
*/
-#include "mv_pose_landmark_internal.h"
#include "mv_pose_landmark.h"
#include "Context.h"
#include "ITask.h"
#include "PoseLandmarkAdapter.h"
#include "landmark_detection_type.h"
#include "mv_feature_key.h"
+#include "mv_pose_landmark_internal.h"
#include "mv_private.h"
#include "native_capi.h"
* limitations under the License.
*/
-#include "mv_face_detection_internal.h"
#include "mv_face_detection.h"
#include "Context.h"
#include "FaceDetectionAdapter.h"
#include "ITask.h"
#include "MvMlException.h"
+#include "mv_face_detection_internal.h"
#include "mv_feature_key.h"
#include "mv_private.h"
#include "native_capi.h"
}
int mv_face_detection_get_bound_box(mv_face_detection_h handle, unsigned int index, int *left, int *top, int *right,
- int *bottom)
+ int *bottom)
{
MEDIA_VISION_SUPPORT_CHECK(mv_check_feature_key(feature_keys, num_keys, true));
MEDIA_VISION_INSTANCE_CHECK(handle);
* limitations under the License.
*/
-#include "mv_object_detection_internal.h"
#include "mv_object_detection.h"
#include "Context.h"
#include "ITask.h"
#include "MvMlException.h"
#include "ObjectDetectionAdapter.h"
#include "mv_feature_key.h"
+#include "mv_object_detection_internal.h"
#include "mv_private.h"
#include "native_capi.h"
#include "object_detection_type.h"
}
int mv_object_detection_get_bound_box(mv_object_detection_h handle, unsigned int index, int *left, int *top, int *right,
- int *bottom)
+ int *bottom)
{
MEDIA_VISION_SUPPORT_CHECK(mv_check_feature_key(feature_keys, num_keys, true));
MEDIA_VISION_INSTANCE_CHECK(handle);
Name: capi-media-vision
Summary: Media Vision library for Tizen Native API
-Version: 1.0.1
+Version: 1.0.2
Release: 0
Group: Multimedia/Framework
License: Apache-2.0
#include "gtest/gtest.h"
#include "ImageHelper.h"
-#include "mv_image_classification_internal.h"
#include "mv_image_classification.h"
+#include "mv_image_classification_internal.h"
#define IMAGE_PATH TEST_RES_PATH "/res/inference/images/banana.jpg"
#include "gtest/gtest.h"
#include "ImageHelper.h"
-#include "mv_image_classification_internal.h"
#include "mv_image_classification.h"
+#include "mv_image_classification_internal.h"
#define IMAGE_PATH TEST_RES_PATH "/res/inference/images/banana.jpg"
#define MAX_INFERENCE_ITERATION 50
#include "gtest/gtest.h"
#include "ImageHelper.h"
-#include "mv_facial_landmark_internal.h"
#include "mv_facial_landmark.h"
-#include "mv_pose_landmark_internal.h"
+#include "mv_facial_landmark_internal.h"
#include "mv_pose_landmark.h"
+#include "mv_pose_landmark_internal.h"
#define IMG_FACE TEST_RES_PATH "/res/inference/images/faceLandmark.jpg"
#define IMG_POSE TEST_RES_PATH "/res/inference/images/poseLandmark.jpg"
#include "gtest/gtest.h"
#include "ImageHelper.h"
-#include "mv_facial_landmark_internal.h"
#include "mv_facial_landmark.h"
-#include "mv_pose_landmark_internal.h"
+#include "mv_facial_landmark_internal.h"
#include "mv_pose_landmark.h"
+#include "mv_pose_landmark_internal.h"
#define IMG_FACE TEST_RES_PATH "/res/inference/images/faceLandmark.jpg"
#define IMG_POSE TEST_RES_PATH "/res/inference/images/poseLandmark.jpg"
#include "gtest/gtest.h"
#include "ImageHelper.h"
-#include "mv_face_detection_internal.h"
#include "mv_face_detection.h"
-#include "mv_object_detection_internal.h"
+#include "mv_face_detection_internal.h"
#include "mv_object_detection.h"
+#include "mv_object_detection_internal.h"
#define IMG_DOG TEST_RES_PATH "/res/inference/images/dog2.jpg"
#define IMG_FACE TEST_RES_PATH "/res/inference/images/faceDetection.jpg"
#include "gtest/gtest.h"
#include "ImageHelper.h"
-#include "mv_face_detection_internal.h"
#include "mv_face_detection.h"
-#include "mv_object_detection_internal.h"
+#include "mv_face_detection_internal.h"
#include "mv_object_detection.h"
+#include "mv_object_detection_internal.h"
#define IMG_DOG TEST_RES_PATH "/res/inference/images/dog2.jpg"
#define IMG_FACE TEST_RES_PATH "/res/inference/images/faceDetection.jpg"