add test_3d.cpp to mv_test 57/283257/1
authorTae-Young Chung <ty83.chung@samsung.com>
Fri, 21 Oct 2022 04:31:40 +0000 (13:31 +0900)
committerTae-Young Chung <ty83.chung@samsung.com>
Fri, 21 Oct 2022 04:32:46 +0000 (13:32 +0900)
[Version]: 0.23.41-0
[Issue type]: update

test_3d.cpp for testing mv3d is added to mv_test which line coverage is
measured by.

Change-Id: I08e86eda14717bc1978aca4cd282621cbe4fb9f0
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
packaging/capi-media-vision.spec
test/CMakeLists.txt
test/testsuites/mv3d/test_3d.cpp

index e05325f..78083ca 100644 (file)
@@ -1,7 +1,7 @@
 Name:        capi-media-vision
 Summary:     Media Vision library for Tizen Native API
-Version:     0.23.40
-Release:     1
+Version:     0.23.41
+Release:     0
 Group:       Multimedia/Framework
 License:     Apache-2.0 and BSD-3-Clause
 Source0:     %{name}-%{version}.tar.gz
index b33a710..f7a90d9 100644 (file)
@@ -12,6 +12,7 @@ add_executable(${PROJECT_NAME}
     testsuites/machine_learning/inference/test_face_detection.cpp
     testsuites/machine_learning/inference/test_face_landmark_detection.cpp
     testsuites/machine_learning/inference/test_pose_landmark_detection.cpp
+    testsuites/mv3d/test_3d.cpp
 )
-target_link_libraries(${PROJECT_NAME} gtest gtest_main mv_inference mv_image_helper mv_barcode_detector)
+target_link_libraries(${PROJECT_NAME} gtest gtest_main mv_inference mv_image_helper mv_barcode_detector mv_3d)
 install(TARGETS ${PROJECT_NAME} DESTINATION ${CMAKE_INSTALL_BINDIR})
\ No newline at end of file
index 37645f2..8b3d31a 100644 (file)
@@ -26,7 +26,7 @@ using namespace testing;
 
 // 0:image,1 camera,  test sequence name if image, width, height, min disp, max disp, camera parameter
 typedef std::tuple<int, std::string, int, int, int, int, std::string> ParamTypes;
-#define IMAGE_RES_PATH "/usr/share/capi-media-vision/dfseval"
+#define IMAGE_RES_PATH "/usr/share/capi-media-vision/res/3d"
 #define PCD_OUTPUT_PATH "/tmp"
 #define DEPTH_INTRINSIC_FILENAME "calibOcv.yaml"
 #define PCD_WRITE_FILENAME "test_pontcloud.pcd"