Inki Dae [Fri, 8 May 2020 06:05:06 +0000 (15:05 +0900)]
mv_inference: use initializer list
This patch just cleans up a member initialization of Inference
class by using initializer list.
Change-Id: Ib9dc6470fdfef271101316a34f8f18caa29d6f2c
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Fri, 8 May 2020 05:02:11 +0000 (14:02 +0900)]
mv_inference: drop deprecated internal API
This patch drops deprecated internal API below,
- mv_inference_configure_input_node_name_open
- mv_inference_configure_output_node_names_open
- and relevant callback functions.
No users to use these API anymore.
Change-Id: Id77b44c8ce781ee3b8fed2e44c8c6311180de2db
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Hyunsoo Park [Thu, 7 May 2020 11:06:07 +0000 (20:06 +0900)]
Fix UNINIT.CTOR svace issue
Change-Id: I6363096e866de0b2b214235e57d2af069d0fa61f
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Inki Dae [Thu, 7 May 2020 06:50:20 +0000 (15:50 +0900)]
mv_inference: consider backward compatibility
This patch guarantees backward compatibility of Mediavision C-API.
In new inference engine framework, inference target device types
can be combined together. So to keep backward compatibility with
Tizen 5.5, it adds a new definition, MV_INFERENCE_TARGET_DEVICE_TYPE
and check if Tizen app uses old type of inference target device
or not by checking default values of MV_INFERENCE_TARGET_TYPE
and MV_INFERENCE_TARGET_DEVICE_TYPE.
Change-Id: I31b2fee05ac74265569f3cdac3875879d349dc5d
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Mon, 27 Apr 2020 06:52:59 +0000 (15:52 +0900)]
mv_inference: unbind only if a backend instance exists
Change-Id: I622cb586594ba8513423ffdd22ff51588553461f
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Fri, 24 Apr 2020 05:34:13 +0000 (14:34 +0900)]
Sync mv_inference.c code
capi-media-vision library is refered by dcm-service so
make sure to keep same code as mv_inference framework
which uses a new inference engine framework interfaces.
Change-Id: Ic73ba6b237c04a226cbb3ee9b0276fbfeabac2a5
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Fri, 24 Apr 2020 04:08:00 +0000 (13:08 +0900)]
fix build error on aarch64
Use %u instead of %zu.
Change-Id: Idc7588935ddc1562caa0eaabadf9c29783c26864
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Fri, 24 Apr 2020 03:28:01 +0000 (12:28 +0900)]
fix build error on aarch64
On aarch64, size_t is 64bit data so make sure to use correct
format specifier.
Change-Id: I4e22b46ada58ea520900fcd6271d7582a31347e9
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Thu, 23 Apr 2020 05:57:30 +0000 (14:57 +0900)]
mv_inference: Clean up ABI header file
Responsed to ACR-1545 review comments.
- just correct header description formats.
Change-Id: Ie3fabe70177cdbd65d9d0f730190b0a6e0ee3604
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Tue, 21 Apr 2020 00:45:03 +0000 (09:45 +0900)]
mv_inference: clean up ABI header files
This patch cleans up the ABI header files,
mv_inference.h and mv_inference_type.h according to
ACR(ACR-1545) review comments below,
- Add a description to each constant of mv_inference_data_type_e
- Change constant names of mv_inference_target_device_e.
- Clean up some descriptions.
- Revive @since_tizen 5.5 tag
- Fixed description of #define MV_INFERENCE_TARGET_TYPE
Change-Id: Icd893710a04a550205c64a99f355ebf48825a584
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Fri, 17 Apr 2020 08:40:23 +0000 (17:40 +0900)]
mv_inference: clean up mv_inference_type header
Change-Id: I4eacc53f2b6d96b4f55b77a642b58cbcbe49ace3
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Fri, 17 Apr 2020 08:08:19 +0000 (17:08 +0900)]
mv_inference: change enumeration values to new ones
some enumeration values of inference-engine-interface have been
updated so change them.
Change-Id: Iea466768e7ffe4089dc63938c8c9be921628d654
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Fri, 17 Apr 2020 04:16:17 +0000 (13:16 +0900)]
mv_inference: keep backward compatibility
This patch keeps backward compatibility with Tizen 5.5
by adding new mv_inference_target_device_e enumeration
instead of modifying existing one.
Change-Id: I40df1dacc6b9a74ba438d0767d84ff1f25133584
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Tue, 14 Apr 2020 00:20:12 +0000 (09:20 +0900)]
test: drop pose estimation test
Drop pose estimation test code because pose
estimation isn't not a feature targeted on
M1 release but M2.
This code will be moved to tizen_devel branch.
Change-Id: Ifaab03fed0f510e7c1a854c3c5dfe9696a1dc90c
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Mon, 13 Apr 2020 08:23:10 +0000 (17:23 +0900)]
Revert "mv_inference: Add Post Estimation feature support"
This feature will be added to tizen 6.0 m2 so revert it
from tizen branch and move it to tizen_devel branch.
This reverts commit
68d2d47e71302f563f24555ce1cce4ca10d908a2.
Change-Id: Iec73032301d724ba549560564c529b26e46515dd
Inki Dae [Mon, 13 Apr 2020 07:40:40 +0000 (16:40 +0900)]
mv_inference: drop data types not supported
Mediavision doesn't support float16 and uint16/32bit model
so drop these data types. They can be added later with actual
use case.
Change-Id: Iebe7511326f45c39b09a4429f8de361ca8fe354c
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Hyunsoo Park [Mon, 13 Apr 2020 06:22:57 +0000 (15:22 +0900)]
Change type of 'tensor_info.shape' to size_t
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Tae-Young Chung [Fri, 3 Apr 2020 03:05:54 +0000 (12:05 +0900)]
inference testsuite: add opencv with caffe model
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Thu, 2 Apr 2020 05:10:56 +0000 (14:10 +0900)]
mv_inference: add post-process step to GetObjectDetectionResults()
To handle model data (SSD) which doesn't have post-process layer,
add the post process step.
SSD generally provides an one output with 1x1xNx7 shape and the last dimension
includes 'image id, class id, confidence, coordinates(left-top (x,y),
and right-bottom(x,y))'
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Inki Dae [Tue, 31 Mar 2020 08:14:50 +0000 (17:14 +0900)]
Revert "mv_inference: Get layer propery only in required case"
This reverts commit
756a6d9c297b7c756a1090ded0287795b5f12665.
Inki Dae [Tue, 10 Mar 2020 06:52:30 +0000 (15:52 +0900)]
test: Add input tensor data type support
This patch passes user-given input data type to
Inference framework so that each inference engine backend
can know the input tensor data type before kicking up inference.
Change-Id: I762d7f76444d5b6656b019501321ca3c90c6919a
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Tue, 10 Mar 2020 06:50:33 +0000 (15:50 +0900)]
mv_inference: Add inference data type support
This patch adds inference input data type support for
Mediavision. With this, we can use user-given input tensor
data type for OpenCV backend.
Change-Id: I681f203f4cbe9b3cc7b59a746cfab650009f65c1
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Mon, 9 Mar 2020 06:12:42 +0000 (15:12 +0900)]
test: Fix wrong menu index
Change-Id: Ie05fa559637e3b63317e1fd0b1b78800936aeeef
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Fri, 6 Mar 2020 00:25:07 +0000 (09:25 +0900)]
mv_inference: Use data type of buffer structure instead of property one
This patch fixes a problem that it cannot get tensor data type from
mInputLayerProperty in case that a backend provides tensor buffers.
As for this, this patch makes data type from tensor buffer structure
to be used instead of property one because if a backend provided
tensor buffers then tensor data type must also be there.
With this change, WORK-TO-DO, "TODO. Consider multiple tensors.",
is solved also.
Change-Id: Idcd55514da206edfb9d9f9b04cdc84d14ee53691
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Thu, 5 Mar 2020 04:30:01 +0000 (13:30 +0900)]
mv_inference: set owner_is_backend member properly
owner_is_backend of inference_engine_tensor_buffer structure
is used to check if owner is the tensor buffers is backend or
not, to clarify who should release the tensor buffers.
This patch sets owner_is_backend member according to
tensor buffer's owner properly.
Change-Id: I23457837960712c4979f5ebb3b71fae98e1dcbb4
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Thu, 5 Mar 2020 01:05:12 +0000 (10:05 +0900)]
mv_inference: Update actual tensor buffer size
This patch updates actual tensor buffer size(in bytes)
to size member of inference_engine_tensor_buffer structure
so that the actual size can be used by other.
Change-Id: Ifa3688c33f45e105dd2f8c0c173b7003998c6432
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Tae-Young Chung [Wed, 4 Mar 2020 05:23:01 +0000 (14:23 +0900)]
Modify mv_inferen_prepare()'s internal implementation
Internally, set input and output information (layer names,
tensor information), and give them to inference-engine-interface.
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Inki Dae [Thu, 27 Feb 2020 04:44:53 +0000 (13:44 +0900)]
mv_inference: do not allow invalid target device type
Change-Id: I760c2547780db368b3a84097ffc56c2b65042201
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Thu, 27 Feb 2020 04:27:53 +0000 (13:27 +0900)]
mv_inference: Get layer propery only in required case
We don't have to get input/output layer property from a backend
always so get the property only in case input/output tensor buffer
vectors are empty.
Change-Id: Iaa38105a283bd768a9e392ee537621f19662c11d
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Thu, 27 Feb 2020 04:19:26 +0000 (13:19 +0900)]
test: Measure inference performance
Change-Id: I217ac9b61890757a0f073007f95703f69e341209
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Tae-Young Chung [Wed, 26 Feb 2020 07:59:20 +0000 (16:59 +0900)]
packaing: Add BuildRequires: pkgconfig(inference-engine-interface-common)
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Inki Dae [Tue, 25 Feb 2020 03:07:04 +0000 (12:07 +0900)]
packaging: Drop inference-engine-interface-vision from build requirement
inference-engine-inference-vision relevant code have been removed
so drop the build requirement.
Change-Id: I893ba0c86f439a55695de312d1d6617b367b2487
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Tue, 25 Feb 2020 02:52:37 +0000 (11:52 +0900)]
test: Add Post Estimation test
This patch adds post estimation test code,
and ARMNN backend support of post estimation inference.
Change-Id: I1d433e36ba18b19678b87e0315ea4a21cff56f54
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Tue, 25 Feb 2020 02:51:53 +0000 (11:51 +0900)]
mv_inference: Add Post Estimation feature support
Change-Id: Ic7308d722e649d96bb29ed65e28808b101dc2c11
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Mon, 24 Feb 2020 07:03:21 +0000 (16:03 +0900)]
test: Add face detection with ARMNN
Change-Id: I66ad64dcc3861e37362422a5609ac798b04dd705
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Mon, 24 Feb 2020 06:35:23 +0000 (15:35 +0900)]
test: Add object detection test with ARMNN
Change-Id: I29af9639a5b5ccae7bc67acae6cb7a74cfe437b5
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Mon, 24 Feb 2020 05:36:44 +0000 (14:36 +0900)]
mv_inference: Introduce FillOutputResult function
This patch introduces FillOutResult function which gets result from
output tensor buffers. This function is used commonly for all other
scenarios - image classification, object detection, face detection,
and facial landmark detection.
Change-Id: I494f2924094d409939053753324a6a8485673664
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Thu, 20 Feb 2020 06:57:25 +0000 (15:57 +0900)]
mv_inference: Handle exception cases to tensor buffer allocations
Change-Id: Iaf95468c07ba6b80f175f57d7c674c6385bff6b8
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Thu, 20 Feb 2020 06:08:53 +0000 (15:08 +0900)]
mv_inference: Add quantized model inference support
This patch adds quantized model inference support.
In case of quantized model, output tensor buffer contains uint8 values
between 0 and 255 so we need to convert the values to floating point ones
between 0 and 1.
Change-Id: I814b236370608d29c9b0f82f298d221851721921
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Tue, 18 Feb 2020 01:55:38 +0000 (10:55 +0900)]
mv_inference: Add the use of user desired input and output layers
Change-Id: I3472071e96df8ffde2cf5a6c6b6af45e1dbd9e66
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Fri, 14 Feb 2020 04:26:58 +0000 (13:26 +0900)]
mv_inference: Call Run callback with output tensor buffers
This patch passes output tensor buffers - which will be
allocated by either a backend engine if the backend engine is able
to allocate output tensor buffers or Inference framework if
the backend engine isn't able to allocate the buffers - to
the backend engine at Run callback for the inference.
Change-Id: I9fd55db1c6c413b7e139733f1e39ccde1100011a
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Thu, 13 Feb 2020 07:37:30 +0000 (16:37 +0900)]
mv_inference: Pass input tensor buffers and consider multiple tensors
This patch sends input tensor buffers allocated by Inference layer
to a backend engine for the inference, and considers using multiple
tensors. As for this, it calls new callbacks and drops old ones.
Change-Id: I4156c88bd5f18b0ba36b186ca08e3d4c04ceada3
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Thu, 13 Feb 2020 06:47:51 +0000 (15:47 +0900)]
mv_inference: fix undefined reference error
Change-Id: I09bdc03989a7f361ae5753771c0a09e369fae3bc
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Wed, 12 Feb 2020 04:35:44 +0000 (13:35 +0900)]
mv_inference: Pass a generic channel value to backend engine
mMatType has OpenCV specific value so we shouldn't pass
the specific value to a backend engine but a generic one, mCh, instead.
Change-Id: I3d92a0f636b55c2529202d57f7ded63c6225e37b
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Wed, 12 Feb 2020 04:18:29 +0000 (13:18 +0900)]
mv_inference: Use model_format instead of key->second
Change-Id: Ib306b0dddc945ad43effa3b7eef3eaebc3e2901c
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Wed, 12 Feb 2020 02:51:34 +0000 (11:51 +0900)]
mv_inference: Use InferenceEngineCommon instead of InferenceEngineVision
With this patch, we can remove everything about InferenceEngineVision.
Change-Id: If2edac9e6113a55c89bbd4535b131b55a8dbb3f5
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Wed, 12 Feb 2020 02:35:21 +0000 (11:35 +0900)]
mv_inference: Place OpenCV dependent code from inference-engine-vision
This patch moves OpenCV dependent code from inference-engine-vision layer
to Inference layer. Now we can remove all inference-engine-vision relevent
files - inference_engine_vision_impl.cpp and inference_engine_vision_impl.h
Change-Id: I7750a4b8b85aba8a2d220fb4ee88f7007d6d5939
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Tue, 11 Feb 2020 05:54:32 +0000 (14:54 +0900)]
mv_inference: Detect model file fomat and notify a backend the format
This patch detects a given model file, and contains proper model file
information a given vector. And then it notifies the model file format
a backend engine with the vector so that the backend engine handles
the model file correctly.
Change-Id: Id1fa75ee5553e099ff3d2800912aa41fb5f3ef90
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Mon, 10 Feb 2020 06:26:35 +0000 (15:26 +0900)]
mv_inference: Check for inference target devices
This patch checks if a given backend engine supports a given
interface target device/devices for the inference by calling
GetBackendCapacity callback.
Change-Id: Ifd5eaa2fbbc5aeb9af0769fb5f7bfb16c2525dbe
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Fri, 7 Feb 2020 06:47:29 +0000 (15:47 +0900)]
mv_inference: Consider one more inference target devices
This patch makes inference to be performed on one more devices.
And also it separates getting backend type and target device types
so that unnecessary configuration isn't requested.
Change-Id: I3bacefa7e8495c90c278df8dcc0241123f6d325f
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Fri, 7 Feb 2020 02:48:07 +0000 (11:48 +0900)]
mv_inference: separate binding a backend engine and loading model files
This patch makes model files to be changed in runtime without reloading
a backend engine library.
With this patch, behavior of the two C-API, mv_inference_configure() and
mv_inference_prepare(), will be changed like below,
mv_inference_configure()
. Create inference-engine-common class object, pass a backend type
to the inference-engine-common object, and then load its corresponding
backend library.
mv_inference_prepare()
. Pass configuration values required for inference engine backend to load
given model files, and request the inference engine backend to load
the model files.
Change-Id: Ibe2bde17c9aae71c8e0850b5901e963368fed00f
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Thu, 6 Feb 2020 01:18:39 +0000 (10:18 +0900)]
mv_inference: release a backend engine
This patch releases a backend engine when Inference object
is deconstructed.
Change-Id: I819d09bff94a231618565b2df85f8cf257d6886d
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Wed, 5 Feb 2020 08:28:51 +0000 (17:28 +0900)]
mv_inference: pass inference target device correctly
Change-Id: If8c901555bbb8555bac8bf9f67a182f442cdbfa6
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Wed, 5 Feb 2020 07:06:28 +0000 (16:06 +0900)]
mv_inference: use new Load callback and drop Init callback
This patch replaces Load callback with a new version and
drops callback because what Init callback does is just to
bind a backend engine library with a given backend name so
we can change the Init callback to BindBackend to clarify.
Change-Id: I31bc6a0d8f753ba52babe721f3e38181487b191b
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Tue, 4 Feb 2020 11:06:52 +0000 (20:06 +0900)]
inference: use a new InferenceEngineVision constructor
Change-Id: I6bb875140a74e42d1f6ac646a0e4ec1b75c19f11
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Tue, 14 Jan 2020 08:55:22 +0000 (17:55 +0900)]
test: add ARMNN test case
Change-Id: If842e093de3990e4ff5eb782c33d2cb52e5cca3f
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Tue, 14 Jan 2020 08:54:56 +0000 (17:54 +0900)]
mv_inference: add ARMNN backend support
Change-Id: I8007999dad1481c1662d5aad8ecb977f1c7135ef
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Tae-Young Chung [Tue, 7 Apr 2020 03:18:27 +0000 (12:18 +0900)]
Migration OpenCV-4.2.0
Change-Id: Ib027c2d6864adf8d13350a372409dce4ea5214bf
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
sangho park [Fri, 27 Mar 2020 05:07:22 +0000 (14:07 +0900)]
improve testsuite
- apply argp
- change 'time interval' to configurable value
Change-Id: Ib3df64e4eaf45a61d0c0efca9a53ff1b165df64b
Signed-off-by: sangho park <sangho.g.park@samsung.com>
sangho park [Wed, 25 Mar 2020 11:26:08 +0000 (20:26 +0900)]
improve testsuite
- apply ncurses
- add auto-test mode
Change-Id: I52988612e1a9bc4326df372f4a17cb25fc63911f
Signed-off-by: sangho park <sangho.g.park@samsung.com>
Kwanghoon Son [Mon, 23 Mar 2020 02:02:39 +0000 (11:02 +0900)]
Fix error handling
problem
- line 464 : overwrite error code with destory engine function.
- skip error
Change-Id: Idec4a23bc958f52aab682b87227b3c8568af3b59
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
Kwanghoon Son [Fri, 20 Mar 2020 00:32:30 +0000 (09:32 +0900)]
Error return handling
mv_engine_config_set error was ignored.
when error case, clean up resource and return error.
Change-Id: I8aadb5c696ae7d27240f94200a4ab63d9b905719
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
Kwanghoon Son [Tue, 10 Mar 2020 06:38:39 +0000 (15:38 +0900)]
SVACE bug fix
inference_test_suite.c
- STRAY_SEMICOLON
face_test_suite.c
- CHECKED_RETURN
Change-Id: I2b7b4d9c35cbd1d724eed30b9794b4f19a4f4a84
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
Tae-Young Chung [Fri, 6 Mar 2020 00:48:18 +0000 (09:48 +0900)]
Keep OpenCV3's pc ifle name and data path
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Fri, 6 Mar 2020 00:45:48 +0000 (09:45 +0900)]
Merge branch 'tizen_opencv_upgrade' of ssh://review.tizen.org:29418/platform/core/api/mediavision into tizen_opencv_upgrade
Kwanghoon Son [Tue, 25 Feb 2020 01:54:10 +0000 (10:54 +0900)]
Coverity bug fix STRAY_SEMICOLON
fix with delete semicolon in if statement.
Change-Id: I16528528a84b3f514c603bb77d76442fe58c1e2c
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
kwang son [Tue, 25 Feb 2020 01:39:11 +0000 (01:39 +0000)]
Merge "Delete duplicate mv_private.c" into tizen
Kwanghoon Son [Thu, 20 Feb 2020 01:38:31 +0000 (10:38 +0900)]
Delete duplicate mv_private.c
mv_common library already has mv_private.c
other module will link mv_common.
Change-Id: Ic2aaf80027de6836ba5efea6080e2a43829bcadc
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
kwang son [Thu, 20 Feb 2020 01:37:41 +0000 (01:37 +0000)]
Merge "Fix printf specifier" into tizen
Kwanghoon Son [Thu, 20 Feb 2020 01:16:17 +0000 (10:16 +0900)]
Fix printf specifier
unexpected format specifier in printf interceptor: %
Change-Id: I76f14c094edbf349dd76066ccf2ca23f3e02e377
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
kwang son [Wed, 19 Feb 2020 07:18:10 +0000 (07:18 +0000)]
Merge "Fix wrong api call mv_engine_config_get_string_attribute" into tizen
Tae-Young Chung [Wed, 19 Feb 2020 03:26:04 +0000 (12:26 +0900)]
Fix coverity MISSING_COMMA issue
Change-Id: I33e33ea914cd73f29aba78ae801f38f6792c6dec
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Kwanghoon Son [Wed, 19 Feb 2020 00:36:01 +0000 (09:36 +0900)]
Fix wrong api call mv_engine_config_get_string_attribute
Problem
print crack string value.
API mv_engine_config_get_string_attribute is designed to get pointer
parameter(malloc inside). Change to pointer and free after print value.
Change-Id: Ifc9833cf810848f9b7cd5332f5927d0f6f08a187
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
Tae-Young Chung [Tue, 18 Feb 2020 06:35:40 +0000 (15:35 +0900)]
Fix coverity Stray semicolon issues
Change-Id: I8c3a504aaf17bd804d0108263698161275cc916b
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Tue, 11 Feb 2020 08:32:47 +0000 (17:32 +0900)]
Fix coverity RESOURCE_LEAK issues
CID: 1087540, 1087562, 1087564, 1087571
(* WGID 51465 of SVACE is ignored)
Change-Id: I48eea2aa656cf1c78f09b0c732de01d9340549f5
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Tue, 11 Feb 2020 04:08:44 +0000 (04:08 +0000)]
Merge "Fix DEREF_OF_NULL.RET.PROC.STAT checker issue" into tizen
Tae-Young Chung [Thu, 6 Feb 2020 11:06:23 +0000 (20:06 +0900)]
Fix DEREF_OF_NULL.RET.PROC.STAT checker issue
WGID 410845
Change-Id: Ied8ccc820da1b28a13f1cadaa6ad4b204c3ff924
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Inki Dae [Tue, 4 Feb 2020 06:36:39 +0000 (15:36 +0900)]
mv_inference: drop commented line
Change-Id: If3c6d51a2ff9c87b6c703b5274cc419dabd5f2d0
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Kwanghoon Son [Mon, 20 Jan 2020 00:28:30 +0000 (09:28 +0900)]
Fix debug mode build option typo
Debug mode build option --w is unrecognized.
c++: error: unrecognized command line option '--w'
change to '-w' option for inhibit all warning messages.
Change-Id: I18fd365b1e09328112522f259b6afb672ef4566a
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
Kwanghoon Son [Wed, 22 Jan 2020 06:37:04 +0000 (15:37 +0900)]
Revert "Fix debug mode build option typo"
This reverts commit
f35a2f4e8e201c767404b5a4980e63bcccab634d.
Kwanghoon Son [Mon, 20 Jan 2020 00:28:30 +0000 (09:28 +0900)]
Fix debug mode build option typo
Debug mode build option --w is unrecognized.
c++: error: unrecognized command line option '--w'
change to '-w' option for inhibit all warning messages.
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
Tae-Young Chung [Thu, 9 Jan 2020 08:23:05 +0000 (17:23 +0900)]
Fix(#2) build error due to toolchain upgrade (gcc6->gcc9)
Error caused by -Wno-deprecated-copy, -Wcatch-value, -Wstringop-truncation are fixed.
Change-Id: I26405d9942f8b8803e2e9f0b2d8f5a984e69da4c
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Thu, 2 Jan 2020 08:28:05 +0000 (17:28 +0900)]
Migration with OpenCV-4.2.0
Change-Id: Ib547582b318c1d33bc0e4d9579d9f64c30685f76
Tae-Young Chung [Thu, 2 Jan 2020 08:23:01 +0000 (17:23 +0900)]
migration opencv-4.2.0
Change-Id: I12356a6de66a26986bf2539e406cc364fc4a121a
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Thu, 26 Dec 2019 06:48:51 +0000 (15:48 +0900)]
Fix build error due to toolchain upgrade (gcc6->gcc9)
Error is caused by "call of overloaded 'abs(size_t)' is ambiguous"
Change-Id: I96e14a791203931767e3e32b64d7b45a50c56430
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Hyunsoo Park [Mon, 2 Dec 2019 04:58:07 +0000 (13:58 +0900)]
Update feature element reference link
Change-Id: Id90afaef09b9232df2404b653f78f1553c217bab
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Fri, 29 Nov 2019 06:08:32 +0000 (15:08 +0900)]
Change reference link.
Developer.tizen.org is change docs.tizen.org.
So i change it following policy.
Change-Id: I6ab5ef3ced64f021b036fc25db17168bab1542e3
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Tae-Young Chung [Mon, 4 Nov 2019 07:15:53 +0000 (16:15 +0900)]
Fix API description issues
Change-Id: I5d45d5ff5fa3505f00e07080b033b99500842dba
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Hyunsoo Park [Wed, 23 Oct 2019 02:48:35 +0000 (11:48 +0900)]
Fix API description for doxygen.
Change-Id: Ia26568fd926d76867730842f19886c632f84665c
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Tae-Young Chung [Mon, 14 Oct 2019 01:44:17 +0000 (10:44 +0900)]
Add MV_ENGINE_CONFIG_ATTR_TYPE_ARRAY_STRING to mv_config_attribute_type_e
Change-Id: Iae611fdc07aa982be3c3b988c27c50db7240633e
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Hyunsoo Park [Wed, 9 Oct 2019 23:40:18 +0000 (23:40 +0000)]
Merge "Change ini file location." into tizen
Tae-Young Chung [Mon, 7 Oct 2019 05:52:10 +0000 (14:52 +0900)]
Update mediavision_doc.h #2
Change-Id: I5f0af38c82ea8e38e10ceb684d8cf2cd5048d853
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Hyunsoo Park [Fri, 4 Oct 2019 08:26:55 +0000 (17:26 +0900)]
Change ini file location.
Change-Id: I15f29b8b971b1f604510c1dbb07a898fb83bf926
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Tae-Young Chung [Wed, 2 Oct 2019 07:52:46 +0000 (16:52 +0900)]
Fix NO_CATCH.LIBRARY issue by security check
Change-Id: I260628690969a6e75b1515d38df1c66807204ce3
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Wed, 2 Oct 2019 07:24:48 +0000 (16:24 +0900)]
Update mediavision_doc.h
Change-Id: Ib338a10af9b937f24086789e7d82f35603b0515f
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Wed, 2 Oct 2019 02:13:12 +0000 (11:13 +0900)]
Fix resource leak issues and svace issues
CID 1087571, 1087654, 1087562, 1087542, 1087540
Change-Id: Ia054980b6d7e76bef5895f48e1c89f6d3d1ef975
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Fri, 26 Jul 2019 05:16:22 +0000 (14:16 +0900)]
Add an inference module with new APIs
Representative apis are:
1. mv_inference_image_classify()
2. mv_inference_object_detect()
3. mv_inference_face_detect()
4. mv_inference_facial_landmark_detect()
These are high-lever APIs based on dnn based vision inference functions,
such as image classification, object detection, and face and its landmark detection.
Change-Id: I9afd4dd5a58613e272a844e6f329230bf265cde6
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Hyunsoo Park [Wed, 31 Jul 2019 06:41:37 +0000 (15:41 +0900)]
Move mutex unlock macro of '__globalGuard' to end of function.
It is safe to call AsyncTracker destroyer after all the work of pthread has been completed.
So i move to unlock macro to proper position.
Change-Id: I76aa7dcd6d7abe1de060e4bf252579cfe1e9be11
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
sangho park [Mon, 1 Jul 2019 10:47:59 +0000 (19:47 +0900)]
Make a gcov package for measuring coverage easier
Change-Id: I6f9935592dea0f480b8d3ecee974c051300d72f6
Signed-off-by: sangho park <sangho.g.park@samsung.com>
Tae-Young Chung [Fri, 19 Apr 2019 05:42:15 +0000 (14:42 +0900)]
Fix build break with aarch64 and x86_64
Change-Id: I554d8eeb09f989c57bf8e9fc004bf0d9e1f28100
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>