more work in gesture detection, brightness is not good enough