mv_machine_learning: drop template from MachineLearningConfig class
authorVibhav Aggarwal <v.aggarwal@samsung.com>
Fri, 10 Nov 2023 03:45:39 +0000 (12:45 +0900)
committerInki Dae <inki.dae@samsung.com>
Tue, 14 Nov 2023 07:41:11 +0000 (16:41 +0900)
commit6697caeeb262f8c5dbc934ff8bda0123e4e553ab
tree20e74851d7be42fa2c27230c33ced9e3c7f339ae
parent370200c114f78f960cab7192800a8a457c7db8dc
mv_machine_learning: drop template from MachineLearningConfig class

[Issue type] code refactoring

MachineLearningConfig class introduced in [1] required the
ParserType template to initialize the _parser. This resulted in
the inclusion of parser header files of each task group in the
higher level MachineLearningConfig class which led to code smell.

This patch drops the use of template and as a first step,
modifies the object detection 3d task group to work with this
new version.

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

Change-Id: I90971294c89615d85ae61e789fa6200e53d367c9
Signed-off-by: Vibhav Aggarwal <v.aggarwal@samsung.com>
mv_machine_learning/common/CMakeLists.txt
mv_machine_learning/common/include/machine_learning_config.h
mv_machine_learning/common/src/machine_learning_config.cpp
mv_machine_learning/object_detection_3d/include/object_detection_3d.h
mv_machine_learning/object_detection_3d/include/object_detection_3d_adapter.h
mv_machine_learning/object_detection_3d/include/objectron.h
mv_machine_learning/object_detection_3d/src/object_detection_3d.cpp
mv_machine_learning/object_detection_3d/src/object_detection_3d_adapter.cpp
mv_machine_learning/object_detection_3d/src/objectron.cpp