mv_machine_learning: introduce engine configuration api for object detection
authorInki Dae <inki.dae@samsung.com>
Fri, 17 Mar 2023 02:20:59 +0000 (11:20 +0900)
committerKwanghoon Son <k.son@samsung.com>
Wed, 22 Mar 2023 04:10:03 +0000 (13:10 +0900)
commitb0ef9d29a7d2964acaf3629e1b72a153b9b8de16
tree389dd038077f27caa31e9e57ed3d194367b818b4
parent1a05492664d0586f64259d7c90c2b754b639946d
mv_machine_learning: introduce engine configuration api for object detection

[Issue type] : new feature

Introduced inference engine configuration task API, which allows user to
set user desired inference engine and its device type for inference
request. Regarding this, this patch adds below itask interfaces,
- setEngineInfo
      . Set user desired inference engine and its device type.
    - getNumberOfEngine
      . Get how many inference engines are available for a given task API.
    - getEngineType
      . Get inference engine type to a given index.
    - getNumberOfDevice
      . Get how many device types are available for a given inference engine.
    - getDeviceType
      . Get device type with a given index.

Object detection task group supports for various concrete classes which
have specific decoders so strategy pattern is used to change each
concrete class object corresponding to a given model type in runtime.

Change-Id: I91c9b75061fb6019eda8984446906417f2da116f
Signed-off-by: Inki Dae <inki.dae@samsung.com>
include/mv_image_classification_internal.h
include/mv_object_detection_internal.h
mv_machine_learning/image_classification/include/mv_image_classification_open.h
mv_machine_learning/object_detection/include/mv_object_detection_open.h
mv_machine_learning/object_detection/include/object_detection.h
mv_machine_learning/object_detection/src/mv_object_detection.c
mv_machine_learning/object_detection/src/mv_object_detection_open.cpp
mv_machine_learning/object_detection/src/object_detection.cpp
mv_machine_learning/object_detection/src/object_detection_adapter.cpp
test/testsuites/machine_learning/object_detection/test_object_detection.cpp