Kwang Son [Wed, 16 Jun 2021 02:24:27 +0000 (11:24 +0900)]
Cmake mediavision build refactoring
- build type to RelWithDebInfo mode
- fix wrong naming(machine_learning -> inference)
- public to private include
- remove unused project
- remove unused libraries
Change-Id: Iab2866be23830c0a8d3e3296e921572fa548c108
Signed-off-by: Kwang Son <k.son@samsung.com>
Kwang Son [Tue, 15 Jun 2021 06:43:23 +0000 (15:43 +0900)]
Cmake mediavision build refactoring
- include -> target_include
- clean pkg_check_modules usage
- remove manual compile option
- remove unused libraries
- remove unused command
- remove arm neon flag
- remove manual prefix
Change-Id: Ie30dfe0e04321fef8ed42652ec06b4f0d3cc0bff
Signed-off-by: Kwang Son <k.son@samsung.com>
Kwang Son [Mon, 14 Jun 2021 09:00:23 +0000 (18:00 +0900)]
Cmake test build refactoring
- include -> target_include
- clean pkg_check_modules usage
- remove manual compile option
- remove unused libraries
- remove unused command
Change-Id: I1e3a389ac41ed18637ff15fcd8898b2652319fbf
Signed-off-by: Kwang Son <k.son@samsung.com>
Kwang Son [Mon, 14 Jun 2021 00:46:21 +0000 (09:46 +0900)]
Cmake to lower case consistency
Change-Id: I3f66547d57d01aceb87278843898b146b2fb7c14
Signed-off-by: Kwang Son <k.son@samsung.com>
kwang son [Mon, 14 Jun 2021 00:14:57 +0000 (00:14 +0000)]
Merge "Deprecate inference lic" into tizen_devel
kwang son [Mon, 14 Jun 2021 00:14:52 +0000 (00:14 +0000)]
Merge "Deprecate surveillance lic" into tizen_devel
kwang son [Mon, 14 Jun 2021 00:14:39 +0000 (00:14 +0000)]
Merge "Deprecate face lic" into tizen_devel
Kwang Son [Fri, 11 Jun 2021 07:01:59 +0000 (16:01 +0900)]
Deprecate inference lic
Inference licensed port code is support to change licensed version library
from opensource version. However practically no one used anymore.
Change-Id: I086f91800eb917ce89b6be9a86d765f8e1c643c4
Signed-off-by: Kwang Son <k.son@samsung.com>
Kwang Son [Fri, 11 Jun 2021 06:53:46 +0000 (15:53 +0900)]
Deprecate surveillance lic
Surveillance licensed port code is support to change licensed version library
from opensource version. However practically no one used anymore.
Change-Id: If77d4174ebbe55bc639c6a18eed30833ecee0fe7
Signed-off-by: Kwang Son <k.son@samsung.com>
Kwang Son [Fri, 11 Jun 2021 03:22:25 +0000 (12:22 +0900)]
Apply meta json data type
Change-Id: Ibd754d1b9aa78f594bd70fe1040c54758f477aff
Signed-off-by: Kwang Son <k.son@samsung.com>
Kwang Son [Fri, 11 Jun 2021 04:39:23 +0000 (13:39 +0900)]
Deprecate face lic
Face licensed port code is support to change licensed version library
from opensource version. However practically no one used anymore.
Change-Id: Iacefbd9de9307836442f66504fdaafeddc8bf612
Signed-off-by: Kwang Son <k.son@samsung.com>
Tae-Young Chung [Fri, 11 Jun 2021 02:07:27 +0000 (02:07 +0000)]
Merge "Update testsuite to run google face detection models with meta files" into tizen_devel
kwang son [Fri, 11 Jun 2021 00:34:48 +0000 (00:34 +0000)]
Merge "Deprecate image lic" into tizen_devel
Kwang Son [Thu, 10 Jun 2021 05:42:07 +0000 (14:42 +0900)]
AddressSanitizer: attempting double-free
mBackend is not allocated by Load function.
return error code is enough.
Change-Id: I3ece30b743d08892c97c2d325a14bd53685bdd43
Signed-off-by: Kwang Son <k.son@samsung.com>
Kwang Son [Wed, 9 Jun 2021 09:49:56 +0000 (18:49 +0900)]
Deprecate image lic
Image licensed port code is support to change licensed version library
from opensource version. However practically no one used anymore.
Change-Id: Ia5e478816c319ec0808cd3e21bd34fd6b807815f
Signed-off-by: Kwang Son <k.son@samsung.com>
kwang son [Wed, 9 Jun 2021 08:51:12 +0000 (08:51 +0000)]
Merge "Error handling" into tizen_devel
Kwang Son [Wed, 9 Jun 2021 07:34:25 +0000 (16:34 +0900)]
Deprecate barcode lic
Barcode licensed port code is support to change licensed version library
from opensource version. However practically no one used anymore.
Change-Id: I7619d78d200bee0d87de0ee015b2a2d2a179059a
Signed-off-by: Kwang Son <k.son@samsung.com>
Inki Dae [Wed, 9 Jun 2021 06:56:59 +0000 (15:56 +0900)]
packaging: Change machine learning package name
Changed machine learning package name from capi-media-vision-inference*
tp capi-media-vision-machine_learning*.
Machine learning package includes not only inference library
also learning library so change existing inference specific package name
to generic one.
Change-Id: I6e5354f802ab836a1d4f8558d149d13b341ef323
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Kwang Son [Wed, 9 Jun 2021 05:24:16 +0000 (14:24 +0900)]
Error handling
Change-Id: Ifb5cbb49afd26b564203a10577f48a0004322bf7
Signed-off-by: Kwang Son <k.son@samsung.com>
Kwang Son [Tue, 8 Jun 2021 05:20:12 +0000 (14:20 +0900)]
Add EfficientDet object detection model
Change-Id: I1cae546a2decf1b20169c4b78adcf063a31190ea
Signed-off-by: Kwang Son <k.son@samsung.com>
Tae-Young Chung [Wed, 28 Apr 2021 04:49:51 +0000 (13:49 +0900)]
Update testsuite to run google face detection models with meta files
Change-Id: I95ac44eaed2d69bf11af8ad063ff06f1dcddf6df
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Inki Dae [Fri, 4 Jun 2021 03:46:30 +0000 (12:46 +0900)]
Move mv_inference into mv_machine_learning
Moved mv_inference directory in mv_machine_learning directory.
Mediavision will support not only inference API also learning API.
So it makes a mv_machine_learning directory on top of Mediavision,
and moves existing mv_inference into mv_machine_learning directory.
This is a first step for adding learning API support for Mediavision.
Change-Id: I2d8597064141b2392bfdad0854e08dadd8d98258
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Tae-Young Chung [Wed, 28 Apr 2021 04:45:24 +0000 (13:45 +0900)]
Add face detection inference with new BoxInfo, Label, Number outputmetadata
Support a model without Label and Number as well.
As an example, meta files of google hosted models for face detection
are also added.
Note that face detection is basically identical with object detection except
label is one (face). So, most codes are similar to the inference codes of
object detection.
Change-Id: I58b6e4b9fb4664e5741e9adb05a0d253ce12c5da
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
sangho park [Mon, 31 May 2021 03:44:53 +0000 (12:44 +0900)]
remove unused lines
Change-Id: If41ae77001d5caedefbdabbdc5f512b2bc950ff1
Signed-off-by: sangho park <sangho.g.park@samsung.com>
Tae-Young Chung [Tue, 27 Apr 2021 02:16:57 +0000 (11:16 +0900)]
Update testsuite to run google object detection models with meta files
Change-Id: I538039aa055379e7ba308e21d32f97329860441a
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
sangho park [Wed, 26 May 2021 22:12:24 +0000 (07:12 +0900)]
remove warnings
Change-Id: I025afa35747a9caaaba855eae15eb48243043b1b
Signed-off-by: sangho park <sangho.g.park@samsung.com>
Tae-Young Chung [Tue, 27 Apr 2021 02:03:32 +0000 (11:03 +0900)]
Apply object detection inference With new BoxInfo, Label, Number outputmetadata
Support a model without Label and Number as well.
A model may not support post-op and it should be decoded
with anchor boxes manually and post-processed such as non-maximum suppression.
In this patch, those are also added.
Change-Id: I9d0dc121910c05add2c0083532d7ff42b573268e
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
sangho park [Mon, 24 May 2021 07:47:05 +0000 (16:47 +0900)]
remove warnings
Change-Id: Ib444593a0bf641bb4b0f2a3bd86fb7ea4041c304
Signed-off-by: sangho park <sangho.g.park@samsung.com>
Kwang Son [Mon, 24 May 2021 23:23:45 +0000 (08:23 +0900)]
Delete unused code comment
Change-Id: Ic01e34d9d0cd506e3bfcddd3440fe5d7c81af9a9
Signed-off-by: Kwang Son <k.son@samsung.com>
sangho park [Mon, 24 May 2021 05:08:00 +0000 (14:08 +0900)]
remove warnings
Change-Id: Ie93b8373b224b65a2c091ffc35931712b2f5b753
Signed-off-by: sangho park <sangho.g.park@samsung.com>
Tae-Young Chung [Tue, 27 Apr 2021 01:57:38 +0000 (10:57 +0900)]
Add BoxInfo, Label, Number classes to OutputMetadata for object detection
BoxInfo, Label, Number classes are required for object detection.
As an example, meta files of goolge hosted models for object detection
are also added.
Change-Id: I968267c1108a5e79ce9fbadbb5ec0d258fc38f8b
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
sangho park [Tue, 4 May 2021 02:39:54 +0000 (11:39 +0900)]
add Surveillance assessment
Usage: mv_surveillance_assessment [OPTION...] SOURCE THRESHOLD
[VQA-surveillance]
-?, --help Give this help list
--usage Give a short usage message
mediavision surveillance assessment
e.g) mv_surveillance_assessment surveillance.avi 3
Threshold range is 0 to 10
Change-Id: Ib69e260d8a1a2610c3909093fd3bc085ce35be8d
Signed-off-by: sangho park <sangho.g.park@samsung.com>
Kwang Son [Mon, 10 May 2021 06:06:57 +0000 (15:06 +0900)]
[MVQA] Add image classification verify
Change-Id: Ie46ccd79ae547de48a71b30278b6e51fca770b8e
Signed-off-by: Kwang Son <k.son@samsung.com>
Kwang Son [Fri, 23 Apr 2021 05:52:50 +0000 (14:52 +0900)]
[MVQA] Add image classification
Change-Id: Ie1c0f8bf96c0f0749c50978b8bfd9a9f298061ab
Signed-off-by: Kwang Son <k.son@samsung.com>
Hyunsoo Park [Wed, 2 Jun 2021 00:23:17 +0000 (09:23 +0900)]
Change path of configuration file
Change-Id: I957ea08224f9fb7654f0e79520f975cc2a293f08
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Hyunsoo Park [Tue, 11 May 2021 06:07:53 +0000 (15:07 +0900)]
[Face/Barcode] Handle Error return
Change-Id: Ia1fcefc4b567fb67924113b64c9ac22ccc6094d9
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Tae-Young Chung [Thu, 6 May 2021 07:37:53 +0000 (16:37 +0900)]
Remove MEDIA_VISION_COLORSPACE_INVALID case in convertSourceMV2GrayCV()
It is one of colorspace which is not supported.
We don't need to separate it from other not supported error cases.
Change-Id: I2a757ed7338897f5638527aac7c2daec01661386
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Thu, 6 May 2021 07:23:14 +0000 (16:23 +0900)]
Add new attributes to media-vision-config.json
New attributes as rotation and image enhancement features in barcode detection,
- MV_BARCODE_DETECT_ATTR_ROTATION_DEGREES
- MV_BARCODE_DETECT_ATTR_ROTATION_COUNT
- MV_BARCODE_DETECT_ATTR_ROTATION_DIRECTION
- MV_BARCODE_DETECT_ATTR_USE_ENHANCEMENT,
should be added to media-vision-config.json
Change-Id: I2d6dcbd215d50e32dd9a43ac31f7e11309aa38a0
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Mon, 19 Apr 2021 08:21:56 +0000 (17:21 +0900)]
Add rotation functionality and CLAHE preprocessing in Barcode module
Change-Id: I806ad1e20a2b3a436b14b26d41218dbfa3c7fe32
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
(cherry picked from commit
a9bcad59c6c72b617a836e0e4687f0a9ef52a7e6)
Tae-Young Chung [Thu, 29 Apr 2021 03:50:55 +0000 (12:50 +0900)]
Fix failure of SetInputLayerProperty
If inputMeta isn't used, property is empty resulting to failure of SetInputLayerProperty().
property, which is set to inference engine backends through inference engine interface,
should be set by mConfig, regardless of inputMeta usage.
Change-Id: I4424d3c935288ee66ac3fab966e0e06f13a22e7f
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Inki Dae [Wed, 28 Apr 2021 07:52:16 +0000 (16:52 +0900)]
mv_inference: fix coverity issue
This patch returns an error if mPreProc.Run call failed correctly.
Change-Id: Ie8b75481e773115a1253ac448175da6cd0efa99d
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Tae-Young Chung [Wed, 24 Mar 2021 07:07:06 +0000 (16:07 +0900)]
Fix uninitialized Bvh* bvh_ member variable
Coverity issue(WGID 1192835): Uninitialized pointer field(CWE-457)
Change-Id: I28ee00646f3a70196dcfec08b819657148447a2d
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Wed, 10 Mar 2021 04:10:15 +0000 (13:10 +0900)]
Remove vulnerable strcpy() and strcat(), use memcpy() instead.
Fix svace issue PROC_USE.VULERABLE
WGID: 456309
Change-Id: Ic547e9faa06aef0fd70def6ad1e829c15b795f69
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Kwang Son [Wed, 10 Mar 2021 02:38:24 +0000 (11:38 +0900)]
Add manifest
manifest is used for apply smack rule in RPM packages.
Change-Id: I385cb7ffd3ddce4a552f6c65d9e29685dd862809
Signed-off-by: Kwang Son <k.son@samsung.com>
Kwang Son [Wed, 21 Apr 2021 04:29:11 +0000 (13:29 +0900)]
Add readme file for MVQA
Change-Id: I21a60641bac220bbb9ca3e34a4134fbaba85aa25
Signed-off-by: Kwang Son <k.son@samsung.com>
Kwang Son [Tue, 20 Apr 2021 04:27:39 +0000 (13:27 +0900)]
Add Face detection using TFlite
Change-Id: I62f9de68a9d101525e2fc0df0f5791d2ed1d4f4a
Signed-off-by: Kwang Son <k.son@samsung.com>
kwang son [Mon, 19 Apr 2021 05:22:03 +0000 (05:22 +0000)]
Merge "Change load data method" into tizen_devel
Kwang Son [Tue, 13 Apr 2021 07:36:45 +0000 (16:36 +0900)]
Change load data method
- Change method to download single data of dataset from NAS server
Change-Id: I69c46a9ab1761bdf80e3ff4913dad93de8afcaef
Signed-off-by: Kwang Son <k.son@samsung.com>
Tae-Young Chung [Fri, 9 Apr 2021 08:17:37 +0000 (17:17 +0900)]
Add meta files for google hosted models and update testsuite
Added meta files which support google hosted models for
image classification, and update testsuite to run the models with meta files.
Change-Id: If171f82501cfa3b7246358341d30b547d5f1c701
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Tue, 13 Apr 2021 01:45:28 +0000 (01:45 +0000)]
Merge "Output layer names should be updated by a metafile if it exist" into tizen_devel
Tae-Young Chung [Tue, 13 Apr 2021 01:44:52 +0000 (01:44 +0000)]
Merge "Add return false to setTensorBuffer() if parameters are invalid" into tizen_devel
kwang son [Mon, 12 Apr 2021 02:23:38 +0000 (02:23 +0000)]
Merge "[MVQA] Add barcode and face detection" into tizen_devel
Kwang Son [Mon, 12 Apr 2021 01:46:38 +0000 (10:46 +0900)]
[MVQA] Add barcode and face detection
Change-Id: Icb8be5d0eed217b5b06861cd1c21d61030ad79a2
Signed-off-by: Kwang Son <k.son@samsung.com>
Tae-Young Chung [Fri, 9 Apr 2021 08:03:17 +0000 (17:03 +0900)]
Output layer names should be updated by a metafile if it exist
Change-Id: I06ae65a07528163cdff0a5fc211e129b6f9607ca
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Fri, 9 Apr 2021 07:58:19 +0000 (16:58 +0900)]
Add return false to setTensorBuffer() if parameters are invalid
Change-Id: I35c3778513437a84cb36a09d35de97a2ed127f35
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Wed, 7 Apr 2021 09:48:14 +0000 (18:48 +0900)]
Add TensorBuffer class
It wraps inference_engine_tensor_buffer as a member variable.
It provides methods setTesnorBuffer(), getTensorbuffer(),
and getValue without type casting, which is annoying but important
when handling the value on postprocessing.
Change-Id: I5d7f516ae9aa3113f8e296e24f08840be0c63108
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Mon, 5 Apr 2021 08:31:48 +0000 (17:31 +0900)]
Add dequantization to postprocess and fix bug when there is no preprocess
Change-Id: I8bb520a7977ab61e9a8c4ecfc3349197a134b04a
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Kwang Son [Mon, 5 Apr 2021 00:49:27 +0000 (09:49 +0900)]
Add include map
Change-Id: I33441b80767fae60c738bcc83ec8b41699ccf2ae
Signed-off-by: Kwang Son <k.son@samsung.com>
Tae-Young Chung [Fri, 2 Apr 2021 00:45:09 +0000 (00:45 +0000)]
Merge "Add Metadata, PreProcess, PostProcess class" into tizen_devel
Tae-Young Chung [Wed, 17 Mar 2021 07:07:36 +0000 (16:07 +0900)]
Add Metadata, PreProcess, PostProcess class
Introduce metadata based pre-/post-process.
User can set the input/output information of a model to a metadata file(json file)
Based on information, input tensor and output tensor are preprocessed and postprocessed,
respectively.
Metadata class with InputMetadata and OutputMetadata are added.
PreProcess and PostProcess class are added.
A meta file for classification is added as an example.
It can be used as an referece for classification case.
Change-Id: Ie86b50ae32bf2f7f5d336fe4709d6ea938930c3d
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
sangho park [Tue, 30 Mar 2021 02:44:53 +0000 (11:44 +0900)]
add Face assessment
Usage: mv_face_assessment [OPTION...] SOURCE MODEL-TYPE
[VQA-face]
-?, --help Give this help list
--usage Give a short usage message
mediavision face assessment
e.g) mv_face_assessment face.png 0
ModelTypes are below:
0:haarcascade_frontalface_alt.xml
1:haarcascade_frontalface_alt2.xml
2:haarcascade_frontalface_alt_tree.xml
Change-Id: Idf3998911aab5ba4f9871a639df595634ece37b7
Signed-off-by: sangho park <sangho.g.park@samsung.com>
sangho park [Mon, 29 Mar 2021 05:16:24 +0000 (14:16 +0900)]
change VQA input/output format
e.g) mv_barcode_assessment barcode.png
2 # number of barcode
123456789 # 1'st barcode
987654321 # 2nd barcode
Change-Id: Id3017af1cf076a3338f66a0fe1c4497bc75c3166
Signed-off-by: sangho park <sangho.g.park@samsung.com>
Kwang Son [Fri, 26 Mar 2021 06:20:00 +0000 (15:20 +0900)]
[MVQA] Add benchmark database schema
Change-Id: I6d4ba715283f8960c9434e90207d736d659d22eb
Signed-off-by: Kwang Son <k.son@samsung.com>
Kwang Son [Thu, 25 Mar 2021 00:49:11 +0000 (09:49 +0900)]
Add mvqa run script and db
Change-Id: I1474eb6889b98b5d1513923974190bf2274af93c
Signed-off-by: Kwang Son <k.son@samsung.com>
sangho park [Tue, 23 Mar 2021 02:44:32 +0000 (02:44 +0000)]
Merge "create new test directories for VQA (Visual Quality Assessment)" into tizen_devel
sangho park [Mon, 15 Mar 2021 22:59:35 +0000 (07:59 +0900)]
create new test directories for VQA (Visual Quality Assessment)
New directories
- assessment
I plan to work with barcode and add the rest.
Change-Id: I948d53fa60215c8124e5e4a503dc8e4c7989bce0
Signed-off-by: sangho park <sangho.g.park@samsung.com>
Kwang Son [Wed, 17 Mar 2021 02:02:36 +0000 (11:02 +0900)]
Add mvqa script
MVQA(Media Vision Quality Assessment) is for benchmark of vision library
not only test result but also memory footprint, speed, cpu-usage.
Change-Id: Id49ff6e3bae995371a5248a1d42f7157ff338f04
Signed-off-by: Kwang Son <k.son@samsung.com>
Tae-Young Chung [Thu, 11 Mar 2021 02:32:22 +0000 (11:32 +0900)]
Change vector<inference_engine_tensor_buffer> to map<string, inference_engine_tensor_buffer>
To use inference_engine_tensor_buffer based on input/output layers' name,
change the type from vector to map.
According to the change of inference_engine_layer_property type from vector to map,
related codes are changed.
This commit is related to change of inference-engine-interface, which is
https://review.tizen.org/gerrit/#/c/platform/core/multimedia/inference-engine-interface/+/254892/)
Change-Id: If1b22462fe5c3321600e8b6df22e826cca6eb767
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Thu, 11 Mar 2021 02:19:37 +0000 (11:19 +0900)]
MV_INFERENCE_BACKEND_MLAPI with MV_INFERENCE_TARGET_DEVICE_CUSTOM condition only requires to check model config path
Change-Id: Ie73cfc3488360d8a5cde0c2c52f92900410b4f7c
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Mon, 8 Mar 2021 06:24:48 +0000 (15:24 +0900)]
Change the initial value of mTargetTypes to MV_INFERENCE_TARGET_DEVICE_CPU
mTargetTypes should be MV_INFERENCE_TARGET_DEVICE_CPU.
Otherwise, it is failed to load backend engine with mlapi.
Change-Id: I4b5110308f77b72b8bc7d572e4e8831b4b9466e2
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Hyunsoo Park [Thu, 4 Mar 2021 08:07:24 +0000 (17:07 +0900)]
Remove patch diff
Change-Id: I884f89c418d9746c42a827085532273cd709e6f2
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Tae-Young Chung [Thu, 4 Mar 2021 01:10:08 +0000 (10:10 +0900)]
Merge branch 'tizen' into tizen_devel
Change-Id: I09a0df533c6b8ee7f6f9183b69801854641d7507
Tae-Young Chung [Thu, 25 Feb 2021 05:15:46 +0000 (14:15 +0900)]
Check return value of malloc()
Fix svace issues DEREF_OF_NULL.RET.ALLOC
WGID: 449897, 450084
Change-Id: I20cdd26d4802b0219c897bb8025d30baaaa3c3ee
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Kwang Son [Wed, 10 Feb 2021 02:02:58 +0000 (11:02 +0900)]
Add test resource download instruction
Change-Id: Ib16d40e224508a4b1f5385fba34cdace556e8a17
Signed-off-by: Kwang Son <k.son@samsung.com>
kwang son [Mon, 8 Feb 2021 01:01:45 +0000 (01:01 +0000)]
Merge "Barcode: Add internal unit test case (libcheck)" into tizen
Kwang Son [Fri, 15 Jan 2021 01:37:12 +0000 (10:37 +0900)]
Barcode: Add internal unit test case (libcheck)
Mediavision has interactive-based test under test directory but this
patch introduce unit test.
Change-Id: Ida43b9e90bab01ddad2e83e969a2751eedea2113
Signed-off-by: Kwang Son <k.son@samsung.com>
Kwang Son [Mon, 1 Feb 2021 08:43:42 +0000 (17:43 +0900)]
Correct log level
Change-Id: I802bd016c3c0ca20f31bd53f2552c935e8beb1ff
Signed-off-by: Kwang Son <k.son@samsung.com>
Kwang Son [Fri, 15 Jan 2021 05:41:01 +0000 (14:41 +0900)]
Fix roi parameter handling
roi for check_source_roi, check_source_roi_quadrangle is optional.
Change-Id: If23a99f5b0b51edfa456476cadacfa875b942194
Signed-off-by: Kwang Son <k.son@samsung.com>
Kwang Son [Wed, 13 Jan 2021 04:25:06 +0000 (13:25 +0900)]
Replace gcc -w option to -Wall
Gcc -Wall option enhance code quailty and delete -w option which is
suppress warning. To clean code successfully follow bugs or warnings are fixed.
- Cmake : -Wall -> -w and clean duplicate commands
- Delete line : unused variables
- strncpy : check null terminator and buffer size
- exciplit header include
- printf formatting, sprintf truncation
- convert unmatched type
- fix typo
Change-Id: I049de491b2e832aa27900b046984306ea3aeb318
Signed-off-by: Kwang Son <k.son@samsung.com>
Kwang Son [Tue, 12 Jan 2021 05:39:17 +0000 (14:39 +0900)]
Add gcc Wall option
Turn gcc -Wall option on instead of -w.
Change-Id: I30ed93bda037e541b38edd7e0349ab79523b9bb5
Signed-off-by: Kwang Son <k.son@samsung.com>
Kwang Son [Thu, 7 Jan 2021 07:10:12 +0000 (16:10 +0900)]
Fix gcc warning and bug
- convert unmatched type
- include explicit header
- remove strncpy, snprintf (truncation warning)
- check parameter validation
- fix typo
Change-Id: I3d5185016f1b1c48a607cec0898aaa6da76968b2
Signed-off-by: Kwang Son <k.son@samsung.com>
Kwang Son [Thu, 7 Jan 2021 00:18:46 +0000 (09:18 +0900)]
Add clang-format file
clang-format tool help C/C++ tizen code lint.
This file made by Samsung SE team and need clang-format version 7 or newer.
https://releases.llvm.org/7.0.1/tools/clang/docs/ClangFormatStyleOptions.html
Change-Id: I702b83afdcb0384ba0f202947395d5ef46f911de
Signed-off-by: Kwang Son <k.son@samsung.com>
Kwang Son [Wed, 6 Jan 2021 05:11:09 +0000 (14:11 +0900)]
Fix gcc warning
- strncpy to strdup : truncation warning
- remove scanf : newline already handled
Change-Id: I63e10dbc8d5130835c2723018fee62a641715bc7
Kwang Son [Tue, 5 Jan 2021 04:23:31 +0000 (13:23 +0900)]
Fix gcc warning
- printf formatting
- sprintf truncation
Change-Id: I2371d525fdbd665a413892993b95769ad16be0fd
Kwang Son [Fri, 18 Dec 2020 04:38:50 +0000 (13:38 +0900)]
Cleanup cmake script
-DTIZEN_DEBUG : tizen specific define (duplicate in spec file also)
CMAKE_CXX_FLAGS : top parent CMakeLists has Wall option. (duplicate)
Change-Id: Ie031820c50dc019c99c10e8f250cfe5b816e7de3
Signed-off-by: Kwang Son <k.son@samsung.com>
Kwang Son [Tue, 22 Dec 2020 00:54:51 +0000 (09:54 +0900)]
Fix gcc warning
Change-Id: Ia0da73f38c5837a7b92e714167ebb552e370e091
Signed-off-by: Kwang Son <k.son@samsung.com>
Kwang Son [Fri, 18 Dec 2020 05:47:17 +0000 (14:47 +0900)]
Fix gcc warning
delete line : unused variable.
strncpy : need null value space.
Change-Id: I71781d250828ad8c5ce44a29d0732bc8cb59c962
Signed-off-by: Kwang Son <k.son@samsung.com>
Hyunsoo Park [Thu, 17 Dec 2020 08:17:18 +0000 (08:17 +0000)]
Merge "Removing unnecessary HTML link for feature/privilege" into tizen
kwang son [Thu, 17 Dec 2020 07:53:55 +0000 (07:53 +0000)]
Merge "Revert "Add Pose correction API"" into tizen
kwang son [Thu, 17 Dec 2020 07:53:40 +0000 (07:53 +0000)]
Revert "Add Pose correction API"
This reverts commit
9bf593ba1735c09d9bde22dc7a08e6cb79852639.
Reason for revert: <ACR review>
Change-Id: I8fa860433d69dc41b63fbe7193986109af1c7649
kwang son [Thu, 17 Dec 2020 07:52:04 +0000 (07:52 +0000)]
Revert "Add mv_pose_subtract test"
This reverts commit
1acdec169b90496b23cf18224e08516d8d1d3e3a.
Reason for revert: <INSERT REASONING HERE>
Change-Id: I98cb7a4d2e1f2cf3d23c02d3eec949476677bb01
Kwang Son [Thu, 17 Dec 2020 03:15:45 +0000 (12:15 +0900)]
Add mv_pose_subtract test
Change-Id: I5fe9047902737d1ca2582c886433e7a826c1ed8f
Signed-off-by: Kwang Son <k.son@samsung.com>
Hyunsoo Park [Thu, 17 Dec 2020 06:03:40 +0000 (15:03 +0900)]
Removing unnecessary HTML link for feature/privilege
Change-Id: I74e0ac0e0535f6bdcc794fdf77d1ecc3663b23fc
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
kwang son [Wed, 16 Dec 2020 08:28:24 +0000 (08:28 +0000)]
Merge "Add Pose correction API" into tizen
Kwang Son [Thu, 10 Dec 2020 23:56:12 +0000 (08:56 +0900)]
Add Pose correction API
mv_pose_subtract function is first part of correction API.
With pose detection, they only get pose similarity score but hard to
know differences between user and bvh skeleton line.
Using mv_pose_subtract help how skeleton should be changed.
Change-Id: I9296c00ae17ef45e3d5b86bafa913ad87974cfc6
Signed-off-by: Kwang Son <k.son@samsung.com>
Kwang Son [Fri, 11 Dec 2020 00:08:18 +0000 (09:08 +0900)]
Fix test result typo
Facial -> Pose
Change-Id: Idfa0cf10713005616b59cfd6f4e4287e8f62c7cb
Signed-off-by: Kwang Son <k.son@samsung.com>
Tae-Young Chung [Fri, 11 Dec 2020 00:17:17 +0000 (09:17 +0900)]
Merge branch 'tizen' into tizen_devel
mv_inference: Fix seg. fault issue at ConfigureInputInfo()
mBackendCapacity will be updated after Bind call
so access to mBackendCapacity shoud be done after the completion
of Binding. This patch makes the Bind callback to be called
before calling ConfigureTargetDevices callback.
Inki Dae [Mon, 30 Nov 2020 07:43:22 +0000 (16:43 +0900)]
mv_inference: Fix seg. fault issue at ConfigureInputInfo()
mBackendCapacity will be updated after Bind call
so access to mBackendCapacity shoud be done after the completion
of Binding. This patch makes the Bind callback to be called
before calling ConfigureTargetDevices callback.
Change-Id: If074e4005d03275272dfbce636d947c5d673802a
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Fri, 6 Nov 2020 06:21:13 +0000 (15:21 +0900)]
mv_inference: Fix target device configuration
Fixed an issue that target device type isn't updated correctly
when binding a backend engine.
This patch makes the target device configuration to be done
before a backend engine binding is completed because actual target device
configuration to the backend engine is done at binding time.
Change-Id: I24b5779f294abdf8944d4ec0339f1c1282e2156b
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Inki Dae [Tue, 10 Nov 2020 02:54:02 +0000 (11:54 +0900)]
mv_inference: Load mlapi specific ini file correctly
inference_engine_mlapi_backend.ini file is specific to MLAPI backend.
So load this file only in case that a given backend type is MLAPI.
Change-Id: I385d73d8571b506f8ffa6937985436fe8e18f96a
Signed-off-by: Inki Dae <inki.dae@samsung.com>