mv_machine_learning: use MachineLearningConfig class for other task groups
authorInki Dae <inki.dae@samsung.com>
Fri, 10 Nov 2023 04:03:59 +0000 (13:03 +0900)
committerKwanghoon Son <k.son@samsung.com>
Tue, 14 Nov 2023 07:52:55 +0000 (16:52 +0900)
commitb67c6278ad75b00bbe9de63bf0af7a78e873c41f
tree23b22eec8ea8a7dd227cba9930b5e47916281f96
parent82354404dc6ababdbcd9f7089b8f3ba0073db218
mv_machine_learning: use MachineLearningConfig class for other task groups

[Issue type] : code refactoring

Use MachineLearningConfig class for other task groups instead of internal ones.

We have introduced a new common config class[1] and object detection and
object detection 3d task groups use already it. So this patch makes
other task groups - which not use the common config class - to use the
common class instead of internal ones, and drop the internal config class.

In addition, this patch applies confidence threshold config key for
landmark detection task group to MachineLearningConfig class.

[1] https://review.tizen.org/gerrit/#/c/platform/core/api/mediavision/+/301043/

Change-Id: I6e77ce33349bbdcb22f64102a7ec3f8808249b1c
Signed-off-by: Inki Dae <inki.dae@samsung.com>
29 files changed:
mv_machine_learning/common/include/machine_learning_key.h
mv_machine_learning/common/src/machine_learning_config.cpp
mv_machine_learning/image_classification/CMakeLists.txt
mv_machine_learning/image_classification/include/image_classification.h
mv_machine_learning/image_classification/include/image_classification_adapter.h
mv_machine_learning/image_classification/include/image_classification_config.h [deleted file]
mv_machine_learning/image_classification/include/image_classification_default.h
mv_machine_learning/image_classification/meta/image_classification.json
mv_machine_learning/image_classification/src/image_classification.cpp
mv_machine_learning/image_classification/src/image_classification_adapter.cpp
mv_machine_learning/image_classification/src/image_classification_config.cpp [deleted file]
mv_machine_learning/image_classification/src/image_classification_default.cpp
mv_machine_learning/landmark_detection/CMakeLists.txt
mv_machine_learning/landmark_detection/include/facial_landmark_adapter.h
mv_machine_learning/landmark_detection/include/fld_tweak_cnn.h
mv_machine_learning/landmark_detection/include/landmark_detection.h
mv_machine_learning/landmark_detection/include/landmark_detection_config.h [deleted file]
mv_machine_learning/landmark_detection/include/pld_cpm.h
mv_machine_learning/landmark_detection/include/pose_landmark_adapter.h
mv_machine_learning/landmark_detection/meta/facial_landmark.json
mv_machine_learning/landmark_detection/meta/pose_landmark.json
mv_machine_learning/landmark_detection/src/facial_landmark_adapter.cpp
mv_machine_learning/landmark_detection/src/fld_tweak_cnn.cpp
mv_machine_learning/landmark_detection/src/landmark_detection.cpp
mv_machine_learning/landmark_detection/src/landmark_detection_config.cpp [deleted file]
mv_machine_learning/landmark_detection/src/pld_cpm.cpp
mv_machine_learning/landmark_detection/src/pose_landmark_adapter.cpp
test/testsuites/machine_learning/image_classification/CMakeLists.txt
test/testsuites/machine_learning/landmark_detection/CMakeLists.txt