YOLOX icon indicating copy to clipboard operation
YOLOX copied to clipboard

Fix the bug: tensorrt-cpp input blob from BGR to RGB

Open AllenIsaacJose opened this issue 1 year ago • 1 comments

Opencv imread operation reads the image in BGR format. So when creating the input blob, we should make sure it is in RGB format before inferencing on the network. I had a lower accuracy in the existing code and this conversion of input blob to RGB format improved the accuracy.

AllenIsaacJose avatar Feb 27 '24 15:02 AllenIsaacJose

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Feb 27 '24 15:02 CLAassistant