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

Method ConvertToRGB

samples/common/src/CVUtils/CvVideoFrameReader.cpp:55–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55bool CvVideoFrameReader::ConvertToRGB()
56{
57 m_capture.set(cv::CAP_PROP_CONVERT_RGB, 1.0);
58 return static_cast<bool>(m_capture.get(cv::CAP_PROP_CONVERT_RGB));
59}
60
61std::string CvVideoFrameReader::GetSourceEncoding() const
62{

Callers 1

GetFrameSourceAndSinkFunction · 0.80

Calls 2

setMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected