Optofidelity: Screen detection recordings

Allows to dump recordings of the screen detection step, and
integration with self-tests. Recordings are automatically dumped in
case of an error during screen detection, or if the --dump-all arg
is supplied.

BUG=chromium:395174
TEST=integrated into self-tests

Change-Id: I9109cfb80cae9079cea81d14425d98a58032549d
Reviewed-on: https://chromium-review.googlesource.com/218906
Reviewed-by: Dennis Kempin <denniskempin@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@chromium.org>
Tested-by: Dennis Kempin <denniskempin@chromium.org>
4 files changed
tree: bbd2662fa099ca49c67970c42b98abc6295792e3
  1. optofidelity/
  2. quickstep/
  3. touchbotI/
  4. touchbotII/
  5. app.yaml
  6. OWNERS
  7. setup.py