Fix box array to object in meta json
authorKwanghoon Son <k.son@samsung.com>
Mon, 29 Aug 2022 06:00:14 +0000 (02:00 -0400)
committerInki Dae <inki.dae@samsung.com>
Fri, 2 Sep 2022 08:09:25 +0000 (17:09 +0900)
commit72bf17c96c7c0e0b18596dc9ecc76d80b6da5012
treea37578ff55d2bd4067f0120b5b6ac0ec0f18b9d7
parent8a0bcb13b9aa25b0205080cefaac53aba7833aca
Fix box array to object in meta json

outputmetadata box object has array, but usage only accept 1 array
element. This change handle object instead array.
`before`
"box" : [
    {
        "name" : "some name",
        ...
    }
],
`after`
"box" :
    {
        "name" : "some name",
        ...
    }

Change-Id: If77d781a5f4bbf6beb7078e34edd5309f29a471e
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
mv_machine_learning/inference/src/BoxInfo.cpp