| 31 | } |
| 32 | |
| 33 | void 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 | |
| 40 | MobileNetSSDv1::MobileNetSSDv1(std::unique_ptr<common::ArmnnNetworkExecutor<float>> executor, |
| 41 | float objectThreshold) : |
no test coverage detected