Change test path 56/316156/4
authorTae-Young Chung <ty83.chung@samsung.com>
Wed, 11 Dec 2024 04:10:49 +0000 (13:10 +0900)
committerTae-Young Chung <ty83.chung@samsung.com>
Mon, 16 Dec 2024 04:28:04 +0000 (13:28 +0900)
Sync with mv_test_res.
It is verified with capi-media-vision with version 1.0.13 and tizen
branch.

Change-Id: I4ed6e0007c5f4d9f1a2fbb5a97d0fe3c500811c3
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
packaging/singleo.spec
test/services/test_autozoom.cpp
test/services/test_focusfinder.cpp
test/services/test_task_manager.cpp

index ced090bb453b36692243c2fab9b39ce9b62448c9..78054194c0430edf9fd075723ec1c0f277595119 100644 (file)
@@ -1,6 +1,6 @@
 Name:        singleo
 Summary:     SingleO AI Service Framework
-Version:     0.0.1
+Version:     0.0.2
 Release:     0
 Group:       Multimedia/Framework
 License:     Apache-2.0
@@ -18,6 +18,7 @@ BuildRequires: pkgconfig(glesv2)
 BuildRequires: pkgconfig(protobuf)
 BuildRequires: pkgconfig(grpc++)
 BuildRequires: pkgconfig(re2)
+BuildRequires: pkgconfig(libtzplatform-config)
 
 %define enable_visualizer 0
 %define enable_focusfinder 1
@@ -64,6 +65,7 @@ export CXXFLAGS+=" -DPATH_LIBDIR=\\\"%{_libdir}\\\" -DSYSCONFDIR=\\\"%{_hal_sysc
 
 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
 %cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DTZ_SYS_BIN=%TZ_SYS_BIN \
+         -DTEST_RES_PATH="%{TZ_SYS_HOME}/%{TZ_SYS_DEFAULT_USER}/media/Others/mv_test" \
          -DPLATFORM_IS_TIZEN=ON \
          -DUSE_EXTERNAL_INFERENCE_SERVICE=OFF \
          -DUSE_INPUT_OPENCV_BACKEND=ON \
index 371e8e780996876cfaa1f12fbe03c7f840f67c73..04f400363a5738deb901f52fd7449e3a80bc3313 100644 (file)
@@ -24,7 +24,7 @@
 #include "singleo_native_capi.h"
 #include "singleo_error.h"
 
-#define IMG_FACE TEST_RES_PATH "/usr/share/capi-media-vision/res/inference/images/faceDetection.jpg"
+#define IMG_FACE TEST_RES_PATH "/res/inference/images/faceDetection.jpg"
 
 using namespace testing;
 using namespace std;
index 32913e0b88579ae3ecbf881683f82f7ea6e42363..36109fd2f0827ec4bb7aa7c8838bfac7edb1cb67 100644 (file)
@@ -25,7 +25,7 @@
 #include "singleo_native_capi.h"
 #include "singleo_error.h"
 
-#define IMG_FACE TEST_RES_PATH "/usr/share/capi-media-vision/res/inference/images/headpose_sample00.jpg"
+#define IMG_FACE TEST_RES_PATH "/res/inference/images/headpose_sample00.jpg"
 
 using namespace testing;
 using namespace std;
index f424c974d62030f4d7a8fca94e2f6b76f59e916d..2ab85754aeb03f7b72f2d938d42b9dab946de5df 100644 (file)
@@ -29,8 +29,8 @@
 #include "EndpointNode.h"
 #include "SingleoException.h"
 
-#define IMG_FACE TEST_RES_PATH "/usr/share/capi-media-vision/res/inference/images/faceDetection.jpg"
-#define IMG_BANANA TEST_RES_PATH "/usr/share/capi-media-vision/res/inference/images/banana.jpg"
+#define IMG_FACE TEST_RES_PATH "/res/inference/images/faceDetection.jpg"
+#define IMG_BANANA TEST_RES_PATH "/res/inference/images/banana.jpg"
 
 using namespace std;
 using namespace testing;