platform/core/multimedia/inference-engine-tflite.git
4 years agoAdd int64 tensor type support 65/242565/1 accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix tizen_6.0 tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.121127 accepted/tizen/6.0/unified/hotfix/20201103.052008 accepted/tizen/unified/20200831.002554 submit/tizen/20200828.025650 submit/tizen/20200828.100528 submit/tizen_6.0/20201029.205103 submit/tizen_6.0_hotfix/20201102.192503 submit/tizen_6.0_hotfix/20201103.114803 tizen_6.0.m2_release
Inki Dae [Fri, 28 Aug 2020 02:51:43 +0000 (11:51 +0900)]
Add int64 tensor type support

Change-Id: I57251340b8321940c66e4e8bd3d04a0373726088
Signed-off-by: Inki Dae <inki.dae@samsung.com>
4 years agoFix coding style based on Tizen SE C++ Coding Rule 83/237183/1 accepted/tizen/unified/20200628.221636 submit/tizen/20200626.050805 submit/tizen/20200626.060446 submit/tizen/20200626.070253
Inki Dae [Fri, 26 Jun 2020 00:22:24 +0000 (09:22 +0900)]
Fix coding style based on Tizen SE C++ Coding Rule

Tizen SE C++ Coding Rule:
https://wiki.tizen.org/Native_Platform_Coding_Idiom_and_Style_Guide#C.2B.2B_Coding_Style

Change-Id: I9462a7838c00bfd5c8c1ec18270b203db923eb87
Signed-off-by: Inki Dae <inki.dae@samsung.com>
4 years agoAdd SetPrivateData function
Inki Dae [Wed, 3 Jun 2020 09:12:04 +0000 (18:12 +0900)]
Add SetPrivateData function

This function is needed for inference engine interface to pass
tflite private data to this backend before loading a model file.

Change-Id: Ibd169b0ddc8c1894c68a8e3016523e47b3450b74
Signed-off-by: Inki Dae <inki.dae@samsung.com>
4 years agoAdd output layer info to GetOutputLayerProperty api 88/235288/4 accepted/tizen/unified/20200616.062021 submit/tizen/20200616.011635
Hyunsoo Park [Wed, 3 Jun 2020 10:07:10 +0000 (19:07 +0900)]
Add output layer info to GetOutputLayerProperty api

From this patch,
GetOutputLayerProperty api could be called without calling SetOutputLayerProperty api.

Change-Id: I2c7987d4923fb4f23ea3545d9f6861d8cebf10c6
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
4 years agoFix build error aarch64 and x86_64 83/235083/2 accepted/tizen/unified/20200603.150127 submit/tizen/20200602.084841
Tae-Young Chung [Tue, 2 Jun 2020 05:43:45 +0000 (14:43 +0900)]
Fix build error aarch64 and x86_64

Change-Id: I398542921f17fba7b80b4b057440be1b249645dd
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
4 years agoMerge "Get tensor infos from interpreter" into tizen submit/tizen/20200602.011936
Inki Dae [Tue, 12 May 2020 07:14:23 +0000 (07:14 +0000)]
Merge "Get tensor infos from interpreter" into tizen

4 years agoGet tensor infos from interpreter 24/233024/2
Hyunsoo Park [Mon, 11 May 2020 09:25:03 +0000 (18:25 +0900)]
Get tensor infos from interpreter

After applying it,
GetInputLayerProperty/GetInputTensorBuffers could get infos from interpreter without setting.

Change-Id: I5263656a8ac73ea244582e7e98e1607809547d70
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
4 years agoCheck if model file path is valid or not 73/233073/1
Inki Dae [Tue, 12 May 2020 04:02:31 +0000 (13:02 +0900)]
Check if model file path is valid or not

Change-Id: Ib1b2f3f897d4ee0d3ff4646429308ded762651ea
Signed-off-by: Inki Dae <inki.dae@samsung.com>
4 years agoFix UNINIT.CTOR issue and remove useless call 37/232737/4 accepted/tizen/unified/20200510.220413 submit/tizen/20200508.021019
Hyunsoo Park [Thu, 7 May 2020 09:59:57 +0000 (18:59 +0900)]
Fix UNINIT.CTOR issue and remove useless call

Change-Id: I695f9a89e0d89e0ffb776c0f4ef2a77dc5a4afa1
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
4 years agotflite:add empty checking 51/232551/2
Hyunsoo Park [Wed, 6 May 2020 08:25:50 +0000 (17:25 +0900)]
tflite:add empty checking

For calling 'GetInputTensorBuffers', 'SetInputLayerProperty' should be called.

Change-Id: I6e8695cf8be42c2cd04a43b31684323ec9ed8f85
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
4 years agoange enumeration values to new ones sandbox/hance.park/dev submit/tizen/20200423.063253 submit/tizen/20200423.064104 submit/tizen/20200423.083755 submit/tizen/20200424.035635 submit/tizen/20200424.041307 submit/tizen/20200424.055009
Inki Dae [Fri, 17 Apr 2020 07:52:48 +0000 (16:52 +0900)]
ange enumeration values to new ones

some enumeration values of inference-engine-interface have been
updated so change them.

