Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

the opencv code is all correct.

blame matplotlib for swapping bgr to rgb (and look at the logo above, to see the correct order)

(maybe you should not wildly mix python libraries there, just saying)

the opencv code for copyMakeBorder() is all correct.

blame matplotlib for swapping bgr to rgb (and look at the logo above, to see the correct order)

(maybe you should not wildly mix python libraries there, just saying)(but yes, it's already wrong in the tutorial)