CoordinatesReduction

Function Usage

A protected member function that scales the coordinate data. It is invoked for internal use only. Do not use it.

Prototype

void CoordinatesReduction(ImageInfo& imgInfo, std::vector<ObjDetectInfo>& objInfos);

Parameter Description

Parameter

Input/Output

Description

objInfos

Output

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

imageInfo

Input

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