platform/core/api/mediavision.git
22 months agomv_roi_tracker: fix typo 95/280495/2
Hyunsoo Park [Wed, 31 Aug 2022 02:34:46 +0000 (11:34 +0900)]
mv_roi_tracker: fix typo

[Version] : 0.23.21
[Issue type] : clean up

Change-Id: If7c9e169444f875a1456f768ec51dc0333e7f51d
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
23 months agomv_roi_tracker: update docs 80/280380/1 accepted/tizen/unified/20220830.133716 submit/tizen/20220830.003207
Hyunsoo Park [Mon, 29 Aug 2022 08:23:24 +0000 (17:23 +0900)]
mv_roi_tracker: update docs

[Version] : 0.23.20
[Issue type] : clean up

Change-Id: I5538bb0a643bcdd8d92cf194c1ef00001e967756
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
23 months agoMerge "mv_machine_learning: fix wrong tensor order" into tizen
Inki Dae [Wed, 24 Aug 2022 01:53:32 +0000 (01:53 +0000)]
Merge "mv_machine_learning: fix wrong tensor order" into tizen

23 months agomv_roi_tracker: fix implicit function error 86/280086/1
Hyunsoo Park [Tue, 23 Aug 2022 09:23:45 +0000 (18:23 +0900)]
mv_roi_tracker: fix implicit function error

[Version] : 0.23.19
[Issue type] : bug fix

Change-Id: Ib4528ff7355df8839c0213dbeb618270a2e7ffb7
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
23 months agomv_machine_learning: fix wrong tensor order 67/279967/1
Inki Dae [Fri, 19 Aug 2022 12:00:08 +0000 (21:00 +0900)]
mv_machine_learning: fix wrong tensor order

[Verion] : 0.23.19-0
[Issue type] : bug fix

Fixed wrong tensor order. Tensor order, NWHC, doesn't exist.
So correct the tensor order and return width, height and channel value
correctly.

Change-Id: I53b3078d2121c9718bc5a9864ebefd0d5907b7af
Signed-off-by: Inki Dae <inki.dae@samsung.com>
23 months agomv_roi_tracker: add description to doc 21/279921/1 accepted/tizen/unified/20220825.063638 submit/tizen/20220819.073800 submit/tizen/20220823.063557 submit/tizen/20220825.024015
Hyunsoo Park [Fri, 19 Aug 2022 05:45:31 +0000 (14:45 +0900)]
mv_roi_tracker: add description to doc

[Version] : 0.23.18
[Issue type] : bug fix

Change-Id: Ibe3a79b8622fdcf1a69ed275d76739cbd2c8f194
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
23 months agomv_machine_learning: add runtime requirements 93/279793/2
Inki Dae [Thu, 18 Aug 2022 03:33:38 +0000 (12:33 +0900)]
mv_machine_learning: add runtime requirements

[Version]: 0.23.17
[Issue type]: bug fix

Added runtime requirements to inference-engine-interface-common
and training-engine-interface-common which are needed in runtime.

Change-Id: I5d1d03d4a29fe17b9560be20c89b27136e425634
Signed-off-by: Inki Dae <inki.dae@samsung.com>
23 months agoFix json non exist member parse 48/279748/3 sandbox/pcd-acr
Kwanghoon Son [Wed, 17 Aug 2022 06:45:22 +0000 (02:45 -0400)]
Fix json non exist member parse

[Version] : 0.23.16
[Issue type] : bug fix

top_number, threshold optional member.
If member not exist, use default value

Change-Id: I96f67d5e541ce5dcaacae760e3332b745c5a3654
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
23 months agomv_common: fix memory leak issue 01/279601/3 submit/tizen/20220812.070529 submit/tizen/20220817.123406
Inki Dae [Fri, 12 Aug 2022 06:45:49 +0000 (15:45 +0900)]
mv_common: fix memory leak issue

[Version] : 0.23.15-0
[Issue type] : bug fix

Fixed memory leak issue of mv_engine_config_get_array_string_attribute_c
function.

Change-Id: Id490ddc88c8242c8ecb405230cdb4d934791b4f7
Signed-off-by: Inki Dae <inki.dae@samsung.com>
23 months agomv_machine_learning: fix coverity issues 94/279594/2
Inki Dae [Fri, 12 Aug 2022 05:29:00 +0000 (14:29 +0900)]
mv_machine_learning: fix coverity issues

[Version] : 0.23.14
[Issue type] : bug fix

Fixed coverity issues.

Change-Id: I2e376d517d99722366a05f8ab584858808ec2194
Signed-off-by: Inki Dae <inki.dae@samsung.com>
23 months agomv_machine_learning: fix memory leak issue 04/279504/2
Inki Dae [Wed, 10 Aug 2022 09:21:11 +0000 (18:21 +0900)]
mv_machine_learning: fix memory leak issue

[Version] : 0.23.13
[Issue type] bug fix.

Fixed a memory leak issue with non-meta file inference by introducing
convertToFloat function of TensorBuffer class, which clears owner_is_backend
so that the buffer allocated with float type can be released properly.

And also this patch drops the code smell, code duplication, and
renames existing function name - setTensorBuffer to addTensorBuffer.

Change-Id: I062aa9cf05fc6ebb53e4cfd0c4ae6bb0d98d65fe
Signed-off-by: Inki Dae <inki.dae@samsung.com>
23 months agoFix access wrong json member 54/279454/1
Kwanghoon Son [Wed, 10 Aug 2022 01:40:14 +0000 (21:40 -0400)]
Fix access wrong json member

[Version] : 0.23.12
[Issue type] : Bug fix

This solve non exist member access message
json_object_get_int_member: assertion 'node != NULL' failed

Change-Id: I4c3d2f54795f16aada581bd32a725b5204afee79
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
23 months agomv_machine_learning: bug fix to recognition request 75/279375/2 accepted/tizen/unified/20220809.213751 submit/tizen/20220808.075156
Inki Dae [Mon, 8 Aug 2022 06:43:57 +0000 (15:43 +0900)]
mv_machine_learning: bug fix to recognition request

[Versin] : 0.23.11
[Issue type] : bug fix

