MLECO-1252 ASR sample application using the public ArmNN C++ API.
Change-Id: I98cd505b8772a8c8fa88308121bc94135bb45068
Signed-off-by: Éanna Ó Catháin <eanna.ocathain@arm.com>
diff --git a/samples/ObjectDetection/include/ImageUtils.hpp b/samples/ObjectDetection/include/ImageUtils.hpp
index 07e2b83..9bae568 100644
--- a/samples/ObjectDetection/include/ImageUtils.hpp
+++ b/samples/ObjectDetection/include/ImageUtils.hpp
@@ -21,7 +21,7 @@
*/
void AddInferenceOutputToFrame(od::DetectedObjects& decodedResults,
cv::Mat& inputFrame,
- std::vector<std::tuple<std::string, od::BBoxColor>>& labels);
+ std::vector<std::tuple<std::string, common::BBoxColor>>& labels);
/**
* @brief Function to resize a frame while keeping aspect ratio.
@@ -30,7 +30,7 @@
* @param[out] dest the frame we want to resize into.
* @param[in] aspectRatio aspect ratio to use when resizing.
*/
-void ResizeFrame(const cv::Mat& frame, cv::Mat& dest, const od::Size& aspectRatio);
+void ResizeFrame(const cv::Mat& frame, cv::Mat& dest, const common::Size& aspectRatio);
/**
* @brief Function to pad a frame.
@@ -49,7 +49,7 @@
* @param cache operation requires intermediate data container.
* @param destSize size of the destination frame
*/
-void ResizeWithPad(const cv::Mat& frame, cv::Mat& dest, cv::Mat& cache, const od::Size& destSize);
+void ResizeWithPad(const cv::Mat& frame, cv::Mat& dest, cv::Mat& cache, const common::Size& destSize);
/**
* @brief Function to retrieve the cv::scalar color from a RGB tuple.