CN104951076A - Gesture direction recognition system and method - Google Patents

Gesture direction recognition system and method Download PDF

Info

Publication number
CN104951076A
CN104951076A CN201510355046.XA CN201510355046A CN104951076A CN 104951076 A CN104951076 A CN 104951076A CN 201510355046 A CN201510355046 A CN 201510355046A CN 104951076 A CN104951076 A CN 104951076A
Authority
CN
China
Prior art keywords
optical sensors
gesture
microprocessor
infrared
sampling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510355046.XA
Other languages
Chinese (zh)
Other versions
CN104951076B (en
Inventor
费小平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Wind Communication Technologies Co Ltd
Original Assignee
Shanghai Wind Communication Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Wind Communication Technologies Co Ltd filed Critical Shanghai Wind Communication Technologies Co Ltd
Priority to CN201510355046.XA priority Critical patent/CN104951076B/en
Publication of CN104951076A publication Critical patent/CN104951076A/en
Application granted granted Critical
Publication of CN104951076B publication Critical patent/CN104951076B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Position Input By Displaying (AREA)

Abstract

The invention relates to an input signal recognition technology, and discloses a gesture direction recognition system and method. The gesture direction recognition system comprises a microprocessor, an infrared transmitter and at least one photosensor set. Each photosensor set comprises at least two photosensors, and the microprocessor is connected to the infrared transmitter and the photosensors. The infrared transmitter generates infrared emission light, and the photosensors receive infrared reflection light formed after the infrared emission light touches the human body and convert the received infrared reflection light into infrared sensing signals; the microprocessor regularly samples the infrared sensing signals output by the photosensors so as to generate sampling arrays corresponding to the photosensors; the microprocessor generates gesture plane direction information according to the sampling arrays corresponding to the photosensors in all the sets. By means of the gesture direction recognition system and method, the gesture of a user can be rapidly and accurately recognized, and it is avoided that gesture recognition is influenced by the sensitivity of a touch screen or the external environment.

Description

Gesture direction discernment system and recognition methods
Technical field
The present invention relates to input signal recognition technology, particularly a kind of gesture direction discernment system and recognition methods.
Background technology
Universal along with smart mobile phone, the function of mobile phone more and more diversified; Gesture identification function is one of critical function becoming mobile phone gradually, that is, a lot of smart mobile phone mainly utilizes gesture identification function to obtain the control command of user.At present, smart mobile phone mainly realizes gesture identification function by touch-screen.That is, user must contact touch-screen and form movement locus on the touchscreen, and mobile phone just can identify corresponding control command.
But after touch-screen has used of a specified duration, its sensitivity may decrease; Especially, when touch-screen having water smoke or water droplet, the gesture identification of this contact is more prone to make mistakes.When running into emergency condition (such as make a phone call report to the police) or some other special circumstances (such as capture pictures) and needing some function using mobile phone at once, touch-screen reaction is sensitive not usually can cause very large puzzlement to user.
Summary of the invention
The object of the present invention is to provide a kind of gesture direction discernment system and recognition methods, user's gesture can be identified rapidly and accurately, avoid gesture identification to be subject to the impact of the sensitivity of touch-screen own and external environment.
For solving the problems of the technologies described above, embodiments of the present invention provide a kind of gesture direction discernment system, comprise: microprocessor, infrared transmitter and at least one group of OPTICAL SENSORS; Often in group, the number of OPTICAL SENSORS is at least two; Described microprocessor is connected to described infrared transmitter and each OPTICAL SENSORS; Wherein, described infrared transmitter produces infrared emission light, and each OPTICAL SENSORS receives the infrared external reflection light formed after described infrared emission light encounters human body, and converts the infrared external reflection light of reception to infrared sensing signal; Described timing microprocessor sample each OPTICAL SENSORS export infrared sensing signal to produce sampling array corresponding to each OPTICAL SENSORS; The sampling array that described microprocessor is corresponding according to each OPTICAL SENSORS often organized produces gesture in-plane information.
Embodiments of the present invention additionally provide a kind of gesture direction recognizing method, are applied to the gesture direction discernment system comprising microprocessor, infrared transmitter and at least one group of OPTICAL SENSORS; Often in group, the number of OPTICAL SENSORS is at least two; Described gesture direction recognizing method comprises following steps: described infrared transmitter produces infrared emission light; Each OPTICAL SENSORS receives the infrared external reflection light formed after described infrared emission light encounters human body, and converts the infrared external reflection light of reception to infrared sensing signal; Described timing microprocessor sample each OPTICAL SENSORS export infrared sensing signal to produce sampling array corresponding to each OPTICAL SENSORS; The sampling array that described microprocessor is corresponding according to each OPTICAL SENSORS often organized produces gesture in-plane information.
In terms of existing technologies, gesture direction discernment system comprises at least one group of OPTICAL SENSORS to embodiment of the present invention, and often in group, the number of OPTICAL SENSORS is at least two; Timing microprocessor sample each OPTICAL SENSORS export infrared sensing signal to produce sampling array corresponding to each OPTICAL SENSORS; The sampling array that microprocessor is corresponding according to each OPTICAL SENSORS often organized produces gesture in-plane information.The contactless gesture identification that embodiment of the present invention provides is not subject to the impact of the sensitivity of touch-screen own and external environment, can identify user's gesture rapidly and accurately; And, because existing mobile terminal has been integrated with an OPTICAL SENSORS, only need increase the number of OPTICAL SENSORS in mobile terminal and coordinate Software for Design in embodiment of the present invention, contactless gesture identification can be realized, therefore, it is possible to realize larger technological improvement with less hardware cost.
In addition, when described microprocessor extracts the sampled data of multiple identical sampling instant respectively from described two sampling arrays, described microprocessor produces the step of described gesture in-plane information according to the sampled data of the identical sampling instant of extracting, and comprises following sub-step: the difference calculating two sampled datas of each identical sampling instant; If the difference of two sampled datas of each identical sampling instant is greater than zero, then direction identifier corresponding for this group OPTICAL SENSORS of its internal reservoir adds up or regressive by described microprocessor; Described microprocessor produces described gesture in-plane information according to the direction identifier often organizing OPTICAL SENSORS corresponding.The gesture in-plane information produced with upper type is adopted to have higher accuracy.
In addition, when described gesture direction discernment system comprises two groups of OPTICAL SENSORS, wherein one group of OPTICAL SENSORS is positioned on the horizontal line at described infrared transmitter place, and another group OPTICAL SENSORS is positioned on this horizontal vertical line; Described gesture in-plane information be from left to right, from right to left, from top to bottom, from bottom to up, from upper left to bottom right and from bottom right to one of them of upper left.Thus the gesture direction discernment system and method for present embodiment can identify the gesture motion of multiple directions in plane, and has higher accuracy.
In addition, after the sampling array that described microprocessor is corresponding according to each OPTICAL SENSORS often organized produces the step of gesture in-plane information, also comprise following steps: the sampling array that described microprocessor selects one of them OPTICAL SENSORS corresponding, and extract the sampled data of different sampling instant from sampling array corresponding to OPTICAL SENSORS selected; Described microprocessor produces the far and near directional information of gesture according to the sampled data of the different sampling instants of extracting; Wherein, the far and near directional information of described gesture is for draw near or from the close-by examples to those far off.Thus embodiment of the present invention can also identify that gesture is relative to the movement of mobile terminal in far and near direction (perpendicular to mobile terminal upper surface place plane).
Accompanying drawing explanation
Fig. 1 is the schematic diagram of the gesture direction discernment system according to first embodiment of the invention;
Fig. 2 is the principle of work schematic diagram of the gesture direction discernment system according to first embodiment of the invention;
Fig. 3 is the time-density curve figure of the wherein infrared sensing signal of one group of OPTICAL SENSORS output according to first embodiment of the invention;
Fig. 4 is the process flow diagram of the gesture direction recognizing method according to second embodiment of the invention;
Fig. 5 is the particular flow sheet of the step S5 according to second embodiment of the invention;
Fig. 6 is the particular flow sheet of the step S6 according to second embodiment of the invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, the embodiments of the present invention are explained in detail.But, persons of ordinary skill in the art may appreciate that in each embodiment of the present invention, proposing many ins and outs to make reader understand the application better.But, even without these ins and outs with based on the many variations of following embodiment and amendment, each claim of the application technical scheme required for protection also can be realized.
First embodiment of the invention relates to a kind of gesture direction discernment system, is applied to the mobile terminals such as mobile phone.As shown in Figure 1, 2, gesture direction discernment system comprises: infrared transmitter 1, two groups of OPTICAL SENSORS and microprocessor (not shown); The often number two of OPTICAL SENSORS in group, microprocessor is connected to infrared transmitter and each OPTICAL SENSORS.Wherein, OPTICAL SENSORS is the OPTICAL SENSORS generally applied in current mobile terminal.Present embodiment does not impose any restrictions the group number of the OPTICAL SENSORS comprised and the concrete number of OPTICAL SENSORS that often comprises in group.
Specifically, two OPTICAL SENSORS S1, S2 in first group lay respectively in the horizontal line L 1 at infrared transmitter 1 place; Two OPTICAL SENSORS S3, S4 in second group are positioned on the vertical line L2 of this horizontal line L 1.Preferably, two OPTICAL SENSORS S3 in present embodiment, the line line segment of S4 are divided equally (as Fig. 1) with the line line segment of two OPTICAL SENSORS S1, S2 is mutually vertical, namely four OPTICAL SENSORS S1 ~ S4 are positioned at foursquare four summits, and, OPTICAL SENSORS S1, S2 represent left and right position respectively, and OPTICAL SENSORS S3, S4 represent upper and lower position respectively.Thus first group of OPTICAL SENSORS moves for the gesture detecting left and right directions, second group of OPTICAL SENSORS moves for the gesture detecting above-below direction.Wherein, infrared transmitter 1 in present embodiment is positioned at the side of first group of OPTICAL SENSORS, but present embodiment is not restricted this, in other embodiments, infrared transmitter can also be positioned at the optional position of the side of second group of OPTICAL SENSORS or the figure of four OPTICAL SENSORS S1 ~ S4 line formation; Those skilled in the art can according to the design feature flexible design of the mobile terminal of the needs of actual accuracy of detection and application.
It should be noted that, two groups of OPTICAL SENSORS in present embodiment are packaged in a transparent shell, are namely integrated into a light sensing module 2, and this light detects the opening part that module 2 is arranged at the housing of mobile terminal, thus is convenient to installation or removal; But present embodiment does not impose any restrictions this.
Below describe the specific works process of the gesture direction discernment system of present embodiment in detail, please with reference to Fig. 2 and Fig. 3.
Each OPTICAL SENSORS has two kinds of mode of operations, i.e. natural light inductive mode and infrared induction pattern.Under general holding state, each OPTICAL SENSORS is in natural light inductive mode, for the intensity of sense ambient light with the auxiliary automatic regulating function realizing mobile terminal display screen brightness.User initiatively can be switched to infrared induction pattern.Below illustrate a kind of contactless switching mode utilizing each OPTICAL SENSORS, but not as limit.
When user want switch time, block above each OPTICAL SENSORS with hand, namely make each detector senses to natural light weakened sense even completely less than light.Microprocessor by the natural light intensity that detects in real time compared with the preset strength of its internal reservoir, when natural light intensity is less than this preset strength, microprocessor starts timing, until stop timing when the natural light intensity detected is equal to or greater than this preset strength.Microprocessor compares this timing duration and whether is equal to or greater than this preset duration, and if so, then each OPTICAL SENSORS is switched to infrared induction pattern by microprocessor.That is, when each OPTICAL SENSORS is in natural light inductive mode, whether the natural light intensity that each OPTICAL SENSORS of microprocessor judges senses is less than preset strength all the time in preset duration; If so, each OPTICAL SENSORS is switched to infrared induction pattern by microprocessor, starts infrared transmitter simultaneously; If not, microprocessor repeats above-mentioned determining step.
After infrared transmitter is activated, infrared transmitter produces infrared emission light, now, if when user is using gesture as input command (now staff moves above each photodetector), the infrared external reflection light reflection that infrared emission light is formed after encountering human body is returned.That is, after infrared external reflection light encounters staff, in people's watch face generation diffuse reflection, namely infrared external reflection light forms the reflection ray region with certain area.Multiple photodetector at least one of them can receive this reflection ray.Below being described for moving with the OPTICAL SENSORS S1 in first group, the S2 gesture detected on left and right directions, as shown in Figure 2,3, wherein, in Fig. 2, only schematically illustrating infrared emission light and infrared external reflection light.
When staff moves from left to right, this reflection ray region is moved from left to right, from time point T0, reflection ray region can cover photodetector S2 region, namely from time point T0, photodetector S2 exports infrared sensing signal, detect the stop of the partial shell 31 of module 2 left side edge owing to being centered around this light, now reflection ray region also cannot cover photodetector S1 region, and namely now the output of photodetector S2 is zero.Along with staff constantly move right to certain position time, namely correspond to time point T1, reflection ray region can cover photodetector S1, S2 region simultaneously, and namely photodetector S1, S2 all can export infrared sensing signal; Further, because the relative distance of staff and each photodetector constantly reduces, the strength increases of the infrared external reflection light that photodetector S1, S2 receive is large, i.e. the infrared sensing signal that simultaneously exports of photodetector S1, S2, and signal intensity is increasing.When staff moves to certain position, namely time point T2 is corresponded to, the stop of the partial shell 32 of module 2 right side edge is detected due to light, the area of reflection ray region overlay photodetector S2 region is more and more less, the strength increases of the infrared external reflection light that photodetector S2 receives is weak, i.e. the signal intensity of the infrared sensing signal of photodetector S2 output is more and more less.Therefore, the signal curve of infrared sensing signal that photodetector S2, S1 export is two similar para-curves, represents respectively in Fig. 3 with PS2, PS1; The peak value of para-curve PS2, PS1 appears at time point T2, T4, T2<T4 respectively.Wherein, when staff moves to perpendicular bisector (the vertical line L2 namely in Fig. 1) position of the line line segment of photodetector S1, S2, namely time point T4 is corresponded to, curve PS2, PS1 intersect, and namely represent that the signal intensity of the infrared sensing signal that photodetector S1, S2 exports in time point T3 is identical.
Timing microprocessor sample each OPTICAL SENSORS export infrared sensing signal to produce sampling array corresponding to each OPTICAL SENSORS.Specifically, in the process to OPTICAL SENSORS S1, S2 timing sampling, the size of the microprocessor sampled data of the current sample time T of more each OPTICAL SENSORS and the sampled data of last sampling instant (T-Δ T) respectively; If the sampled data of current sample time T is less than the sampled data of last sampling instant (T-Δ T), the para-curve that then this OPTICAL SENSORS of expression current time is corresponding is in the decline stage, and last sampling instant (T-Δ T) is corresponding to this parabolical peak value; Now, microprocessor is abandoned the sampled data of the current sample time T of each OPTICAL SENSORS and is terminated sampling.If the sampled data of current sample time T is equal to or greater than the sampled data of last sampling instant (T-Δ T), then the sampled data of current time is stored to sampling array corresponding to each OPTICAL SENSORS and continues sampling by microprocessor.Wherein, Δ T is the timing cycle of sampling, and Δ T is such as 10ms.
In present embodiment, when staff moves from left to right, the para-curve PS2 that OPTICAL SENSORS S2 the is corresponding para-curve PS1 corresponding prior to OPTICAL SENSORS S1 is to peaking, that is, microprocessor is actually and carries out timing sampling to produce sampling array to the upper half interval contour between T0 to T2 of para-curve PS1, PS2.Wherein, the number of the sampled data in each sampling array is: the hits group that then OPTICAL SENSORS S1, S2 are corresponding is respectively: P1 [N], P2 [N].
The sampling array that microprocessor is corresponding according to each OPTICAL SENSORS often organized produces gesture in-plane information.Specifically, the difference of the sampled data of identical sampling instant is corresponded in microprocessor calculating sampling array P2 [N], P1 [N].If the difference of two sampled datas of each identical sampling instant is greater than zero, then microprocessor adds 1 (or adding up to subtract) by accumulative for direction identifier corresponding for this group OPTICAL SENSORS of its internal reservoir; Otherwise microprocessor subtracts 1 (or adding up to add) by accumulative for direction identifier corresponding for this group OPTICAL SENSORS.That is, microprocessor is respectively from sampling array P1 [N], obtain sampled data p2 [m], p1 [m] P1 [N], and difference Δ pm=p2 [the m]-p1 [m] of both calculating, wherein, m=0,1,2 ... N-1.If Δ pm>0, then microprocessor adds 1 by accumulative for first of its internal reservoir group of direction identifier F that OPTICAL SENSORS is corresponding, if Δ pm<0, then microprocessor subtracts 1 by accumulative for first of its internal reservoir group of direction identifier F that OPTICAL SENSORS is corresponding, wherein, the initial value of F is 0.
Such as, N=6, hits group is respectively: P2 [6]=[1,5,13,19,24,29], P1 [6]=[0,0,5,8,12,20], then: Δ p0=p2 [0]-p1 [0]=1, due to Δ p0>0, then the direction identifier F=F+1=1 that first group of OPTICAL SENSORS is corresponding; Δ p1=p2 [1]-p1 [1]=5, due to Δ p1>0, then the direction identifier F=F+1=2 that first group of OPTICAL SENSORS is corresponding; Δ p2=p2 [2]-p1 [2]=8, due to Δ p2>0, then the direction identifier F=F+1=3 that first group of OPTICAL SENSORS is corresponding; Δ p3=p2 [3]-p1 [3]=11, due to Δ p3>0, then the direction identifier F=F+1=4 that first group of OPTICAL SENSORS is corresponding; Δ p4=p2 [4]-p1 [4]=12, due to Δ p4>0, then the direction identifier F=F+1=5 that first group of OPTICAL SENSORS is corresponding; Δ p5=p2 [5]-p1 [5]=9, due to Δ p5>0, then the direction identifier F=F+1=6 that first group of OPTICAL SENSORS is corresponding.
After above-mentioned determining step terminates, microprocessor produces described gesture in-plane information according to the direction identifier often organizing OPTICAL SENSORS corresponding.Namely, whether direction identifier F corresponding to microprocessor judges first group of OPTICAL SENSORS is greater than zero, F=6>0 described above, then the gesture in-plane information that microprocessor produces is direction (namely from optical sensor S1 towards optical sensor S2) from left to right.In other embodiment, if the F<0 calculated, then the gesture in-plane information that microprocessor produces is dextrosinistral direction (namely from optical sensor S2 towards optical sensor S1).
It should be noted that, due to Δ pm=p2 [the m]-p1 [m] in present embodiment, thus have following judgement conclusion: as direction identifier F>0, then gesture in-plane information is direction from left to right; As direction identifier F<0, then gesture in-plane information is dextrosinistral direction.But present embodiment does not impose any restrictions this, as Δ pm=p1 [m]-p2 [m], then judge that conclusion is contrary to the above; Those skilled in the art can setup algorithm formula and corresponding judgement conclusion according to actual needs.
In addition, present embodiment chooses the sampled data of multiple identical sampling instant from two sampling arrays owing to have employed, and judge gesture in-plane information by the mode calculating direction identifier F, thus can must avoid largely because transient error causes wrongheaded situation to occur.But, present embodiment does not impose any restrictions this, in other embodiment, also only can choose the sampled data of any one identical sampling instant from two sampling arrays, and draw gesture in-plane phase signals according to the size of these two sampled datas.
Above content moves for first group of OPTICAL SENSORS (OPTICAL SENSORS S1, the S2) gesture detected on left and right directions to be specifically described, and the gesture in-plane information that namely first group of OPTICAL SENSORS can detect is: from left to right or from right to left.The testing process that second group of OPTICAL SENSORS (OPTICAL SENSORS S3, S4) detects the testing process of the gesture movement on above-below direction and first group of OPTICAL SENSORS is similar, repeat no more, the gesture in-plane information that namely second group of OPTICAL SENSORS can detect is herein: from top to bottom or from bottom to up.After testing result in conjunction with two groups of OPTICAL SENSORS, the gesture in-plane information that can also produce is: from upper left to bottom right or from bottom right to upper left.
In addition, two groups of OPTICAL SENSORS in present embodiment lay respectively on horizontal line and vertical curve; But present embodiment does not impose any restrictions this, in other embodiment, the straight line at two the OPTICAL SENSORS places often organized can be arbitrary line, and those skilled in the art can set the judgment mode of concrete sample mode and gesture in-plane signal according to practical factors such as this group sensor place straight line and horizontal angles.
In present embodiment, microprocessor can also judge the far and near directional information of gesture by any one photodetector, wherein, the far and near directional information of gesture refers to that gesture moves as to draw near (near mobile terminal) or from the close-by examples to those far off (away from mobile terminal).
The sampling array that microprocessor selects one of them OPTICAL SENSORS corresponding, and the sampled data extracting different sampling instant from sampling array corresponding to OPTICAL SENSORS selected.Timing microprocessor sample each OPTICAL SENSORS export infrared sensing signal to produce sampling array corresponding to each OPTICAL SENSORS.Be described as follows.
When staff to draw near relative to mobile terminal or from the close-by examples to those far off moves, the intensity of the infrared sensing signal that each OPTICAL SENSORS exports and staff are inversely proportional to relative to the distance of mobile terminal, namely staff distance mobile terminal skip is far away, the intensity of the infrared sensing signal that each OPTICAL SENSORS exports is more weak, otherwise stronger.Such as, microprocessor selects the infrared sensing signal timing exported OPTICAL SENSORS S1 to sample to produce a sampling array, and wherein, the number of samples of this sampling array can preset.The sampled data of two different sampling instants selected by microprocessor from this sampling array, and compares the size of two sampled datas.The sampled data of a sampling instant after if the sampled data of last sampling instant is less than, then the far and near directional information of gesture is for drawing near; The sampled data of a sampling instant after if the sampled data of last sampling instant is greater than, then the far and near directional information of gesture is for drawing near, then the far and near directional information of gesture is from the close-by examples to those far off; If the sampled data of a sampling instant after the sampled data of last sampling instant equals, then again choose sampled data and compare.But present embodiment does not impose any restrictions above-mentioned concrete detection mode; In other embodiment, also the neighbouring sample data in above-mentioned sampling array can be obtained difference successively, and judge the far and near directional information (be similar to and judge gesture in-plane information) of gesture according to the multiple differences obtained.
When gesture direction discernment system is applied to mobile terminal, the microprocessor of gesture direction discernment system is connected to the primary processor of mobile terminal.The primary processor inside of mobile terminal is previously stored with gesture direction-operational order table of comparisons.Thus the primary processor of mobile terminal produces according to from the gesture in-plane information of gesture direction discernment system acceptance or the gesture direction-operational order table of comparisons of the far and near directional information of gesture and its internal reservoir the operational order meeting user view.
Second embodiment of the present invention relates to a kind of gesture direction recognizing method.Idiographic flow as shown in Figure 4.
Step S1: when each OPTICAL SENSORS is in described natural light inductive mode, whether the natural light intensity that each OPTICAL SENSORS of microprocessor judges senses is less than preset strength all the time in preset duration; If so, step S2 is entered; If not, this step is returned.
Step S2: each OPTICAL SENSORS is switched to described infrared induction pattern by microprocessor, starts infrared transmitter simultaneously.
Step S3: infrared transmitter produces infrared emission light;
Step S4: each OPTICAL SENSORS receives the infrared external reflection light formed after infrared emission light encounters human body, and converts the infrared external reflection light of reception to infrared sensing signal;
Step S5: timing microprocessor sample each OPTICAL SENSORS export infrared sensing signal to produce sampling array corresponding to each OPTICAL SENSORS.As shown in Figure 5, step S5 comprises following sub-step:
Sub-step S51: microprocessor obtains the sampled data of the current sample time of each OPTICAL SENSORS.
Sub-step S52: microprocessor calculates the difference of the sampled data of current sample time and the sampled data of last sampling instant.
Sub-step S53: whether difference described in microprocessor judges is less than zero.If not, sub-step S54 is entered; If so, sub-step S55 is entered.
Sub-step S54: the sampled data of current time is stored to the sampling array that each OPTICAL SENSORS is corresponding; And continue sampling, namely return sub-step S51.
Sub-step S55: microprocessor is abandoned the sampled data of current time and terminated sampling.
Step S6: the sampling array that microprocessor is corresponding according to each OPTICAL SENSORS often organized produces gesture in-plane information.As shown in Figure 6, step S6 comprises following sub-step:
Sub-step S61: the sampling array that microprocessor selects two OPTICAL SENSORS corresponding from every group, and the sampled data extracting at least one identical sampling instant from two sampling arrays.
Sub-step S62: microprocessor produces gesture in-plane information according to the sampled data of the identical sampling instant of extracting.Wherein, when microprocessor extracts the sampled data of multiple identical sampling instant respectively from two sampling arrays, sub-step S62 also comprises following sub-step:
Sub-step S621: microprocessor calculates the difference of two sampled datas of each identical sampling instant.
Sub-step S622: whether the difference of two sampled datas of each identical sampling instant of microprocessor judges is greater than zero.If so, sub-step S623 is entered; If not, sub-step S624 is entered.
Sub-step S623: microprocessor adds 1 by accumulative for direction identifier corresponding for this group OPTICAL SENSORS of its internal reservoir.
Sub-step S624: microprocessor subtracts 1 by accumulative for direction identifier corresponding for this group OPTICAL SENSORS.
Sub-step S625: microprocessor produces gesture in-plane information according to often organizing direction identifier corresponding to OPTICAL SENSORS.
Step S7: the sampling array that microprocessor selects one of them OPTICAL SENSORS corresponding, and the sampled data extracting different sampling instant from sampling array corresponding to OPTICAL SENSORS selected.
Step S8: microprocessor produces the far and near directional information of gesture according to the sampled data of the different sampling instants of extracting.
The step of various method divides above, just in order to be described clearly, can merge into a step or splitting some step, being decomposed into multiple step, when realizing as long as comprise identical logical relation, all in the protection domain of this patent; To adding inessential amendment in algorithm or in flow process or introducing inessential design, but the core design not changing its algorithm and flow process is all in the protection domain of this patent.
Be not difficult to find, present embodiment is the embodiment of the method corresponding with the first embodiment, and present embodiment can be worked in coordination with the first embodiment and be implemented.The relevant technical details mentioned in first embodiment is still effective in the present embodiment, in order to reduce repetition, repeats no more here.Correspondingly, the relevant technical details mentioned in present embodiment also can be applicable in the first embodiment.
Persons of ordinary skill in the art may appreciate that the respective embodiments described above realize specific embodiments of the invention, and in actual applications, various change can be done to it in the form and details, and without departing from the spirit and scope of the present invention.

Claims (10)

1. a gesture direction discernment system, is characterized in that, comprises: microprocessor, infrared transmitter and at least one group of OPTICAL SENSORS; Often in group, the number of OPTICAL SENSORS is at least two;
Described microprocessor is connected to described infrared transmitter and each OPTICAL SENSORS;
Wherein, described infrared transmitter produces infrared emission light, and each OPTICAL SENSORS receives the infrared external reflection light formed after described infrared emission light encounters human body, and converts the infrared external reflection light of reception to infrared sensing signal; Described timing microprocessor sample each OPTICAL SENSORS export infrared sensing signal to produce sampling array corresponding to each OPTICAL SENSORS; The sampling array that described microprocessor is corresponding according to each OPTICAL SENSORS often organized produces gesture in-plane information.
2. gesture direction discernment system according to claim 1, it is characterized in that, when described gesture direction discernment system comprises one group of OPTICAL SENSORS, on the horizontal line that this group OPTICAL SENSORS described is positioned at described infrared transmitter place or be positioned on this horizontal vertical line.
3. gesture direction discernment system according to claim 2, it is characterized in that, when described gesture direction discernment system comprises two groups of OPTICAL SENSORS, wherein one group of OPTICAL SENSORS is positioned on the horizontal line at described infrared transmitter place, and another group OPTICAL SENSORS is positioned on this horizontal vertical line.
4. a gesture direction recognizing method, is characterized in that, is applied to the gesture direction discernment system comprising microprocessor, infrared transmitter and at least one group of OPTICAL SENSORS; Often in group, the number of OPTICAL SENSORS is at least two; Described gesture direction recognizing method comprises following steps:
Described infrared transmitter produces infrared emission light;
Each OPTICAL SENSORS receives the infrared external reflection light formed after described infrared emission light encounters human body, and and convert the infrared external reflection light of reception to infrared sensing signal;
Described timing microprocessor sample each OPTICAL SENSORS export infrared sensing signal to produce sampling array corresponding to each OPTICAL SENSORS;
The sampling array that described microprocessor is corresponding according to each OPTICAL SENSORS often organized produces gesture in-plane information.
5. gesture direction recognizing method according to claim 4, is characterized in that, described timing microprocessor sample each OPTICAL SENSORS export infrared sensing signal to produce the step of sampling array corresponding to each OPTICAL SENSORS, comprise following sub-step:
In the process to each OPTICAL SENSORS timing sampling, described microprocessor compares the sampled data of current sample time and the sampled data of last sampling instant;
If the sampled data of current sample time is less than the sampled data of last sampling instant, then described microprocessor is abandoned the sampled data of current sample time and is terminated sampling; Otherwise the sampled data of current time is stored to sampling array corresponding to each OPTICAL SENSORS and continues sampling by described microprocessor.
6. gesture direction recognizing method according to claim 4, is characterized in that, the sampling array that described microprocessor is corresponding according to each OPTICAL SENSORS often organized produces the step of gesture in-plane information, comprises following sub-step:
The sampling array that described microprocessor selects two OPTICAL SENSORS corresponding from every group, and the sampled data extracting at least one identical sampling instant from described two sampling arrays;
Described microprocessor produces described gesture in-plane information according to the sampled data of the identical sampling instant of extracting.
7. gesture direction recognizing method according to claim 6, it is characterized in that, when described microprocessor extracts the sampled data of multiple identical sampling instant respectively from described two sampling arrays, described microprocessor produces the step of described gesture in-plane information according to the sampled data of the identical sampling instant of extracting, and comprises following sub-step:
Described microprocessor calculates the difference of two sampled datas of each identical sampling instant;
If the difference of two sampled datas of each identical sampling instant is greater than zero, then direction identifier corresponding for this group OPTICAL SENSORS of its internal reservoir adds up or regressive by described microprocessor;
Described microprocessor produces described gesture in-plane information according to the direction identifier often organizing OPTICAL SENSORS corresponding.
8. gesture direction recognizing method according to claim 4, it is characterized in that, when described gesture direction discernment system comprises two groups of OPTICAL SENSORS, wherein one group of OPTICAL SENSORS is positioned on the horizontal line at described infrared transmitter place, and another group OPTICAL SENSORS is positioned on this horizontal vertical line; Described gesture in-plane information be from left to right, from right to left, from top to bottom, from bottom to up, from upper left to bottom right and from bottom right to one of them of upper left.
9. gesture direction recognizing method according to claim 4, is characterized in that, after the sampling array that described microprocessor is corresponding according to each OPTICAL SENSORS often organized produces the step of gesture in-plane information, also comprises following steps:
The sampling array that described microprocessor selects one of them OPTICAL SENSORS corresponding, and the sampled data extracting different sampling instant from sampling array corresponding to OPTICAL SENSORS selected;
Described microprocessor produces the far and near directional information of gesture according to the sampled data of the different sampling instants of extracting;
Wherein, the far and near directional information of described gesture is for draw near or from the close-by examples to those far off.
10. gesture direction recognizing method according to claim 4, is characterized in that, each OPTICAL SENSORS has natural light inductive mode and infrared induction pattern; Produce the step of infrared emission light in described infrared transmitter before, also comprise following steps:
When each OPTICAL SENSORS is in described natural light inductive mode, whether the natural light intensity that each OPTICAL SENSORS of described microprocessor judges senses is less than preset strength all the time in preset duration; If so, each OPTICAL SENSORS is switched to described infrared induction pattern by described microprocessor, starts described infrared transmitter simultaneously.
CN201510355046.XA 2015-06-24 2015-06-24 Gestures direction identifying system and recognition methods Expired - Fee Related CN104951076B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510355046.XA CN104951076B (en) 2015-06-24 2015-06-24 Gestures direction identifying system and recognition methods

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510355046.XA CN104951076B (en) 2015-06-24 2015-06-24 Gestures direction identifying system and recognition methods

Publications (2)

Publication Number Publication Date
CN104951076A true CN104951076A (en) 2015-09-30
CN104951076B CN104951076B (en) 2018-03-06

Family

ID=54165773

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510355046.XA Expired - Fee Related CN104951076B (en) 2015-06-24 2015-06-24 Gestures direction identifying system and recognition methods

Country Status (1)

Country Link
CN (1) CN104951076B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106127134A (en) * 2016-06-20 2016-11-16 联想(北京)有限公司 Optical devices, electronic equipment and control method thereof
CN106873776A (en) * 2017-01-16 2017-06-20 广东美的制冷设备有限公司 Recognition methods, identifying device and air-conditioner
WO2018082349A1 (en) * 2016-11-07 2018-05-11 西安中兴新软件有限责任公司 Method and device for screen operation control and terminal
CN108917926A (en) * 2018-07-25 2018-11-30 厦门匠仕工业设计有限公司 A kind of light sensing device and the electric appliance including the light sensing device
CN110529830A (en) * 2019-07-30 2019-12-03 厦门大白科技有限公司 A kind of control method of mirror cabinet headlamp

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100295772A1 (en) * 2009-05-22 2010-11-25 Alameh Rachid M Electronic Device with Sensing Assembly and Method for Detecting Gestures of Geometric Shapes
CN104020852A (en) * 2014-06-17 2014-09-03 无锡久源软件科技有限公司 Mobile terminal movement recognition method based on infrared
CN104320574A (en) * 2014-09-26 2015-01-28 深圳市欧珀通信软件有限公司 Method and device for controlling camera for rotation through gesture as well as infrared gesture sensor
JP2015060512A (en) * 2013-09-20 2015-03-30 株式会社東海理化電機製作所 Gesture detection device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100295772A1 (en) * 2009-05-22 2010-11-25 Alameh Rachid M Electronic Device with Sensing Assembly and Method for Detecting Gestures of Geometric Shapes
JP2015060512A (en) * 2013-09-20 2015-03-30 株式会社東海理化電機製作所 Gesture detection device
CN104020852A (en) * 2014-06-17 2014-09-03 无锡久源软件科技有限公司 Mobile terminal movement recognition method based on infrared
CN104320574A (en) * 2014-09-26 2015-01-28 深圳市欧珀通信软件有限公司 Method and device for controlling camera for rotation through gesture as well as infrared gesture sensor

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106127134A (en) * 2016-06-20 2016-11-16 联想(北京)有限公司 Optical devices, electronic equipment and control method thereof
CN106127134B (en) * 2016-06-20 2019-07-26 联想(北京)有限公司 Optical devices, electronic equipment and its control method
WO2018082349A1 (en) * 2016-11-07 2018-05-11 西安中兴新软件有限责任公司 Method and device for screen operation control and terminal
CN106873776A (en) * 2017-01-16 2017-06-20 广东美的制冷设备有限公司 Recognition methods, identifying device and air-conditioner
CN106873776B (en) * 2017-01-16 2019-08-23 广东美的制冷设备有限公司 Recognition methods, identification device and air conditioner
CN108917926A (en) * 2018-07-25 2018-11-30 厦门匠仕工业设计有限公司 A kind of light sensing device and the electric appliance including the light sensing device
CN110529830A (en) * 2019-07-30 2019-12-03 厦门大白科技有限公司 A kind of control method of mirror cabinet headlamp

Also Published As

Publication number Publication date
CN104951076B (en) 2018-03-06

Similar Documents

Publication Publication Date Title
CN104951076A (en) Gesture direction recognition system and method
CN102055836B (en) Mobile terminal with action recognition function and action recognition method thereof
US11094267B2 (en) Proximity detection method, storage medium, and electronic device
CN202120234U (en) Multipoint translation gesture recognition device for touch device
CN102314269B (en) Touch panel proximity detection device and method
CN103024197A (en) Touch screen cellphone capable of preventing misoperations during calls and using method for touch screen cellphone
CN102736838A (en) Method and device for identifying multi-point rotation motion
CN104035555A (en) System, Information Processing Apparatus, And Information Processing Method
CN106415472A (en) Gesture control method, device, terminal apparatus and storage medium
CN102279672A (en) Capacitive proximity sensing and touch detecting device and method
CN104598154A (en) Intelligent wearing equipment interface switching control method based on infrared induction
CN105511691B (en) Optical touch sensing device and touch signal judgment method thereof
CN105939427A (en) Control method of infrared proximity sensor, device and mobile terminal
KR20140105362A (en) Device of recognizing proximity motion using sensors and method thereof
CN104881236A (en) Scribing detection system and method based on USB interface capacitive touch screen
CN105739794A (en) Operation Mode Switching Method of Capacitive Touch Panel Module
CN108062175B (en) Screen operation control method and device and terminal
CN102572073A (en) Mobile communication terminal capable of detecting object moving direction
CN105005417A (en) Optical touch device and optical touch method
WO2014142586A1 (en) Apparatus and method for controlling smart device using motion recognition
CN204790854U (en) Gesture direction recognition system and mobile terminal
US8692785B2 (en) Method and system for detecting one or more objects
CN212160598U (en) Infrared somatosensory gesture recognition system
CN104281331B (en) Guider and its startup method
CN113347564A (en) Control signal generation method and system based on UWB positioning system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180306

Termination date: 20190624

CF01 Termination of patent right due to non-payment of annual fee