Fixed a bug that it didn't handle an error case correctly
at recognition request without label file.

Without label file, recognition request incurred seg. fault issue so
this patch handles the error case correctly.

In addition, this patch adds a test case which tests a recognition request
without label file.

Change-Id: I9e577e4fe8e13f3865bfc2db4a60244626d31467
Signed-off-by: Inki Dae <inki.dae@samsung.com>
23 months agomv_machine_learning: update face recognition framework 82/279082/3 accepted/tizen/unified/20220804.151651 submit/tizen/20220803.092938
Inki Dae [Mon, 1 Aug 2022 09:30:04 +0000 (18:30 +0900)]
mv_machine_learning: update face recognition framework

[Version] : 0.23.10
[Issue type] : code updating

Updated face recognition framework and its test case including cleanup
and bug fix.

What this patch does,
 - fix a bug that last label isn't removed by making all relevant files
   to be removed when last label removal is requested.
 - change default face recognition resource directory.
 - add two test cases and code cleanup to existing test cases.

Change-Id: I8e172e03d8c0f355da1cd61b4a2567086c232813
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agoMerge "mv_machine_learning: package face recognition header files" into tizen accepted/tizen/unified/20220728.131646 submit/tizen/20220728.081854
Inki Dae [Thu, 28 Jul 2022 08:16:58 +0000 (08:16 +0000)]
Merge "mv_machine_learning: package face recognition header files" into tizen

2 years agomv_machine_learning: package face recognition header files 33/278933/1
Inki Dae [Thu, 28 Jul 2022 07:49:19 +0000 (16:49 +0900)]
mv_machine_learning: package face recognition header files

[Version] : 0.23.9
[Issue type] : bug fix

Included face recognition header files missed to devel package.

Change-Id: I0aa05eafc79ddc24972f9ea01e30884850590078
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agomv_roi_tracker : add type enum 15/278915/1 submit/tizen/20220728.050117
Hyunsoo Park [Thu, 28 Jul 2022 04:51:28 +0000 (13:51 +0900)]
mv_roi_tracker : add type enum

[Version] : 0.23.9
[Issue type] : bug fix

Change-Id: I28fa3c5df93dfe4886eb60ad7064462eb64f868a
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
2 years agomv_machine_learning: fix seg. fault 81/278881/1
Inki Dae [Wed, 27 Jul 2022 08:58:17 +0000 (17:58 +0900)]
mv_machine_learning: fix seg. fault

[Version] : 0.23.8
[Issue type] : bug fix

Fixed a bug that seg. fault happens when mv_face_recognition_destroy() is
called just after mv_face_recognition_create(). _label_manager of
FaceRecognition class has no instance at mv_face_recognition_create() call
so check if _label_manager is nullptr or not.

Change-Id: Ie7948e4f6152f1ad3237600ab6ae64bc88e0ebf9
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agomv_machine_learning: fix a build error on VD server 58/278858/1 accepted/tizen/unified/20220728.044740 submit/tizen/20220727.043205
Inki Dae [Wed, 27 Jul 2022 04:07:26 +0000 (13:07 +0900)]
mv_machine_learning: fix a build error on VD server

[Version] : 0.23.7
[Issue type] : bug fix

Fixed a build error on VD server due to face recognition relevant library
dependency. VD don't use the face recognition framework so this patch
breaks the build dependency.

Change-Id: Ieaf2f45afb7ebd9c80637a1c9a0dedce68ad77ec
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agomv_machine_learning: add feature enabling option for face recognition 71/278771/3 submit/tizen/20220726.051149
Inki Dae [Tue, 26 Jul 2022 04:37:18 +0000 (13:37 +0900)]
mv_machine_learning: add feature enabling option for face recognition

[Version] : 0.23.6
[Issue type] cleanup

Added feature enabling option for face recognition framework.
With this patch, VD build error is fixed.

Change-Id: If80d718c3147104d53a712023a7a0c7b9ab3fca6
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agomv_common: fix utc negative test issue accepted/tizen/unified/20220726.012234 submit/tizen/20220721.064000 submit/tizen/20220725.050651
Inki Dae [Thu, 21 Jul 2022 05:26:40 +0000 (14:26 +0900)]
mv_common: fix utc negative test issue

[Issue type] bug fix

Fixed negative test issue of legacy face tracking test by
returning an error correctly. In case of invalid color space type,
INVALID_PARAMETER error should be returned according to
utc_mediavision_mv_face_track_n test case.

Change-Id: Ia74578eb33ea1bbc88681cd3abf6fa9d44e22169
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agomv_machine_learning: cleanup mv_face_recognition_open.cpp
Inki Dae [Wed, 20 Jul 2022 04:51:19 +0000 (13:51 +0900)]
mv_machine_learning: cleanup mv_face_recognition_open.cpp

[Issue type] code cleanup

Cleaned up mv_face_recognition_open.cpp file by doing,
- rename itask -> task.
- use forward declarationn with "using" keyword.

Change-Id: I9a80f014efc83b6161cc09b561c1ca4e5183e453
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agotest/machine_learning: fix build error submit/tizen/20220720.053259
Inki Dae [Wed, 20 Jul 2022 05:20:47 +0000 (14:20 +0900)]
test/machine_learning: fix build error

[Issue type] bug fix

Fixed a build error by dropping duplicated declarations.

Change-Id: I594dc6e508c895a531f5944a597bbc6cb7972eee
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agomv_machine_learning: cleanup namespace
Inki Dae [Mon, 18 Jul 2022 09:30:01 +0000 (18:30 +0900)]
mv_machine_learning: cleanup namespace

[Issue type] cleanup

Cleaned up the use of namespace for Face recognition framework
according to Tizen coding style document.

Change-Id: Ib5c8e751911c73a2d32e5ed453d3c04a51aef28c
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agomv_machine_learning: introduce Context, ITask and adapter classes
Inki Dae [Fri, 1 Jul 2022 06:44:32 +0000 (15:44 +0900)]
mv_machine_learning: introduce Context, ITask and adapter classes

[Issue type] new feature

Introduced Context, ITask, and adapter class derived from ITask one.

With this patch, each Task API has a context which can have one more
itask objects for controlling inference or training modules.
The purpose of this patch is to keep same interfaces for each module.

