# US 2021/0333962 A1 · Method, system and apparatus for touch gesture recognition

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0333962 A1
- Document ID: US20210333962A1
- Status: Published application
- Kind: A1
- Application number: 17/269,489
- Filed: 2019-06-07
- Published: 2021-10-28
- Earliest claimed: 2018-08-21
- Assignees: Sage Senses Inc.
- Applicants: Sage Senses Inc.
- Inventors: Arash ABGHARI; Sergiu GIURGIU
- Web page: https://patentgrep.com/patent/US20210333962A1

## CPC

- G06F 3/04883: for inputting data by handwriting, e.g. gesture or text
- G06F 3/0488: using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F 18/2431: Multiple classes
- G06N 3/09: Supervised learning
- G06N 20/00: Machine learning
- G06N 20/20: Ensemble learning
- G06V 10/82: using neural networks
- G06V 30/32: Digital ink
- G06V 40/20: Movements or behaviour, e.g. gesture recognition (recognition of facial expressions G06V40/16)
- G06N 3/08: Learning methods
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06N 20/10: using kernel methods, e.g. support vector machines [SVM]
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

A method, system and apparatus for touch gesture recognition are provided. A device generates a trajectory corresponding to a two-dimensional touch gesture. The device generates a plurality of variations of the trajectory in one or more of two dimensions. The device extracts one or more features of the trajectory and the plurality of variations of the trajectory. The device generates, from the one or more features, one or more machine learning classifiers. The device stores, at a memory, the one or more machine learning classifiers, such that a machine learning algorithm uses the one or more machine learning classifiers to recognize the two-dimensional touch gesture when receiving touch gesture input.

## Claims

### Claim 1

A method comprising:
generating, at a computing device, a trajectory corresponding to a two-dimensional touch gesture;
generating, at the computing device, a plurality of variations of the trajectory in one or more of two dimensions;
extracting, at the computing device, one or more features of the trajectory and the plurality of variations of the trajectory;
generating, at the computing device, from the one or more features, one or more machine learning classifiers; and
storing, using the computing device, the one or more machine learning classifiers at a memory, such that a machine learning algorithm uses the one or more machine learning classifiers to recognize the two-dimensional touch gesture when receiving touch gesture input.

### Claim 2 (depends on 1)

The method of claim 1, further comprising generating the trajectory by:
receiving touch gesture data corresponding to a drawing of the trajectory; and
converting the touch gesture data to the trajectory.

### Claim 3 (depends on 2)

The method of claim 2, further comprising converting the touch gesture data to the trajectory by one or more of: removing an off-set from the touch gesture data;
and evenly distributing sampling points in the touch gesture data.

### Claim 4 (depends on 1)

The method of claim 1, further comprising generating the trajectory by:
receiving script data defining the trajectory; and converting the script data to the trajectory.

### Claim 5 (depends on 1)

The method of claim 1, further comprising generating the plurality of variations of the trajectory by one or more of:
scaling the trajectory in one or more of the two dimensions;
rotating the trajectory;
extending one or more portions of the trajectory;
one or more of cropping and cutting the one or more portions of the trajectory;
distorting the trajectory in one or more of the two dimensions;
elastically distorting the trajectory in one or more of the two dimensions;
applying one or more perspectives to the trajectory in one or more of the two dimensions;
deforming at least a portion of the trajectory; and
distorting at least a portion of the trajectory.

### Claim 6 (depends on 1)

The method of claim 1, further comprising extracting the one or more features of the trajectory and the plurality of variations of the trajectory by, for the trajectory and the plurality of variations of the trajectory:
sampling a fixed number of data points representing the trajectory or a variation of the trajectory, the fixed number of data points distributed along the trajectory or the variation of the trajectory, the data points comprising respective coordinates in a given coordinate system; and
determining one or more of:
a normalized sequence of changes in angle between adjacent data points along the trajectory or the variation of the trajectory;
a normalized histogram of the normalized sequence;
a normalized first coordinate histogram of normalized first coordinates, for a first direction in the given coordinate system;
a normalized second coordinate histogram of normalized second coordinates, for a second direction in the given coordinate system,
such that the features comprise, for the trajectory and the plurality of variations of the trajectory, one or more of:
the normalized first coordinates;
the normalized second coordinates;
the normalized first coordinate histogram;
the normalized second coordinate histogram;
the normalized sequence of the changes in the angle; and
the normalized histogram for the normalized sequence.

