Created
October 20, 2022 14:39
-
-
Save victormurcia/5f0252209fab4bddb3d8a194f91aeeb6 to your computer and use it in GitHub Desktop.
changing color spaces
This file contains hidden or 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
| gray_img = cv2.cvtColor(rgb_img, cv2.COLOR_RGB2GRAY) | |
| bgr_img = cv2.cvtColor(rgb_img, cv2.COLOR_RGB2BGR) | |
| hsv_img = cv2.cvtColor(rgb_img, cv2.COLOR_RGB2HSV) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment