summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKwanghoon Son <k.son@samsung.com>2022-09-21 01:05:23 -0400
committerKwanghoon Son <k.son@samsung.com>2022-09-21 01:05:23 -0400
commita2a2a25253ed0ef8aeef89ae8e12e7a1380bda7c (patch)
tree6d8ea4146a47d38aeeef8a671e9353a333e863e1
parent70529c98bef276f4e42206db8b125e3c1c62f74a (diff)
downloadmediavision-a2a2a25253ed0ef8aeef89ae8e12e7a1380bda7c.tar.gz
mediavision-a2a2a25253ed0ef8aeef89ae8e12e7a1380bda7c.tar.bz2
mediavision-a2a2a25253ed0ef8aeef89ae8e12e7a1380bda7c.zip
Change metadata class to structsplitDec
[Issue type] refactoring OutputMetadata class needs access all of Info member variables. So all of Info class variables need to get method because it is just struct of data. Since Info classes not have any special member function, struct is more suitable for data access Change-Id: I33594b225173314a42585738ac8a32d49efc8493 Signed-off-by: Kwanghoon Son <k.son@samsung.com>
-rw-r--r--mv_machine_learning/inference/include/OutputMetadata.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/mv_machine_learning/inference/include/OutputMetadata.h b/mv_machine_learning/inference/include/OutputMetadata.h
index 72f51fef..f2d514a5 100644
--- a/mv_machine_learning/inference/include/OutputMetadata.h
+++ b/mv_machine_learning/inference/include/OutputMetadata.h
@@ -46,9 +46,8 @@ namespace mediavision
{
namespace inference
{
-class OutputMetadata
+struct OutputMetadata
{
-private:
bool parsed = false;
ScoreInfo score;
box::BoxInfo box;
@@ -64,7 +63,6 @@ private:
int ParseLandmark(JsonObject *root);
int ParseOffset(JsonObject *root);
-public:
/**
* @brief Destroys an OutputMetadata class instance including
* its all resources.