platform/core/api/mediavision.git
6 months agoMerge "mv_machine_learning: load backend path ini file" into tizen_7.0 accepted/tizen_7.0_unified tizen_7.0 accepted/tizen/7.0/unified/20241213.181436
Inki Dae [Tue, 10 Dec 2024 01:38:20 +0000 (01:38 +0000)]
Merge "mv_machine_learning: load backend path ini file" into tizen_7.0

6 months agomv_machine_learning: load backend path ini file 19/316019/1 accepted/tizen/7.0/unified/20241210.170541
Inki Dae [Fri, 6 Dec 2024 05:10:01 +0000 (14:10 +0900)]
mv_machine_learning: load backend path ini file

Load backend path ini file in default.

MV_INFERENCE_BACKEND_MLAPI type has been deprecated so inference engine
mlapi backend should be used in default by inference_engine_backend_path.ini
file.

Change-Id: If0fbdbfa07fba60e9d8939f9ce3cfe49ff9e01e4
Signed-off-by: Inki Dae <inki.dae@samsung.com>
15 months agoFix MV_INFERENCE_BACKEND_TYPE to 1 on DA 13/307113/1 accepted/tizen/7.0/unified/20240306.024104
Kwanghoon Son [Tue, 5 Mar 2024 04:24:03 +0000 (04:24 +0000)]
Fix MV_INFERENCE_BACKEND_TYPE to 1 on DA

DA disable opencv backend(=0) and set default to 1

Change-Id: I170af59b3d49a02c0d017ccb90b2862c022a7bbf
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
18 months agomv_machine_learning: add a new feature key checking function 70/301570/9 accepted/tizen/7.0/unified/20240104.170600
Inki Dae [Mon, 20 Nov 2023 05:36:49 +0000 (14:36 +0900)]
mv_machine_learning: add a new feature key checking function

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

Add a new feature key checking function for machine learning based face
recognition API.

In the previous version of face recognition API, we used below key only.
http://tizen.org/feature/vision.inference.face

However, the key is used by face detection and other API - key checking
duplicated. So add a new feature key checking function so that the face
recognition API can check four keys
- http://tizen.org/feature/vision.inference
- http://tizen.org/feature/vision.training
- http://tizen.org/feature/vision.inference.face_recognition
- http://tizen.org/feature/vision.training.face_recognition

Change-Id: I9ad4cc5e166ba0aa644a99d4891a8dd927886039
Signed-off-by: Inki Dae <inki.dae@samsung.com>
19 months agoDrop vision-source API 35/300435/1 accepted/tizen/7.0/unified/20231025.180937
Kwanghoon Son [Wed, 25 Oct 2023 02:36:12 +0000 (11:36 +0900)]
Drop vision-source API

[Version] 0.23.50

vision-source written in demo codes were removed.
demo test code will be replace to mv_test with proper code.

Change-Id: Ib43b4ed86d7fd504b8b348c31bc86c3fa6741454
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
23 months agoFix bugs which parse wrong command parameters 52/295352/1
Tae-Young Chung [Thu, 6 Jul 2023 02:20:07 +0000 (11:20 +0900)]
Fix bugs which parse wrong command parameters

[Version] 0.23.49-3
[Issue type] bug fix

Change-Id: I783c1602ad72439dd56fffcff0afe68963e77086
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
23 months agoSeparate some classes from mv_depthstream_test_suite 40/294440/2 accepted/tizen/7.0/unified/20230620.164244
Tae-Young Chung [Mon, 19 Jun 2023 08:23:30 +0000 (17:23 +0900)]
Separate some classes from mv_depthstream_test_suite

[Version] 0.23.49-2
[Issue type] update

Change-Id: I2fa91ff20369609406fb4e7250ad83213f42dfe1
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agoRefactor mv_depthstream_test_suite to support camera as well as 66/293266/7
Tae-Young Chung [Wed, 17 May 2023 05:55:25 +0000 (14:55 +0900)]
Refactor mv_depthstream_test_suite to support camera as well as
vision-source

[Version] 0.23.49-1
[Issue type] update

Change-Id: I8d1b2f3c0f81a51523f417ea33d052c4dba50d52
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agomv_3d: bug fix 98/292598/1 accepted/tizen/7.0/unified/20230511.180842
sangho park [Tue, 18 Apr 2023 07:58:23 +0000 (16:58 +0900)]
mv_3d: bug fix

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

fix bug for no-stride Y800 image

Change-Id: I6c6671af36303fbf2134b3192cc77d244bbb983a
Signed-off-by: sangho park <sangho.g.park@samsung.com>
2 years agoFix invalid qrcode attribute 05/291905/1
Kwanghoon Son [Tue, 18 Apr 2023 08:05:07 +0000 (17:05 +0900)]
Fix invalid qrcode attribute

mv_barcode_generate_attr_shape_e for
MV_BARCODE_GENERATE_ATTR_SHAPE_ROUND_RECT should failed to generate.

Change-Id: Iacccd1f31f5d6be572562abb15619cb5a8068d06
Cherry-pick-from : 337e7ecc55e25dd54e102df778fbd77bb38e41e6
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
2 years agoDelete mv_source_fill_by_buffer_da 48/291048/5 accepted/tizen/7.0/unified/20230412.153443
Kwanghoon Son [Fri, 7 Apr 2023 02:41:48 +0000 (11:41 +0900)]
Delete mv_source_fill_by_buffer_da

It replaced with fill_by_media_packet.
timestamp data can be used with {get/set}_timstamp function.

