mv_machine_learning: pack header files for plugin support
authorInki Dae <inki.dae@samsung.com>
Mon, 12 Jun 2023 02:28:52 +0000 (11:28 +0900)
committerKwanghoon Son <k.son@samsung.com>
Tue, 4 Jul 2023 05:08:39 +0000 (14:08 +0900)
[Issue type] : add header

Pack header files for supporting object detection plugin module.

According to plugin support requirement, behavior class of itask
can be implemented as separate package. As a initial support,
this patch packs object detection relevant headers which are needed
by separate plugin module when building.

Change-Id: I2c594440a63877420d4aef44573ebeffab3c5a1f
Signed-off-by: Inki Dae <inki.dae@samsung.com>
mv_machine_learning/object_detection/CMakeLists.txt
packaging/capi-media-vision.spec

index e4fedbb75230f4f40dc0c3bc0a3e0d121311e9d5..ef6d88696a62be85dc947b68de5b4d1e0217d8c1 100644 (file)
@@ -27,3 +27,9 @@ install(
        PATTERN "mv_face_detection_internal.h"
        PATTERN "mv_face_detection_type.h"
        )
+install(
+       DIRECTORY ${PROJECT_SOURCE_DIR}/include/ DESTINATION include/media
+       FILES_MATCHING
+       PATTERN "iobject_detection.h"
+       PATTERN "object_detection_type.h"
+       )
index 17ec599ca62e6eca23d28104d90e759ba0220e14..9940c30a76be255ea55863db346081e187481595 100644 (file)
@@ -429,6 +429,8 @@ find . -name '*.gcno' -not -path "./test/*" -exec cp --parents '{}' "$gcno_obj_d
 %{_includedir}/media/mv_object_detection_type.h
 %{_includedir}/media/mv_face_detection_internal.h
 %{_includedir}/media/mv_face_detection_type.h
+%{_includedir}/media/iobject_detection.h
+%{_includedir}/media/object_detection_type.h
 %{_libdir}/pkgconfig/*object-detection.pc
 %endif
 %if "%{enable_ml_object_detection_3d}" == "1"