platform/core/multimedia/inference-engine-interface.git
4 years agoAdd initializer in constructor for local variable. 28/215728/2 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.024956 accepted/tizen/5.5/unified/mobile/hotfix/20201027.084741 accepted/tizen/unified/20191016.010602 submit/tizen/20191015.074005 submit/tizen_5.5/20191031.000003 submit/tizen_5.5_mobile_hotfix/20201026.185103 tizen_5.5.m2_release
Hyunsoo Park [Tue, 15 Oct 2019 03:07:18 +0000 (12:07 +0900)]
Add initializer in constructor for local variable.

New class variable was added, but it doesn't be initialize. So i add init codes.

Change-Id: I47d9f9299395af8b73898859e176c65ade014bcb
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
4 years agoRemove SetLibraryPath api on pure interface. 33/215533/1 accepted/tizen/unified/20191011.080033 submit/tizen/20191010.081113 submit/tizen/20191011.004945 submit/tizen/20191011.010019
Hyunsoo Park [Thu, 10 Oct 2019 08:08:43 +0000 (17:08 +0900)]
Remove SetLibraryPath api on pure interface.

It is depends on each engine. So i remove this api on pure interface.

Change-Id: I55254ad54cd1fe84373b876da1a96d2a18d2e243
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
4 years agoRemove unreachable code. 27/215427/5 submit/tizen/20191010.064454
Hyunsoo Park [Tue, 8 Oct 2019 05:08:13 +0000 (14:08 +0900)]
Remove unreachable code.

Change-Id: Ia28161f5a1d84c10389f1eaaadf53c1cb164d58a
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
4 years agoAdd 'SetLibraryPath' api and INI parser. 61/215261/10
Hyunsoo Park [Fri, 4 Oct 2019 08:29:19 +0000 (17:29 +0900)]
Add 'SetLibraryPath' api and INI parser.

It is needed when user want to set full path of so file.

Change-Id: I397f9750733454fa5b75c064a61034987bb41f22
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
4 years agoFix bugs
Tae-Young Chung [Thu, 10 Oct 2019 02:39:55 +0000 (11:39 +0900)]
Fix bugs

1. The number of channels should be applied while allocating memory to mInputBuffer.
2. The length of top_results should be less than its' size, not mOutputNumbers.

Change-Id: I0aa01da1a4230803554ab16835966599221b7cbe
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
4 years agoFix wrong type cast 92/214592/1 accepted/tizen/unified/20190925.042220 submit/tizen/20190925.014740
Tae-Young Chung [Tue, 24 Sep 2019 07:49:29 +0000 (16:49 +0900)]
Fix wrong type cast

Change-Id: Ieaf42f74bba1eb7f2c832362b519cffb7071dfe9
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
4 years agoReimplement class InferenceEngineVision using InferenceEngineCommon 04/214204/4 submit/tizen/20190924.061550
Tae-Young Chung [Wed, 18 Sep 2019 08:30:35 +0000 (17:30 +0900)]
Reimplement class InferenceEngineVision using InferenceEngineCommon

This commit removes the IInferenceEngineVision and reimlement InferenceEngienVision
as commit title.
In detail,
InferenceEngineCommon provides general inference operation such as
set parameters, load model.
Thus, InferenceEngineVision can be implemented by InferenceEngineCommon,
instead of IInferenceEngineVision.

Change-Id: I7a43bc6ff97e5713c1ac7ae705ff52100f5e4977
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
4 years agoSets and Checks NULL value to pointer variable. 17/213517/3
Hyunsoo Park [Fri, 6 Sep 2019 06:29:04 +0000 (15:29 +0900)]
Sets and Checks NULL value to pointer variable.

C++ delete method just release allocated memory. It doesn't set NULL value to variable.
So i make variable to NULL after delete process.

Change-Id: Ia63a08c47b2e41263e7195aaca62bb67903d8c11
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
4 years agoImplementation of inheritance relationship. 31/212531/5 accepted/tizen/unified/20190916.111636 submit/tizen/20190905.022044 submit/tizen/20190905.073548
Hyunsoo Park [Thu, 22 Aug 2019 11:21:30 +0000 (20:21 +0900)]
Implementation of inheritance relationship.

IInferenceEngineCommon class should be parent of IInferenceEngineVision class.
So i implemented inheritance relationship between two classes.

Change-Id: I9a4e572dbba9d4e8fd118ec73305f46a912015fa
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
5 years agoChange the parameter of SetOutputTensorParamNodes() from std::string to std::vector... 57/210757/1 accepted/tizen/unified/20190823.092413 submit/tizen/20190823.012236
Tae-Young Chung [Wed, 24 Jul 2019 07:55:31 +0000 (16:55 +0900)]
Change the parameter of SetOutputTensorParamNodes() from std::string to std::vector<std::string>

Now, multiple output tensors are supported.
You can set the output tensors' names to get multiple output tensors
Note that a batch is not supported in current inference, so an input tensor should be one string

Change-Id: I01a3a8fa7f15ce329fbab187f6d72f583f116c2a
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
5 years agoAdd INFERENCE_TARGET_CUSTOM and change constructor to get parameter of string type 73/209773/2
Tae-Young Chung [Thu, 11 Jul 2019 01:19:06 +0000 (10:19 +0900)]
Add INFERENCE_TARGET_CUSTOM and change constructor to get parameter of string type

Change-Id: Ib2f1f159911e0dc0d0f1abbbf5807b354b24576b
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
5 years agoFix build break accepted/tizen/unified/20190705.051704 submit/tizen/20190704.122255 submit/tizen/20190704.133116
Tae-Young Chung [Thu, 4 Jul 2019 12:20:48 +0000 (21:20 +0900)]
Fix build break

Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
5 years agoInitial codes submit/tizen/20190704.120336
Tae-Young Chung [Thu, 4 Jul 2019 10:26:17 +0000 (19:26 +0900)]
Initial codes

1. Provides inference-engine-interface-common for general purpose inference
2. Provides inference-engine-interface-vision for vision specific inference

Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
5 years agoInitial empty repository master
Tizen Infrastructure [Mon, 1 Jul 2019 01:49:06 +0000 (01:49 +0000)]
Initial empty repository