Change-Id: I5de0042e7b9473337960e5c65b3b29ee750f423b
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
2 years agoAdd lint script and apply 77/290977/2
Kwanghoon Son [Thu, 6 Apr 2023 02:32:51 +0000 (11:32 +0900)]
Add lint script and apply

[Issue type] lint
[Version] 0.23.48

Change-Id: Ife8412e1193c4f8a866d9052bbe989e638ee6565
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
2 years agoAdd getWidthStride 68/290968/1
Kwanghoon Son [Thu, 6 Apr 2023 00:14:13 +0000 (09:14 +0900)]
Add getWidthStride

add function and convert memcpy method in order for mv3d to process images with stride

Change-Id: Ieb8c6082fa83327ee0a318462c8d8e0eef274085
Based-on: d9cfd4dbe6bcef7f5585bb26cd67a75e559671a4
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
2 years agoAdd camera packet test 67/290967/1
Kwanghoon Son [Thu, 6 Apr 2023 00:07:30 +0000 (09:07 +0900)]
Add camera packet test

Change-Id: Iefcf4d47935a17d43aaa9e207c88f351c8491f06
Based-on: e9b459708b880b444e7e8e7b88444b5e17b0600f
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
2 years agoRemove redundant mv3d test 66/290966/1
Kwanghoon Son [Thu, 6 Apr 2023 00:03:08 +0000 (09:03 +0900)]
Remove redundant mv3d test

Change-Id: Ic9b71d2ef1d07674f3271ea60ff56a629f1b6678
Based-on: 9831e2cc74781e5ff927998d6b46a6da52e1ac45
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
2 years agoAdd shallow copy for media source 52/290952/1
Kwanghoon Son [Wed, 5 Apr 2023 10:52:12 +0000 (19:52 +0900)]
Add shallow copy for media source

- Has media_packet_h for ref count
- zero copy for mv_source_fill_by_media_packet_c

rebase from commit (86c8f1754b53bfd08db519b0a6335aca3126e9ef)

Change-Id: Id443acfc5cfc49c945c3e81d81a54dad63582536
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
2 years agoFix format unref and media packet test 51/290951/1
Kwanghoon Son [Wed, 5 Apr 2023 10:44:15 +0000 (19:44 +0900)]
Fix format unref and media packet test

rebase from commit (4ac464bef3dc8374be8ec456b7a01cdfbf2a93fb)
Change-Id: Idb63ad058698b90355aedba3327e783fb68073f6
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
2 years agoChange MediaSource structure 42/290942/1
Kwanghoon Son [Wed, 5 Apr 2023 10:08:07 +0000 (19:08 +0900)]
Change MediaSource structure

- New struct plane
- Change member variable naming
- Remove unnecessary logd

rebase from commit (1c736c4dbde1d71802e310b58251dec2061813c8)
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
Change-Id: Id220e4cd77099e31df07363820bc24473561c1c0

2 years agoAdd isStop flag not to handle memory in _vision_source_cb() but just to return the... 52/290252/2
Tae-Young Chung [Wed, 22 Mar 2023 04:48:34 +0000 (13:48 +0900)]
Add isStop flag not to handle memory in _vision_source_cb() but just to return the callback

[Version] 0.23.47
[Issue type] bug fix

After stopping by vision_source_stop_stream(), _vision_source_cb() is
invoked with buffers and then close the device.
In _vision_source_cb(), buffers, which aren't available, are handled and
processed to detect objects.
So, this commit is to return the callback after
vision_source_stop_stream().

Change-Id: I82b4c4f1a214ceec78ceb1bf8dd0aec56aed57db
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agoFix bug not to call mv_util_visualizer_2d() if url is empty 49/290249/1
Tae-Young Chung [Wed, 22 Mar 2023 03:32:46 +0000 (12:32 +0900)]
Fix bug not to call mv_util_visualizer_2d() if url is empty

[Version] 0.23.46
[Issue type] bug fix

Change-Id: Ie5a3f10163d6c22acbddf08dbb0251189fcedf3c
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agoChange design qr to internal API 41/289941/1 accepted/tizen/7.0/unified/20230327.042700
Kwanghoon Son [Thu, 16 Mar 2023 02:12:43 +0000 (11:12 +0900)]
Change design qr to internal API

[Version] 0.23.45
[Issue type] internal API

gbs build with --define "designqr 1" will enable feature.

Change-Id: I42ef0d051ac3b2521b7e93afb7035ae7a7045b09
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
2 years agoAdd logo shape 01/289501/1
Kwanghoon Son [Fri, 24 Feb 2023 04:23:10 +0000 (13:23 +0900)]
Add logo shape

The shape of the logo image is changed according to the shape
of the qrcode finder.

Change-Id: Id8020ee208babd9409b099e53912e453245e5810
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
2 years agoAdd DesignQR embed logo image 00/289500/1
Kwanghoon Son [Thu, 16 Feb 2023 09:27:08 +0000 (18:27 +0900)]
Add DesignQR embed logo image

QRcode generate MV_BARCODE_GENERATE_ATTR_EMBED_IMG_PATH and it's size
will be 1/5 of output image. This will 4% of total image size so ok with
qrcode ecc recovery.

Change-Id: I9bf902cada3d7a03d7dff424b676bb7344968b2a
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
2 years agoAdd Design qr combination test 99/289499/1
Kwanghoon Son [Fri, 3 Feb 2023 08:00:45 +0000 (17:00 +0900)]
Add Design qr combination test

