Fix wrong log level
authorKwanghoon Son <k.son@samsung.com>
Fri, 10 Nov 2023 07:38:20 +0000 (16:38 +0900)
committerInki Dae <inki.dae@samsung.com>
Tue, 14 Nov 2023 07:41:50 +0000 (16:41 +0900)
[Issue type] Fix

Change-Id: Icdfc7f071f95be8b11b256c7ff8de3716466402a
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
mv_machine_learning/inference/src/Inference.cpp
mv_machine_learning/inference/src/mv_inference_open.cpp

index 9169d67..e0d6131 100644 (file)
@@ -1129,7 +1129,7 @@ int Inference::getClassficationResults(ImageClassificationResults *results)
                results->number_of_classes++;
        }
 
-       LOGE("Inference: GetClassificationResults: %d\n", results->number_of_classes);
+       LOGI("Inference: GetClassificationResults: %d\n", results->number_of_classes);
        return MEDIA_VISION_ERROR_NONE;
 }
 
@@ -1359,7 +1359,7 @@ int Inference::getFaceDetectionResults(FaceDetectionResults *results)
                        results->number_of_faces++;
                }
 
-               LOGE("Inference: GetFaceDetectionResults: %d\n", results->number_of_faces);
+               LOGI("Inference: GetFaceDetectionResults: %d\n", results->number_of_faces);
        } else {
                tensor_t outputTensorInfo;
 
index 612f213..e82c2c9 100644 (file)
@@ -527,10 +527,10 @@ int mv_inference_image_classify_open(mv_source_h source, mv_inference_h infer, m
        if (numberOfOutputs > START_CLASS_NUMBER)
                names.resize(numberOfOutputs);
 
-       LOGE("mv_inference_open: number_of_classes: %d\n", numberOfOutputs);
+       LOGI("mv_inference_open: number_of_classes: %d\n", numberOfOutputs);
 
        for (int output_index = 0; output_index < numberOfOutputs; ++output_index) {
-               LOGE("names: %s", classificationResults.names[output_index].c_str());
+               LOGI("names: %s", classificationResults.names[output_index].c_str());
                names[output_index] = classificationResults.names[output_index].c_str();
        }