Home
last modified time | relevance | path

Searched refs:resizeFactor (Results 1 – 3 of 3) sorted by relevance

/external/armnn/samples/ObjectDetection/src/
DSSDResultDecoder.cpp31 const double resizeFactor = longEdgeOutput/longEdgeInput; in Decode() local
58 topLeftY *= resizeFactor; in Decode()
59 topLeftX *= resizeFactor; in Decode()
60 botRightY *= resizeFactor; in Decode()
61 botRightX *= resizeFactor; in Decode()
DYoloResultDecoder.cpp31 const float resizeFactor = longEdgeOutput/longEdgeInput; in Decode() local
56 float topLeftX = cur_box[0] * resizeFactor; in Decode()
57 float topLeftY = cur_box[1] * resizeFactor; in Decode()
58 float botRightX = cur_box[2] * resizeFactor; in Decode()
59 float botRightY = cur_box[3] * resizeFactor; in Decode()
DImageUtils.cpp95 const double resizeFactor = longEdgeOutput/longEdgeInput; in ResizeFrame() local
96 cv::resize(frame, dest, cv::Size(0, 0), resizeFactor, resizeFactor, DefaultResizeFlag); in ResizeFrame()