enroll.sh 621 B

12345678910111213
  1. #!/bin/bash
  2. # Enroll a fingerprint on the synaTudor-relinked 06cb:0081 sensor.
  3. #
  4. # Run this in a real terminal. It initializes the driver (~3-4 min) and then
  5. # auto-sends the enroll command. Touch the sensor when the driver asks
  6. # (repeat the touches until it says "Successfully enrolled finger").
  7. # The session saves automatically afterwards.
  8. #
  9. # Usage: ./enroll.sh [identity-index] [finger-index]
  10. # finger: 1-5 = right hand thumb..little, 6-10 = left hand thumb..little
  11. cd /home/nebulon/projects/fingerprint/work/synaTudor/build
  12. exec timeout 2400 python3 /home/nebulon/projects/fingerprint/work/debug/enroll.py "$@"