Change-Id: I081b8495c4e2958cda735b75fb11fd6b537f720c
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
2 years agoAdd MV_BARCODE_GENERATE_ATTR_EMBED_IMG_PATH 98/289498/1
Kwanghoon Son [Mon, 6 Feb 2023 03:12:00 +0000 (12:12 +0900)]
Add MV_BARCODE_GENERATE_ATTR_EMBED_IMG_PATH

MV_BARCODE_GENERATE_ATTR_EMBED_IMG_PATH is for embed image in middle of
qr code.

Change-Id: I01b25970344c0fc95e65ce39e12a0a4aa65d9317
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
2 years agoAdd design QR finder shape 97/289497/1
Kwanghoon Son [Fri, 3 Feb 2023 02:33:35 +0000 (11:33 +0900)]
Add design QR finder shape

Change-Id: I9641480cbc213cc9862694d9c57614445a8d7a51
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
2 years agoAdd Design QR header and test 45/289445/4
Kwanghoon Son [Thu, 2 Feb 2023 07:09:36 +0000 (16:09 +0900)]
Add Design QR header and test

Design QR is for supporting various shape of finder and anchor pattern.
This patch includes
1. MV_BARCODE_GENERATE_ATTR_{DATA,FINDER}_SHAPE
2. header value of mv_barcode_generate_attr_shape_e
3. chain engineCfg parameter to createBarcode function because so many
parameters will increase without engineCfg

Change-Id: Ib931c15e97bbb8439f564fb1826bfa9ca38ebc8e
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
(cherry picked from commit c6656f06ce4315dc1eaffc4e57191bdde15bd234)

2 years agomv_barcode: clean duplicate code 09/289309/1
Kwanghoon Son [Fri, 6 Jan 2023 10:15:40 +0000 (19:15 +0900)]
mv_barcode: clean duplicate code

mv_barcode_generate_{source,image}_open share duplicate code

Change-Id: Icf22352e4225de141d54c1a677f52dff958cbc23
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
(cherry picked from commit f1d5b22becf989379318f55e219265d384282611)

2 years agoMerge "Apply da timestamp to mv_3d" into tizen_7.0
Tae-Young Chung [Mon, 6 Mar 2023 04:54:43 +0000 (04:54 +0000)]
Merge "Apply da timestamp to mv_3d" into tizen_7.0

2 years agoApply da timestamp to mv_3d 56/289256/3 accepted/tizen/7.0/unified/20230307.080144
Tae-Young Chung [Fri, 3 Mar 2023 08:29:21 +0000 (17:29 +0900)]
Apply da timestamp to mv_3d

[Version] 0.23.44
[Issue type] update

In case of da profile, mv_source_h can be filled by buffer with timestamp.
When the mv_source_h with the timestamp is given to mv_3d_run_async()
an user can get the timestamp from a mv_source_h which is given through
the mv_3d_depth_cb().

Change-Id: I7b9933144dded08d4163e09465d9d19423def8e5
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agoFix QRcode error handle 62/289262/1
Kwanghoon Son [Wed, 28 Dec 2022 06:52:38 +0000 (15:52 +0900)]
Fix QRcode error handle

Change default error MEDIA_VISION_ERROR_NONE to
MEDIA_VISION_ERROR_INTERNAL.

[Issue type] Fix

Change-Id: I61bfa695f98341b979be5d91646831763b9f6298
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
(cherry picked from commit 9234fad3f0a515b33e487e0405d3061437b770f2)

2 years agoAdd da timestamp 75/288975/11
Kwanghoon Son [Mon, 27 Feb 2023 06:04:42 +0000 (15:04 +0900)]
Add da timestamp

[Issue type] new feature
[Version] 0.23.43

Change-Id: I988e4ee27300e8a1510c606ec8cc6c5f24675125
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
2 years agoAdd LICENSE.BSD-3-Clause 95/289195/2
Tae-Young Chung [Thu, 2 Mar 2023 09:04:48 +0000 (18:04 +0900)]
Add LICENSE.BSD-3-Clause

[Issue type] update

Add missing BSD-3 notice license file.

Change-Id: I2fd36bcf55e828ab18ec1984dbb7032ddb148269
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agoUpdate files in meta-template except yolov5 files 82/286382/1
Tae-Young Chung [Thu, 5 Jan 2023 02:50:57 +0000 (11:50 +0900)]
Update files in meta-template except yolov5 files

[Issue type] update

yolov5 files will be updated with a next commit.

Change-Id: Iffea7884d6d39f65273529fba9685d6f82043884
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agoAdd yolov5m test to mv_test 74/285774/1 accepted/tizen/7.0/unified/20221222.170905
Tae-Young Chung [Tue, 20 Dec 2022 04:27:12 +0000 (13:27 +0900)]
Add yolov5m test to mv_test

[Issue type] update

Even yolov5m isn't different from yolv5s but there is a requirement of
testing the both by mv_test.

Change-Id: I7fa8e432a18391bc975f121e17af9fed68b680e5
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agoUpdate testsuite to select top-and-bottom stereo format as well as side-by-side 73/285773/1
Tae-Young Chung [Tue, 20 Dec 2022 04:22:16 +0000 (13:22 +0900)]
Update testsuite to select top-and-bottom stereo format as well as side-by-side

[Issue type] update

Change-Id: Ie5fa4b797e737ba870385b12f5a4550ec67bee32
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agoSupport new DFS_DATA_INPUT_FORMAT_COUPLED_TB 29/285729/2
Tae-Young Chung [Mon, 19 Dec 2022 05:41:50 +0000 (14:41 +0900)]
Support new DFS_DATA_INPUT_FORMAT_COUPLED_TB

