diff options
author | Richard Burton <richard.burton@arm.com> | 2023-12-06 17:13:10 +0000 |
---|---|---|
committer | alex.tawse <alex.tawse@arm.com> | 2024-01-23 17:26:45 +0000 |
commit | cefc7e1cacdd3028b46325b3a1f6c15416914b2f (patch) | |
tree | d0353f7775d18a207d8a9fd352a3b716ea7b9773 /source/use_case/object_detection/src/MainLoop.cc | |
parent | 001a8ff315dc766a206b05a3e00e831e3f972b0d (diff) | |
download | ml-embedded-evaluation-kit-cefc7e1cacdd3028b46325b3a1f6c15416914b2f.tar.gz |
MLECO-4503: Adding video VSI for object detectionexperimental/vsi
* Added Board support - Arm Corstone 300 and 310
* Added Python Scripts for Video VSI
* Added source files for Video VSI
* Add new usecase handler for OD use case
* Bumped resampy version to resolve issue with slowdown
Signed-off-by: Idriss Chaouch <idriss.chaouch@arm.com>
Signed-off-by: Richard Burton <richard.burton@arm.com>
Change-Id: Ie59ae955d4d85f672a49c63733052624542aec85
Diffstat (limited to 'source/use_case/object_detection/src/MainLoop.cc')
-rw-r--r-- | source/use_case/object_detection/src/MainLoop.cc | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/source/use_case/object_detection/src/MainLoop.cc b/source/use_case/object_detection/src/MainLoop.cc index 4735bcb..fe21de6 100644 --- a/source/use_case/object_detection/src/MainLoop.cc +++ b/source/use_case/object_detection/src/MainLoop.cc @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: Copyright 2022 Arm Limited and/or its affiliates <open-source-office@arm.com> + * SPDX-FileCopyrightText: Copyright 2022, 2024 Arm Limited and/or its affiliates <open-source-office@arm.com> * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -41,7 +41,12 @@ static void DisplayDetectionMenu() printf(" %u. Run detection ifm at chosen index\n", common::MENU_OPT_RUN_INF_CHOSEN); printf(" %u. Run detection on all ifm\n", common::MENU_OPT_RUN_INF_ALL); printf(" %u. Show NN model info\n", common::MENU_OPT_SHOW_MODEL_INFO); - printf(" %u. List ifm\n\n", common::MENU_OPT_LIST_IFM); + printf(" %u. List ifm\n", common::MENU_OPT_LIST_IFM); +#if VSI_ENABLED + fflush(stdout); + printf(" %u. Run detection using VSI as input\n", common::MENU_OPT_RUN_INF_VSI); +#endif + printf("\n"); printf(" Choice: "); fflush(stdout); } @@ -99,6 +104,11 @@ void main_loop() case common::MENU_OPT_LIST_IFM: executionSuccessful = ListFilesHandler(caseContext); break; +#if VSI_ENABLED + case common::MENU_OPT_RUN_INF_VSI: + executionSuccessful = ObjectDetectionHandlerVsi(caseContext); + break; +#endif default: printf("Incorrect choice, try again."); break; |