summaryrefslogtreecommitdiff
path: root/source/use_case/object_detection/src/UseCaseHandler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'source/use_case/object_detection/src/UseCaseHandler.cc')
-rw-r--r--source/use_case/object_detection/src/UseCaseHandler.cc13
1 files changed, 10 insertions, 3 deletions
diff --git a/source/use_case/object_detection/src/UseCaseHandler.cc b/source/use_case/object_detection/src/UseCaseHandler.cc
index 4d0877a..e9bcd4a 100644
--- a/source/use_case/object_detection/src/UseCaseHandler.cc
+++ b/source/use_case/object_detection/src/UseCaseHandler.cc
@@ -27,6 +27,9 @@
namespace arm {
namespace app {
+ namespace object_detection {
+ extern const int channelsImageDisplayed;
+ } /* namespace object_detection */
/**
* @brief Presents inference results along using the data presentation
@@ -122,9 +125,13 @@ namespace app {
/* Display image on the LCD. */
hal_lcd_display_image(
- (channelsImageDisplayed == 3) ? currImage : dstPtr,
- inputImgCols, inputImgRows, channelsImageDisplayed,
- dataPsnImgStartX, dataPsnImgStartY, dataPsnImgDownscaleFactor);
+ (arm::app::object_detection::channelsImageDisplayed == 3) ? currImage : dstPtr,
+ inputImgCols,
+ inputImgRows,
+ arm::app::object_detection::channelsImageDisplayed,
+ dataPsnImgStartX,
+ dataPsnImgStartY,
+ dataPsnImgDownscaleFactor);
/* Display message on the LCD - inference running. */
hal_lcd_display_text(str_inf.c_str(), str_inf.size(),