CN110147198A - A kind of gesture identification method, gesture identifying device and vehicle - Google Patents
A kind of gesture identification method, gesture identifying device and vehicle Download PDFInfo
- Publication number
- CN110147198A CN110147198A CN201910421719.5A CN201910421719A CN110147198A CN 110147198 A CN110147198 A CN 110147198A CN 201910421719 A CN201910421719 A CN 201910421719A CN 110147198 A CN110147198 A CN 110147198A
- Authority
- CN
- China
- Prior art keywords
- gesture
- distance
- operating body
- motion track
- datum mark
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04883—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/048—Indexing scheme relating to G06F3/048
- G06F2203/04808—Several contacts: gestures triggering a specific function, e.g. scrolling, zooming, right-click, when the user establishes several contacts with the surface simultaneously; e.g. using several fingers or a combination of fingers and pen
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present invention provides a kind of gesture identification method, gesture identifying device and vehicle, is related to technical field of transportation means.Gesture identification method includes: the motion track of the multiple operating bodies of acquisition on the touchscreen;The initial position and final position of each operating body on the touchscreen are determined based on motion track;Datum mark is determined based on multiple initial positions;Obtain multiple initial positions to datum mark multiple first distances;Obtain multiple final positions to datum mark multiple second distances;According to the size relation of the first distance of each operating body and second distance, the corresponding gesture of motion track is determined.The gesture identification method can reduce the required precision of dynamic gesture input by touch screen as acquisition medium by way of contact.And by the way that identifiable effect can be improved to gesture for touch screen and gesture identification method combination.
Description
Technical field
The present invention relates to technical field of transportation means, in particular to a kind of gesture identification method, gesture identifying device
And vehicle.
Background technique
Currently, then being carried out in the prior art according to images of gestures about gesture identification firstly the need of images of gestures is obtained
Hand Gesture Segmentation and gesture analysis, finally complete gesture identification.It is normally based on the gesture identification mode of vision, by establishing gesture
Model identifies gesture according to model, such as is identified by Hidden Markov Model to gesture.Gesture model is for dynamic
The recognition effect of gesture is poor.For example, gesture model sometimes needs to repeat by user input operation, can just be known
Not as a result, identifying different gestures even when user inputs the same gesture.
Summary of the invention
The invention reside in a kind of gesture identification method, gesture identifying device and vehicle is provided, to solve how to accurately identify
The input of user operates corresponding dynamic gesture problem out.
In order to solve the above-mentioned technical problem, the embodiment of the present invention is accomplished in that
First aspect of the embodiment of the present invention provide a kind of gesture identification method include: the multiple operating bodies of acquisition on the touchscreen
Motion track;Initial position and terminal position of each operating body on the touch screen are determined based on the motion track
It sets;Datum mark is determined based on multiple initial positions;Multiple initial positions are obtained to multiple the of the datum mark
One distance;Obtain multiple final positions to the datum mark multiple second distances;According to the institute of each operating body
The size relation for stating first distance Yu the second distance determines the corresponding gesture of the motion track.The gesture identification method
The required precision of dynamic gesture input can be reduced by way of contact by touch screen as acquisition medium.And pass through
Touch screen and gesture identification method are combined, identifiable effect can be improved to gesture.
With reference to first aspect, the embodiment of the invention provides the first possible embodiments of first aspect, according to every
The first distance of a operating body and the size relation of the second distance, determine the corresponding hand of the motion track
Gesture, comprising: judge the first distance of each operating body and the size of the second distance;In all operating bodies
First distance when being all larger than the second distance, determine the gesture for crawl gesture.When the first distance of operating body
Greater than the second distance of the operating body, and when each operating body meets this relationship, the corresponding gesture of motion track is determined
To grab gesture, to complete the identification to dynamic gesture.
With reference to first aspect, the embodiment of the invention provides second of possible embodiments of first aspect, according to every
The first distance of a operating body and the size relation of the second distance, determine the corresponding hand of the motion track
Gesture, comprising: judge the first distance of each operating body and the size of the second distance;In all operating bodies
First distance when being respectively less than the second distance, determine the gesture to open gesture.When the first distance of operating body
Less than the second distance of the operating body, and when each operating body meets this relationship, the corresponding gesture of motion track is determined
To open gesture, to complete the identification to dynamic gesture.
With reference to first aspect, the embodiment of the invention provides the third possible embodiments of first aspect, based on more
Determine datum mark in a initial position, comprising: determine the Descartes that each initial position is fastened in cartesian coordinate
Coordinate;Wherein, the origin of the cartesian coordinate system is the preset point on the touch screen;It is sat based on multiple Descartes
Mark determines the datum mark.Cartesian coordinate system is set on the touchscreen, multiple operating bodies can be identified with coordinate form
Initial position in touch screen provides the cartesian coordinate of each initial position of multiple operating bodies and provides datum mark
Cartesian coordinate.
With reference to first aspect, the embodiment of the invention provides the 4th kind of possible embodiments of first aspect, based on more
Determine datum mark in a initial position, comprising: determine the Descartes that each initial position is fastened in cartesian coordinate
Coordinate;Wherein, the cartesian coordinate system is the coordinate system established based on one of operating body in the multiple operating body;
The datum mark is determined based on multiple cartesian coordinates.Cartesian coordinate system is being established for measuring and identifying each
When beginning position, the coordinate system for selecting one of operating body to establish in multiple operating bodies, in the coordinate system, to measure simultaneously
The coordinate value for identifying each initial position is smaller, can facilitate the coordinate for calculating and obtaining datum mark, and the coordinate of the datum mark
Certain precision can be met, for provided in the step after progress higher precision datum mark coordinate.
With reference to first aspect, the embodiment of the invention provides the 5th kind of possible embodiments of first aspect, acquire more
The motion track of a operating body on the touchscreen, comprising: have the start bit of the multiple operating body on determining the touch screen
When setting, start timing;When determining the final position for having the multiple operating body on the touch screen, stop timing;Judgement stops
Whether the timing duration of timing is greater than preset duration;If the timing duration is less than or equal to the preset duration, described in acquisition
The motion track of multiple operating bodies on the touchscreen.The motion track for not needing to carry out gesture identification can be screened from input terminal,
To reduce the number using the present embodiment method and reduce the workload generated using the present embodiment method, saving needs to complete
The time of the workload and energy consumption.
With reference to first aspect or the 5th kind of possible embodiment of first aspect, the embodiment of the invention provides first party
The 6th kind of possible embodiment in face, after judging whether the timing duration for stopping timing being greater than preset duration, the side
Method further include: if the timing duration is greater than the preset duration, generate and export prompt information, the prompt information is for mentioning
Show acquisition motion track failure.To which user can learn prompt information in several ways, and user can also be according to mentioning
Show that information learns how to input correct operation, the gesture identification method successful acquisition of the embodiment of the present invention is moved
Dynamic rail mark, and then the gesture identification method for optimizing the embodiment of the present invention is operated in the acquisition of input terminal, to improve gesture identification
Accuracy and measure provided with false-touch prevention.
With reference to first aspect, the embodiment of the invention provides the 6th kind of possible embodiment of first aspect, judging
Whether the timing duration for stopping timing being greater than after preset duration, the method also includes: if timing duration is less than or equal in advance
If duration, prompt information is generated and exports, the prompt information is for prompting acquisition motion track success.To which user can lead to
It crosses various ways and learns prompt information, and the content in prompt information can be improved the man-machine interaction experience of user.
With reference to first aspect, the embodiment of the invention provides the 7th kind of possible embodiments of first aspect, acquire more
The motion track of a operating body on the touchscreen, comprising: when determining the multiple operating body while leaving the touch screen, adopt
Collect the motion track of the multiple operating body on the touchscreen.So as to accurately acquire motion track.
Second aspect of the embodiment of the present invention provides a kind of gesture identification method, comprising: acquires multiple operating bodies in touch screen
On motion track;Initial position and terminal of each operating body on the touch screen are determined based on the motion track
Position;Datum mark is determined based on multiple final positions;Multiple initial positions are obtained to the multiple of the datum mark
First distance;Obtain multiple final positions to the datum mark multiple second distances;According to each operating body
The size relation of the first distance and the second distance determines the corresponding gesture of the motion track.The gesture identification side
Method can reduce the required precision of dynamic gesture input by touch screen as acquisition medium by way of contact.And lead to
It crosses touch screen and gesture identification method combination, identifiable effect can be improved to gesture.
The third aspect of the embodiment of the present invention provides a kind of gesture identifying device, comprising: acquisition module, for acquiring multiple behaviour
Make the motion track of body on the touchscreen;Control module, for determining each operating body in institute based on the motion track
State the initial position and final position on touch screen;For determining benchmark by preset rules based on multiple initial positions
Point;Multiple first distances for obtaining multiple initial positions to the datum mark;For obtaining multiple terminal positions
Set multiple second distances of the datum mark;For according to the first distance of each operating body with described second away from
From size relation, determine the corresponding gesture of the motion track.
A kind of gesture identifying device of fourth aspect of the embodiment of the present invention, comprising: touch screen exists for acquiring multiple operating bodies
Motion track on touch screen;Processor, for determining each operating body in the touch screen based on the motion track
On initial position and final position;For determining datum mark by preset rules based on multiple initial positions;For
Obtain multiple initial positions to the datum mark multiple first distances;For obtaining multiple final positions described in
Multiple second distances of datum mark;For according to the first distance of each operating body and the size of the second distance
Relationship determines the corresponding gesture of the motion track.
The 5th aspect of the embodiment of the present invention provides a kind of vehicle, comprising: vehicle body;The present invention implements third aspect offer
The gesture identifying device, the gesture identifying device is arranged on the vehicle body.
With reference to first aspect or the 7th kind of the first possible implementation of first aspect to first aspect possible
Any one in implementation, the 6th aspect of the embodiment of the present invention provides a kind of computer readable storage medium, described readable
Computer program is stored in storage medium, when the computer program is run on computers, so that the computer is held
Gesture identification method described in any embodiment in row first aspect or first aspect.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, present pre-ferred embodiments are cited below particularly,
And cooperate appended attached drawing, it is described in detail below.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described.It should be appreciated that the following drawings illustrates only certain embodiments of the present invention, therefore it is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 is a kind of structure chart of gesture identifying device provided in an embodiment of the present invention.
The step of Fig. 2 is a kind of gesture identification method provided in an embodiment of the present invention is schemed.
The step of Fig. 3 is a kind of determination datum mark of gesture identification method provided in an embodiment of the present invention is schemed.
The step of Fig. 4 is a kind of determination gesture of gesture identification method provided in an embodiment of the present invention is schemed.
Icon: 400- touch screen;600- processor.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description.Obviously, described embodiment is only a part of the embodiments of the present invention, instead of all the embodiments.It is logical
The component for the embodiment of the present invention being often described and illustrated herein in the accompanying drawings can be arranged and be designed with a variety of different configurations.
Therefore, the detailed description of the embodiment of the present invention provided in the accompanying drawings is not intended to limit below claimed
The scope of the present invention, but be merely representative of selected embodiment of the invention.Based on the embodiment of the present invention, those skilled in the art
Member's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.In addition, term " the
One ", " second " etc. is only used for distinguishing description, is not understood to indicate or imply relative importance.
With reference to the accompanying drawing, it elaborates to some embodiments of the present invention.In the absence of conflict, following
Feature in embodiment and embodiment can be combined with each other.
It please refers to shown in Fig. 1, Fig. 1 is a kind of structure chart of gesture identifying device provided in an embodiment of the present invention.Gesture is known
Other device includes: touch screen 400, for acquiring motion track of multiple operating bodies on touch screen 400;Processor 600, is used for
Initial position and final position of each operating body on the touch screen 400 are determined based on the motion track;For
Datum mark is determined by preset rules based on multiple initial positions;For obtaining multiple initial positions to the base
Multiple first distances on schedule;Multiple second distances for obtaining multiple final positions to the datum mark;For root
According to the first distance of each operating body and the size relation of the second distance, determine that the motion track is corresponding
Gesture.
Processor 600 can be central processing unit (Central Processing Unit, CPU), graphics processor
(Graphics Processing Unit, GPU), network processing unit (Network Processor, NP) etc.;It can also be several
Word signal processor (DSP), specific integrated circuit (ASIC), field programmable gate array (FPGA) or other programmable logic
Device, discrete gate or transistor logic, discrete hardware components.It may be implemented or execute the public affairs in the embodiment of the present invention
Each method, step and the logic diagram opened.
In addition, the detailed execution process about gesture identification method mode, will be described in detail following.
The embodiment of the present invention also provides a kind of vehicle, comprising: vehicle body and above-mentioned gesture identifying device, the gesture identification
Device is arranged on the vehicle body.Specifically, the gesture identifying device can be set in the console position of vehicle.Knowing
Not Chu gesture be crawl gesture when, can execute into the navigation interface of gesture identifying device.Identifying gesture for crawl
When opening, it can execute into the broadcasting music interface of gesture identifying device.
Shown in referring to figure 2., Fig. 2 schemes for a kind of the step of gesture identification method provided in an embodiment of the present invention.The gesture
Recognition methods can apply in aforementioned gesture identifying device shown in FIG. 1, which can also apply aforementioned
On vehicle comprising the gesture identifying device.The step of gesture identification method includes:
Step S210 acquires motion track of multiple operating bodies on touch screen 400.
It is intelligible, it is acquisition medium by using touch screen 400, acquires shifting of multiple operating bodies on touch screen 400
Dynamic rail mark is completed the dynamic gesture that input needs to identify to realize by way of touch, can accurately complete dynamic gesture
Motion track capture, further, can reduce the required precision of dynamic gesture input, guarantee to input accurate dynamic hand
Gesture, therefore the identifiability to dynamic gesture can be improved from input terminal.
To better understand this programme convenient for those skilled in the art, below noun in first introduction step S210.Operation
The meaning of body is that can contact with touch screen 400, and can move in touch screen 400, and touch screen 400 is acquired
To the object of the motion track of operating body.In other words, operating body is formed in the region of contact and is connect when contacting with touch screen 400
Contact or contact surface, when operating body moves in touch screen 400, touch screen 400 can collect the contact point or contact
The motion track in face.
Intelligible, operating body can be finger, corresponding, and multiple operating bodies can be five fingers.It is intelligible, it is more
A operating body not only can be five fingers on the same hand, be also possible to five fingers not on the same hand.?
In the present embodiment, multiple operating bodies of being subject to are five fingers on the same hand, in certain possible modes, Duo Gecao
Being also possible to three fingers on the same hand or four fingers and multiple operating bodies as body can also be and be able to use
The object of gesture identification method in the present embodiment, for example, tool there are five contact and five contacts be able to carry out grasping movement and
The structure of expansion action.
Optionally, motion track of multiple operating bodies on touch screen 400 is acquired, comprising: have on determining touch screen 400
When the initial position of multiple operating bodies, start timing;When determining the final position for there are multiple operating bodies on touch screen 400, stop
Timing;Judge whether the timing duration for stopping timing being greater than preset duration;If timing duration is less than or equal to preset duration, acquisition
Motion track of multiple operating bodies on touch screen 400;If timing duration is greater than preset duration, gives up multiple operating bodies and touching
Motion track on screen 400.
Specifically, preset duration can be 3~5 seconds, preset duration can also be according in different application scenarios
Content is embodied, corresponding preset duration is set, and preset duration can also be set by user.By the way that preset duration is arranged
The dynamic gesture of input can be rapidly acquired, so that the gesture identification method of the present embodiment can identify in time
Corresponding gesture.The track slowly moved can be also screened by the way that preset duration is arranged, that is, thinks that the track slowly moved is
Do not need what gesture identification method through this embodiment was identified.
According to the timing duration of stopping timing compared with preset duration, to judge that multiple operating bodies of acquisition are touching
Touching the motion track on screen 400 is that (effective motion track being capable of gesture identification through this embodiment for effective motion track
Method identifies corresponding gesture) or invalid motion track (invalid motion track does not need hand through this embodiment
Gesture recognition methods is identified).By above-mentioned timing mode, the shifting for not needing to carry out gesture identification can be screened from input terminal
Dynamic rail mark is saved to reduce the number using the present embodiment method and reduce the workload generated using the present embodiment method
Need to complete time and the energy consumption of the workload.
Optionally, after judging whether the timing duration for stopping timing being greater than preset duration, gesture identification method is also wrapped
It includes: if the timing duration is greater than the preset duration, generating and export prompt information, the prompt information is for prompting acquisition
Motion track failure.
Specifically, when generating prompt information, prompt information can include: acquiring motion track the result is that failure and
The reason of acquisition failure, prompt information can also include: to prompt the user with for this acquisition failure, and user should input just
The content really operated.When exporting prompt information, can on touch screen 400 display reminding information, also can be defeated by voice
Mode out is to user speech broadcasting prompt information (being provided with voice module in the gesture identifying device of the embodiment of the present invention).
To which user can learn prompt information by way of watching and listening to, and user can also learn according to prompt information and answer
How this inputs correct operation, enables the gesture identification method successful acquisition motion track of the embodiment of the present invention, in turn
The gesture identification method for optimizing the embodiment of the present invention is operated in the acquisition of input terminal, to improve the accuracy of gesture identification and set
The measure of false-touch prevention is set.
Optionally, if timing duration is less than or equal to preset duration, prompt information is generated and exports, the prompt information is used
In prompt acquisition motion track success.
Specifically, when generating prompt information, prompt information can include: acquiring motion track the result is that success,
Prompt information can also include: to be scored according to successful result, show appraisal result and it is relevant to result is commented commend content,
Such as in scoring be 98 timesharing, relevant content of commending can be with are as follows: you have carried out the input of primary very stick;In another example scoring
For 70 timesharing, relevant content of commending can be with are as follows: you have carried out primary mysterious input.When exporting prompt information, energy
Enough display reminding information on the touchscreen, the mode that can be also output by voice is to user speech broadcasting prompt information.To
User can learn prompt information by way of watching and listening to, and the content in prompt information can be improved the people of user
Machine interactive experience.It is intelligible, in certain possible embodiments, in order to guarantee the letter of entire gesture identification process median surface
Clean, the gesture identification method of the embodiment of the present invention can be successful prompt information without generating and exporting collection result.
Optionally, motion track of multiple operating bodies on touch screen 400 is acquired, comprising: determining that multiple operating bodies are same
When leaving touch screen 400, acquire motion track of the multiple operating body on touch screen 400.
Specifically, acquire motion track of multiple operating bodies on touch screen 400, can be multiple operating bodies with touching
Acquisition motion track is begun to when touching 400 contact of screen, (stops moving when multiple operating bodies stop mobile in touch screen 400
It is dynamic to include that multiple operating bodies leave touch screen 400 and multiple operating bodies are also contacted with touch screen 400, but without movement), knot
Beam acquires motion track.It is also possible to multiple operating bodies contacting with touch screen 400 and stopping movement in touch screen 400
Afterwards, motion track of multiple operating bodies on touch screen 400 is acquired.Successful effective motion track can accurately be acquired.
It is intelligible, being acquired multiple operating bodies during the motion track on touch screen 400, if there is extremely
When a few operating body leaves touch screen 400, the gesture identification method of the embodiment of the present invention can judge the movement of this acquisition
Track is invalid motion track.
Step S220 determines initial position and final position of each operating body on touch screen 400 based on motion track.
Specifically, operating body forms contact point when contacting with touch screen 400, in the region of contact, moving rail is determined
The initial position and final position of mark can be the position of two different contact points of determining motion track.Operating body with touching
When touching 400 contact of screen, contact surface is formed in the region of contact, entire contact surface can be regarded into a contact point, it can also be
The contact position that can indicate the contact surface is calculated and obtained in contact surface, so that it is determined that the initial position of motion track and terminal
Position can be two different contact positions of determining motion track.The movement of each operating body is determined by touch screen 400
The initial position and final position of track, so that it is determined that the motion track of each operating body is complete effective motion track.
Step S230 determines datum mark based on multiple initial positions.
Specifically, can also determine datum mark based on multiple final positions.Datum mark can be multiple operating bodies and touch
Central point on screen 400 is touched, any other point in addition to initial position and final position is also possible on touch screen 400.For
It is convenient for those skilled in the art understand that the embodiment of the present invention, point is illustrated centered on datum mark below.
Datum mark is determined based on multiple initial positions, for example, the point on touch screen 400 can be corresponding with flat square seat
Mark system, can identify five fingers by the abscissa and ordinate of plane right-angle coordinate in plane right-angle coordinate
Point (multiple operating bodies), to calculate the abscissa and vertical seat of central point according to the abscissa and ordinate of multiple operating bodies
Mark, thus determine that coordinate of the central point in plane right-angle coordinate.It is as follows about the algorithm for calculating central point: central point
X=(maxX-minX)/2+minX in (X, Y);Y=(maxY-minY)/2+minY.Wherein maxX is five finger points in X
Maximum value on axis, minX are minimum value of five finger points in X-axis, similarly maxY be five finger points in Y-axis most
Big value, minY is minimum value of five finger points in Y-axis.By the way that reference frame is arranged, so as to coordinate form mark
Know the initial position of each operating body out in touch screen 400 and the final position of each operating body, and determines benchmark
Point, to provide the coordinate of datum mark in the step after progress.
Shown in referring to figure 3., Fig. 3 is a kind of step of the determination datum mark of gesture identification method provided in an embodiment of the present invention
Rapid figure.Step S230 may include mode of the step S232 in conjunction with step S236, also may include step S234 and step
The mode that S236 is combined, first describes mode of the step S232 in conjunction with step S236 below.
Step S232 determines the cartesian coordinate that each initial position is fastened in cartesian coordinate;Wherein, cartesian coordinate
The origin of system is the preset point on touch screen 400.
Detailed, user determines a point on touch screen 400 in advance or a position is to need to establish Descartes's seat
Mark the origin of system.The origin can be the central point of touch screen 400, any one being also possible in touch screen 400 can be built
The point of vertical cartesian coordinate system.Intelligible, cartesian coordinate system includes plane right-angle coordinate and plane oblique coordinates system.It is touching
It touches and cartesian coordinate system is set on screen 400, start bit of multiple operating bodies in touch screen 400 can be identified with coordinate form
Set, for provided when carrying out below step S236 multiple operating bodies each initial position cartesian coordinate.
Step S236 determines datum mark based on multiple cartesian coordinates.
It is detailed, according to the cartesian coordinate of each initial position of multiple operating bodies, pass through multiple cartesian coordinate meters
It calculates and obtains an abscissa average value and an ordinate average value, using the abscissa average value as the abscissa of datum mark,
Using the ordinate average value as the ordinate of datum mark, obtain the cartesian coordinate of datum mark, so that it is determined that datum mark, for
The cartesian coordinate of datum mark is provided when step after progress.
Next mode of the description step S234 in conjunction with step S236.Step S234 determines each initial position in flute
Cartesian coordinate on karr coordinate system;Wherein, cartesian coordinate system is based on one of operating body in multiple operating bodies
The coordinate system of foundation.
Step S236 determines datum mark based on multiple cartesian coordinates.
It is detailed, based on the coordinate system that one of operating body in multiple operating bodies is established, such as can be at five
The region for selecting thumb to contact in finger with touch screen 400 is coordinate origin, to establish coordinate system;It is also possible in five hands
Index finger is selected to establish the region that coordinate system is contacted with touch screen 400 for coordinate origin, to establish coordinate system in finger.Establishing flute
Karr coordinate system in multiple operating bodies for selecting one of operating body to establish when measuring and identifying each initial position
Coordinate system to measure and the coordinate value for identifying each initial position is smaller, can facilitate calculating to obtain base in the coordinate system
Coordinate on schedule, and the coordinate of the datum mark can meet certain precision, it is higher to be provided in the step after progress
The coordinate of the datum mark of precision.
Step S240, obtain multiple initial positions to datum mark multiple first distances.
Specifically, first distance is linear distance of the single initial position to datum mark, multiple first distances are multiple
Each of initial position arrives the linear distance of datum mark.By the reference frame of the setting in step S230, and obtain
Multiple starting position coordinates and datum mark coordinate, can obtain multiple initial positions to datum mark multiple first distances.Or
By the cartesian coordinate system being arranged in step S232 and step S236, and the multiple starting position coordinates and datum mark that obtain are sat
Mark, can obtain multiple initial positions to datum mark multiple first distances.Or by being set in step S234 and step S236
The cartesian coordinate system set, and the multiple starting position coordinates and datum mark coordinate that obtain, can obtain multiple initial positions and arrive
Multiple first distances of datum mark.
Step S250, obtain multiple final positions to datum mark multiple second distances.
Specifically, second distance is linear distance of the single final position to datum mark, multiple second distances are multiple
Each of final position arrives the linear distance of datum mark.By the reference frame of the setting in step S230, and obtain
Multiple final position coordinates and datum mark coordinate, can obtain multiple final positions to datum mark multiple second distances.Or
By the cartesian coordinate system being arranged in step S232 and step S236, and the multiple final position coordinates and datum mark that obtain are sat
Mark, can obtain multiple final positions to datum mark multiple second distances.Or by being set in step S234 and step S236
The cartesian coordinate system set, and the multiple final position coordinates and datum mark coordinate that obtain, can obtain multiple final positions and arrive
Multiple second distances of datum mark.
Specifically, can by the coordinate combination triangle Pythagorean theorem of rectangular coordinate system, can calculate first away from
From similarly, capable of also calculating second distance.Single starting position coordinates are described below and datum mark coordinate calculate first away from
From.By using triangle Pythagorean theorem, first distance can be obtained are as follows:Wherein, distance is first distance, and X is datum mark
Abscissa, Y is the ordinate of datum mark, and a is the abscissa of initial position, and b is the ordinate of initial position.
Step S260 determines motion track pair according to the size relation of the first distance of each operating body and second distance
The gesture answered.
Specifically, when the first distance of operating body is greater than the second distance of the operating body, and each operating body meets
When this relationship, determine the corresponding gesture of motion track for crawl gesture.When the first distance of operating body is less than the operating body
Second distance, and when each operating body meets this relationship, determine the corresponding gesture of motion track for crawl gesture.Pass through
The first distance of two different each operating bodies and the size relation of second distance can recognize that the input operation pair of user
The gesture answered, to complete the identification to dynamic gesture.
Shown in referring to figure 4., the step of Fig. 4 is a kind of determination gesture of gesture identification method provided in an embodiment of the present invention
Figure.Gesture identification method according to an embodiment of the present invention can identify two different gestures, and one kind is crawl gesture, another
To open gesture.Therefore, step S260 may include: step S262, step S264 and step S266.
Step S262 judges the first distance of each operating body and the size of second distance.
Step S264 determines gesture for crawl gesture when the first distance of all operating bodies is all larger than second distance.
Step S266 determines gesture when the first distance of all operating bodies is respectively less than second distance to open gesture
Specifically, when the first distance of operating body is greater than the second distance of the operating body, and each operating body meets
When this relationship, determine the corresponding gesture of motion track for crawl gesture.When the first distance of operating body is less than the operating body
Second distance, and when each operating body meets this relationship, the corresponding gesture of motion track is determined to open gesture.Pass through
The first distance of two different each operating bodies and the size relation of second distance can recognize that the input operation pair of user
The gesture answered, to complete the identification to dynamic gesture.
Further, the embodiment of the present invention also provides a kind of gesture identifying device, comprising: and acquisition module is more for acquiring
Motion track of a operating body on acquisition module;Control module, for determining each operation based on the motion track
Initial position and final position of the body on the acquisition module;For true by preset rules based on multiple initial positions
Make datum mark;Multiple first distances for obtaining multiple initial positions to the datum mark;For obtaining multiple institutes
State final position to the datum mark multiple second distances;For according to each operating body the first distance and institute
The size relation for stating second distance determines the corresponding gesture of the motion track.
It should be noted that due to it is apparent to those skilled in the art that, for the convenience and letter of description
Clean, the specific work process of the gesture identifying device of foregoing description, acquisition module and control module can be with reference in preceding method
Corresponding process, details are not described herein.
Further, the embodiment of the present invention also provides a kind of computer readable storage medium, which is characterized in that described readable
Computer program is stored in storage medium, when the computer program is run on computers, so that the computer is held
Gesture identification method described in any embodiment in row first aspect or first aspect.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can lead to
Hardware realization is crossed, the mode of necessary general hardware platform can also be added to realize by software, based on this understanding, this hair
Bright technical solution can be embodied in the form of software products, which can store in a non-volatile memories
In medium (can be CD-ROM, USB flash disk, mobile hard disk etc.), including some instructions are used so that a computer equipment (can be
Personal computer, server or network equipment etc.) execute method described in each implement scene of the present invention.
In conclusion the present invention provides a kind of gesture identification method, gesture identifying device and vehicle.The gesture identification method
The required precision of dynamic gesture input can be reduced by way of contact by touch screen as acquisition medium.And pass through
Touch screen and gesture identification method are combined, identifiable effect can be improved to gesture.It can also realize the side by touch
Formula completes the dynamic gesture that input needs to identify, is captured with accurately completing the motion track of dynamic gesture, further, can be dropped
The required precision of low dynamic gesture input guarantees to input accurate dynamic gesture, therefore can improve from input terminal to dynamic hand
The identifiability of gesture, the input that user can be recognized accurately operate corresponding dynamic gesture.
In embodiment provided by the present invention, it should be understood that disclosed devices, systems, and methods can also lead to
Other modes are crossed to realize.Devices, systems, and methods embodiment described above is only schematical, for example, in attached drawing
Flow chart and block diagram show that the system of multiple embodiments according to the present invention, the possibility of method and computer program product are real
Existing architecture, function and operation.In this regard, each box in flowchart or block diagram can represent module, a journey
A part of sequence section or code, a part of the module, section or code include one or more for realizing defined
The executable instruction of logic function.
It should also be noted that function marked in the box can also be with difference in some implementations as replacement
The sequence marked in attached drawing occurs.For example, two continuous boxes can actually be basically executed in parallel, they are sometimes
It can also execute in the opposite order, this depends on the function involved.It is also noted that in block diagram and or flow chart
The combination of box in each box and block diagram and or flow chart, can function or movement as defined in executing it is dedicated
Hardware based system is realized, or can be realized using a combination of dedicated hardware and computer instructions.In addition, in the present invention
Each functional module in each embodiment can integrate one independent part of formation together, and it is independent to be also possible to modules
In the presence of an independent part can also be integrated to form with two or more modules.It can replace, it can be all or part of
It is realized by software, hardware, firmware or any combination thereof on ground.When implemented in software, can entirely or partly with
The form of computer program product is realized.The computer program product includes one or more computer instructions.In computer
Upper load and when executing the computer program instructions, entirely or partly generate according to process described in the embodiment of the present invention or
Function.
The computer can be general purpose computer, special purpose computer, computer network or other programmable devices.
The computer instruction may be stored in a computer readable storage medium, or from a computer readable storage medium to another
One computer readable storage medium transmission, for example, the computer instruction can be from web-site, computer, a service
Device or data center by wired (such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless (such as it is infrared, wireless,
Microwave etc.) mode transmitted to another web-site, computer, server or data center.It is described computer-readable to deposit
Storage media can be any usable medium that computer can access or include the integrated clothes of one or more usable mediums
The data storage devices such as business device, data center.The usable medium can be magnetic medium, (for example, floppy disk, hard disk, tape),
Optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk Solid State Disk (SSD)) etc..
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.
Claims (11)
1. a kind of gesture identification method characterized by comprising
Acquire the motion track of multiple operating bodies on the touchscreen;
Initial position and final position of each operating body on the touch screen are determined based on the motion track;
Datum mark is determined based on multiple initial positions;
Obtain multiple initial positions to the datum mark multiple first distances;
Obtain multiple final positions to the datum mark multiple second distances;
According to the size relation of the first distance of each operating body and the second distance, the motion track is determined
Corresponding gesture.
2. gesture identification method according to claim 1, which is characterized in that according to described the first of each operating body
The size relation of distance and the second distance determines the corresponding gesture of the motion track, comprising:
Judge the first distance of each operating body and the size of the second distance;
When the first distance of all operating bodies is all larger than the second distance, determine the gesture for crawl hand
Gesture.
3. gesture identification method according to claim 1, which is characterized in that according to described the first of each operating body
The size relation of distance and the second distance determines the corresponding gesture of the motion track, comprising:
Judge the first distance of each operating body and the size of the second distance;
When the first distance of all operating bodies is respectively less than the second distance, determine that the gesture is to open one's hand
Gesture.
4. gesture identification method according to claim 1, which is characterized in that determine base based on multiple initial positions
On schedule, comprising:
Determine the cartesian coordinate that each initial position is fastened in cartesian coordinate;Wherein, the cartesian coordinate system
Origin is the preset point on the touch screen;
The datum mark is determined based on multiple cartesian coordinates.
5. gesture identification method according to claim 1, which is characterized in that determine base based on multiple initial positions
On schedule, comprising:
Determine the cartesian coordinate that each initial position is fastened in cartesian coordinate;Wherein, the cartesian coordinate system is
The coordinate system established based on one of operating body in the multiple operating body;
The datum mark is determined based on multiple cartesian coordinates.
6. gesture identification method according to claim 1, which is characterized in that acquire the shifting of multiple operating bodies on the touchscreen
Dynamic rail mark, comprising:
When there is the initial position of the multiple operating body on determining the touch screen, start timing;
When determining the final position for having the multiple operating body on the touch screen, stop timing;
Judge whether the timing duration for stopping timing being greater than preset duration;
If the timing duration is less than or equal to the preset duration, the moving rail of the multiple operating body on the touchscreen is acquired
Mark.
7. gesture identification method according to claim 6, which is characterized in that judge stop timing timing duration whether
After preset duration, the method also includes:
If the timing duration is greater than the preset duration, prompt information is generated and exports, the prompt information is adopted for prompting
Collect motion track failure.
8. gesture identification method according to claim 1, which is characterized in that acquire the shifting of multiple operating bodies on the touchscreen
Dynamic rail mark, comprising:
When determining the multiple operating body while leaving the touch screen, the shifting of the multiple operating body on the touchscreen is acquired
Dynamic rail mark.
9. a kind of gesture identifying device characterized by comprising
Acquisition module, for acquiring the motion track of multiple operating bodies on the touchscreen;
Control module, for based on the motion track determine initial position of each operating body on the touch screen and
Final position;For determining datum mark by preset rules based on multiple initial positions;For obtaining multiple described
Beginning position to the datum mark multiple first distances;For obtaining multiple final positions to multiple the of the datum mark
Two distances;Described in determining according to the first distance of each operating body and the size relation of the second distance
The corresponding gesture of motion track.
10. a kind of gesture identifying device characterized by comprising
Touch screen, for acquiring the motion track of multiple operating bodies on the touchscreen;
Processor, for determining initial position and end of each operating body on the touch screen based on the motion track
Point position;For determining datum mark by preset rules based on multiple initial positions;For obtaining multiple startings
Multiple first distances of the position to the datum mark;For obtaining multiple final positions to multiple the second of the datum mark
Distance;For determining the shifting according to the first distance of each operating body and the size relation of the second distance
The corresponding gesture of dynamic rail mark.
11. a kind of vehicle characterized by comprising
Vehicle body;
Gesture identifying device according to claim 10, the gesture identifying device are arranged on the vehicle body.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910421719.5A CN110147198A (en) | 2019-05-21 | 2019-05-21 | A kind of gesture identification method, gesture identifying device and vehicle |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910421719.5A CN110147198A (en) | 2019-05-21 | 2019-05-21 | A kind of gesture identification method, gesture identifying device and vehicle |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110147198A true CN110147198A (en) | 2019-08-20 |
Family
ID=67592387
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910421719.5A Pending CN110147198A (en) | 2019-05-21 | 2019-05-21 | A kind of gesture identification method, gesture identifying device and vehicle |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110147198A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111831986A (en) * | 2020-06-05 | 2020-10-27 | 北京百度网讯科技有限公司 | Unlocking method and device based on gesture password |
CN111880682A (en) * | 2020-07-09 | 2020-11-03 | 天津津航计算技术研究所 | Calibration process-based touch screen serial port drive design method under vxworks system |
CN112256126A (en) * | 2020-10-19 | 2021-01-22 | 上海肇观电子科技有限公司 | Method, electronic circuit, electronic device, and medium for recognizing gesture |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140365949A1 (en) * | 2013-06-09 | 2014-12-11 | Apple Inc. | Managing real-time handwriting recognition |
CN105357381A (en) * | 2015-10-28 | 2016-02-24 | 努比亚技术有限公司 | Terminal operation method and intelligent terminal |
CN106325493A (en) * | 2015-06-30 | 2017-01-11 | 现代自动车株式会社 | Vehicle and method of controlling the same |
-
2019
- 2019-05-21 CN CN201910421719.5A patent/CN110147198A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140365949A1 (en) * | 2013-06-09 | 2014-12-11 | Apple Inc. | Managing real-time handwriting recognition |
CN106325493A (en) * | 2015-06-30 | 2017-01-11 | 现代自动车株式会社 | Vehicle and method of controlling the same |
CN105357381A (en) * | 2015-10-28 | 2016-02-24 | 努比亚技术有限公司 | Terminal operation method and intelligent terminal |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111831986A (en) * | 2020-06-05 | 2020-10-27 | 北京百度网讯科技有限公司 | Unlocking method and device based on gesture password |
CN111831986B (en) * | 2020-06-05 | 2024-05-28 | 阿波罗智联(北京)科技有限公司 | Unlocking method and device based on gesture password |
CN111880682A (en) * | 2020-07-09 | 2020-11-03 | 天津津航计算技术研究所 | Calibration process-based touch screen serial port drive design method under vxworks system |
CN111880682B (en) * | 2020-07-09 | 2024-06-25 | 天津津航计算技术研究所 | Touch screen serial port drive design method based on calibration process under vxworks system |
CN112256126A (en) * | 2020-10-19 | 2021-01-22 | 上海肇观电子科技有限公司 | Method, electronic circuit, electronic device, and medium for recognizing gesture |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105573639B (en) | For triggering the method and system of the display of application | |
CN110147198A (en) | A kind of gesture identification method, gesture identifying device and vehicle | |
KR101616909B1 (en) | Automatic scoring apparatus and method | |
US8958631B2 (en) | System and method for automatically defining and identifying a gesture | |
US9122353B2 (en) | Kind of multi-touch input device | |
US10877575B2 (en) | Change of active user of a stylus pen with a multi user-interactive display | |
CN105556438A (en) | Systems and methods for providing response to user input using information about state changes predicting future user input | |
US20130016126A1 (en) | Drawing aid system for multi-touch devices | |
US20140210780A1 (en) | Touch Screen Controller and Method for Controlling Thereof | |
US20130120282A1 (en) | System and Method for Evaluating Gesture Usability | |
US20140160054A1 (en) | Anchor-drag touch symbol recognition | |
US9779292B2 (en) | System and method for interactive sketch recognition based on geometric contraints | |
CN114138165B (en) | Pattern recognition method, apparatus, device and storage medium | |
CN102236409A (en) | Motion gesture recognition method and motion gesture recognition system based on image | |
CN103902086A (en) | Curve fitting based touch trajectory smoothing method and system | |
Yin et al. | Toward natural interaction in the real world: Real-time gesture recognition | |
CN107194213A (en) | A kind of personal identification method and device | |
CN109214962A (en) | Web education learning method, system, terminal and its storage medium | |
WO2019223056A1 (en) | Gesture recognition-based teaching and learning method and apparatus | |
CN109814787B (en) | Key information determination method, device, equipment and storage medium | |
JP2023539934A (en) | Object detection model training method, image detection method and device | |
CN104965657A (en) | Touch control method and apparatus | |
CN110633042A (en) | Handwriting erasing method, device and equipment for electronic whiteboard | |
CN105468180A (en) | Electronic whiteboard track smoothing method and apparatus | |
KR100909468B1 (en) | Method for representing multipoint contacting at touch panel in screen |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190820 |