[Issue type] new feature
This commit is manually patched from https://review.tizen.org/gerrit/#/c/platform/core/api/mediavision/+/285727
to avoid conflict.

Change-Id: I3ed22f7c035eb3f75070f4203b6498a85c1dc3ab
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agomv3d: keep pointcloud as a shared_ptr form instead of raw void* 15/285715/1
Seungbae Shin [Fri, 23 Sep 2022 05:37:53 +0000 (14:37 +0900)]
mv3d: keep pointcloud as a shared_ptr form instead of raw void*

[Issue type] refactoring

The shared_ptr is exactly what we got from geometry::PointCloud::CreateFrom RGBDImage(),
eventually, this change gives us better readability and safety.
This commit is cherry-picked from https://review.tizen.org/gerrit/gitweb?p=platform/core/api/mediavision.git;a=commit;h=4aacb16816d6013c35b88d5145a0f9e23e4b3c1c

Change-Id: I20e4f95e272dbd8a05ce18c267c1dc84539387d0

2 years agomv3d: pass raw pointer to g_async_queue instead to make code simple 14/285714/1
Seungbae Shin [Thu, 22 Sep 2022 11:58:24 +0000 (20:58 +0900)]
mv3d: pass raw pointer to g_async_queue instead to make code simple

[Issue type] refactoring

In addition, make g_async_queue to cleanup automatically for the remained items.

This commit is cherry-picked from https://review.tizen.org/gerrit/gitweb?p=platform/core/api/mediavision.git;a=commit;h=8f29b5a3a4a0498fb05e4345b020ae1156c1d3de
to avoid conflict.

Change-Id: Ibab33c79bd520d2d8acbdfdebca07628c8b2edc7

2 years agomachine_learning: add odstream_test_suite to test object detection with stream 51/285251/4 accepted/tizen/7.0/unified/20221212.133802
Tae-Young Chung [Thu, 8 Dec 2022 06:04:30 +0000 (15:04 +0900)]
machine_learning: add odstream_test_suite to test object detection with stream

[Issue type] update

Change-Id: I958180daa632d7244bc1af054d1d612c59561b1d
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agoutil: change RGBA to RGB 50/285250/2
Tae-Young Chung [Thu, 8 Dec 2022 05:59:56 +0000 (14:59 +0900)]
util: change RGBA to RGB

[Issue type] update

RGB colorspace is used in mediavision testsuite. It has to be
changed to RGBA to use visualizer utility. With this commit,
RGB can be used without changing color space.

Change-Id: I3e15bf0457414f4a2bf27990f954dea73c9e2abc
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agomachine_learning: skip object decoding if boxScore is less than threshold 48/285248/1
Tae-Young Chung [Thu, 8 Dec 2022 05:57:44 +0000 (14:57 +0900)]
machine_learning: skip object decoding if boxScore is less than threshold

[Issue type] bug fix

Change-Id: Ia5e8933979eada06d8617c4bd37e185be99e594e
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agomv3d: create DfsAdaptor and call bind() when mDfsAdaptor is nullptr 95/285095/1
Tae-Young Chung [Tue, 6 Dec 2022 05:05:15 +0000 (14:05 +0900)]
mv3d: create DfsAdaptor and call bind() when mDfsAdaptor is nullptr

[Issue type] bug fix

This commit is manually patched from https://review.tizen.org/gerrit/#/c/platform/core/api/mediavision/+/285093/
to avoid conflict.

Change-Id: Icca5dfce80771641a7d0fce8e7b317247a8d1db7
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agomv3d: fix vision.3d feature check 92/285092/1
Tae-Young Chung [Tue, 6 Dec 2022 04:39:26 +0000 (13:39 +0900)]
mv3d: fix vision.3d feature check

[Issue type] bug fix

This commit is manually patched from https://review.tizen.org/gerrit/#/c/platform/core/api/mediavision/+/285085
to avoid conflict.

Change-Id: I1d5718d1ee4c3cc46db550ce3be9984fca92262f
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agoUpdate parts of getting the latest in mDfsAsyncQueue 13/284813/2
Tae-Young Chung [Mon, 28 Nov 2022 07:08:58 +0000 (16:08 +0900)]
Update parts of getting the latest in mDfsAsyncQueue

[Issue type] update

This commit is manually patched from https://review.tizen.org/gerrit/#/c/platform/core/api/mediavision/+/284812/
to avoid conflict.

Change-Id: I11dfca071a0f126f6e2e2fd2f2df54a68d98761f
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agomv3d: get the latest in mDfsAsyncQueue 06/284806/2
Tae-Young Chung [Mon, 28 Nov 2022 04:54:52 +0000 (13:54 +0900)]
mv3d: get the latest in mDfsAsyncQueue

[Issue type] update

This commit is manually patched from https://review.tizen.org/gerrit/#/c/platform/core/api/mediavision/+/284241/
to avoid conflict.

Change-Id: Ic402b8d08b2967810401ff29e685ec5aad0891c2
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agoChange default value of MV_3D_DEPTH_MODE in json to '1', 74/284274/1
Tae-Young Chung [Mon, 14 Nov 2022 02:58:20 +0000 (11:58 +0900)]
Change default value of MV_3D_DEPTH_MODE in json to '1',
and add error return when the mode is MV_3D_DEPTH_MODE_NONE

[Issue type] update and bug fix

