From e958850d7672cd81a5eb48285a2df94b8f0595f0 Mon Sep 17 00:00:00 2001 From: Liam Barry Date: Tue, 25 Jan 2022 14:31:15 +0000 Subject: MLECO-2872 Minor improvement to CommonUseCaseUtils Replaced overloaded PresentInferenceresults with single function and removed logic to handle arguments which are no longer passed. Change-Id: I745271638fcf78b7121c2a4b95844b752643bac2 Signed-off-by: Liam Barry --- .../main/include/UseCaseCommonUtils.hpp | 28 +--------------------- 1 file changed, 1 insertion(+), 27 deletions(-) (limited to 'source/application/main/include') diff --git a/source/application/main/include/UseCaseCommonUtils.hpp b/source/application/main/include/UseCaseCommonUtils.hpp index a3b606d..c91dc4a 100644 --- a/source/application/main/include/UseCaseCommonUtils.hpp +++ b/source/application/main/include/UseCaseCommonUtils.hpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Arm Limited. All rights reserved. + * Copyright (c) 2021-2022 Arm Limited. All rights reserved. * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -57,32 +57,6 @@ namespace image{ **/ bool PresentInferenceResult(hal_platform & platform, const std::vector < arm::app::ClassificationResult > & results); - - - /** - * @brief Presents inference results along with the inference time using the data presentation - * object. - * @param[in] platform Reference to the hal platform object. - * @param[in] results Vector of classification results to be displayed. - * @param[in] results Inference time in ms. - * @return true if successful, false otherwise. - **/ - bool PresentInferenceResult(hal_platform & platform, - const std::vector < arm::app::ClassificationResult > & results, - const time_t infTimeMs); - - /** - * @brief Presents inference results along with the inference time using the data presentation - * object. - * @param[in] platform Reference to the hal platform object. - * @param[in] results Vector of classification results to be displayed. - * @param[in] results Inference time in ms. - * @return true if successful, false otherwise. - **/ - bool PresentInferenceResult(hal_platform & platform, - const std::vector < arm::app::ClassificationResult > & results, - bool profilingEnabled, - const time_t infTimeMs = 0); } /** -- cgit v1.2.1