As a reference, this patch applies this new approach to Face recognition
framework. This is just a step for next code refactoring
for multi models support.

Change-Id: Iad4c4df9fc87143723decadbc003787854e60e4b
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agofixup! common: code refactoring to EngineConfig.cpp
Seungbae Shin [Mon, 18 Jul 2022 11:45:31 +0000 (20:45 +0900)]
fixup! common: code refactoring to EngineConfig.cpp

fix NO_CATCH defects

[Issue type] svace

Change-Id: Ia249796b28e7ab4f83b154e7da8d2ba68481d806

2 years agomv_roi_tracker: more refactoring
Seungbae Shin [Wed, 13 Jul 2022 09:29:56 +0000 (18:29 +0900)]
mv_roi_tracker: more refactoring

[Issue Type] Code Refactorying

- merge 'result' with 'boundingBox'
- rename member variables to start with __ prefix
- remove unnecessary initialized() method
- take mv_roi_tracker_type_e instead of mv_engine_config_h for the setting type
- return result by tuple instead

Change-Id: Id537086cbab2e56c474cae7343c40e6cf3af6e05

2 years agomv_roi_tracker: move logic to class subfuntion
Hyunsoo Park [Mon, 4 Jul 2022 09:19:11 +0000 (18:19 +0900)]
mv_roi_tracker: move logic to class subfuntion

[Issue Type] Code Refactorying

- Make logics class subfunction which is possible.

Change-Id: I10c934756dd7483db0ff1e20ec0efd8662c17e6c
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
2 years agomv_common: Add buffer size check
Kwanghoon Son [Thu, 14 Jul 2022 05:38:05 +0000 (01:38 -0400)]
mv_common: Add buffer size check

[Issue type] : Bug fix

Change-Id: Iee755ff4d2871a5c1a809b3ec4eed0a73555008c
Reported-by: TSEVEN-2231
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
2 years agocommon: Clean duplicate code
Kwanghoon Son [Fri, 8 Jul 2022 04:21:23 +0000 (00:21 -0400)]
common: Clean duplicate code

[Issue type] clean up

clean up convertSourceMV2GrayCV

Change-Id: I9f8427bdc47771ccbe0e4dbe61b4ceab8a3e7730
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
2 years agocommon: code refactoring to EngineConfig.cpp
Inki Dae [Wed, 6 Jul 2022 02:09:11 +0000 (11:09 +0900)]
common: code refactoring to EngineConfig.cpp

[Issue type] code refactoring

Did code refactoring to EngineConfig.cpp file.

What this refactoring does,
 - change singletone way to OOP one.
 - drop redundant functions.
 - rename cacheDictionaries() to loadDictionaries() with
   its argument cleanup.

The purpose of this refactoring is for service based multiple models support
because config data of global config file will be moved to each config file
for each service, and EngineConfig class will be used commonly by each service
to manage its own config file.

Change-Id: I22cf241cc250a213507e87727bb86b01e929cde2
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agomv_machine_learning: update description
Inki Dae [Tue, 5 Jul 2022 06:06:49 +0000 (15:06 +0900)]
mv_machine_learning: update description

[Issue type] cleanup

Updated header and doc file description for face recognition CAPI,
which just reflects the feedback from API REVIEW step.

Change-Id: Id17eef55aafbd6a4c077b712fa5e8fe2a279f729
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agomv_roi_tracker: api refactorying
Hyunsoo Park [Thu, 23 Jun 2022 09:35:27 +0000 (18:35 +0900)]
mv_roi_tracker: api refactorying

[Issue Type] Code Refactorying

- Remove struct out parameter possible to cause ABI break.
- Add 'mv_roi_tracker_get_result_roi' api as alternative.

Change-Id: Icb4bb3225ddaa1798b886cc875e59bd93bfb9fc7
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
2 years agomv_machine_learning: clean up description
Inki Dae [Tue, 28 Jun 2022 23:14:16 +0000 (08:14 +0900)]
mv_machine_learning: clean up description

[Issue type] : code cleanup

Cleaned up some descriptions to Face Recognition CAPI, which
applies some feedbacks from API REVIEW step of ACR.

Change-Id: Ifff3a6b627c365a7e3247832c0a4a567b1d40922
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agomv_machine_learning: code refactoring to face recognition
Inki Dae [Wed, 22 Jun 2022 08:18:17 +0000 (17:18 +0900)]
mv_machine_learning: code refactoring to face recognition

[Issue type] code refactoring

Did code refactoring to Face recognition framework according to CAPI change.

What this refactoring does,
 - Move mv_face_recognition_result_s struct to face_recognition.cpp
   to avoid from potential ABI break.
 - Change the behavior of mv_face_recognition_inference_* functions.
   These functions return only whether error or not after inference.
 - Introduce new CAPI, mv_face_recognition_get_label_* functions.
   User can get the label string as inference result through this CAPI
   after the completion of inference.

Change-Id: Ie946a7caf9d18998597a1a21a99e252c68ee7426
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agomv_machine_learning: cleanup face recognition API description
Inki Dae [Mon, 20 Jun 2022 05:47:19 +0000 (14:47 +0900)]
mv_machine_learning: cleanup face recognition API description

[Issue type] clean up

Cleaned up the face recognition API description pointed out at
API REVIEW step.

Change-Id: Ieec0df7a13af3bcdeb590fd0826d464af702de95
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agomv_machine_learning: cleanup face recognition header
Inki Dae [Tue, 14 Jun 2022 05:46:41 +0000 (14:46 +0900)]
mv_machine_learning: cleanup face recognition header

[Issue type] cleanup

cleaned up face recognition header files pointed by ./check-header.py script

Change-Id: I8182c2080325bc071f9c9b9792d7c382d092503f
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agomv_roi_tracker: Adds test suite
Hyunsoo Park [Thu, 16 Jun 2022 07:42:13 +0000 (16:42 +0900)]
mv_roi_tracker: Adds test suite

[Issue type] add test

