Optofidelity: PWM-proof finger detection

The new finger detection algorithm now looks at the 1D profile of color
at the top edge of the screen, detecting the left and right edge of the
finger. This is more reliable as the thresholds to detect the bottom
of the finger can be very hard to fine-tune in presence of PWM.

TEST=test included. and covered by regression tests

Change-Id: Ia397739c4c90f963d09dc686d9d51c4f58d0db45
Reviewed-on: https://chromium-review.googlesource.com/336526
Commit-Ready: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
3 files changed
tree: 0e695fc37c805931be9207319eb4c9cac126cd83
  1. .gitignore
  3. optofidelity/
  4. quickstep/
  5. setup.py
  6. touchbotI/
  7. touchbotII/