Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Inspired by hearing about the "contiguous RAM" problems mentioned by dkurt, I went deeper and wrote a separate post with a long answer for everyone else who wants the fastest RGB/BGR conversion. It contains very important information. Spoiler alert: Do NOT use Numpy tricks!

https://answers.opencv.org/question/219040/fastest-way-to-convert-bgr-rgb/