Change-Id: Ia34c393f9e4ce2702e8e0367ff66f3b666f85b12
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
2 years agomv_roi_tracker: Adds feature check
Hyunsoo Park [Tue, 14 Jun 2022 07:17:48 +0000 (16:17 +0900)]
mv_roi_tracker: Adds feature check

[Issue type] feature check

Feature key patch is below.
https://review.tizen.org/gerrit/#/c/platform/adaptation/unified-model-config/+/276303/

Change-Id: I736837b097d021f77a3dde6e5995ea9bd137f3c2
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
2 years agomv_roi_tracker: Adds setting tracker type api
Hyunsoo Park [Tue, 14 Jun 2022 02:34:55 +0000 (11:34 +0900)]
mv_roi_tracker: Adds setting tracker type api

[Issue type] new feature

Change-Id: Ibde49baef7110d45301494144f33312c795179b2
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
2 years agomv_machine_learning: update CAPI descriptions
Inki Dae [Thu, 9 Jun 2022 04:25:13 +0000 (13:25 +0900)]
mv_machine_learning: update CAPI descriptions

[Issue type] cleanup

Updated CAPI descriptions of Face Recognition Framework by dropping
redundant descriptions and adding missed ones.

Change-Id: Ib8d320bd5dc4e9c36486abe25a3ce3039036e431
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agomv_machine_learning: return correct error value
Inki Dae [Thu, 9 Jun 2022 04:22:01 +0000 (13:22 +0900)]
mv_machine_learning: return correct error value

[Issue type] bug fix

Fixed a bug that CheckBackendType function returns wrong error value.

Change-Id: If3cbcc4039ad825238b56418b74dfa86b408b85e
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agomv_roi_tracker: Improve API usage
Hyunsoo Park [Mon, 23 May 2022 09:14:32 +0000 (18:14 +0900)]
mv_roi_tracker: Improve API usage

[Version] : 0.23.1-0
[Issue type] : code refactoring

For improving api usage convenient, some are modified.
 - Remove coordinates parameter of 'mv_roi_tracker_create'.
 - Add new API 'mv_roi_tracker_set_coordinate'

Change-Id: I5837e9ad524a8ba03b3b103c8eccb97ede60c4e0
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
2 years agotest/machine_learning: fix positive and negative counting
Inki Dae [Mon, 30 May 2022 00:47:08 +0000 (09:47 +0900)]
test/machine_learning: fix positive and negative counting

[Issue type] bug fix

Fixed positive and negative counting.

Change-Id: I4689fc496e3fa36c118163cd498c838c023a92c9
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agoAdd lcov exclude
Kwanghoon Son [Fri, 27 May 2022 02:24:21 +0000 (22:24 -0400)]
Add lcov exclude

[Version] 0.23.1
[Issue type] lcov

CPP files not fully supported by TCT.
Block lcov until covered by unit test.

Change-Id: I30e701414a4b05bea5593287d179cde168271c74
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
2 years agomv_machine_learning: use resnet based facenet model
Inki Dae [Mon, 30 May 2022 00:44:50 +0000 (09:44 +0900)]
mv_machine_learning: use resnet based facenet model

[Issue type] etc

Changed the backbone model to resnet based facenet model from
mobilenet based one. So this patch modifies input and output layer
information.

Change-Id: I3a94604232e1673c7cac24bba611c0961df7d258
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agomv_machine_learning: code cleanup with code sliding
Inki Dae [Fri, 27 May 2022 08:28:56 +0000 (17:28 +0900)]
mv_machine_learning: code cleanup with code sliding

[Issue type] : code cleanup

Cleaned up mv_inference_prepare and mv_inference_prepare_open functions
by doing code sliding. Four configuration functions don't have to be called
in mv_inference.c so move them to mv_inference_open.cpp
because they configure information required by Load function.

This is a cleanup work for gathering relevant code to same place
for next code refactoring.

Change-Id: I2c9627832c77888d084a4c7441d9f70fa46a4317
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agomv_machine_learning: code refactoring
Inki Dae [Thu, 26 May 2022 06:22:58 +0000 (15:22 +0900)]
mv_machine_learning: code refactoring

[Version] : 0.23.2-0
[Issue type] : code refactoring

Did code refactoring like below,
- Move ConfigureBackendType function to Inference class and do not
  keep the backend type in Inference class. Instead, pass the backend
  type through Bind function directly.
- Rename ConfigureBackendType to CheckBackendType. Now this function
  checks if a given backend type is valid or not when Bind function
  is called.
- Add some exception code.

This is just a step for next code refactoring.

Change-Id: Id81ba442656823540c45be00bc398d961662b6b0
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agomv_machine_learning: code cleanup to mv_inference_open.cpp
Inki Dae [Mon, 23 May 2022 09:34:59 +0000 (18:34 +0900)]
mv_machine_learning: code cleanup to mv_inference_open.cpp

[Version] : 0.23.1-0
[Issue type] : code cleanup

Cleaned up  mv_inference_open.cpp module by dropping redundant code
and doing code sliding.

Change-Id: Iab8eab6465503a8403f0b029b094bbd49765d89d
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agoChange gcov rpm packaging path
Kwang Son [Tue, 24 May 2022 23:54:05 +0000 (19:54 -0400)]
Change gcov rpm packaging path

[Version] 0.23.0
[Issue type] Gcov

Change gcov package to show relative code path
gcov/obj/%{name} -> gcov/obj/%{name}/%{builddir}

Change-Id: I27895951a5e39d6b637ec9734a01b54f8679dfdc
Signed-off-by: Kwang Son <k.son@samsung.com>
2 years agomv_machine_learning: use Inference class
Inki Dae [Fri, 20 May 2022 08:13:12 +0000 (17:13 +0900)]
mv_machine_learning: use Inference class

[Version] : 0.22.0-0
[Issue type] : code refactoring

Did code refactoring to Face Recognition Framework by making
it to use Inference class instead of InferenceEngineHelper class
which was a temporary class.

What this refactoring does,
 - drop many duplicated code by removing InferenceEngineHelper class.
 - introduce Run API to Inference class, which allows inference engine
   to inference with buffer objects for preprocessing not required.
 - disable data augmentation feature, which will be added later.