Change-Id: I23d73be70123c07ae7d2bd931207e9f4e90ff5b3
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
(cherry picked from commit 323deebb2bf8413e952e4f8b5faf9ce3ce020093)

2 years agoUpdate EfficientDet and its test 72/284172/1 accepted/tizen/7.0/unified/20221115.022326
Tae-Young Chung [Fri, 11 Nov 2022 03:06:49 +0000 (12:06 +0900)]
Update EfficientDet and its test

[Issue type] new feature and update

Change-Id: I6011facc16444e9d2e9e75f7deb6dd5eaece1863
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agoChange a test image for object detection model EFFICIENT_LITE2 15/284115/2
Tae-Young Chung [Thu, 10 Nov 2022 03:11:34 +0000 (12:11 +0900)]
Change a test image for object detection model EFFICIENT_LITE2

[Issue type] update

Change-Id: I129fb15f5b2424015c121474e673522bebc38740
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agoMerge "Add remote display to depthstream_test_suite" into tizen_7.0
Tae-Young Chung [Wed, 9 Nov 2022 07:02:40 +0000 (07:02 +0000)]
Merge "Add remote display to depthstream_test_suite" into tizen_7.0

2 years agoMerge "Add remote display to depth_test_suite" into tizen_7.0
Tae-Young Chung [Wed, 9 Nov 2022 07:02:10 +0000 (07:02 +0000)]
Merge "Add remote display to depth_test_suite" into tizen_7.0

2 years agoAdd remote display to depthstream_test_suite 34/284034/2
Tae-Young Chung [Mon, 7 Nov 2022 07:56:22 +0000 (16:56 +0900)]
Add remote display to depthstream_test_suite

[Issue type] update

Change-Id: I06add78361bcb62f1e4930a5414bc2acd4784d32
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
(cherry picked from commit c9794db96c89d6ec252455c047bd55b0d48bffb6)

2 years agoAdd remote display to depth_test_suite 33/284033/2
Tae-Young Chung [Mon, 7 Nov 2022 06:47:18 +0000 (15:47 +0900)]
Add remote display to depth_test_suite

[Issue type] update

Change-Id: I25be56bb0ed0c43e6f4d6c4d25427d646c84eb2d
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
(cherry picked from commit 2ad486adc76cda768ac593d9e9b2e9d152ad05a3)

2 years agoChange server and visualizer_test_suite to get url as an input 32/284032/2
Tae-Young Chung [Mon, 7 Nov 2022 05:57:37 +0000 (14:57 +0900)]
Change server and visualizer_test_suite to get url as an input

[Issue type] update

Change-Id: I6728021226ff9fd2b74ec7f656ab04c1ea25031e
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
(cherry picked from commit 5b78cc4dabda335e3dc002c00c63d891d296e348)

2 years agoFix yolo decoding while resizer of letter box 48/284048/1
Tae-Young Chung [Wed, 9 Nov 2022 06:17:57 +0000 (15:17 +0900)]
Fix yolo decoding while resizer of letter box

Change-Id: If4de2eb113e4b58cb3d2bdc3c6ca19a82d949abf
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agoFix index error and yolo test passed 39/284039/1
Kwanghoon Son [Wed, 9 Nov 2022 05:03:28 +0000 (00:03 -0500)]
Fix index error and yolo test passed

Change-Id: I190e1b6d379fdfa5871d55562571213252b94779
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
2 years agoFix yolo build error 35/284035/1
Kwanghoon Son [Wed, 9 Nov 2022 03:21:21 +0000 (22:21 -0500)]
Fix yolo build error

Change-Id: I87bb85d4ad8c096acef479dc29fb9d42c88205a9
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
2 years agoAdd letter box 31/284031/2
Kwanghoon Son [Wed, 2 Nov 2022 10:57:39 +0000 (06:57 -0400)]
Add letter box

[Issue type] New feature

SNP yolo model needs letterbox preprocessing.
Define resize method and parser.

Change-Id: I1a02f5a1823aa3d017cd8ba33dfcfa5558d9a592
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
2 years agoAdd decode yolo 28/284028/1
Kwanghoon Son [Thu, 22 Sep 2022 02:05:36 +0000 (22:05 -0400)]
Add decode yolo

Change-Id: Iba0e60c1d09e564bd08fbc7ea66d051054bb6677
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
2 years agofix build error with tv profile 18/283718/1 accepted/tizen/7.0/unified/20221103.165524 accepted/tizen/7.0/unified/20221110.061041
Tae-Young Chung [Wed, 2 Nov 2022 06:18:21 +0000 (15:18 +0900)]
fix build error with tv profile

[Version]: 0.23.41-2
[Issue type]: bug fix

Change-Id: I9e0b30396c78aa11c5134e51529acd6736157f46
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agofix build error with aarch64 32/283532/1 accepted/tizen/unified/20221102.085158
Tae-Young Chung [Fri, 28 Oct 2022 06:21:03 +0000 (15:21 +0900)]
fix build error with aarch64

[Version]: 0.23.41-1
[Issue type]: bug fix

Build error message:
```
[   17s] CMake Error at test/CMakeLists.txt:17 (target_link_libraries):
[   17s]   Error evaluating generator expression:
[   17s]
[   17s]     $<TARGET_PROPERTY:Open3D::Open3D,TYPE>
[   17s]
[   17s]   Target "Open3D::Open3D" not found.
```
This commit resolves it.

