Skip to content

Instantly share code, notes, and snippets.

@TuringNPcomplete
Last active December 26, 2021 10:44
Show Gist options
  • Save TuringNPcomplete/74bd429407babc477a79179859d79477 to your computer and use it in GitHub Desktop.
Save TuringNPcomplete/74bd429407babc477a79179859d79477 to your computer and use it in GitHub Desktop.
import cv2
eye_arr = np.array(eye_img)
blue, green, red = cv2.split(eye_arr)
show_images([red, green, blue], titles = ['red channel', 'green channel', 'blue channel'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment