MCPcopy Create free account
hub / github.com/ARM-software/armnn / GetScalarColorCode

Function GetScalarColorCode

samples/ObjectDetection/src/ImageUtils.cpp:12–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10#include <armnn/Logging.hpp>
11
12static cv::Scalar GetScalarColorCode(std::tuple<int, int, int> color)
13{
14 return cv::Scalar(std::get<0>(color), std::get<1>(color), std::get<2>(color));
15}
16
17void AddInferenceOutputToFrame(od::DetectedObjects& decodedResults, cv::Mat& inputFrame,
18 std::vector<std::tuple<std::string, common::BBoxColor>>& labels)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected