Merge branch 'tizen_devel' into tizen accepted/tizen/unified/20230629.132048
authorKwanghoon Son <k.son@samsung.com>
Wed, 28 Jun 2023 09:52:06 +0000 (18:52 +0900)
committerKwanghoon Son <k.son@samsung.com>
Wed, 28 Jun 2023 09:53:26 +0000 (18:53 +0900)
[Version] 0.28.5

Inki Dae (5):
  mv_machine_learning: drop MV_INFERENCE_TARGET_TYPE definition
  mv_machine_learning: change model path for new task group API
  mv_machine_learning: add pose landmark task API
  test: correct install directory to resource files
  mv_machine_learning: use raw data type instead of mv_source_h

Kwanghoon Son (3):
  Remove unused variable
  Move unittest script
  lcov exclude roi_tracker and surveillance

sangho park (2):
  mv3d: add new vector type
  mv_3d: Add lcov exclude statements for internal

Change-Id: I366110c6fcdab426786b5068b06e8673626b0c2c
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
1  2 
packaging/capi-media-vision.spec

@@@ -1,6 -1,6 +1,6 @@@
  Name:        capi-media-vision
  Summary:     Media Vision library for Tizen Native API
--Version:     0.28.4
++Version:     0.28.5
  Release:     0
  Group:       Multimedia/Framework
  License:     Apache-2.0 and BSD-3-Clause
@@@ -299,54 -299,8 +299,8 @@@ make %{?jobs:-j%jobs
  
  %install
  
- cat << EOF > run-unittest.sh
- #!/bin/bash
- setup() {
-     echo "setup start"
-     mkdir /opt/usr/home/owner/media/Others/mv_test
-     pushd /opt/media/USBDriveA1/mv_test
-     tar -xzvf mv_test.tar.gz -C /opt/usr/home/owner/media/Others/mv_test
-     tar -xzvf open_model_zoo.tar.gz -C /opt/usr/home/owner/media/Others/mv_test/open_model_zoo
-     bash /opt/usr/home/owner/media/Others/mv_test/post_install_on_target.sh
-     popd
- }
- test_main() {
-     echo "test_main start"
-     /usr/bin/mv_test --gtest_filter=-*TestPoseLandmarkDetectionTflite.MobilenetV1*
- %if "%{enable_ml_face_recognition}" == "1"
-     /usr/bin/test_face_recognition
- %endif
- %if "%{enable_ml_image_classification}" == "1"
-     /usr/bin/test_image_classification
- %endif
- %if "%{enable_ml_object_detection}" == "1"
-     /usr/bin/test_object_detection
- %endif
- %if "%{enable_ml_object_detection_3d}" == "1"
-     /usr/bin/test_object_detection_3d
- %endif
- %if "%{enable_ml_landmark_detection}" == "1"
-     /usr/bin/test_landmark_detection
- %endif
- }
- teardown() {
-     echo "teardown start"
-     rm -rf /opt/usr/home/owner/media/Others/mv_test
- }
- main() {
-     setup
-     test_main
-     teardown
- }
- main "$@"
- EOF
  mkdir -p %{buildroot}%{_bindir}/tizen-unittests/%{name}
- install -m 0755 run-unittest.sh %{buildroot}%{_bindir}/tizen-unittests/%{name}
+ install -m 0755 script/run-unittest.sh %{buildroot}%{_bindir}/tizen-unittests/%{name}
  
  %make_install
  
@@@ -425,7 -379,6 +379,6 @@@ find . -name '*.gcno' -not -path "./tes
  %{_includedir}/media/mv_3d.h
  %{_includedir}/media/mv_3d_type.h
  %{_includedir}/media/mv_3d_internal.h
- %{_includedir}/media/mv_3d_private.h
  %{_libdir}/pkgconfig/*3d.pc
  %endif
  
  %endif
  %if "%{enable_ml_landmark_detection}" == "1"
  %{_datadir}/%{name}/facial_landmark.json
+ %{_datadir}/%{name}/pose_landmark.json
  %{_libdir}/libmv_landmark_detection.so
  %endif
  
  %if "%{enable_ml_landmark_detection}" == "1"
  %{_includedir}/media/mv_facial_landmark_internal.h
  %{_includedir}/media/mv_facial_landmark_type.h
+ %{_includedir}/media/mv_pose_landmark_internal.h
+ %{_includedir}/media/mv_pose_landmark_type.h
  %{_libdir}/pkgconfig/*landmark-detection.pc
  %endif