Skip to content

Instantly share code, notes, and snippets.

@rvill
Created November 24, 2014 03:43
Show Gist options
  • Save rvill/3d6b4e8fa5c19429d21b to your computer and use it in GitHub Desktop.
Save rvill/3d6b4e8fa5c19429d21b to your computer and use it in GitHub Desktop.
opencv - check for parameter names
>>> import cv2
>>> flags = [i for i in dir(cv2) if i.startswith('COLOR_')]
>>> print flags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment