Before You Start
- The resizing ratio of the paste ROI to the crop ROI must be within the range of [1/32,16].
- There is an odd-even alignment mechanism for the crop plugin. For example, if the input is 32 and the scaling ratio is 16x, the result is 512. Due to the odd-even alignment mechanism, 32 is changed to 31 and 512/31 is greater than 16. In this case, the scaling ratio is greater than 16 and the scaling fails.
- The image processing plugin supports the OpenCV and Ascend modes. The differences are as follows:
- Ascend: calls Ascend DVPP APIs for image processing.
- OpenCV: calls OpenCV APIs for image processing.
Parent topic: Media Data Processing Plugins