def __init__(self, caller=None, color='Gr'):
    threshold = {'R': (200, 255), 'G': (200, 255), 'B': (200, 255), 'H': (15, 100), 'L': (0, 255), 'S': (90, 255), 'Gr': (200, 255)}
    self.available = False
    self.binary_available = False
    self.image = None
    self.binary_image = None
    self.caller = caller
    self.color = color
    self.threshold = threshold[self.color]
def __init__(self, caller=None, color='Gr'):
    threshold = {'R': (200, 255), 'G': (200, 255), 'B': (200, 255), 'H': (15, 100), 'L': (0, 255), 'S': (90, 255), 'Gr': (200, 255)}
    self.available = False
    self.binary_available = False
    self.image = None
    self.binary_image = None
    self.caller = caller
    self.color = color
    self.threshold = threshold[self.color]