Change-Id: Ibb7454500821ef98de26e46ed1ce8971c1c23d57
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agomv_roi_tracker: update lib dependency
Hyunsoo Park [Fri, 20 May 2022 06:31:48 +0000 (15:31 +0900)]
mv_roi_tracker: update lib dependency

[Version] : 0.21.7-0
[Issue type] : bug fix

Change-Id: Ie04af3548435608c6cf0d485c831b9b730b8378f
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
2 years agomv_machine_learning: Code refactoring to Prepare function
Inki Dae [Wed, 18 May 2022 06:35:39 +0000 (15:35 +0900)]
mv_machine_learning: Code refactoring to Prepare function

[Version] : 0.21.6-0
[Issue type] : code refactoring

Did code refactoring to mv_inference_open.cpp file by moving
some code to proper place and dropping Prepare function.
Only what Prepare function does is to check given target device types
and set them to a given backend engine but when BindBackend functin
is called in Inference class, SetTargetDevice is called.
It's code duplication and no need anymore.

In addition, call missed UnbindBackend call in error case.

Change-Id: I16aa6c79587175de89ea76891c10b8a75fa53de8
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agomv_machine_learning: code refactoring to mv_inference_open
Inki Dae [Tue, 17 May 2022 10:15:19 +0000 (19:15 +0900)]
mv_machine_learning: code refactoring to mv_inference_open

[Version] : 0.21.5-0
[Issue type] : code refactoring

Did code refactoring to mv_inference_open.cpp file by moving
IsTargetDeviceSupported function to Inference class because
this function is valid only after Bind call. So no reason
for mv_inference_open.cpp to call IsTargetDeviceSupport function
to check if a given device type is valid or not.

And configure backend type as soon as getting the backend type from
the default ini file.

Change-Id: I5d51fb7c71fc737d111f0058e2b1c3ddf1ebf75f
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agomv_machine_learning: code refactoring to Face Recognition
Inki Dae [Fri, 13 May 2022 07:39:40 +0000 (16:39 +0900)]
mv_machine_learning: code refactoring to Face Recognition

[Version] : 0.21.4-0
[Issue type] : code refactoring

Did code refactoring to Face Recognition Framework by doing,
- Make a top module of Face Recognition Framework to pass
  backend engine information such as bacnend type and target device type.
- Move binding code of training engine to Initialize function from
  RegisterNewFace and RecognizeFace functions. By doing this,
  it enhance initial launching time because engine binding is done
  only one time.
- Introduce ClearDataSet API which is a internal API of
  TrainingModel class to drop all previous dataset data.
- Rename Prepare function to ImportLabel one because this function
  imports the label data to in-memory from a file only now.

This is just a step for next code refactoring.

Change-Id: If8b4021793e62c290ce59362ed605215c2bf5e3e
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agomv_machine_learning: correct variable types and cleanup
Inki Dae [Fri, 13 May 2022 04:20:20 +0000 (13:20 +0900)]
mv_machine_learning: correct variable types and cleanup

[Version] : 0.21.3-0
[Issue type] : code cleanup

Corrected types of width and height values and dropped commeted code.

Change-Id: Ic94297e97b4ecb420675176a826a8df3febed134
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agomv_machine_learning: drop dead code
Inki Dae [Thu, 12 May 2022 10:03:29 +0000 (19:03 +0900)]
mv_machine_learning: drop dead code

[Version] : 0.21.2-0
[Issue type] : code cleanup

Change-Id: I2939f8f21f798d40c4315ac628355d40d74ed0be
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agomv_machine_learning: pass mv_source_h instead of raw vector
Inki Dae [Thu, 12 May 2022 09:55:51 +0000 (18:55 +0900)]
mv_machine_learning: pass mv_source_h instead of raw vector

[Version] : 0.21.1-0
[Issue type] : code cleanup

Cleaned up face recognition framework by passing mv_source_h
to face recognition framework instead of raw vector.
By doing this, converting mv_source_h to raw vector is done
in face recognition framework internally.

It is just a step for code refactoring to InferenceEngineHelper class.

Change-Id: I898e19bb8b1ba7d0380f45542ac7fbb8d01f5c59
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agomv_machine_learning: drop deprecated API
Inki Dae [Wed, 11 May 2022 09:05:56 +0000 (18:05 +0900)]
mv_machine_learning: drop deprecated API

[Version] 0.21.0-0
[Issue type] code cleanup

Dropped the deprecated API and relevant code.

Change-Id: Id8d18955dd89a27eb56bc929bd79ae67741680de
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agotest/machine_learning: do not verify label value
Inki Dae [Wed, 11 May 2022 05:44:50 +0000 (14:44 +0900)]
test/machine_learning: do not verify label value

[Version] : 0.20.2-0
[Issue type] : fixup

Do not verify label name. Instead, just verify if API works or not,
and print out the accuracy.

Change-Id: I7432c7ee8055e49a8f51571aaf515a62f4747f75
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agomv_machine_learning: make abstract class
Inki Dae [Wed, 11 May 2022 01:46:35 +0000 (10:46 +0900)]
mv_machine_learning: make abstract class

[Version] : 0.20.1-0
[Issue type] : code cleanup

Made two classes, DataSetManager and TrainingModel, as abstract class
by changing virtual functions to pure virtual ones.

Change-Id: I49d1cba4fd8fb96b065f18380f4b109928c1e1fe
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agomv_machine_learning: add tracker apis
Hyunsoo Park [Tue, 26 Apr 2022 05:32:54 +0000 (14:32 +0900)]
mv_machine_learning: add tracker apis

[Version] : 0.20.0-0
[Issue type] : new feature

Tracking apis is track roi image are released.
Currently it is KCF algorithm based.

[CAPI Description]
    mv_tracker_create
    - Create tracker handle and set desired initial roi to be tracked.
    mv_tracker_perform
- Return roi value in given frame based on initial roi.
  It also return track result whether tracking is sucessful or not.
    mv_tracker_destroy
    - Destroy a given handle.

Change-Id: I8bdfd6d240892b843cf80acdc6aaa338736170b6
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
2 years agomv_machine_learning: revise FeatureVectorManager class
Seungbae Shin [Fri, 6 May 2022 10:26:10 +0000 (19:26 +0900)]
mv_machine_learning: revise FeatureVectorManager class

