ResizeReduction

Function Usage

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

Prototype

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

Parameters

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 of the detected object.