Change-Id: I2b2d20367011316b12c7c8ed3117731845156941
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agoadd test_3d.cpp to mv_test 57/283257/1
Tae-Young Chung [Fri, 21 Oct 2022 04:31:40 +0000 (13:31 +0900)]
add test_3d.cpp to mv_test

[Version]: 0.23.41-0
[Issue type]: update

test_3d.cpp for testing mv3d is added to mv_test which line coverage is
measured by.

Change-Id: I08e86eda14717bc1978aca4cd282621cbe4fb9f0
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agomv3d: exclude open3d from tv profile 76/283176/1
Tae-Young Chung [Thu, 20 Oct 2022 00:54:14 +0000 (09:54 +0900)]
mv3d: exclude open3d from tv profile

[Version]: 0.23.40-1
[Issue type]: update

VD has build profile with aarch64 but there is no Open3D package now.
This commit moves BuildRequires of Open3D-devel package when %arch is
aarch64 but profile isn't tv

Change-Id: I5c1f43e3fe1473f0cdeb50a4e779d735cbe09d16
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agosurveillance: fix data type 47/283147/2
Hyunsoo Park [Wed, 19 Oct 2022 04:24:05 +0000 (13:24 +0900)]
surveillance: fix data type

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

Change-Id: I65266048729e5ceaa188657b8d7f9abc49fc1978
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
2 years agoroi_tracker: fix typo 89/283089/1
Hyunsoo Park [Tue, 18 Oct 2022 02:32:19 +0000 (11:32 +0900)]
roi_tracker: fix typo

[Version]: 0.23.39-0
[Issue type]: docs

Change-Id: Ib4ab81e4466cd3391eb9857cc4fc2ea017161e22
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
2 years agomv3d: update depthstream_test_suite to use vision-source 00/282900/3
Tae-Young Chung [Thu, 13 Oct 2022 06:17:47 +0000 (15:17 +0900)]
mv3d: update depthstream_test_suite to use vision-source

[Version]: 0.23.38-0
[Issue type]: update

To test with camera, replace gstreamer based codes with vision-source
internal api.
Note that vision-source is internal api and unavailable in TV so that
some test suites aren't built in TV profile.

Change-Id: Iefc285f0d19ed2c4f6dbe4fba70f6991f4244229
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agomv3d: update depth_test_suite.cpp to select disparity or depth 84/282884/2
Tae-Young Chung [Thu, 13 Oct 2022 02:40:56 +0000 (11:40 +0900)]
mv3d: update depth_test_suite.cpp to select disparity or depth

[Version]: 0.23.37-0
[Issue type]: update

Change-Id: If782905b32fb2057d1b1c42c3c4438639438dac4
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agomv3d: fix wrong parameters order 38/282738/1 accepted/tizen_7.0_unified_hotfix tizen_7.0_hotfix accepted/tizen/7.0/unified/hotfix/20221116.104736 accepted/tizen/unified/20221012.014917 tizen_7.0_m2_release
Tae-Young Chung [Tue, 11 Oct 2022 03:30:59 +0000 (12:30 +0900)]
mv3d: fix wrong parameters order

[Version]: 0.23.36-0
[Issue type]: fix bad bug

Change-Id: I0c7e2c12afac2df7561fac3a072800d7bdc9e006
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agomv3d: update mv_depth_test_suite 27/282527/4
Tae-Young Chung [Wed, 5 Oct 2022 05:31:05 +0000 (14:31 +0900)]
mv3d: update mv_depth_test_suite

[Version]: 0.23.35-0
[Issue type]: update test

- apply coding convention
- update global functions to static ones
- remove unused variables

Change-Id: Ibf8cb916cda98a9656e99632add7897f5c8f2947
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agoroi_tracker: Fix default tracker type value as integer 26/282526/3 accepted/tizen/unified/20221006.151843 submit/tizen/20221005.080230
Hyunsoo Park [Wed, 5 Oct 2022 05:07:52 +0000 (14:07 +0900)]
roi_tracker: Fix default tracker type value as integer

[Issue type] : bug fix
[Version]: 0.23.35-0
- From this patch, tracker type set as default correctly.

Change-Id: I4fc4073f204ea46c46db631f7422e80317b0b452
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
2 years agomv3d: add mv_test_3d for testing mv3d module 88/282488/5
Tae-Young Chung [Tue, 4 Oct 2022 08:22:21 +0000 (17:22 +0900)]
mv3d: add mv_test_3d for testing mv3d module

[Version]: 0.23.34-0
[Issue type] : update test

Change-Id: I859593365ddc19cc232a8073a5bbe87e8f46081b
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agoroi_tracker: sets to use default tracker type 19/282219/13 submit/tizen/20221004.074305
Hyunsoo Park [Wed, 28 Sep 2022 10:45:46 +0000 (19:45 +0900)]
roi_tracker: sets to use default tracker type

[Issue type] : bug fix
[Version]: 0.23.33-0
- From this patch, tracker type is checked for error handling.
If it has wrong setting, default type would be set.

Change-Id: I92935555fcfbfc14a970290b54f79fb3f6520a68
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
2 years agoroi_tracker: move checking codes 14/282214/3
Hyunsoo Park [Wed, 28 Sep 2022 09:39:38 +0000 (18:39 +0900)]
roi_tracker: move checking codes

[Version]: 0.23.32-0
[Issue type] : code clean up

Change-Id: I334d859ac84a239ac4c48816dd75240954d14ede
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
2 years agomv_barcode: code cleanup to mv_barcode_generate_open.cpp 37/282337/2
Inki Dae [Fri, 30 Sep 2022 03:02:52 +0000 (12:02 +0900)]
mv_barcode: code cleanup to mv_barcode_generate_open.cpp

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

