Declaration
procedure setSwapRB(value: bool32); safecall;
Description
This method is used to swap the red and blue channels of the input image.
The purpose of this method is to change the order of the color channels in the input image from RGB to BGR (and viceversa).
This is because the pre-trained models may be trained on images in BGR (or RGB) format.
Parameter | Description |
value | If true swap R & B channels |