ImageEn, unit ievision

TIEVisionNNet.setSwapRB

TIEVisionNNet.setSwapRB


Declaration

procedure setSwapRB(value: bool32); safecall;


Description

Swap the red and blue channels of the input image.
This method changes the order of the color channels in the input image from RGB to BGR (and vice versa) to support pre-trained models that may be trained on images in BGR (or RGB) format.

Parameter Description
value If true, read and blue channels are swapped