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

Method PreProcessing

samples/ObjectDetection/src/ObjectDetectionPipeline.cpp:33–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33void ObjDetectionPipeline::PreProcessing(const cv::Mat& frame, cv::Mat& processed)
34{
35 m_inputImageSize.m_Height = frame.rows;
36 m_inputImageSize.m_Width = frame.cols;
37 ResizeWithPad(frame, processed, m_processedFrame, m_executor->GetImageAspectRatio());
38}
39
40MobileNetSSDv1::MobileNetSSDv1(std::unique_ptr<common::ArmnnNetworkExecutor<float>> executor,
41 float objectThreshold) :

Callers 2

PipelineTest.cppFile · 0.45
mainFunction · 0.45

Calls 3

ResizeWithPadFunction · 0.85
GetImageAspectRatioMethod · 0.45
GetInputDataTypeMethod · 0.45

Tested by

no test coverage detected