Gesture recognition system and gesture recognition method thereof
10846521 · 2020-11-24
Assignee
Inventors
- Tsung-Ming Tai (New Taipei, TW)
- Yun-Jie Jhang (Taoyuan, TW)
- Wen-Jyi Hwang (Taipei, TW)
- Chun-Hsuan KUO (San Diego, CA, US)
Cpc classification
G06F18/217
PHYSICS
G06F17/18
PHYSICS
H03B21/02
ELECTRICITY
G06F18/2155
PHYSICS
G01S13/50
PHYSICS
G06F18/214
PHYSICS
G06F9/5027
PHYSICS
G06F3/017
PHYSICS
G01S7/415
PHYSICS
International classification
G06F17/18
PHYSICS
G01S7/41
PHYSICS
G06F9/50
PHYSICS
G01S13/58
PHYSICS
G01S13/50
PHYSICS
Abstract
A gesture recognition system executes a gesture recognition method which includes the following steps: receiving a sensing signal; selecting one of the sensing frames from the sensing signal; generating a sensing map by applying 2D FFT to the selected sensing frame; selecting a cell having a largest amplitude in the sensing map; calculating the velocity of the cell and setting the velocity of the selected sensing frame to be the velocity of the cell; labeling the selected sensing frame as a valid sensing frame if the velocity of the selected sensing frame exceeds a threshold value, otherwise labeling the selected sensing frame as an invalid sensing frame; using all of the sensing maps of the valid sensing frames in the sensing signal as the input data for the neural network of the gesture recognition system and accordingly performing gesture recognition and gesture event classification.
Claims
1. A gesture recognition method comprising: receiving a plurality of incoming reflected Doppler radar chirp signals to generate a sensing signal which includes a plurality of sensing frames each having a plurality of intermediate frequency (IF) signals; selecting one sensing frame from the plurality of sensing frames of the sensing signal; generating a sensing map which is of the range Doppler image (RDI) type, based on the selected sensing frame, wherein the sensing map is generated by applying the 2D Fast Fourier Transform (FFT) over the selected sensing frame, and the sensing map contains a plurality of cells each with an amplitude value and a phase value; selecting the cell with the largest amplitude value in the sensing map as a designated cell; calculating a velocity of the designated cell, wherein the velocity of the designated cell is calculated based on the phase difference between the designated cell and its chirp related neighboring cell; setting a velocity of the selected sensing frame to be the velocity of the designated cell; determining whether the velocity of the selected sensing frame exceeds a threshold value, and if the velocity of the selected sensing frame exceeds the threshold value, labeling the selected sensing frame as a valid sensing frame; when all of the sensing frames of the sensing signal have been determined, using all of the sensing maps of the valid sensing frames as input data for a neural network of a gesture recognition system and performing gesture recognition or gesture event classification accordingly.
2. The gesture recognition method as claimed in claim 1, wherein the neural network is a recurrent neural network (RNN).
3. The gesture recognition method as claimed in claim 2, wherein the recurrent neural network is a Long Short Memory (LSTM) network, a Gated Recurrent Unit (GRU), a Simple Gated Unit (SGU), a Minimal Gated Unit (MGU), or hybrids thereof.
4. A gesture recognition system, comprising: a sensing unit comprising a Doppler radar ranging sensor, receiving a plurality of incoming reflected Doppler radar chirp signals with which to generate a sensing signal output which includes a plurality of sensing frames each having a plurality of intermediate frequency (IF) signals; a memory unit to store a recurrent neural network (RNN); a processing unit comprising a processor of a smart device, electrically connected to the sensing unit and the memory unit, to receive the sensing signal output from the sensing unit; wherein the processing unit selects one sensing frame from the plurality of sensing frames of the sensing signal, and generates a sensing map which is of the range Doppler image (RDI) type, based on the selected sensing frame; wherein the sensing map is generated by applying the 2D Fast Fourier Transform (FFT) over the selected sensing frame, and the sensing map comprises a plurality of cells in 2D array each with an amplitude value and a phase value; wherein the processing unit selects the cell with the maximum amplitude from the selected sensing frame as a designated cell, calculates a velocity of the designated cell, and sets a velocity of the selected sensing frame to be equal to the velocity of the designated cell, wherein the velocity of the designated cell is calculated based on the phase difference between the designated cell and its chirp related neighboring cell; wherein the processing unit further determines whether the velocity of the selected sensing frame exceeds a threshold value, and if the velocity of the selected sensing frame exceeds the threshold value, the selected sensing frame is labeled as a valid sensing frame; wherein when all of the sensing frames of the sensing signal have been determined by the processing unit, the processing unit loads the neural network from the memory unit and uses all of the sensing maps of the valid sensing frames as input data for the neural network and performs gesture recognition or gesture event classification accordingly.
5. The gesture recognition system as claimed in claim 4, wherein the recurrent neural network is a Long Short Memory (LSTM) network, a Gated Recurrent Unit (GRU), a Simple Gated Unit (SGU), a Minimal Gated Unit (MGU), or hybrids thereof.
6. The gesture recognition system as claimed in claim 4, wherein the gesture recognition system further comprises a training module electrically connected to the sensing unit, the processing unit, and the memory unit; wherein the training module stores a training neural network, and receives a training signal comprising a plurality of training frames from the sensing unit with which the training module trains the training neural network accordingly to achieve beyond a preset success rate of gesture recognition and gesture event classification and then the training neural network is stored in the memory unit as an alternative neural network for the gesture recognition system.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
DETAILED DESCRIPTION OF THE INVENTION
(3) These and other aspects of the embodiments herein will be better appreciated and understood when considered in conjunction with the following description and the accompanying drawings.
(4) With reference to
(5) The sensing unit 11 receives a plurality of incoming reflected radar chirp signals and then accordingly generates a sensing signal output which includes a plurality of sensing frames each having a plurality of IF (Intermediate Frequency) signals generated from processing the plurality of corresponding incoming reflected radar chirp signals.
(6) The processing unit 12 receives aforesaid sensing signal from the sensing unit 11 and selects one sensing frame from the plurality of sensing frames of the sensing signal based on a time sequence, and then generates a sensing map based on the selected sensing frame by applying the 2D Fast Fourier Transform (FFT) over the selected sensing frame, wherein the sensing map includes a plurality of cells in 2D array each with an amplitude value and a phase value. For example, the type of the sensing map is Range Doppler Image (RDI).
(7) The processing unit 12 selects the cell with the maximum amplitude from the selected sensing frame as the designated cell of the selected sensing frame.
(8) Then the velocity of the designated cell is calculated based on the phase difference between the designated cell and its chirp related neighboring cell.
(9) Thereafter, the velocity of the selected sensing frame is set to be equal to the velocity of the designated cell.
(10) The processing unit 12 then determines whether the velocity of the selected sensing frame exceeds a threshold value.
(11) Afterwards, the processing unit 12 labels the selected sensing frame as a valid sensing frame when the frame velocity of the selected sensing frame is greater than the threshold value, whereas the selected sensing frame is labeled as an invalid sensing frame when its frame velocity is less than or equal to the threshold value.
(12) When all of the sensing frames of the sensing signal are properly processed and labeled, the processing unit 12 loads the neural network from the memory 13 where the neural network is stored, and sets all of the sensing maps of the valid sensing frames of the sensing signal as input data for the neural network to perform gesture recognition and gesture event classification accordingly.
(13) Since only the sensing maps of the valid sensing frames will be taken as input data for the neural network with the sensing maps of the invalid sensing frames being discarded, the amount of input data for the neural network to work on is significantly reduced, and as a result of such reduction, precious computation resources are saved such that the purpose of the present invention of reducing the computation loading for the gesture recognition system can be achieved thereby.
(14) The discarding of the invalid sensing frames as input to the neural network is well justified because sensing frames with faster moving objects tend to indicate a potential gesture input from the user, whereas sensing frames with much slower moving objects or still objects tend to indicate the user is not exercising a gesture and the like.
(15) As a result of the above, when a central processing unit of a smart device, such as a smart phone, a tablet, or a computer is adopted to be the processing unit 12 of the gesture recognition system, the gesture recognition function of the present invention may have much less adverse influence on the performance of the smart device. Therefore, the gesture recognition system of the present invention should be well suited for integration with the smart device.
(16) With reference to
(17) (S01): Receive a sensing signal containing a plurality of sensing frames.
(18) (S02): Select a sensing frame.
(19) (S03): Perform 2D FFT (2 dimensional Fast Fourier Transform) over the selected sensing frame to generate a sensing map containing a plurality of cells each with an amplitude value and a phase value.
(20) (S04): Select the cell with the largest amplitude value in the sensing map as the designated cell.
(21) (S05): Calculate the velocity of the designated cell.
(22) (S06): Set the velocity of the selected sensing frame to be the velocity of the designated cell.
(23) (S07): Determine whether the velocity of the selected sensing frame exceeds a threshold value.
(24) (S08): If (S07) is affirmative, label the selected sensing frame as a valid sensing frame.
(25) (S09): If (S07) is negative, label the selected sensing frame as an invalid sensing frame.
(26) (S10): Check if all the sensing frames have been determined.
(27) (S11): If (S10) is affirmative, use all the sensing maps of the valid sensing frames as the input data for the neural network of the gesture recognition system and accordingly perform gesture recognition and gesture event classification.
(28) (S12): If (S10) is negative, select next sensing frame.
(29) In the above-mentioned first embodiment, the types of the neural networks suitable for this invention are, for example, convolutional neural network (CNN), recurrent neural network (RNN), Long Short Memory (LSTM), Gated Recurrent Unit (GRU), Simple Gated Unit (SGU), or a Minimal Gated Unit (MGU) or hybrids of the above-mentioned neural networks.
(30) With reference to
(31) For example, the training module 20 stores a training neural network, and receives a training signal from the sensing unit 11 of the execution module 10. The training signal comprises a plurality of training frames which are used to train the training neural network according to the steps of the gesture recognition method described above in (S01) to (S12) to achieve beyond a preset success rate of gesture recognition and gesture event classification. When the training process is completed, the well qualified training neural network can be put to work by storing it in the memory unit 13 as an alternative neural network for the gesture recognition system.
(32) Even though numerous characteristics and advantages of the present invention have been set forth in the foregoing description, together with details of the structure and function of the invention, the disclosure is illustrative only. Changes may be made in detail, especially in matters of shape, size, and arrangement of parts within the principles of the invention to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.