Skip to content

Instantly share code, notes, and snippets.

@Swapnull
Last active February 22, 2016 11:15
Show Gist options
  • Save Swapnull/cc8b1768cca0e72e55eb to your computer and use it in GitHub Desktop.
Save Swapnull/cc8b1768cca0e72e55eb to your computer and use it in GitHub Desktop.
class kinect():
def __init__(self):
#initialize the class
def searchForRed(self):
#search for color with RGB values passed in
if found :
return true
else:
return false
def searchForGreen(self):
#search for color with RGB values passed in
if found :
return true
else:
return false
def searchForBlue(self):
#search for color with RGB values passed in
if found :
return true
else:
return false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment