mv_machine_learning: introduce engine configuration task API
authorInki Dae <inki.dae@samsung.com>
Mon, 13 Mar 2023 03:07:54 +0000 (12:07 +0900)
committerKwanghoon Son <k.son@samsung.com>
Wed, 22 Mar 2023 04:10:03 +0000 (13:10 +0900)
commit1a05492664d0586f64259d7c90c2b754b639946d
tree7039b7d10a7e3c60e551b5b62371de3a447ff44c
parent5fd086142a9784ac134050d66cf0847fa7ab40df
mv_machine_learning: introduce engine configuration task API

[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.

And as an actual task API implementation, this patch introduces
inference engine configuration API for image classification task group.

Change-Id: I8c8a161ea83e851d120bc04290323f2f15103da8
Signed-off-by: Inki Dae <inki.dae@samsung.com>
28 files changed:
include/mv_image_classification_internal.h
mv_machine_learning/common/include/itask.h
mv_machine_learning/common/include/mv_machine_learning_common.h [new file with mode: 0644]
mv_machine_learning/face_recognition/include/face_recognition_adapter.h
mv_machine_learning/face_recognition/include/facenet_adapter.h
mv_machine_learning/face_recognition/src/face_recognition_adapter.cpp
mv_machine_learning/face_recognition/src/facenet_adapter.cpp
mv_machine_learning/image_classification/include/image_classification.h
mv_machine_learning/image_classification/include/image_classification_adapter.h
mv_machine_learning/image_classification/include/image_classification_type.h
mv_machine_learning/image_classification/include/mv_image_classification_open.h
mv_machine_learning/image_classification/src/image_classification.cpp
mv_machine_learning/image_classification/src/image_classification_adapter.cpp
mv_machine_learning/image_classification/src/mv_image_classification.c
mv_machine_learning/image_classification/src/mv_image_classification_open.cpp
mv_machine_learning/object_detection/include/mobilenet_v1_ssd.h
mv_machine_learning/object_detection/include/mobilenet_v2_ssd.h
mv_machine_learning/object_detection/include/object_detection.h
mv_machine_learning/object_detection/include/object_detection_adapter.h
mv_machine_learning/object_detection/include/object_detection_type.h
mv_machine_learning/object_detection/src/mobilenet_v1_ssd.cpp
mv_machine_learning/object_detection/src/mobilenet_v2_ssd.cpp
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
mv_machine_learning/object_detection_3d/include/object_detection_3d_adapter.h
mv_machine_learning/object_detection_3d/src/object_detection_3d_adapter.cpp
test/testsuites/machine_learning/image_classification/test_image_classification.cpp