mv_machine_learning: bug fix to recognition request 75/279375/2 accepted/tizen/unified/20220809.213751 submit/tizen/20220808.075156
authorInki Dae <inki.dae@samsung.com>
Mon, 8 Aug 2022 06:43:57 +0000 (15:43 +0900)
committerInki Dae <inki.dae@samsung.com>
Mon, 8 Aug 2022 06:48:19 +0000 (15:48 +0900)
commit6f71bf9d67470aac07c94579b284b818d301fa25
tree69af825e1c181025e455188729f37f5d5e52399f
parent46dca26638fb3bac0e098b3e3dbb92f49a99aea7
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>
mv_machine_learning/face_recognition/src/face_recognition.cpp
mv_machine_learning/face_recognition/src/face_recognition_adapter.cpp
packaging/capi-media-vision.spec
test/testsuites/machine_learning/face_recognition/test_face_recognition.cpp