R_THRESHOLD = (59, 25, 127, 19, -128, 89) G_THRESHOLD = (0, 100, -69, -32, -47, 82) img = sensor.snapshot().binary([R_THRESHOLD, G_THRESHOLD] )