CN104461321A - Method and device for gestural inputting of instructions - Google Patents
Method and device for gestural inputting of instructions Download PDFInfo
- Publication number
- CN104461321A CN104461321A CN201410756707.5A CN201410756707A CN104461321A CN 104461321 A CN104461321 A CN 104461321A CN 201410756707 A CN201410756707 A CN 201410756707A CN 104461321 A CN104461321 A CN 104461321A
- Authority
- CN
- China
- Prior art keywords
- image information
- gesture
- gesture motion
- instruction
- gauge point
- 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
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
Abstract
The invention relates to a method and a device for gestural inputting of instructions. The device comprises an image acquisition unit, a proximal point acquisition unit, a symbol acquisition unit and an instruction acquisition unit, wherein the image acquisition unit is used for collecting image information of gestures at preset intervals, the proximal point acquisition unit is used for projecting the image information of gesture markers to a preset image grid to acquire grid points nearest to the gesture markers, the signals-acquiring unit is used for joining all the grid points to form continuous symbols in chronological order according to the vector coupling principle, the orders-acquiring unit is used for acquiring instructions corresponding to gesture input according to the continuous symbols. By analyzing the collected corresponding image information of the gestures in real time, the input instructions corresponding to the gestures are acquired so as to send out operation instructions without contact with intelligent devices and to achieve long-range control of the intelligent devices. The method and the device for gesture input order have the advantages that the operation mode is simple and user experience is good.
Description
Technical field
The present invention relates to human-computer interaction technique field, particularly relate to the method and apparatus of a kind of gesture input instruction.
Background technology
Along with the development of Android technology, work, the life of people more and more depend on Android intelligent equipment.People like using Android intelligent equipment viewing video, but when needing to make the alter operation of the change of volume or program to video jukebox software, all need the screen going touch Android intelligent equipment with finger at every turn.Such mode of operation is loaded down with trivial details and lose time, and user experience is poor.
Summary of the invention
The object of the invention is to the method and apparatus proposing a kind of gesture input instruction, can issue out operational order in the situation not contacting smart machine, realize the Long-distance Control to smart machine, mode of operation is simple, user experience good.
For reaching this object, the present invention by the following technical solutions:
First aspect, provides a kind of gesture to input the method for instruction, comprising:
Interval preset time period gathers the image information of gesture motion, and described image information comprises gesture motion gauge point image information;
Described gesture motion gauge point image information is projected in default image lattice, and the moving direction variation tendency according to gesture motion gauge point obtains the net point nearest with described gesture motion gauge point;
According to vector catenation principle, according to time sequencing, described net point is coupled together formation continuous symbol;
According to described continuous symbol, obtain the instruction corresponding to gesture input.
Wherein, described interval preset time period gathers the image information of gesture motion, and described image information comprises gesture motion gauge point image information, comprising:
Pre-set gesture motion Image Database, described gesture motion Image Database comprises the gesture motion shape information of built vertical corresponding relation, gesture motion colouring information and gesture motion monochrome information;
Interval preset time period gathers the image information of gesture motion, the image information collected is mated with described gesture motion Image Database;
If the gesture motion shape information of the image information collected and described gesture motion Image Database, gesture motion colouring information, gesture motion monochrome information are mated one by one, then confirm that the image information collected is effective gesture motion image information;
The gesture motion gauge point image information in gesture motion image information is confirmed the validity according to default rule.
Wherein, described default rule, comprising:
The point that in effective gesture motion image information, brightness is the strongest is gesture motion gauge point image information, or;
The point that in effective gesture motion image information, colourity is the highest is gesture motion gauge point image information.
Wherein, described instruction comprises input character instruction and/or operation steering order;
Described according to described continuous symbol, obtain the instruction corresponding to gesture input, comprising:
According to described continuous symbol, in preset characters storehouse, find corresponding character, obtain the input character instruction corresponding to gesture input, or;
According to described continuous symbol, find corresponding instruction in built vertical instruction with the preset instructions storehouse of the corresponding relation of continuous symbol, obtain the operation steering order corresponding to gesture input, or;
According to the size of described continuous symbol and continuous symbol, calculate the mobile changing value of gesture motion gauge point image information corresponding to described continuous symbol within the default unit interval;
If described mobile changing value is 0 and the duration that mobile changing value is the state of 0 is less than or equal to default traveling time, then obtain the length of corresponding gesture input by instruction;
If described mobile changing value is 0 and the duration that mobile changing value is the state of 0 is less than or equal to default traveling time, the moving direction of subsequent gesture action mark dot image information changes, then obtain the dragging instruction of corresponding gesture input;
If described mobile changing value is not 0, then according to the moving direction variation tendency of gesture motion gauge point image information, obtain the slip instruction of corresponding gesture input.
Wherein, described according to described continuous symbol, obtain the instruction corresponding to gesture input, also comprise:
If the gesture motion gauge point image information that described continuous symbol is corresponding does not have incident point in the image lattice preset, then terminate the process obtaining current gesture input instruction, or;
If the gesture motion gauge point image information corresponding according to described continuous symbol, the mobile changing value calculating described gesture motion gauge point image information within the default unit interval is 0, and the duration that mobile changing value is the state of 0 is more than or equal to default rest time, then terminate the process obtaining current gesture input instruction.
Second aspect, provides a kind of gesture to input the device of instruction, comprising:
Obtain elementary area, gather the image information of gesture motion for interval preset time period, described image information comprises gesture motion gauge point image information;
Obtain approximate dot element, for described gesture motion gauge point image information is projected in default image lattice, the moving direction variation tendency according to gesture motion gauge point obtains the net point nearest with described gesture motion gauge point;
Obtain symbolic unit, for according to vector catenation principle, according to time sequencing, described net point is coupled together formation continuous symbol;
Obtain command unit, for according to described continuous symbol, obtain the instruction corresponding to gesture input.
Wherein, described acquisition elementary area, specifically for:
Pre-set gesture motion Image Database, described gesture motion Image Database comprises the gesture motion shape information of built vertical corresponding relation, gesture motion colouring information and gesture motion monochrome information;
Interval preset time period gathers the image information of gesture motion, the image information collected is mated with described gesture motion Image Database;
If the gesture motion shape information of the image information collected and described gesture motion Image Database, gesture motion colouring information, gesture motion monochrome information are mated one by one, then confirm that the image information collected is effective gesture motion image information;
The gesture motion gauge point image information in gesture motion image information is confirmed the validity according to default rule.
Wherein, described default rule, comprising:
The point that in effective gesture motion image information, brightness is the strongest is gesture motion gauge point image information, or;
The point that in effective gesture motion image information, colourity is the highest is gesture motion gauge point image information.
Wherein, described instruction comprises input character instruction and/or operation steering order;
Described acquisition command unit, specifically for:
According to described continuous symbol, in preset characters storehouse, find corresponding character, obtain the input character instruction corresponding to gesture input, or;
According to described continuous symbol, find corresponding instruction in built vertical instruction with the preset instructions storehouse of the corresponding relation of continuous symbol, obtain the operation steering order corresponding to gesture input, or;
According to the size of described continuous symbol and continuous symbol, calculate the mobile changing value of gesture motion gauge point image information corresponding to described continuous symbol within the default unit interval;
If described mobile changing value is 0 and the duration that mobile changing value is the state of 0 is less than or equal to default traveling time, then obtain the length of corresponding gesture input by instruction;
If described mobile changing value is 0 and the duration that mobile changing value is the state of 0 is less than or equal to default traveling time, the moving direction of subsequent gesture action mark dot image information changes, then obtain the dragging instruction of corresponding gesture input;
If described mobile changing value is not 0, then according to the moving direction variation tendency of gesture motion gauge point image information, obtain the slip instruction of corresponding gesture input.
Wherein, the device of described gesture input instruction also comprises end and obtains command unit,
Described end obtains command unit, if do not have incident point for the gesture motion gauge point image information that described continuous symbol is corresponding in the image lattice preset, then terminates the process obtaining current gesture input instruction, or; If the gesture motion gauge point image information corresponding according to described continuous symbol, the mobile changing value calculating described gesture motion gauge point image information within the default unit interval is 0, and the duration that mobile changing value is the state of 0 is more than or equal to default rest time, then terminate the process obtaining current gesture input instruction.
Beneficial effect of the present invention is: a kind of method and apparatus of gesture input instruction, comprising: obtain elementary area, obtain approximate dot element, obtain symbolic unit and obtain command unit; Described acquisition elementary area, gather the image information of gesture motion for interval preset time period, described image information comprises gesture motion gauge point image information; Described acquisition is similar to dot element, and for described gesture motion gauge point image information is projected in default image lattice, the moving direction variation tendency according to gesture motion gauge point obtains the net point nearest with described gesture motion gauge point; Described acquisition symbolic unit, for according to vector catenation principle, couples together formation continuous symbol according to time sequencing described net point; Described acquisition command unit, for according to described continuous symbol, obtains the instruction corresponding to gesture input.The method and apparatus of this gesture input instruction, the image information of the corresponding gesture motion collected by real time parsing, obtain the instruction of corresponding gesture motion input, to realize the effect issuing out operational order in the situation not contacting smart machine, complete the Long-distance Control to smart machine, mode of operation is simple, user experience good.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing the embodiment of the present invention is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to the content of the embodiment of the present invention and these accompanying drawings.
Fig. 1 is the method flow diagram of method first embodiment of gesture provided by the invention input instruction.
Fig. 2 is the method flow diagram of method second embodiment of gesture provided by the invention input instruction.
Fig. 3 is the method flow diagram of device first embodiment of gesture provided by the invention input instruction.
Fig. 4 is the block diagram of device second embodiment of gesture provided by the invention input instruction.
Embodiment
The technical matters solved for making the present invention, the technical scheme of employing and the technique effect that reaches are clearly, be described in further detail below in conjunction with the technical scheme of accompanying drawing to the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those skilled in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Please refer to Fig. 1, it is the method flow diagram of method first embodiment of gesture provided by the invention input instruction.The method of the gesture input instruction that the embodiment of the present invention provides, can be applicable to various Android intelligent equipment, such as panel computer, smart mobile phone, intelligent earphone, Intelligent bracelet etc.
The method of this gesture input instruction, comprising:
Step S101, interval preset time period gather the image information of gesture motion, and described image information comprises gesture motion gauge point image information.
When applying the method for gesture provided by the invention input instruction, can by the support of peripheral camera.Camera carries out continuous print seizure to the image of the gesture motion in front, then points in the appointed area interscan of the image information captured the point streaked, then to the algorithm process that all points are correlated with, to obtain gesture motion gauge point image information.
Step S102, described gesture motion gauge point image information is projected in default image lattice, the moving direction variation tendency according to gesture motion gauge point obtains the net point nearest with described gesture motion gauge point.
According to the image information that camera captures, the net point pointing pixel and the touch-screen streaked that corresponds to of camera scanning is compared, finds nearest net point, to locate pixel.
The method of being located pixel by net point is relative to direct method of being located by pixel, and calculated amount is less, and processing speed is faster, and computation complexity is low.
Step S103, according to vector catenation principle, according to time sequencing, described net point is coupled together formation continuous symbol.
Vector catenation principle be any one image border point four direction, set up precursor stroke search model according to the connectedness of similar stroke, formed tolerance fracture extent in profile stroke chain.Adopt list structure to store stroke first-in-chain(FIC) tail position and dynamically remove invalid chained list node, by subsequent survey, merging the line segment meeting rule, and reject false candidate line sections, ensure the authenticity and integrity of line segment information.
Step S104, according to described continuous symbol, obtain correspond to gesture input instruction.
To sum up, a kind of method of gesture input instruction, the image information of the corresponding gesture motion collected by real time parsing, obtain the instruction of corresponding gesture motion input, to realize the effect issuing out operational order in the situation not contacting smart machine, complete the Long-distance Control to smart machine, mode of operation is simple, user experience good.
Please refer to Fig. 2, it is the method flow diagram of method second embodiment of gesture provided by the invention input instruction.The key distinction that the present embodiment and gesture input method first embodiment of instruction is to add and obtains gesture motion gauge point image information, obtains input character instruction and operate steering order, terminates to obtain the explanation that current gesture inputs the concrete steps of instruction.
The method of this gesture input instruction, comprising:
Step S201, pre-set gesture motion Image Database, described gesture motion Image Database comprises the gesture motion shape information of built vertical corresponding relation, gesture motion colouring information and gesture motion monochrome information;
Interval preset time period gathers the image information of gesture motion, the image information collected is mated with described gesture motion Image Database;
If the gesture motion shape information of the image information collected and described gesture motion Image Database, gesture motion colouring information, gesture motion monochrome information are mated one by one, then confirm that the image information collected is effective gesture motion image information;
The gesture motion gauge point image information in gesture motion image information is confirmed the validity according to default rule.
Before processing the image information of the gesture motion collected, need to identify the validity of gesture motion, confirm that this gesture motion is process corresponding image information after effective gesture motion again, the accuracy of result can be ensured.
User can by wearing utility appliance, as the green fluorescence finger-stall of given shape on finger.User make a sign with the hand action time, drive in real time the utility appliance action on finger, camera carries out continuous print seizure by the image of the utility appliance to front, to determine the validity of image information.
Before the validity confirming image information, also need to set up gesture motion Image Database in advance, the shape information of described this utility appliance of gesture motion image information library storage, colouring information at different brightnesses.Camera interval preset time period takes image information, by resolve and the position of utility appliance and effective gesture motion that utility appliance sends are determined in the shape of corresponding gesture motion in matching image information, color, brightness jointly.Above-mentioned monochrome information comprise light that utility appliance self sends and screen it is illuminated or fills can when the light that sends.
Wherein, described default rule, comprising:
The point that in effective gesture motion image information, brightness is the strongest is gesture motion gauge point image information, or;
The point that in effective gesture motion image information, colourity is the highest is gesture motion gauge point image information.
The corresponding points such as certainly, user can also select other feature voluntarily, as the darkest in brightness, colourity is minimum are labeled as gesture motion gauge point image information.
Step S202, described gesture motion gauge point image information is projected in default image lattice, the moving direction variation tendency according to gesture motion gauge point obtains the net point nearest with described gesture motion gauge point.
Step S203, according to vector catenation principle, according to time sequencing, described net point is coupled together formation continuous symbol.
A net point corresponding for image information and another net point are carried out vector be connected, form continuous symbol.Namely the net point of two adjacent time points is contrasted by vector calculus, then is undertaken making up by time algorithm and can form continuous print symbol.The resolving that this process and touch screen hand-writing enter the operating instructions is consistent.
Step S204, described instruction comprise input character instruction and/or operation steering order;
According to described continuous symbol, in preset characters storehouse, find corresponding character, obtain the input character instruction corresponding to gesture input, or;
According to described continuous symbol, find corresponding instruction in built vertical instruction with the preset instructions storehouse of the corresponding relation of continuous symbol, obtain the operation steering order corresponding to gesture input, or;
According to the size of described continuous symbol and continuous symbol, calculate the mobile changing value of gesture motion gauge point image information corresponding to described continuous symbol within the default unit interval;
If described mobile changing value is 0 and the duration that mobile changing value is the state of 0 is less than or equal to default traveling time, then obtain the length of corresponding gesture input by instruction;
If described mobile changing value is 0 and the duration that mobile changing value is the state of 0 is less than or equal to default traveling time, the moving direction of subsequent gesture action mark dot image information changes, then obtain the dragging instruction of corresponding gesture input;
If described mobile changing value is not 0, then according to the moving direction variation tendency of gesture motion gauge point image information, obtain the slip instruction of corresponding gesture input.
According to the continuous symbol obtained again by preset instructions storehouse, the character information of user's input just can be obtained.
If also want the operation steering order function realizing touch-screen, that just needs further accurate Calculation, can arrange every empty input character with every empty gesture operation two kinds of patterns in APP application.Every empty-handed gesture operator scheme according to entering large far little principle, calculate the mobile changing value in gesture motion gauge point image information corresponding to the continuous symbol of unit interval, to be confirmed to be the length of touch-screen by multiple operation steering orders such as, dragging, slips.
Calculate the process of the mobile changing value of the gesture motion gauge point image information that described continuous symbol is corresponding within the default unit interval, go the computation process operating touch-screen the same with user with finger, be unit interval algorithm.If the of short duration stopping of gesture motion gauge point image information is mobile within a period of time, the length of the corresponding touch-screen of this operation is by instruction, if the of short duration stopping of gesture motion gauge point image information starts mobile again after moving within a period of time, the dragging instruction of the corresponding touch-screen of this operation, if gesture motion gauge point image information continues mobile within a period of time, the slip instruction of the corresponding touch-screen of this operation.
APP can certainly be utilized should to be used for realizing function that input character performs associative operation steering order, such as, input Chinese character " " and then represent screen and slide, input Chinese character " two " then represent screen length by, input Chinese character " three " then represents screen and slides.Such implementation is simpler, but needs user oneself to pre-set the corresponding relation of character and operation steering order.
If the gesture motion gauge point image information that the described continuous symbol of step S205 is corresponding does not have incident point in the image lattice preset, then terminate the process obtaining current gesture input instruction, or;
If the gesture motion gauge point image information corresponding according to described continuous symbol, the mobile changing value calculating described gesture motion gauge point image information within the default unit interval is 0, and the duration that mobile changing value is the state of 0 is more than or equal to default rest time, then terminate the process obtaining current gesture input instruction.
When finger moves to certain time value that the border of camera view area or finger stopping action exceeding setting, then can judge that this gesture motion completes, assert that this is a gesture input instruction and record, then just can carry out operation below.
Apply the Android intelligent equipment of the method for gesture provided by the invention input instruction, the character information of input can be obtained at a distance, thus these character informations can be used for output character chat or browse webpage, also can be defined in the default storehouse of APP application as a kind of gesture command.Such mode of operation, indirectly defines a kind of touch screen operation mode every sky, in the middle of the various application symbol captured being applied to Android intelligent equipment.
The gesture input method of instruction provided by the invention and the different every blank operation method of current popular, current is only that the horizontal handoff realized up and down operates every blank operation method, and the method for gesture input instruction provided by the invention can by gathering the different gesture motion images of user, then self-defined one-tenth user wants the operation of the Android intelligent equipment realized, and is very easy to the mode of operation of User Defined oneself custom.
The method of gesture input instruction provided by the invention is mainly for the improvement of the Long-distance Control of Android intelligent equipment, user can by relevant app application definition, it wants the function realized according to relevant gesture motion or image information, manipulation Android intelligent equipment is reached quick, effectively, the object of handled easily.
To sum up, the method of the gesture input instruction that the technical program provides, greatly can improve the intelligent remote-controlled operation mode of Android intelligent equipment, can widely popularize in Android intelligent equipment, also can realize remote-controlled operation in some intelligent televisions or Set Top Box.
The gesture provided for the embodiment of the present invention below inputs the embodiment of the device of instruction.The embodiment that the embodiment of the device of gesture input instruction and above-mentioned gesture input the method for instruction belongs to same design, the detail content of not detailed description in the embodiment of the device of gesture input instruction, can with reference to the embodiment of the method for above-mentioned gesture input instruction.
Please refer to Fig. 3, it is the block diagram of device first embodiment of gesture provided by the invention input instruction.
The device of this gesture input instruction, comprising:
Obtain elementary area 10, gather the image information of gesture motion for interval preset time period, described image information comprises gesture motion gauge point image information;
Obtain approximate dot element 20, for described gesture motion gauge point image information is projected in default image lattice, the moving direction variation tendency according to gesture motion gauge point obtains the net point nearest with described gesture motion gauge point;
Obtain symbolic unit 30, for according to vector catenation principle, according to time sequencing, described net point is coupled together formation continuous symbol;
Obtain command unit 40, for according to described continuous symbol, obtain the instruction corresponding to gesture input.
To sum up, the device of the gesture input instruction that the technical program provides, the image information of the corresponding gesture motion collected by real time parsing, obtain the instruction of corresponding gesture motion input, to realize the effect issuing out operational order in the situation not contacting smart machine, complete the Long-distance Control to smart machine, mode of operation is simple, user experience good.
Please refer to Fig. 4, it is the block diagram of device second embodiment of gesture provided by the invention input instruction.The key distinction that the present embodiment and gesture input device first embodiment of instruction is, adds and terminates to obtain command unit 50.
The device of this gesture input instruction, comprising:
Obtain elementary area 10, gather the image information of gesture motion for interval preset time period, described image information comprises gesture motion gauge point image information;
Obtain approximate dot element 20, for described gesture motion gauge point image information is projected in default image lattice, the moving direction variation tendency according to gesture motion gauge point obtains the net point nearest with described gesture motion gauge point;
Obtain symbolic unit 30, for according to vector catenation principle, according to time sequencing, described net point is coupled together formation continuous symbol;
Obtain command unit 40, for according to described continuous symbol, obtain the instruction corresponding to gesture input.
Wherein, described acquisition elementary area 10, specifically for:
Pre-set gesture motion Image Database, described gesture motion Image Database comprises the gesture motion shape information of built vertical corresponding relation, gesture motion colouring information and gesture motion monochrome information;
Interval preset time period gathers the image information of gesture motion, the image information collected is mated with described gesture motion Image Database;
If the gesture motion shape information of the image information collected and described gesture motion Image Database, gesture motion colouring information, gesture motion monochrome information are mated one by one, then confirm that the image information collected is effective gesture motion image information;
The gesture motion gauge point image information in gesture motion image information is confirmed the validity according to default rule.
Wherein, described default rule, comprising:
The point that in effective gesture motion image information, brightness is the strongest is gesture motion gauge point image information, or;
The point that in effective gesture motion image information, colourity is the highest is gesture motion gauge point image information.
Wherein, described instruction comprises input character instruction and/or operation steering order;
Described acquisition command unit 40, specifically for:
According to described continuous symbol, in preset characters storehouse, find corresponding character, obtain the input character instruction corresponding to gesture input, or;
According to described continuous symbol, find corresponding instruction in built vertical instruction with the preset instructions storehouse of the corresponding relation of continuous symbol, obtain the operation steering order corresponding to gesture input, or;
According to the size of described continuous symbol and continuous symbol, calculate the mobile changing value of gesture motion gauge point image information corresponding to described continuous symbol within the default unit interval;
If described mobile changing value is 0 and the duration that mobile changing value is the state of 0 is less than or equal to default traveling time, then obtain the length of corresponding gesture input by instruction;
If described mobile changing value is 0 and the duration that mobile changing value is the state of 0 is less than or equal to default traveling time, the moving direction of subsequent gesture action mark dot image information changes, then obtain the dragging instruction of corresponding gesture input;
If described mobile changing value is not 0, then according to the moving direction variation tendency of gesture motion gauge point image information, obtain the slip instruction of corresponding gesture input.
Wherein, the device of described gesture input instruction also comprises end and obtains command unit 50,
Described end obtains command unit 50, if do not have incident point for the gesture motion gauge point image information that described continuous symbol is corresponding in the image lattice preset, then terminates the process obtaining current gesture input instruction, or; If the gesture motion gauge point image information corresponding according to described continuous symbol, the mobile changing value calculating described gesture motion gauge point image information within the default unit interval is 0, and the duration that mobile changing value is the state of 0 is more than or equal to default rest time, then terminate the process obtaining current gesture input instruction.
To sum up, the device of the gesture input instruction that the technical program provides, greatly can improve the intelligent remote-controlled operation mode of Android intelligent equipment, can widely popularize in Android intelligent equipment, also can realize remote-controlled operation in some intelligent televisions or Set Top Box.
A method and apparatus for gesture input instruction, can issue out operational order in the situation not contacting smart machine, realize the Long-distance Control to smart machine, mode of operation is simple, user experience good.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, this program can be stored in a computer-readable recording medium, and storage medium can comprise storer, disk or CD etc.
Above content is only preferred embodiment of the present invention, and for those of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, this description should not be construed as limitation of the present invention.
Claims (10)
1. a method for gesture input instruction, is characterized in that, comprising:
Interval preset time period gathers the image information of gesture motion, and described image information comprises gesture motion gauge point image information;
Described gesture motion gauge point image information is projected in default image lattice, and the moving direction variation tendency according to gesture motion gauge point obtains the net point nearest with described gesture motion gauge point;
According to vector catenation principle, according to time sequencing, described net point is coupled together formation continuous symbol;
According to described continuous symbol, obtain the instruction corresponding to gesture input.
2. the method for gesture input instruction according to claim 1, it is characterized in that, described interval preset time period gathers the image information of gesture motion, and described image information comprises gesture motion gauge point image information, comprising:
Pre-set gesture motion Image Database, described gesture motion Image Database comprises the gesture motion shape information of built vertical corresponding relation, gesture motion colouring information and gesture motion monochrome information;
Interval preset time period gathers the image information of gesture motion, the image information collected is mated with described gesture motion Image Database;
If the gesture motion shape information of the image information collected and described gesture motion Image Database, gesture motion colouring information, gesture motion monochrome information are mated one by one, then confirm that the image information collected is effective gesture motion image information;
The gesture motion gauge point image information in gesture motion image information is confirmed the validity according to default rule.
3. the method for gesture input instruction according to claim 2, it is characterized in that, described default rule, comprising:
The point that in effective gesture motion image information, brightness is the strongest is gesture motion gauge point image information, or;
The point that in effective gesture motion image information, colourity is the highest is gesture motion gauge point image information.
4. the method for gesture input instruction according to claim 1, is characterized in that, described instruction comprises input character instruction and/or operation steering order;
Described according to described continuous symbol, obtain the instruction corresponding to gesture input, comprising:
According to described continuous symbol, in preset characters storehouse, find corresponding character, obtain the input character instruction corresponding to gesture input, or;
According to described continuous symbol, find corresponding instruction in built vertical instruction with the preset instructions storehouse of the corresponding relation of continuous symbol, obtain the operation steering order corresponding to gesture input, or;
According to the size of described continuous symbol and continuous symbol, calculate the mobile changing value of gesture motion gauge point image information corresponding to described continuous symbol within the default unit interval;
If described mobile changing value is 0 and the duration that mobile changing value is the state of 0 is less than or equal to default traveling time, then obtain the length of corresponding gesture input by instruction;
If described mobile changing value is 0 and the duration that mobile changing value is the state of 0 is less than or equal to default traveling time, the moving direction of subsequent gesture action mark dot image information changes, then obtain the dragging instruction of corresponding gesture input;
If described mobile changing value is not 0, then according to the moving direction variation tendency of gesture motion gauge point image information, obtain the slip instruction of corresponding gesture input.
5. the method for gesture input instruction according to claim 1, is characterized in that, described according to described continuous symbol, after obtaining the instruction corresponding to gesture input, also comprises:
If the gesture motion gauge point image information that described continuous symbol is corresponding does not have incident point in the image lattice preset, then terminate the process obtaining current gesture input instruction, or;
If the gesture motion gauge point image information corresponding according to described continuous symbol, the mobile changing value calculating described gesture motion gauge point image information within the default unit interval is 0, and the duration that mobile changing value is the state of 0 is more than or equal to default rest time, then terminate the process obtaining current gesture input instruction.
6. a device for gesture input instruction, is characterized in that, comprising:
Obtain elementary area, gather the image information of gesture motion for interval preset time period, described image information comprises gesture motion gauge point image information;
Obtain approximate dot element, for described gesture motion gauge point image information is projected in default image lattice, the moving direction variation tendency according to gesture motion gauge point obtains the net point nearest with described gesture motion gauge point;
Obtain symbolic unit, for according to vector catenation principle, according to time sequencing, described net point is coupled together formation continuous symbol;
Obtain command unit, for according to described continuous symbol, obtain the instruction corresponding to gesture input.
7. the device of gesture input instruction according to claim 6, is characterized in that:
Described acquisition elementary area, specifically for:
Pre-set gesture motion Image Database, described gesture motion Image Database comprises the gesture motion shape information of built vertical corresponding relation, gesture motion colouring information and gesture motion monochrome information;
Interval preset time period gathers the image information of gesture motion, the image information collected is mated with described gesture motion Image Database;
If the gesture motion shape information of the image information collected and described gesture motion Image Database, gesture motion colouring information, gesture motion monochrome information are mated one by one, then confirm that the image information collected is effective gesture motion image information;
The gesture motion gauge point image information in gesture motion image information is confirmed the validity according to default rule.
8. the device of gesture input instruction according to claim 7, is characterized in that:
Described default rule, comprising:
The point that in effective gesture motion image information, brightness is the strongest is gesture motion gauge point image information, or;
The point that in effective gesture motion image information, colourity is the highest is gesture motion gauge point image information.
9. the device of gesture input instruction according to claim 6, is characterized in that:
Described instruction comprises input character instruction and/or operation steering order;
Described acquisition command unit, specifically for:
According to described continuous symbol, in preset characters storehouse, find corresponding character, obtain the input character instruction corresponding to gesture input, or;
According to described continuous symbol, find corresponding instruction in built vertical instruction with the preset instructions storehouse of the corresponding relation of continuous symbol, obtain the operation steering order corresponding to gesture input, or;
According to the size of described continuous symbol and continuous symbol, calculate the mobile changing value of gesture motion gauge point image information corresponding to described continuous symbol within the default unit interval;
If described mobile changing value is 0 and the duration that mobile changing value is the state of 0 is less than or equal to default traveling time, then obtain the length of corresponding gesture input by instruction;
If described mobile changing value is 0 and the duration that mobile changing value is the state of 0 is less than or equal to default traveling time, the moving direction of subsequent gesture action mark dot image information changes, then obtain the dragging instruction of corresponding gesture input;
If described mobile changing value is not 0, then according to the moving direction variation tendency of gesture motion gauge point image information, obtain the slip instruction of corresponding gesture input.
10. the device of gesture input instruction according to claim 6, is characterized in that:
The device of described gesture input instruction also comprises end and obtains command unit,
Described end obtains command unit, if do not have incident point for the gesture motion gauge point image information that described continuous symbol is corresponding in the image lattice preset, then terminates the process obtaining current gesture input instruction, or; If the gesture motion gauge point image information corresponding according to described continuous symbol, the mobile changing value calculating described gesture motion gauge point image information within the default unit interval is 0, and the duration that mobile changing value is the state of 0 is more than or equal to default rest time, then terminate the process obtaining current gesture input instruction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410756707.5A CN104461321B (en) | 2014-12-10 | 2014-12-10 | A kind of method and apparatus of gesture input instruction |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410756707.5A CN104461321B (en) | 2014-12-10 | 2014-12-10 | A kind of method and apparatus of gesture input instruction |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104461321A true CN104461321A (en) | 2015-03-25 |
CN104461321B CN104461321B (en) | 2017-10-13 |
Family
ID=52907464
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410756707.5A Active CN104461321B (en) | 2014-12-10 | 2014-12-10 | A kind of method and apparatus of gesture input instruction |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104461321B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102096471A (en) * | 2011-02-18 | 2011-06-15 | 广东威创视讯科技股份有限公司 | Human-computer interaction method based on machine vision |
US20120223894A1 (en) * | 2011-03-04 | 2012-09-06 | Microsoft Corporation | Multi-pass touch contact tracking |
CN103150019A (en) * | 2013-03-12 | 2013-06-12 | 深圳市国华识别科技开发有限公司 | Handwriting input system and method |
-
2014
- 2014-12-10 CN CN201410756707.5A patent/CN104461321B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102096471A (en) * | 2011-02-18 | 2011-06-15 | 广东威创视讯科技股份有限公司 | Human-computer interaction method based on machine vision |
US20120223894A1 (en) * | 2011-03-04 | 2012-09-06 | Microsoft Corporation | Multi-pass touch contact tracking |
CN103150019A (en) * | 2013-03-12 | 2013-06-12 | 深圳市国华识别科技开发有限公司 | Handwriting input system and method |
Also Published As
Publication number | Publication date |
---|---|
CN104461321B (en) | 2017-10-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104076986B (en) | A kind of method of toch control for multiple point touching terminal and equipment | |
CN106598227B (en) | Gesture identification method based on Leap Motion and Kinect | |
JP5991041B2 (en) | Virtual touch screen system and bidirectional mode automatic switching method | |
CN102854982B (en) | Method for recognizing customized gesture tracks | |
CN103294401A (en) | Icon processing method and device for electronic instrument with touch screen | |
US20130050076A1 (en) | Method of recognizing a control command based on finger motion and mobile device using the same | |
CN107943365B (en) | Line handwriting presenting method and device, electronic equipment and storage medium | |
US20150154444A1 (en) | Electronic device and method | |
CN104991684A (en) | Touch control device and working method therefor | |
US10394434B2 (en) | Apparatus and method for recognizing proximity motion using sensors | |
CN114327064A (en) | Plotting method, system, equipment and storage medium based on gesture control | |
CN103425409A (en) | Control method and device for projection display | |
CN103092334A (en) | Virtual mouse driving device and virtual mouse simulation method | |
CN104199548A (en) | Man-machine interactive type virtual touch device, system and method | |
CN102662511A (en) | Method and terminal for carrying out control operation through touch screen | |
CN105808129B (en) | Method and device for quickly starting software function by using gesture | |
US20130229348A1 (en) | Driving method of virtual mouse | |
CN112488059B (en) | Spatial gesture control method based on deep learning model cascade | |
CN104375630A (en) | Public information terminal based on Kinect | |
CN105373329A (en) | Interactive method and system for display and booth | |
CN103995638A (en) | Data processing apparatus, data processing system, and non-transitory computer readable medium | |
CN105205786A (en) | Image depth recovery method and electronic device | |
CN110333780A (en) | Function triggering method, device, equipment and storage medium | |
CN104461321A (en) | Method and device for gestural inputting of instructions | |
Fujiwara et al. | Interactions with a line-follower: An interactive tabletop system with a markerless gesture interface for robot control |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
C53 | Correction of patent of invention or patent application | ||
CB02 | Change of applicant information |
Address after: 200233 Guiping Road, Xuhui District, No. 391, building 20, floor 3, Applicant after: Shanghai Zhuo Yi Science and Technology Co., Ltd. Address before: 200233 Shanghai City, Xuhui District Guiping road B new Caohejing International Business Center No. 391 20 floor Applicant before: Shanghai TYD Electronic Technology Co., Ltd. |
|
COR | Change of bibliographic data |
Free format text: CORRECT: APPLICANT; FROM: SHANGHAI TYD ELECTRONIC TECHNOLOGY CO., LTD. TO: SHANGHAI ZHUOYI TECHNOLOGY CO., LTD. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |