mv_machine_learning: fix typo 67/305467/2
authorSeungbae Shin <seungbae.shin@samsung.com>
Fri, 2 Feb 2024 04:19:37 +0000 (13:19 +0900)
committerInki Dae <inki.dae@samsung.com>
Fri, 2 Feb 2024 05:21:41 +0000 (05:21 +0000)
Change-Id: I4861a85fcf43385969c86619f79de1b2fb07d1f9

mv_machine_learning/common/include/native_capi.h
mv_machine_learning/common/src/native_capi.cpp
mv_machine_learning/face_recognition/src/mv_face_recognition.cpp
mv_machine_learning/image_classification/src/mv_image_classification.cpp
mv_machine_learning/image_segmentation/src/mv_selfie_segmentation.cpp
mv_machine_learning/landmark_detection/src/mv_facial_landmark.cpp
mv_machine_learning/landmark_detection/src/mv_pose_landmark.cpp
mv_machine_learning/object_detection/src/mv_face_detection.cpp
mv_machine_learning/object_detection/src/mv_object_detection.cpp
mv_machine_learning/object_detection_3d/src/mv_object_detection_3d.cpp

index 8c710366a306115c4538eb9179cb1b2749adbddd..bd13f949cb264711893b8d36ab6abf6c136b6297 100644 (file)
@@ -31,7 +31,7 @@ namespace machine_learning
 {
 void *machine_learning_native_create();
 void machine_learning_native_add(void *handle, const std::string &task_name, mediavision::common::ITask *task);
-void machine_learning_native_destory(void *handle);
+void machine_learning_native_destroy(void *handle);
 void machine_learning_native_configure(void *handle, const std::string &task_name);
 void machine_learning_native_prepare(void *handle, const std::string &task_name);
 void machine_learning_native_inference(void *handle, const std::string &task_name, InputBaseType &input);
index daa3b6d58609c4a0b44cc4a39ce35f388a2ef9c3..25fc5ebcb8e8c2457e1ee99878c3bac7a408a4e3 100644 (file)
@@ -47,7 +47,7 @@ void machine_learning_native_add(void *handle, const string &task_name, ITask *t
        context->__tasks.insert(make_pair(task_name, task));
 }
 
-void machine_learning_native_destory(void *handle)
+void machine_learning_native_destroy(void *handle)
 {
        auto context = static_cast<Context *>(handle);
 
index 33341f15e0e6b8a055198ae045cc4c31fb39218a..8a5a6635d84c2a9b6397d1a100ce996805cc3a65 100644 (file)
@@ -80,7 +80,7 @@ int mv_face_recognition_destroy(mv_face_recognition_h handle)
        MEDIA_VISION_FUNCTION_ENTER();
 
        try {
-               machine_learning_native_destory(handle);
+               machine_learning_native_destroy(handle);
        } catch (const BaseException &e) {
                return e.getError();
        }
index a5237d688fbc74e8c175520d3758db1e3fa561f0..a2caad19ee89511a06088dabfd795f1c6a29300d 100644 (file)
@@ -73,7 +73,7 @@ int mv_image_classification_destroy(mv_image_classification_h handle)
 
        MEDIA_VISION_FUNCTION_ENTER();
 
-       machine_learning_native_destory(handle);
+       machine_learning_native_destroy(handle);
 
        MEDIA_VISION_FUNCTION_LEAVE();
 
index 7bd675493f98a7e2d0bab8cb01757fd923275731..edf0ea2c747b1dc5b8e6e04e60453e132a69776e 100644 (file)
@@ -75,7 +75,7 @@ int mv_selfie_segmentation_destroy(mv_selfie_segmentation_h handle)
 
        MEDIA_VISION_FUNCTION_ENTER();
 
-       machine_learning_native_destory(handle);
+       machine_learning_native_destroy(handle);
 
        MEDIA_VISION_FUNCTION_LEAVE();
 
index eda3d4b1d1350d07876d3b28ec97dbd9e61ac4d8..979d6c46ab0c56e29498abc1a0599aad3391e02f 100644 (file)
@@ -72,7 +72,7 @@ int mv_facial_landmark_destroy(mv_facial_landmark_h handle)
 
        MEDIA_VISION_FUNCTION_ENTER();
 
-       machine_learning_native_destory(handle);
+       machine_learning_native_destroy(handle);
 
        MEDIA_VISION_FUNCTION_LEAVE();
 
index 5dcdf82c7d5a1168ed6af1b73a443c5ea6a84c09..e42e2ba8d629e8eb80576ba6dba2b7bb561d9c32 100644 (file)
@@ -72,7 +72,7 @@ int mv_pose_landmark_destroy(mv_pose_landmark_h handle)
 
        MEDIA_VISION_FUNCTION_ENTER();
 
-       machine_learning_native_destory(handle);
+       machine_learning_native_destroy(handle);
 
        MEDIA_VISION_FUNCTION_LEAVE();
 
index 01e1136df823bf8f0923351774311e0bae23f91b..6c0a270011d210b670040edb85eb7214e533db5b 100644 (file)
@@ -73,7 +73,7 @@ int mv_face_detection_destroy(mv_face_detection_h handle)
 
        MEDIA_VISION_FUNCTION_ENTER();
 
-       machine_learning_native_destory(handle);
+       machine_learning_native_destroy(handle);
 
        MEDIA_VISION_FUNCTION_LEAVE();
 
index 3044f55d47c0c69b3b7a0da300e844864070a48d..22e9eb75f737d15267ce3b3f529ff7898294cb06 100644 (file)
@@ -73,7 +73,7 @@ int mv_object_detection_destroy(mv_object_detection_h handle)
 
        MEDIA_VISION_FUNCTION_ENTER();
 
-       machine_learning_native_destory(handle);
+       machine_learning_native_destroy(handle);
 
        MEDIA_VISION_FUNCTION_LEAVE();
 
index 446b8cccd9e3b0b40a041e9d1071b6308cf0318f..48224a5aba890afa3ee264f944482bbc85fa982f 100644 (file)
@@ -78,7 +78,7 @@ int mv_object_detection_3d_destroy(mv_object_detection_3d_h handle)
 
        MEDIA_VISION_FUNCTION_ENTER();
 
-       machine_learning_native_destory(handle);
+       machine_learning_native_destroy(handle);
 
        MEDIA_VISION_FUNCTION_LEAVE();