Signed-off-by: Inki Dae <inki.dae@samsung.com>
4 years agoChange tensor shape type to size_t
Hyunsoo Park [Fri, 10 Apr 2020 05:54:39 +0000 (14:54 +0900)]
Change tensor shape type to size_t

Change-Id: I0077b7406de26620a31ecd0f7eee6bdab7838e3d
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
4 years agoSupport UINT_8
Hyunsoo Park [Thu, 2 Apr 2020 09:16:04 +0000 (18:16 +0900)]
Support UINT_8

Change-Id: Idc7776c9123abd665f96204120864801657e2d54
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
4 years agoRefatorying code according to refactoried inference-engine-interface 93/229493/1
Hyunsoo Park [Wed, 1 Apr 2020 09:55:16 +0000 (18:55 +0900)]
Refatorying code according to refactoried inference-engine-interface

Change-Id: I73da801ac99a22ee5b0abb03752da76bdbc0117f
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
5 years agofix coverity issue 36/214836/1 accepted/tizen_5.5_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix tizen_5.5 tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix accepted/tizen/5.5/unified/20191031.025255 accepted/tizen/5.5/unified/mobile/hotfix/20201027.084945 accepted/tizen/5.5/unified/wearable/hotfix/20201027.115518 accepted/tizen/unified/20190927.064538 submit/tizen/20190927.024342 submit/tizen_5.5/20191031.000003 submit/tizen_5.5_mobile_hotfix/20201026.185103 submit/tizen_5.5_wearable_hotfix/20201026.184303 tizen_5.5.m2_release
sangho park [Fri, 27 Sep 2019 02:28:52 +0000 (11:28 +0900)]
fix coverity issue

[1087465] Uninitialized pointer field

Change-Id: I9d9a7a94ac4d0cce7085268e1fa7f10058f0900a
Signed-off-by: sangho park <sangho.g.park@samsung.com>
5 years agoRemove apis related to IInferenceEngineVision 05/214205/3 accepted/tizen/unified/20190925.042223 submit/tizen/20190924.061550 submit/tizen/20190925.014740
Tae-Young Chung [Wed, 18 Sep 2019 08:36:11 +0000 (17:36 +0900)]
Remove apis related to IInferenceEngineVision

inference-engine-tflite is a plugin to provide inference only.
Thus, domain specific functions such as vision should be removed.
Instead, add apis GetInputLayerAttrType(), SetInputDataBuffer(), and GetInputDataPtr()
which can be used to access to memory.

Change-Id: I408a95c86bc2477465e5a08dab192bb6f3813ad1
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
5 years agoRemove BuildRequires: pkgconfig(tensorflow-lite) >= 1.13.1 57/213857/2 accepted/tizen/unified/20190919.065306 submit/tizen/20190916.020613 submit/tizen/20190919.014638
Tae-Young Chung [Mon, 16 Sep 2019 01:54:37 +0000 (10:54 +0900)]
Remove BuildRequires: pkgconfig(tensorflow-lite) >= 1.13.1

There is no tensorflow-lite rpm, but only tensorflow-lite-devel.
That should be removed.

Change-Id: Ib41b40613dc53808024723a8ab759895824ada2e
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
5 years agoAdd namespace. 07/213407/1 accepted/tizen/unified/20190916.111641 submit/tizen/20190905.073548
Hyunsoo Park [Thu, 5 Sep 2019 05:03:24 +0000 (14:03 +0900)]
Add namespace.

Without declaring InferenceEngineInterface::Common, this class can't detect 'IInferenceEngineCommon'.

Change-Id: I443c6bd8e827ff3a6846c840738c255c2b7b9e72
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
5 years agoDeletion of related methods as inherited class changing. 32/212532/3 submit/tizen/20190905.022044
Hyunsoo Park [Thu, 22 Aug 2019 11:26:53 +0000 (20:26 +0900)]
Deletion of related methods as inherited class changing.

It is inherited by IInferenceEngineVision and IInferenceEngineCommon both.
But relationship of them is changed as inheritant. So i remove unneccessary methods.

Change-Id: I22303fbdea68b2944f9a64fc99fee77a8501d4e9
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
5 years agoAdded missing libopencv_improc link and implemented face and facial landmark detection 35/211935/2 accepted/tizen/unified/20190828.011056 submit/tizen/20190824.013905 submit/tizen/20190826.010217 submit/tizen/20190828.000454
Tae-Young Chung [Mon, 12 Aug 2019 07:23:32 +0000 (16:23 +0900)]
Added missing libopencv_improc link and implemented face and facial landmark detection

Change-Id: I49546847d8f054bb026036e4a385be0cf17c5f0f
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
5 years agoAdd INFERENCE_TARGET_CUSTOM, Support multiple output tensors and object detection 59/210759/2
Tae-Young Chung [Wed, 24 Jul 2019 08:08:28 +0000 (17:08 +0900)]
Add INFERENCE_TARGET_CUSTOM, Support multiple output tensors and object detection

Note that Tizen supports tensorflow-lite version 1.13,
which supports the SSD including postprocess, i.e. NMS

Change-Id: I6542449a284727ab0e1eba8c9e9aa28fa9bc39ee
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
5 years agoIntial codes
Tae-Young Chung [Thu, 4 Jul 2019 11:05:35 +0000 (20:05 +0900)]
Intial codes

Note that this initial code is under development and provides very limited functionality.

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