Process

Function Usage

Performs affine transformation.

Prototype

APP_ERROR Process(std::vector<MxBase::DvppDataInfo> &warpAffineDataInfoInputVec,
                      std::vector<MxBase::DvppDataInfo> &warpAffineDataInfoOutputVec,
                      std::vector<KeyPointInfo> &keyPointInfoVec, int picHeight, int picWidth);

Parameter Description

Parameter

Input/Output

Description

warpAffineDataInfoInputVec

Input

Image information before conversion.

warpAffineDataInfoOutputVec

Output

Image information after conversion. The length must be the same as that of warpAffineDataInfoInputVec.

keyPointInfoVec

Input

Key point parameter. The length must be the same as that of warpAffineDataInfoInputVec.

picHeight

Input

Image height. Value range: [32, 8192]

picWidth

Input

Image width. Value range: [32, 8192]

Return Parameter Description

Data Structure

Description

APP_ERROR

Error code returned during program execution. For details, see the MxBase/ErrorCode/ErrorCode.h file.