ResizeReduction

Function Usage

A protected member function that scales the object detection data. (It is invoked for internal use only. Do not use it.)

Prototype

void ResizeReduction(const ResizedImageInfo& resizedImageInfo, const int imgWidth, const int imgHeight,
                         std::vector<ObjectInfo>& objInfos);

Parameter Description

Parameter

Input/Output

Description

resizedImageInfo

Input

Image information (including the original and resized widths and heights)

imgWidth

Input

Image width

imgHeight

Input

Image height

objInfos

Output

Output information such as the coordinates, type, and confidence level of the detected object