Patent ID: 9189071
Filing Date: 2015-11-17
Classification: G06F

Abstract:
1. A method for detecting gesture inputs in response to a consecutive reciprocating movement for consecutively inputting a number of control signals corresponding to a plurality of first type gestures, wherein, the consecutive reciprocating movement comprises the first type gestures and a plurality of second type gestures, each capable of being recognized by a detecting device to output a different control signal, and the consecutive reciprocating movement starts with one of the plurality of first type gestures, the method comprising: receiving the consecutive reciprocating movement starting with a first type gesture, wherein, the first type gesture and a second type gesture occur alternately by receiving a sequence of image frames of the consecutive reciprocating movement; determining a point for each image frame; determining reverse points based on the points of the sequence of image frames; partitioning the consecutive reciprocating movement into at least two sub movements by using the reverse points, each sub movement corresponding to one of the two types of gestures; and outputting the number of control signals corresponding to the first type gesture with the number of control signals corresponding to the first type gesture equaling to the number of the first type gesture contained within the at least two sub movements, wherein the reverse point determination based on the points of the sequence of image frames further comprises for each point starting from the second one of the points of the sequence of image frames, using four counters to record a positional relationship between the point and its adjacent preceding point, wherein at least one corresponding counter is increased by one based on positions of the point and its adjacent preceding point; determining a counter with biggest value among the four counters; and determining a particular point as a reverse point and setting the four counters to 0 when determining the counter with the biggest value exceeds a threshold value and counter of opposite orientation relative to the counter with the biggest value equals to 1 at the particular point.