VpcCrop
Function Usage
Implements image cropping. Before calling this API, call Init() or Init(MxbaseDvppChannelMode dvppChannelMode) to initialize this function.
Prototype
APP_ERROR VpcCrop (
DvppDataInfo& inputDataInfo ,
DvppDataInfo& outputDataInfo ,
CropRoiConfig& cropConfig
);
Parameter Description
Parameter |
Input/Output |
Description |
|---|---|---|
inputDataInfo |
Input |
Data to be cropped |
outputDataInfo |
Output |
Data after cropping |
cropConfig |
Input |
Image cropping configuration Restrictions:
|
Return Parameter Description
Data Structure |
Description |
|---|---|
APP_ERROR |
Error code returned during program execution. For details, see the MxBase/ErrorCode/ErrorCode.h file. |
Parent topic: DvppWrapper