Created
February 14, 2017 10:06
-
-
Save naxty/e6665aa3838e780e5c282e0c32f45b4a to your computer and use it in GitHub Desktop.
Opencv different color input
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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