Just drop unnecessary code and use LOGE instead of LOGW in case of an error.

Change-Id: I696731722df593527e92b58888f881177d9d8728
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agomv3d: fix bug 47/282247/1 accepted/tizen/unified/20220930.020559
Tae-Young Chung [Thu, 29 Sep 2022 05:28:44 +0000 (14:28 +0900)]
mv3d: fix bug

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

parameters orders are wrong in mv3dRunAsync()

Change-Id: Ib06b26dffeae8a8088713ba9f5b51e39f8cf6621
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agoMerge "mv3d: fix bugs" into tizen accepted/tizen/unified/20220928.144450
sangho park [Wed, 28 Sep 2022 01:36:28 +0000 (01:36 +0000)]
Merge "mv3d: fix bugs" into tizen

2 years agomv3d: fix bugs 66/282166/1
sangho park [Fri, 23 Sep 2022 06:42:31 +0000 (15:42 +0900)]
mv3d: fix bugs

[Issue type] : bug fix for building mv_3d (add compile_definitions)

Change-Id: Ic325fc0bb82122ae014538fb60c7cd2096e71e6b
Signed-off-by: sangho park <sangho.g.park@samsung.com>
2 years agomv3d: fix typo 65/282165/1
sangho park [Fri, 23 Sep 2022 05:01:29 +0000 (14:01 +0900)]
mv3d: fix typo

[Issue type] : fix typo MMV_3D_POINTCLOUD_IS_AVAILABLE to MV_3D_POINTCLOUD_IS_AVAILABLE in spec file

Change-Id: I5f384053219829b046c39178889ad1049218669c
Signed-off-by: sangho park <sangho.g.park@samsung.com>
2 years agoCheck new vision.3d features 39/282139/2
Tae-Young Chung [Tue, 27 Sep 2022 08:14:38 +0000 (17:14 +0900)]
Check new vision.3d features

[Version] : 0.23.29-0
[Issue type] : update

According to ACR-1720, new features, vision.3d, vision.3d.depth,
vision.3d.pointcloud, are added.

Change-Id: I02ff894588cd20ff11039a80cf9fcd91cada602f
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agomv_3d: fix svace issue (SIGNED_TO_BIGGER_UNSIGNED) 98/282098/2
Seungbae Shin [Tue, 27 Sep 2022 04:57:53 +0000 (13:57 +0900)]
mv_3d: fix svace issue (SIGNED_TO_BIGGER_UNSIGNED)

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

fix svace wgid 499263

Change-Id: Iea3cf1342f2b1b090d3fef626e26898e65a0c631

2 years agomv_3d: fix coverity issue 89/282089/3 accepted/tizen/unified/20220928.020828
sangho park [Tue, 27 Sep 2022 03:49:37 +0000 (12:49 +0900)]
mv_3d: fix coverity issue

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

fix coverity DefectId 161213216121341612135 (Unchecked return value)

Change-Id: Ib618ab460996f40572e8084b743954eb7fad20c1
Signed-off-by: sangho park <sangho.g.park@samsung.com>
2 years agomv_3d: fix coverity issue 88/282088/2
sangho park [Tue, 27 Sep 2022 03:42:43 +0000 (12:42 +0900)]
mv_3d: fix coverity issue

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

fix coverity DefectId 1612133 (resource leak)

Change-Id: I8a8b9a0783db79f3695dc637445dfe62d0b2ea92
Signed-off-by: sangho park <sangho.g.park@samsung.com>
2 years agomv_machine_learning: fix coverity issue 82/282082/3
Inki Dae [Tue, 27 Sep 2022 02:19:02 +0000 (11:19 +0900)]
mv_machine_learning: fix coverity issue

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

Fixed a coverity issue by handling an error value correctly.

Change-Id: Icce85a27e2be29f38799a4f312d40978d60e59eb
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agomv3d: fix bugs wrong lib name in CMakeLists.txt accepted/tizen/unified/20220926.025502
Tae-Young Chung [Thu, 22 Sep 2022 07:49:08 +0000 (16:49 +0900)]
mv3d: fix bugs wrong lib name in CMakeLists.txt

[Issue type] : bug fix

Change-Id: Ica7aa7c43f0c49bb685c5a4e93989f9ea28ea5fd
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agomv3d: fix bugs
Tae-Young Chung [Thu, 22 Sep 2022 05:24:48 +0000 (14:24 +0900)]
mv3d: fix bugs

[Issue type] : bug fix (SVACE: WGID 499255,499256,499263,499267)

499255: fix flcose() with nullptr
499256: fix delete operation with malloc()
499263: fix assignment of a signed integer value to a bigger size_t
499267: fix memory leak of suffix_for_algo

Change-Id: I415baa95286527007e3b8aff8befd218ebe0a09b
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agomv3d: fix a bug using nullptr
Tae-Young Chung [Thu, 22 Sep 2022 04:21:45 +0000 (13:21 +0900)]
mv3d: fix a bug using nullptr

[Issue type] : bug fix (SVACE: WGID 499264)

mDepthCallback uses deallocated memory of the variable 'base'.
It should be mv_source_h of a left image.
With dfs-adaptation change,
```
commit 1607630a5887d961cd71d0e9663e9945d70fc3ae
Author: Tae-Young Chung <ty83.chung@samsung.com>
Date:   Thu Sep 22 13:19:04 2022 +0900

    Add getLeftData() and getRigthData()

    [Version] 1.0.9-0
    [Issue type] update
```
getLeftData() returns the pointer of a left image
and the returned pointer is used to fill mv_source_h.

