mv_machine_learning: code refactoring to GetClassificationResults function 18/264818/1
authorInki Dae <inki.dae@samsung.com>
Wed, 29 Sep 2021 09:37:43 +0000 (18:37 +0900)
committerInki Dae <inki.dae@samsung.com>
Thu, 30 Sep 2021 08:18:28 +0000 (17:18 +0900)
commit83e5cbee583e87d5f76e732d5cb1c1459292232d
tree80576ef46b97216fb6c17158c1051ef150183ec8
parent0c378702f0df8a004e1bb9e4d75574e210045ce6
mv_machine_learning: code refactoring to GetClassificationResults function

Did code refactoring to GetClassificationResults member function of Inference class
for next code refactoring.

What this patch did are,
 - drop code dependency of mPreProc from Inference class.
 - drop code duplication of getting image classification result by
   making same code to be used.
 - and code sliding.

Change-Id: I721dc3081f730fcdb75dbe91ad743f906e076ea4
Signed-off-by: Inki Dae <inki.dae@samsung.com>
mv_machine_learning/mv_inference/inference/include/Inference.h
mv_machine_learning/mv_inference/inference/src/Inference.cpp
mv_machine_learning/mv_inference/inference/src/mv_inference_open.cpp