Skip to content

Instantly share code, notes, and snippets.

@naxty
Created February 14, 2017 10:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save naxty/e6665aa3838e780e5c282e0c32f45b4a to your computer and use it in GitHub Desktop.
Save naxty/e6665aa3838e780e5c282e0c32f45b4a to your computer and use it in GitHub Desktop.
Opencv different color input
import cv2
import matplotlib
matplotlib.image.imread() #RGB image,
cv2.imread() # BGR image.
hls = cv2.cvtColor(im, cv2.COLOR_RGB2HLS) #HLS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment