diff --git a/object-detection-yolov5/app/object_detection_yolov5.c b/object-detection-yolov5/app/object_detection_yolov5.c index 95c88c4c..75be52e2 100644 --- a/object-detection-yolov5/app/object_detection_yolov5.c +++ b/object-detection-yolov5/app/object_detection_yolov5.c @@ -174,7 +174,7 @@ static void non_maximum_suppression(uint8_t* tensor, } static void filter_detections(uint8_t* tensor, - float conf_theshold, + float conf_threshold, float iou_threshold, model_params_t* model_params, int* invalid_detections) { @@ -184,7 +184,7 @@ static void filter_detections(uint8_t* tensor, model_params->quantization_zero_point) * model_params->quantization_scale; - if (object_likelihood < conf_theshold) { + if (object_likelihood < conf_threshold) { invalid_detections[i] = 1; } else { invalid_detections[i] = 0;