[Version] 0.19.4-0
[Issue type] refactoring

- Remove unnecessary include from header files
- Make FeatureVectorManager as a abstract class
- Renaming for file stream object
- Use an initialization constructor for fstream
- Apply some useful keyword to help readability
- Remove unnecessary fstream manual closing due to RAII

Change-Id: I0793fb1fd186a3a11bf3fe67b7806e1b8b3ca3da

2 years agoFix SVACE defects
Seungbae Shin [Fri, 6 May 2022 05:13:28 +0000 (14:13 +0900)]
Fix SVACE defects

[Version] 0.19.3-0
[Issue type] Svace

- SIGNED_TO_BIGGER_UNSIGNED
- INTEGER_OVERFLOW

Change-Id: I0bbc17a0a789071b226a1d3d843fdb540bf4686a

2 years agomv_machine_learning: refactoring ml exception
Seungbae Shin [Wed, 27 Apr 2022 05:49:04 +0000 (14:49 +0900)]
mv_machine_learning: refactoring ml exception

[Version] 0.19.2-0
[Issue type] refactoring

- Add BaseException class, an abstract class to handle error code.
- Remove default parameter if possible which is not that useful.
- Remove unnecessary catch section if just propagating is performed.
- Catch by const reference.

Change-Id: Ia720ccbd6dfc8a0ad46d600f62534026df3a7d88

2 years agomv_machine_learning: Fix UNINIT.CTOR.MANY defect on testsuite
Seungbae Shin [Thu, 21 Apr 2022 01:29:23 +0000 (10:29 +0900)]
mv_machine_learning: Fix UNINIT.CTOR.MANY defect on testsuite

[Version] : 0.19.1-0
[Issue type] Svace

Change-Id: I47d5a6a5e70724aff5d49d51f0ee2901105047e6

2 years agomv_machine_learning: add accuracy measurement app for face recognition
Inki Dae [Wed, 20 Apr 2022 05:39:44 +0000 (14:39 +0900)]
mv_machine_learning: add accuracy measurement app for face recognition

[Version] : 0.19.0-0
[Issue type] : new feature

Added an application for measuring the accuracy of face recognition.

Change-Id: I0d41f9619b09dd93b544a77cce6d187b3f7a7723
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agomv_machine_learning: tune face recognition
Inki Dae [Fri, 15 Apr 2022 01:50:39 +0000 (10:50 +0900)]
mv_machine_learning: tune face recognition

[Version] : 0.18.4-0
[Issue type] enhancement

Tuned face recognition accuracy by dropping flip data augmentation and
chaning decision threshold value.

Change-Id: I505628a1d64ff4460eb2760bc9cedb40fd7e65a8
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agomv_machine_learning: handle exception case correctly
Inki Dae [Fri, 15 Apr 2022 01:45:51 +0000 (10:45 +0900)]
mv_machine_learning: handle exception case correctly

[Version] 0.18.3-0
[Issue type] : bug fix

Handled an exception case correctly. In case that internal model file
doesn't exist, this patch returns MEDIA_VISION_ERROR_INVALID_PATH
so that app can check such exception case correctly.

Change-Id: I2494ebaf69931c470ff1a7b82e581745030a0edd
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agomv_machine_learning: call prepare at inference request
Inki Dae [Fri, 8 Apr 2022 06:12:17 +0000 (15:12 +0900)]
mv_machine_learning: call prepare at inference request

[Version] : 0.18.2-0
[Issue type] : bug fix

Called Prepare function at inference request because
training model file can be updated in runtime so
every time inference is requested model and relevant
data should be loaded again.

Change-Id: If3c39d24ea7121262818a811ce433ffe505b94df
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agoRevert yolov5 test cases
Tae-Young Chung [Tue, 5 Apr 2022 03:11:06 +0000 (12:11 +0900)]
Revert yolov5 test cases

[Version] 0.18.1-0
[Issue type] revert

After redesigning test cases of yolov5 test cases, it will be back.
Now, revert them.

Change-Id: I475a74448fd011f33d162d7ba3974a0ce01baa3c
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agomv_machine_learning: code refactoring to face recognition
Inki Dae [Wed, 30 Mar 2022 10:03:40 +0000 (19:03 +0900)]
mv_machine_learning: code refactoring to face recognition

[Version] : 0.18.1-0
[Issue type] : code refactoring

Did code refactoring to face recognition framework.
What this refactroing does
- Use unique_ptr instead of shared_ptr by moving data augmentation feature
  dependency to FaceRecognition class.
- Drop duplicated resize operatioon of data augmentation.
- Drop mv_face_recognition_configure function not needed anymore.

Change-Id: I2aceabf82284497f84abe8395d3805315e15185e

2 years agomv_machine_learning: add data augmentation feature
Inki Dae [Tue, 29 Mar 2022 03:51:08 +0000 (12:51 +0900)]
mv_machine_learning: add data augmentation feature

[Version] 0.18.0-0
[Issue type] new feature

Added data augmentation feature which generates several input images
preprocessed in various ways to extend a given input data to mutiple
ones. With this feature, the accuracy is a little improved.
So this patch also corrects a wrong expected answer of test case.

As of now, this feature supports two preprocessing classes - horizontal
flip and rotation, and it uses default and flip classes in default.

Change-Id: I0e18e761c020ffaa8e4cca660f631413c3d5c69c
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agomv_machine_learning: make sure to release previous data
Inki Dae [Tue, 22 Mar 2022 12:15:08 +0000 (21:15 +0900)]
mv_machine_learning: make sure to release previous data

[Version] : 0.17.3-0
[Issue type] : bug fix

mv_face_recognition_prepare function can be called several times
after mv_face_recognition_create function is called one time.
So make sure to drop previous data every time mv_face_recognition_prepare
function is called.

Change-Id: I9626c959d80f981562c4666b64503834ccdbfbbf
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agoadd library dependency to training library
Inki Dae [Tue, 22 Mar 2022 09:53:42 +0000 (18:53 +0900)]
add library dependency to training library

[Version] : 0.17.2-0
[Issue type] : bug fix

