Forked from ayang/display-cv-image-using-matplot.ipynb
Last active
September 4, 2018 03:58
display opencv image using matplotlib in ipython notebook
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For flipping BGR -> RGB one could do
img2 = img[:, :, ::-1]
whereimg
is the color image (read byimread
) but it feels hacky, so I like the self-documented solution.