summaryrefslogtreecommitdiff
path: root/source/use_case/object_detection/src/MainLoop.cc
diff options
context:
space:
mode:
Diffstat (limited to 'source/use_case/object_detection/src/MainLoop.cc')
-rw-r--r--source/use_case/object_detection/src/MainLoop.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/use_case/object_detection/src/MainLoop.cc b/source/use_case/object_detection/src/MainLoop.cc
index 4bec357..0f98c8a 100644
--- a/source/use_case/object_detection/src/MainLoop.cc
+++ b/source/use_case/object_detection/src/MainLoop.cc
@@ -67,7 +67,7 @@ void main_loop(hal_platform& platform)
int menuOption = common::MENU_OPT_RUN_INF_NEXT;
if (bUseMenu) {
DisplayDetectionMenu();
- menuOption = arm::app::ReadUserInputAsInt(platform);
+ menuOption = arm::app::ReadUserInputAsInt();
printf("\n");
}
switch (menuOption) {
@@ -77,7 +77,7 @@ void main_loop(hal_platform& platform)
case common::MENU_OPT_RUN_INF_CHOSEN: {
printf(" Enter the image index [0, %d]: ", NUMBER_OF_FILES-1);
fflush(stdout);
- auto imgIndex = static_cast<uint32_t>(arm::app::ReadUserInputAsInt(platform));
+ auto imgIndex = static_cast<uint32_t>(arm::app::ReadUserInputAsInt());
executionSuccessful = ObjectDetectionHandler(caseContext, imgIndex, false);
break;
}