Added opencv_imgcodecs library dependency to training library.

Change-Id: Ia7da6e2271051ac5fc283661e59d59c2c4202a59
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agoupdate pc files
Inki Dae [Mon, 21 Mar 2022 10:31:14 +0000 (19:31 +0900)]
update pc files

[Version] : 0.17.1-0
[Issue type] : bug fix

Updated pc files for training and face recognition modules.

Change-Id: I317fa6d9839d876d45033015faef41e6291fde16
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agomv_machine_learning: add face recognition framework
Inki Dae [Fri, 11 Mar 2022 05:18:05 +0000 (14:18 +0900)]
mv_machine_learning: add face recognition framework

[Version] 0.17.0-0
[Issue type] new feature

Added face recognition framework based the training engine, NNTrainer[1]

[CAPI Description]
mv_face_recognition_create
- Create face recognition handle.

mv_face_recognition_destroy
- Destroy a given handle.

mv_face_recognition_prepare
- Configure face recognition with a given configuration file,
  media-vision-config.json, and prepare some resources for
  face recognition service.

mv_face_recognition_register
- Register a given new face, which is an process to train the given face
  and generate a internal model.

mv_face_recognition_unregister
- Remove a given label relevant all resource data from feature vector,
  label files, and regenerate a internal model.

mv_face_recognition_inference
- Inference with a given face image and the trained model, and return
  proper label related to the face image.

[How to use CAPI]
Refer to FaceRecognitionTest test case of
test/testsuites/machine_learning/face_recognition/test_face_recognition.cpp

[1] https://github.com/nnstreamer/nntrainer

Change-Id: I8410b515ae90772185772b4b1c49ba0da7885f98
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agoFix bugs
Tae-Young Chung [Tue, 22 Feb 2022 06:30:50 +0000 (15:30 +0900)]
Fix bugs

[Version] 0.16.2-0
[Issue type] bug fix

1. Fix INVARIANT_RESULT.OP_ZERO
 - In case of GetLandmarkType(), its' return values are limited to the
landmark type enumeration so that checking the return value of
GetLandmarkType() is meaningless
2. Check null after malloc()
3. Initialize member variable in class ctor

Change-Id: I0e23298ffcb7760eb86e24e37347eae5e992e421
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agomv_barcode: Fix log level
Kwang Son [Mon, 28 Feb 2022 00:26:59 +0000 (19:26 -0500)]
mv_barcode: Fix log level

return error code log should be error

[Version] 0.16.1-0
[Issue type] bug fix

Change-Id: I6c19709c56a6882807f8bfa1d0b3586d86e0010f
Signed-off-by: Kwang Son <k.son@samsung.com>
2 years agomv_machine_learning: refactoring to directory structure
Inki Dae [Thu, 24 Feb 2022 09:23:26 +0000 (18:23 +0900)]
mv_machine_learning: refactoring to directory structure

[Version] 0.16.0-0
[Issue type] code refactoring

Moved inference directory to top one and dropped mv_inference.

Old directory structure
------------------------
mv_machine_learning --- mv_inference --- inference

New directory structure
-----------------------
mv_machine_learnizng --- inference

Change-Id: I2d53aee269c95972e01086697245cb23aa8cf7b2
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agomachine_learning: update YOLO-V5 inference
Tae-Young Chung [Wed, 16 Feb 2022 07:01:05 +0000 (16:01 +0900)]
machine_learning: update YOLO-V5 inference

[Version] 1.15.1-0
[Issue type] Update

Yolo-V5's output is 1x10647x85 in case of an input has [416, 416]. But, a converted dlc (snpe) from onnx has 1x13x13x255 without processing anchor box.
This commit includes a patch handling that kinds of models even though results are weird.

Change-Id: I5d53f72bc3896b92a5a59442190e2767887fd22d
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agocode refactoring to testsuites for machine learning
Inki Dae [Tue, 8 Feb 2022 10:24:50 +0000 (19:24 +0900)]
code refactoring to testsuites for machine learning

[Version] : 0.15.0-0
[Issue type] : new feature

Did code refactoring to test suites for machine learning by
dropping code duplication and providing user given target device type.

Change-Id: I7e9b8df902af9c45d6d878b28a4e77e127e16982
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agomv_machine_learning: apply inference engine profiler support
Inki Dae [Fri, 28 Jan 2022 04:04:58 +0000 (13:04 +0900)]
mv_machine_learning: apply inference engine profiler support

[Version] : 0.14.0-0
[Issue type] : new feature

Applied inference engine profiler support which provides
a build option for disabling or enabling inference engine profiler
in runtime. In default the profiler is disabled.

Change-Id: Ie85c078c52bf6f23017e50d91158af9b4a37d113
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agoface: fix typo
Tae-Young Chung [Fri, 28 Jan 2022 01:02:56 +0000 (10:02 +0900)]
face: fix typo

[Version] 0.13.2-0
[Issue type] bug fix

Change-Id: Ib24296ab0f428d001f718a6ba16c248e96b40982
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agotestsuite: Move helper functions before caller functions
Tae-Young Chung [Wed, 26 Jan 2022 01:28:37 +0000 (10:28 +0900)]
testsuite: Move helper functions before caller functions

[Version] 0.13.1-0
[Issue type] bug fix

Some functions call helper functions which are just defined behind them
without any declaration so that 'implicit declaration function' warning occurs.
Instead of declaring prototype, just move them to before the some function.

Change-Id: I5defa81ba22f39981eb97553dda78d3191d49ff0
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agomv_machine_learning: support YOLO-V5 inference
Tae-Young Chung [Tue, 25 Jan 2022 07:18:19 +0000 (16:18 +0900)]
mv_machine_learning: support YOLO-V5 inference

[Version] 0.13.0-0
[Issue type] new feature

Change-Id: I6dd5d13904e7c201693441494f87deba42f35924
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agomv_machine_learning: fix typo
Hyunil [Wed, 5 Jan 2022 08:45:05 +0000 (17:45 +0900)]
mv_machine_learning: fix typo

[Version] 0.12.1-0
[Issue type] fix typo

