Gesture recognition apparatus, gesture recognition method, computer device and storage medium
AssigneeBoe Technology Group Co., Ltd.
InventorsCheng Liu, Sijia Guo, Guanchu Guo
Life of this patent
Estimating the term…
Abstract
A gesture recognition apparatus, a gesture recognition method, a computer device and a storage medium are disclosed. The gesture recognition apparatus includes a controller, a first distance sensor and a second distance sensor, wherein a first measurement area of the first distance sensor partially overlaps a second measurement area of the second distance sensor; and the controller is configured to recognize a gesture to be measured according to a first trajectory and a second trajectory as well as a position relationship between the first distance sensor and the second distance sensor.
Claims16
A gesture recognition apparatus, comprising a controller, a first distance sensor, a second distance sensor, and a third distance sensor, wherein
- a first measurement area of the first distance sensor partially overlaps a second measurement area of the second distance sensor, and the first measurement area is a spatial range measurable in distance by the first distance sensor, and the second measurement area is a spatial range measurable in distance by the second distance sensor;
- the controller is connected to the first distance sensor and the second distance sensor, respectively, and the controller is configured to acquire a first trajectory and a second trajectory of a gesture to be measured, and recognize the gesture to be measured according to the first trajectory and the second trajectory as well as a position relationship between the first distance sensor and the second distance sensor;
- the first trajectory reflects changes over time of a plurality of first distances obtained by the first distance sensor within an occurrence period of the gesture to be measured;
- and the second trajectory reflects changes over time of a plurality of second distances obtained by the second distance sensor within the occurrence period of the gesture to be measured,
- a number of the third distance sensor in the gesture recognition apparatus is one;
- the first distance sensor, the second distance sensor and the third distance sensor are arranged in any one of the following ways:
- a connection line between the third distance sensor and the first distance sensor is perpendicular to a connection line between the first distance sensor and the second distance sensor;
- and
- the third distance sensor, the first distance sensor and the second distance sensor are at three vertexes of an equilateral triangle or a similar equilateral triangle, respectively;
- wherein in the case that the connection line between the third distance sensor and the first distance sensor is perpendicular to the connection line between the first distance sensor and the second distance sensor, the controller is further configured to execute at least one of the following steps:
- in response to a judgment result that durations of both a first wave trough trajectory and a second wave trough trajectory are substantially simultaneous and a duration of a third wave trough trajectory is later than the durations of both the first wave trough trajectory and the second wave trough trajectory, obtaining that a direction of the gesture to be measured is from the first distance sensor to the third distance sensor;
- in response to a judgment result that the duration of the third wave trough trajectory is earliest and the durations of both the first wave trough trajectory and the second wave trough trajectory are substantially simultaneous after the duration of the third wave trough trajectory, obtaining that the direction of the gesture to be measured is from the third distance sensor to the first distance sensor;
- in response to a judgment result that the durations of both the first wave trough trajectory and the third wave trough trajectory are substantially simultaneous and the duration of the second wave trough trajectory is later than the durations of both the first wave trough trajectory and the third wave trough trajectory, obtaining that the direction of the gesture to be measured is from the first distance sensor to the second distance sensor;
- and
- in response to a judgment result that the duration of the second wave trough trajectory is earliest and the durations of both the first wave trough trajectory and the third wave trough trajectory are substantially simultaneous after the duration of the second wave trough trajectory, obtaining that the direction of the gesture to be measured is from the second distance sensor to the first distance sensor.
A computer device, comprising a memory, a processor, and a computer program stored on the memory and runnable in a processor, wherein a gesture recognition method is implemented when the processor executes the program;
- and the method comprises:
- receiving a plurality of first distances obtained by a first distance sensor within an occurrence period of a gesture to be measured to obtain a first trajectory according to a relationship of the plurality of first distances over time, the first trajectory reflecting changes over time of the plurality of first distances;
- receiving a plurality of second distances obtained by a second distance sensor within the occurrence period of the gesture to be measured to obtain a second trajectory according to a relationship of the plurality of second distances over time, the second trajectory reflecting changes over time of the plurality of second distances;
- recognizing the gesture to be measured by the controller according to the first trajectory and the second trajectory as well as a position relationship between the first distance sensor and the second distance sensor, wherein
- a first measurement area of the first distance sensor partially overlaps a second measurement area of the second distance sensor, and is a spatial range measurable in distance by the first distance sensor;
- and the second measurement area is a spatial range measurable in distance by the second distance sensor;
- and
- a connection line between a third distance sensor and the first distance sensor being perpendicular to a connection line between the first distance sensor and the second distance sensor, the method further comprises further comprising at least one of the following steps:
- in response to a judgment result that durations of both a first wave trough trajectory and a second wave trough trajectory are substantially simultaneous and a duration of a third wave trough trajectory is later than the durations of both the first wave trough trajectory and the second wave trough trajectory, obtaining that a direction of the gesture to be measured is from the first distance sensor to the third distance sensor;
- in response to a judgment result that the duration of the third wave trough trajectory is earliest and the durations of both the first wave trough trajectory and the second wave trough trajectory are substantially simultaneous after the duration of the third wave trough trajectory, obtaining that the direction of the gesture to be measured is from the third distance sensor to the first distance sensor;
- in response to a judgment result that the durations of both the first wave trough trajectory and the third wave trough trajectory are substantially simultaneous and the duration of the second wave trough trajectory is later than the durations of both the first wave trough trajectory and the third wave trough trajectory, obtaining that the direction of the gesture to be measured is from the first distance sensor to the second distance sensor;
- and
- in response to a judgment result that the duration of the second wave trough trajectory is earliest and the durations of both the first wave trough trajectory and the third wave trough trajectory are substantially simultaneous after the duration of the second wave trough trajectory, obtaining that the direction of the gesture to be measured is from the second distance sensor to the first distance sensor.
Dependencies are inferred from the claim text.