### Claim 7 (depends on 1)

The method of claim 1, wherein the one or more machine learning classifiers are generated by training the one or more machine learning algorithms using the features.

### Claim 8 (depends on 1)

The method of claim 1, further comprising storing the one or more machine learning classifiers at the memory in association with a label identifying the two-dimensional touch gesture.

### Claim 9 (depends on 1)

The method of claim 1, wherein the storing the one or more machine learning classifiers at the memory comprises transmitting the one or more machine learning classifiers to one or more devices that include the memory, the one or more devices configured to: store the one or more machine classifiers at the memory, execute the machine learning algorithm; and receive the touch gesture input.

### Claim 10

A computing device comprising:
a controller having access to a memory, the controller configured to:
generate a trajectory corresponding to a two-dimensional touch gesture;
generate a plurality of variations of the trajectory in one or more of two dimensions;
extract one or more features of the trajectory and the plurality of variations of the trajectory;
generate, from the one or more features, one or more machine learning classifiers; and
store, at the memory, the one or more machine learning classifiers, such that a machine learning algorithm uses the one or more machine learning classifiers to recognize the two-dimensional touch gesture when receiving touch gesture input.

### Claim 11 (depends on 10)

The computing device of claim 10, wherein the controller is further configured to generate the trajectory by: receiving touch gesture data corresponding to a drawing of the trajectory; and converting the touch gesture data to the trajectory.

### Claim 12 (depends on 11)

The computing device of claim 11, wherein the controller is further configured to convert the touch gesture data to the trajectory by one or more of: removing an off-set from the touch gesture data; and evenly distributing sampling points in the touch gesture data.

### Claim 13 (depends on 10)

The computing device of claim 10, wherein the controller is further configured to generate the trajectory by: receiving script data defining the trajectory; and
converting the script data to the trajectory.

### Claim 14 (depends on 10)

The computing device of claim 10, wherein the controller is further configured to generate the plurality of variations of the trajectory by one or more of:
scaling the trajectory in one or more of the two dimensions;
rotating the trajectory;
extending one or more portions of the trajectory;
one or more of cropping and cutting the one or more portions of the trajectory;
distorting the trajectory in one or more of the two dimensions;
elastically distorting the trajectory in one or more of the two dimensions;
applying one or more perspectives to the trajectory in one or more of the two dimensions;
deforming at least a portion of the trajectory; and
distorting at least a portion of the trajectory.

### Claim 15 (depends on 10)

The computing device of claim 10, wherein the controller is further configured to extract the one or more features of the trajectory and the plurality of variations of the trajectory by, for the trajectory and the plurality of variations of the trajectory:
sampling a fixed number of data points representing the trajectory or a variation of the trajectory, the fixed number of data points distributed along the trajectory or the variation of the trajectory, the data points comprising respective coordinates in a given coordinate system; and
determining one or more of:
a normalized sequence of changes in angle between adjacent data points along the trajectory or the variation of the trajectory;
a normalized histogram of the normalized sequence;
a normalized first coordinate histogram of normalized first coordinates, for a first direction in the given coordinate system;
a normalized second coordinate histogram of normalized second coordinates, for a second direction in the given coordinate system,
such that the features comprise, for the trajectory and the plurality of variations of the trajectory, one or more of:
the normalized first coordinates;
the normalized second coordinates;
the normalized first coordinate histogram;
the normalized second coordinate histogram;
the normalized sequence of the changes in the angle; and
the normalized histogram for the normalized sequence.

### Claim 16 (depends on 10)

The computing device of claim 10, wherein the controller is further configured to generate the one or more machine learning classifiers by training the one or more machine learning algorithms using the features.

### Claim 17 (depends on 10)

The computing device of claim 10, wherein the controller is further configured to store the one or more machine learning classifiers at the memory in association with a label identifying the two-dimensional touch gesture.

### Claim 18 (depends on 10)

The computing device of claim 10, further comprising a communication interface, and wherein the controller is further configured to store the one or more machine learning classifiers at the memory by transmitting the one or more machine learning classifiers to one or more devices include the memory, the one or more devices configured to: store the one or more machine classifiers at the memory, execute the machine learning algorithm; and receive the touch gesture input.
