From 2a5fa2ca7c226c3bcd1fbd28a72ba03d6248293e Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Thu, 25 Apr 2024 20:15:02 -0400 Subject: [PATCH] Undo bin --- scripts/leap-view | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/leap-view b/scripts/leap-view index 27ef12d..12e5af1 100755 --- a/scripts/leap-view +++ b/scripts/leap-view @@ -59,7 +59,7 @@ def main() -> int: # Configure the LEDs # NOTE: See the libuvc for leap documentation for info about this # https://github.com/ewpratten/leapuvc/blob/master/LeapUVC-Manual.pdf - cap.set(cv2.CAP_PROP_CONTRAST, (0b0010 | (int(not args.no_led) << 6))) + cap.set(cv2.CAP_PROP_CONTRAST, (2 | (int(not args.no_led) << 6))) cap.set(cv2.CAP_PROP_CONTRAST, (3 | (int(not args.no_led) << 6))) cap.set(cv2.CAP_PROP_CONTRAST, (4 | (int(not args.no_led) << 6)))