Forked from ayang/display-cv-image-using-matplot.ipynb
Last active
September 4, 2018 03:58
-
-
Save zori/e0a1f0025cb8ea9e9889b79b916d3aaa to your computer and use it in GitHub Desktop.
display opencv image using matplotlib in ipython notebook
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.