CPC G06F 3/011 (2013.01) [G02B 27/017 (2013.01); G06F 1/163 (2013.01); G06F 3/012 (2013.01); G06F 3/017 (2013.01); G06F 3/0304 (2013.01); G06N 20/00 (2019.01)] | 18 Claims |
1. A method of detecting head gestures at an electronic device including a plurality of light-sensing components being worn on a head of a user, the method comprising:
during a first training period in which the user performs a first head gesture,
collecting first training data from the plurality of light-sensing components,
calculating first training signal characteristics based on the first training data,
assigning at least one of the first training signal characteristics to either a first cluster of signal characteristics or a second cluster of signal characteristics, and
in accordance with a determination that a greater number of the first training signal characteristics have been assigned to the first cluster than to the second cluster, assigning the first cluster to the first head gesture; and
during a first gesture recognition period,
collecting first sensor data from the plurality of light-sensing components,
calculating first sensor signal characteristics based on the first sensor data, and
in accordance with a determination that more of the first sensor signal characteristics belong to the first cluster than to the second cluster, determining that the user has performed the first head gesture.
|