Change-Id: If058f551b3f5cdf92855d7e9ec95b1066d120c28
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
2 years agodocs: fix typo 15/278315/1 accepted/tizen/unified/20220720.064101 submit/tizen/20220719.105718
Hyunsoo Park [Tue, 19 Jul 2022 04:37:16 +0000 (13:37 +0900)]
docs: fix typo

[Version] 0.12.13-0
[Issue type] doc update

Change-Id: Ib637bb2086da549499558e2fd8dafd032015438b
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
2 years ago docs: fix typo 27/277827/1 accepted/tizen/unified/20220715.141311 submit/tizen/20220714.054227
Hyunsoo Park [Thu, 14 Jul 2022 02:20:08 +0000 (11:20 +0900)]
 docs: fix typo

 [Version] 0.12.12-0
 [Issue type] doc update

Change-Id: I660abc56ae1ae60ac39139197d1170fb8b9e88be
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
2 years ago[ACR-1706] mv_image: add return value 65/277265/1
Hyunsoo Park [Mon, 4 Jul 2022 07:44:26 +0000 (16:44 +0900)]
[ACR-1706] mv_image: add return value

From this patch,
'mv_image_tracking_model_set_target' api could return MEDIA_VISION_ERROR_INVALID_OPERATION
when 'CascadeTracker' is null.

Change-Id: I73b50d9a5b9dd5a592370d1d7c30973402b661a0
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
2 years agomv_image: Fix bugs 41/277241/1 submit/tizen/20220704.055720
Hyunsoo Park [Mon, 4 Jul 2022 04:59:13 +0000 (13:59 +0900)]
mv_image: Fix bugs

[Version] 0.12.11-0
[Issue type] bug fix

Return if 'CascadeTracker' is null.

Change-Id: Ica09a490d8dc9cd9268172d3c1a1a05d6cf1472a
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
2 years agoFix implicit declaration function 13/275813/1
Kwanghoon Son [Thu, 2 Jun 2022 06:07:25 +0000 (02:07 -0400)]
Fix implicit declaration function

Use before function declaration and this makes wrong function usage.

[Version] : 0.12.10-0
[Issue type] : Bug fix

Change-Id: I2f8cc1386acd6c2d6afb098729140fe070725424
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
2 years agoExclude line coverage test files 10/275810/1
Kwanghoon Son [Thu, 2 Jun 2022 05:43:32 +0000 (01:43 -0400)]
Exclude line coverage test files

[Version] : 0.12.9-0
[Issue type] : Bug fix

Change-Id: Ie3ed102e0bd30332cd4d5efaadc56425a8e84edd
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
2 years agoChange gcov rpm packaging path 90/275490/3 accepted/tizen/unified/20220528.144400 submit/tizen/20220526.043714
Kwang Son [Tue, 24 May 2022 23:54:05 +0000 (19:54 -0400)]
Change gcov rpm packaging path

[Version] 0.12.8
[Issue type] Gcov

Change gcov package to show relative code path
gcov/obj/%{name} -> gcov/obj/%{name}/%{builddir}

Change-Id: I27895951a5e39d6b637ec9734a01b54f8679dfdc
Signed-off-by: Kwang Son <k.son@samsung.com>
2 years agodocs: Fix typo 50/275350/4 accepted/tizen/unified/20220525.210651 submit/tizen/20220523.060800
Hyunsoo Park [Mon, 23 May 2022 05:36:24 +0000 (14:36 +0900)]
docs: Fix typo

[Version] 0.12.7-0
[Issue type] Fix typo

Change-Id: I894675ef5904bd9d10a9b4d40218eafed81db989
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
2 years agoclean up manual file copy 65/274765/1
sangho park [Mon, 9 May 2022 05:53:43 +0000 (14:53 +0900)]
clean up manual file copy

[Version] 0.12.6-0
[Issue type] cleanup

delete hard copy commands in spec file and implement in CMakeLists.txt

Change-Id: I75841678480972f2a270b84db6fc533e006e1d5d
Signed-off-by: sangho park <sangho.g.park@samsung.com>
2 years agofix cmake_minimum_required() deprecation warning. 71/272971/2
sangho park [Tue, 29 Mar 2022 02:07:41 +0000 (11:07 +0900)]
fix cmake_minimum_required() deprecation warning.

[Version] : 0.12.5-0
[Issue type] : Bug fix

Change-Id: I6b178d31b204ebdc38860bd82ed942867782ee0f
Signed-off-by: sangho park <sangho.g.park@samsung.com>
2 years agoFix bugs 97/271497/4 accepted/tizen/unified/20220224.133705 submit/tizen/20220224.031004
Tae-Young Chung [Tue, 22 Feb 2022 06:30:50 +0000 (15:30 +0900)]
Fix bugs

[Version] 0.12.4-0
[Issue type] bug fix

1. Fix INVARIANT_RESULT.OP_ZERO
 - In case of GetLandmarkType(), its' return values are limited to the
landmark type enumeration so that checking the return value of
GetLandmarkType() is meaningless
2. Check null after malloc()
3. Initialize member variable in class ctor

Change-Id: I0e23298ffcb7760eb86e24e37347eae5e992e421
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agoface/image: Add opencv's tracking header files 60/269860/1 accepted/tizen/unified/20220125.121712 submit/tizen/20220124.072348
Tae-Young Chung [Fri, 21 Jan 2022 00:28:32 +0000 (09:28 +0900)]
face/image: Add opencv's tracking header files

[Version] 0.12.3-0
[Issue type] Update

From OpenCV-4.5.3, a tracking module is moved to contrib
and some tracking modes is changed to legacy.

Change-Id: Ibdfcc89abf5f10a8d874da81ab3fc4601cec5423
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agopackaging: Change gcov object install path 90/269690/1 accepted/tizen/unified/20220124.020029 submit/tizen/20220120.235212
Kwang Son [Thu, 20 Jan 2022 04:15:07 +0000 (23:15 -0500)]
packaging: Change gcov object install path

[Version] : 0.12.2-0
[Issue type] : feature request

Change gcov install path with append package prefix for better
directory structure.

Change-Id: Icf586a264e1f8a37db31c134e5e2ea9f82968e21
Signed-off-by: Kwang Son <k.son@samsung.com>