Computer Vision, Image Processing, Computer Science, Colors, Engineering.
right). Why is that? Original image (left) vs matplotlib output (right) Note that matplotlib expects that the input is RGB. However, the image format that we passed into it is BGR. To display the image with its proper colours, we need to convert the BGR → RGB. For colour conversion, we use the