Change-Id: I89af7686e485a102bc444720583bf26739e08809

2 years agomv3d: add MV_3D_POINTCLOUD_AVAILABLE macro
sangho park [Wed, 21 Sep 2022 11:10:49 +0000 (20:10 +0900)]
mv3d: add MV_3D_POINTCLOUD_AVAILABLE macro

[Issue type] : supports pointcloud feature for aarch64 only

Change-Id: I32323b3e587f17b74d06fe1d2058f20084ebdaae
Signed-off-by: sangho park <sangho.g.park@samsung.com>
2 years agomv3d: fix build warning and cleanup
Inki Dae [Wed, 21 Sep 2022 09:00:07 +0000 (18:00 +0900)]
mv3d: fix build warning and cleanup

[Issue type] : code cleanup

Change-Id: I86daac442b5aadb0b40ead94f28b10fc4944ffed
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agoMerge branch 'tizen_devel' into tizen submit/tizen/20220921.082242
Kwanghoon Son [Wed, 21 Sep 2022 08:14:02 +0000 (04:14 -0400)]
Merge branch 'tizen_devel' into tizen

Change-Id: I913d76601535f1d860f4bdd18c552697a6c9ede2
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
2 years agoMerge changes I33594b22,Id9842754 into tizen_devel refact
kwang son [Wed, 21 Sep 2022 08:04:47 +0000 (08:04 +0000)]
Merge changes I33594b22,Id9842754 into tizen_devel

* changes:
  Change metadata class to struct
  Drop Yolo CellParm

2 years agoAdd pointcloud implementation for mv_3d APIs 36/281736/2
sangho park [Wed, 21 Sep 2022 07:46:01 +0000 (16:46 +0900)]
Add pointcloud implementation for mv_3d APIs

[Issue type] new feature

Change-Id: I7571bb1d67607e7d0c423296ce7d4c5c6fb7de6e
Signed-off-by: sangho park <sangho.g.park@samsung.com>
2 years agoAdd mv_3d apis supporting depth and pointcloud data 33/281733/2
Tae-Young Chung [Mon, 22 Aug 2022 11:22:12 +0000 (20:22 +0900)]
Add mv_3d apis supporting depth and pointcloud data

[Issue type] new feature

Change-Id: I04539a0ab6c393302a895a5c1402983e7c20d0ed
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
2 years agoChange metadata class to struct 21/281721/1 splitDec
Kwanghoon Son [Wed, 21 Sep 2022 05:05:23 +0000 (01:05 -0400)]
Change metadata class to struct

[Issue type] refactoring

OutputMetadata class needs access all of Info member variables.
So all of Info class variables need to get method because it is
just struct of data. Since Info classes not have any special
member function, struct is more suitable for data access

Change-Id: I33594b225173314a42585738ac8a32d49efc8493
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
2 years agoDrop Yolo CellParm 04/281704/1
Kwanghoon Son [Wed, 21 Sep 2022 02:37:37 +0000 (22:37 -0400)]
Drop Yolo CellParm

Yolo object detection not use CellParm anymore

Change-Id: Id9842754634b6f134b02f417c96ea24f5fc69096
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
2 years agoChange Info class to struct 63/281263/1 sandbox/inki.dae/object_detection_3d
Kwanghoon Son [Thu, 15 Sep 2022 05:08:26 +0000 (01:08 -0400)]
Change Info class to struct

[Issue type] refactoring

ObjectDecoder class needs access all of Info member variables.
So all of Info class variables need to get method because it is
just struct of data. Since Info classes not have any special
member function, struct is more suitable for data access.

Change-Id: Ifa470fbb17344451584e0b93ad6faf859c021eba
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
2 years agoMerge "Add Yolo anchor parser and test" into tizen_devel
kwang son [Tue, 13 Sep 2022 23:58:10 +0000 (23:58 +0000)]
Merge "Add Yolo anchor parser and test" into tizen_devel

2 years agoRefactoring Inference 48/280948/7
Kwanghoon Son [Wed, 7 Sep 2022 05:17:08 +0000 (01:17 -0400)]
Refactoring Inference

[Issue type] refactoring

- remove C style typedef
- class initialization
- remove redundancy code

Change-Id: Ib3297732e1bd89cb81168983d3aaad9a53928bcb
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
2 years agoAdd Yolo anchor parser and test 20/281120/3
Kwanghoon Son [Tue, 13 Sep 2022 02:03:32 +0000 (22:03 -0400)]
Add Yolo anchor parser and test

[Issue type] New feature

commit from https://review.tizen.org/gerrit/c/platform/core/api/mediavision/+/272777

Change-Id: I3652cd0adb4a0c1b34d8b3b6ba5ff9c61838ae1e
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
2 years agomv_machine_learning: add copyright to test code 31/281131/1
Inki Dae [Tue, 13 Sep 2022 06:14:18 +0000 (15:14 +0900)]
mv_machine_learning: add copyright to test code

[Version] : 0.23.25-0
[Issue type] : code clean

Added copyright to all test code.

Change-Id: I10b09b74b6e29bf389652d83a563c35b28187ab6
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2 years agoMerge "mv_machine_learning: bug fix to face recognition API" into tizen
Inki Dae [Tue, 13 Sep 2022 06:13:40 +0000 (06:13 +0000)]
Merge "mv_machine_learning: bug fix to face recognition API" into tizen