The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of gesture identification method and device, and enhancing effect is realized with simplificationProcess, improves the speed for realizing enhancing effect, and then rapidly realize enhancing effect.Concrete technical scheme is as follows:
On the one hand, the embodiments of the invention provide a kind of gesture identification method, applied to three-dimensional virtual environment, including:
The status gestures of detection gesture, wherein, the status gestures are represented, into the enhancing effect hand of three-dimensional virtual environmentGesture identification state, default posture;
After the status gestures are detected, the first gesture and another hand of hand are detected in the gestureTo the first gesture carry out enhancing effect second gesture;
First gesture described in the gesture and the second gesture are recognized, so as to perform the first gesture and describedSecond gesture, the gesture for carrying out enhancing effect is acted to the first gesture.
Optionally, the status gestures of the detection gesture, including:
When two hands are in alignment in detecting the gesture, it is determined that detecting the status gestures of the gesture.
It is optionally, described that to detect two hands in the gesture in alignment, including:
At least two major control points of every hand in the gesture are recognized, wherein, the major control point characterizes handActive situation;
Detect the major control point it is in alignment when, determine that two hands are in alignment in the gesture.
Optionally, in the detection gesture first gesture of hand and another hand to described first-handGesture carries out the second gesture of enhancing effect, including:
Detect in the gesture one it is pushing by motionless, another hand makes operational motion, wherein, the operational motion bagInclude:Click on, slide;
Or
Detect that two hands make operational motion described in identical in the gesture.
Optionally, first gesture and the second gesture described in the identification gesture, so as to perform described firstGesture and the second gesture, the gesture for carrying out enhancing effect is acted to the first gesture, including:
Recognize the first gesture and the second gesture actions taken;
According to the corresponding relation of the action and operation of gesture, perform that the first gesture and the second gesture made is dynamicMake corresponding operation.
Optionally, the gesture actions taken, the operation object of respective operations includes:Functionality controls, wherein, the work(Energy control includes:Realize the corresponding button of function.
On the other hand, the embodiment of the present invention additionally provides a kind of gesture identifying device, including:
First detection module, for the status gestures of detection gesture, wherein, the status gestures are represented, into three-dimensional voidThe enhancing effect gesture identification state in near-ring border, default posture;
Second detection module, for after the status gestures are detected, detecting first of a hand in the gestureThe second gesture that enhancing effect is carried out to the first gesture of gesture and another hand;
Identification module, for recognizing first gesture described in the gesture and the second gesture, so as to perform described theOne gesture and the second gesture, the gesture for carrying out enhancing effect is acted to the first gesture.
Optionally, the first detection module, including, determination sub-module, for two hands in the gesture is detectedWhen in alignment, it is determined that detecting the status gestures of the gesture.
Optionally, the determination sub-module, including:
Identification major control dot element, at least two major control points for recognizing every hand in the gesture, wherein,The major control point characterizes the active situation of hand;
Determining unit, for detect the major control point it is in alignment when, determine in the gesture two hands intoStraight line.
Optionally, second detection module, including:
First detection sub-module, for detect in the gesture one it is pushing by motionless, another hand makes operational motion,Wherein, the operational motion includes:Click on, slide;
Second detection sub-module, for detecting that two hands make operational motion described in identical in the gesture.
Optionally, the identification module, including:
Identification maneuver submodule, for recognizing the first gesture and the second gesture actions taken;
Implementation sub-module, for the corresponding relation of action and operation according to gesture, performs the first gesture and describedThe corresponding operation of second gesture actions taken.
Optionally, the gesture actions taken, the operation object of respective operations includes:Functionality controls, wherein, function controlPart includes:Realize the corresponding button of function.
Gesture identification method and device provided in an embodiment of the present invention, the gesture of realizing enhancing effect can be detected firstStatus gestures;Then, the prime of a hand of enhancing effect is realized after status gestures are detected, in detection gesture,Realize the second of the another hand of operation;Recognize prime and second in gesture so that according to prime andSecond, realizes enhancing effect.The embodiment of the present invention proposes a kind of status gestures and is combined with the specific posture of two handsInteractive mode, be directly realized by enhancing effect, it is no longer necessary to repeat existing interactive mode, reach and quickly realize enhancing effectPurpose.Meanwhile, in the embodiment of the present invention, the combination of the posture of the status gestures of gesture and two hands, different from existing gestureThe posture of hand is only detected in identification, is also caused when carrying out gesture identification during realizing enhancing effect, it is not easy to obscure, produceMaloperation.Certainly, implementing any product or method of the present invention must be not necessarily required to while reaching all the above advantage.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, completeSite preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based onEmbodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not madeEmbodiment, belongs to the scope of protection of the invention.
Fig. 1 is the flow chart of gesture identification method of the embodiment of the present invention, and reference picture 1 is to gesture identification side of the embodiment of the present inventionMethod is described in detail, including:
Step 101, the status gestures of detection gesture, wherein, status gestures indicate entry into the enhancing effect of three-dimensional virtual environmentThe default posture of fruit gesture identification state.
During into gesture identification, status gestures are detected first, when detecting the status gestures, are illustrated in three-dimensional ringIn border, enhancing effect gesture identification state is entered.Wherein, the status gestures can be a kind of default user-defined appearanceGesture, can be that two hands are put into fixed shape, such as either two flat acts of hands or two hands are straight into one for two hand expansionLine.It should be noted that it is existing in three-dimensional virtual environment, realize that effect is Direct Recognition gesture by gesture identification methodSpecific action, and then operated accordingly according to action executing.And the embodiment of the present invention is in order to when realizing enhancing effect, firstInto the state of enhancing effect gesture identification state, then in this condition, continue through specific gesture and perform corresponding increasePotent fruit.
Step 102, after status gestures are detected, the first gesture and another hand of hand in detection gestureTo first gesture carry out enhancing effect second gesture.
Status gestures are detected, i.e., into enhancing effect gesture identification state, pass through the first of two hands in this caseGesture and second gesture, realize the enhancing effect in virtual environment.Detection first gesture and second gesture, are examined at the same time respectivelyWhen measuring first gesture and second gesture, then first gesture and the corresponding operation of second gesture are can perform, and then realize enhancing effectReally.
It should be noted that corresponding first gesture and second gesture can be user-defined hands to two hands respectivelyGesture.
Step 103, first gesture and second gesture in identification gesture, so as to perform in first gesture and second gesture,The gesture for carrying out enhancing effect is acted to first gesture.
In order to reduce the maloperation between gesture, first gesture and second-hand of the gesture of the embodiment of the present invention by two handsGesture is constituted.Enhancing effect is completed by the corresponding gesture of two hands.The effect chosen is performed by clicking before for example, by thisThe first gesture and second gesture of two hands of inventive embodiments are directly realized by the effect of removable state, and realization of skipping is clicked on beforeThe effect skipped page by page, the embodiment of the present invention is realized enhanced each by the first gesture and second gesture of two handsChange the effects of skipping of page five.
Wherein, first gesture and second gesture in identification gesture, on the one hand can be by wearing the infrared knowledge after special glovesNot;On the one hand it can be recognized by figure.In a kind of achievable mode of the embodiment of the present invention, known using more convenient figureFirst gesture and second gesture in other means identification gesture.
Gesture identification method of the embodiment of the present invention, first detection enter the enhancing effect gesture identification shape of three-dimensional virtual environmentThe status gestures of state;Then after the status gestures are detected, the first gesture and another of hand in detection gestureThe second gesture that enhancing effect is carried out to first gesture of hand;First gesture and second gesture in gesture are finally recognized, so as to holdIn row first gesture and second gesture, the gesture for carrying out enhancing effect is acted to first gesture, reaches to simplify and realizes enhancing effectThe process of fruit, improves the purpose for the speed for realizing enhancing effect, and then rapidly realizes enhancing effect.
In a kind of optional embodiment of the embodiment of the present invention, the status gestures of detection gesture, including:
When two hands are in alignment in detecting gesture, it is determined that detecting the status gestures of gesture.
Two hands are front and rear or left-right situs is to collinear mode, on the one hand for a user, easily realize, graspMake;On the other hand, the daily exercise difference with conventional gesture or hand is larger, it is not easy to maloperation.
It should be noted that status gestures can be user-defined any posture.The embodiment of the present invention is a kind ofIn optional implementation, in order that user is easier to operate to, meanwhile, in order to which the daily exercise with conventional gesture or hand is madeDifference, defines two hand status gestures in alignment for gesture.I.e. when detect two hands it is in alignment when, then illustrateInto the enhancing effect gesture identification state of three-dimensional virtual environment, detect two hands it is in alignment after, continue to detect twoThe specific gesture of hand, and then gesture is recognized, enhancing effect is realized, wherein, in actual application process, two hands can beTwo hands of same person or two hands of different people.
By the above it can be seen that, detection status gestures are a quick important steps for realizing enhancing effect, i.e.,Detect that two hand processes in alignment are gesture identifications, and then realize the essential process of enhancing effect.Institute is followingIt is described in detail in face of two hand processes in alignment of detection.
In a kind of optional embodiment of the embodiment of the present invention, it is in alignment to detect two hands in gesture, including:
At least two major control points of every hand in gesture are recognized, wherein, major control point characterizes the active situation of hand.
Detect major control point it is in alignment when, determine that two hands are in alignment in gesture.
Fig. 2 is that the embodiment of the present invention recognizes a kind of two hands schematic diagram in alignment, and Fig. 3 knows for the embodiment of the present inventionOther two hands another schematic diagram in alignment, Fig. 4 is that the embodiment of the present invention recognizes in alignment another of two handsSchematic diagram is planted, two hand processes in alignment of detection are specifically described by reference picture 2, Fig. 3 and Fig. 4.
In three-dimensional virtual environment, two hands are lifted first, detect two hands raised, as shown in Figure 2.
Then the finger major control point of every hand is recognized respectively, such as shown in Fig. 3, forefinger in two hands is recognized respectivelyTwo major control points, certainly, two major control points mentioned here are most simple, bases, in actual use processIn, it is necessary to which the quantity of major control point of identification can be determined as the case may be, the embodiment of the present invention is not to main controlThe quantity of system point makees specifically limited, as long as meeting the condition of at least two major control points, recognizes any amount of major controlPoint belongs to the protection domain of the embodiment of the present invention.
It should be noted that because the major control point of finger characterizes the active situation of hand, by recognizing fingerMajor control point can just identify the active situation of hand.The major control point of finger can be the major control of any fingerPoint, the embodiment of the present invention is not to recognizing that the major control point of which finger is restricted.
In addition, it should also be noted that, specifically identification finger control point be technical field prior art,Here just repeat no more.
Finally, detect whether the major control point of two hands is in alignment, it is straight into one detecting major control pointDuring line, it is determined that two hands are in alignment in gesture, further relate to detect the enhancing effect hand into three-dimensional virtual environmentThe status gestures of gesture identification state.Specifically, can be the discharge in alignment of two hand vertical direction, two hand forefingers be recognizedOn major control point it is whether in alignment, as shown in Figure 4;Or the discharge in alignment of two hand horizontal directions, identificationWhether the major control point on two hand forefingers and middle finger is in alignment.In the discharge in alignment of two hand vertical directionWhen, when the major control point on two hand forefingers is in alignment, or two hand horizontal directions are in alignment, two hands foodsWhen major control point on finger and middle finger is in alignment, determine that two hands are in alignment.
Detect two hands it is in alignment after, that is, detect the enhancing effect gesture identification shape into three-dimensional virtual environmentAfter the status gestures of state, the first gesture and second gesture of two hands in following detection gesture, one kind of the embodiment of the present invention canIn the embodiment of choosing, the first gesture of hand and another hand carries out enhancing effect to first gesture in detection gestureSecond gesture, including:
In detection gesture one it is pushing by motionless, another hand makes operational motion, wherein, operational motion includes:Click on,Slide.
Or
Two hands make identical operational motion in detection gesture.
The embodiment of the present invention is combined by two hands, rapidly realizes enhancing effect, wherein, two hands are corresponding first-handGesture and second gesture, first gesture and second gesture can be user-defined gestures.Such as long-press, click, slip, amplificationOr reduce etc..In order to easily facilitate understanding, by being defined as long-press by one in first gesture and second gesture, another determinesJustice is the gesture or two hands for realizing specific effect while being defined as realizing the gesture of specific effect, in this way, the gesture of two handsWith reference to, it is possible to realize enhancing effect.General effect, the embodiment of the present invention are realized in contrast to the existing gesture with a handEnhanced effect is realized using two hands, by the quantity of hand with realizing that effect direct proportion is associated, while learning cost can be reduced.SeparatelyOutside, it is necessary to which explanation, operational motion is specific first gesture and second gesture described above, for example, long-press, pointHit, slide, zoom in or out.
Meanwhile, first gesture and second gesture in identification gesture, so as to perform in first gesture and second gesture, to theOne gesture motion carries out the gesture of enhancing effect, including:
Recognize first gesture and second gesture actions taken.
According to the corresponding relation of the action and operation of gesture, perform first gesture and second gesture actions taken is correspondingOperation.
First gesture and second gesture make specific action, and the action of different gestures corresponds to different operations, enteredAnd in actual applications, according to the corresponding relation of the action and operation of gesture, perform that first gesture and second gesture made is dynamicMake corresponding operation, be finally completed interaction, realize enhancing effect.
It can define different gestures according to specific application and realize enhancing effect, be exemplified below:
1) stage property in playing, is clicked to choose, and is directly changed into removable state after reinforcement;
It is existing to click stage property button, then the effect for choosing stage property is realized, corresponding to gesture identification side of the embodiment of the present inventionIn method, the embodiment of the present invention is by the first gesture of a hand to click stage property button, and another is pushing to be pressed, or first gestureWith second gesture all to click stage property button, the action of two hand gestures is combined, you can realize enhanced effect:Directly willStage property is changed into removable state.
2) fast forward button is clicked for F.F. at a slow speed, is quick F.F. after reinforcement;
It is existing to click fast forward button, realize the effect of F.F. at a slow speed;Corresponding to gesture identification method of the embodiment of the present inventionIn, the embodiment of the present invention is by the first gesture of a hand to click fast forward button, and another is pushing to be pressed, or first gesture andSecond gesture is all to click fast forward button, and the action of two hand gestures is combined, you can realize enhanced effect:It is quick fastEnter.
3) click on and skip to change page by page, be the replacing of page five every time after reinforcement;
It is existing to click the button that skips, realize the effect changed page by page;Corresponding to gesture identification of the embodiment of the present inventionIn method, the embodiment of the present invention is by the first gesture of a hand to click the button that skips, and another is pushing to be pressed, or first-handGesture and second gesture are all to click the button that skips, and the action of two hand gestures is combined, you can realize enhanced effect:Every timeThe replacings of page five.
4) video poster is clicked to check after details, reinforcement to be direct opening video;
It is existing to click video poster, realize the effect for checking details;Corresponding to gesture identification method of the embodiment of the present inventionIn, the embodiment of the present invention is by the first gesture of a hand to click video poster, and another is pushing to be pressed, or first gesture andSecond gesture is all to click video poster, and the action of two hand gestures is combined, you can realize enhanced effect:Directly openVideo.
5) singlehanded in playing is A technical ability, is changed into the B technical ability after technical ability A upgradings after reinforcement.
From the foregoing it will be seen that the embodiment of the present invention realizes the process of enhancing effect, prior art is compared to, canThe purpose quickly realized with reaching.In the prior art, fast forward button is for example clicked, the effect of realization is F.F. at a slow speed, wants realityThe effect of existing enhanced quick F.F., can only click fast forward button by being repeated several times, and then realize enhanced quick F.F.Enhancing effect.The embodiment of the present invention is combined by the first gesture and second gesture of two hands, at the same click quick F.F. byButton or one it is pushing click quick fast forward button by, another hand, enhancing effect can be directly realized by without repeating, such asThis can quickly realize the enhancing effect of quick F.F..
In addition, it is necessary to illustrate, gesture actions taken, the operation object bag of respective operations in the embodiment of the present inventionInclude:Functionality controls, wherein, functionality controls include:Realize the corresponding button of function.
For example, clicking on, sliding or long-press, the corresponding button of function, i.e. functionality controls are realized, and then realize enhancing effectReally.
Gesture identification method of the embodiment of the present invention, the enhancing effect gesture identification shape of three-dimensional virtual environment is entered by detectingThe status gestures of state, then after the status gestures are detected, detect and recognize the first gesture and second gesture of two hands, enterAnd realize and quickly realize enhancing effect.Meanwhile, the quick gesture for realizing enhancing effect provided in an embodiment of the present invention make use of threeThe advantage of dimension space, distinguishes larger so that during enhancing effect is realized, it is not easy to maloperation with existing gesture.
The embodiment of the present invention additionally provides a kind of gesture identifying device, and applied to three-dimensional virtual environment, Fig. 5 is real for the present inventionThe structural representation of a gesture identifying device is applied, gesture identifying device of the embodiment of the present invention is described in detail reference picture 5, wrappedInclude:
First detection module 501, for the status gestures of detection gesture, wherein, status gestures indicate entry into three-dimensionalThe default posture of the enhancing effect gesture identification state of environment.
Second detection module 502, for after status gestures are detected, the first gesture of a hand in detection gesture,And the second gesture that enhancing effect is carried out to first gesture of another hand.
Identification module 503, for recognizing first gesture and second gesture in gesture, so as to perform first gesture and secondGesture, the gesture for carrying out enhancing effect is acted to first gesture.
Gesture identifying device of the embodiment of the present invention, passes through first detection module 501, the second detection module 502 and identificationModule 503, first detection enter the status gestures of the enhancing effect gesture identification state of three-dimensional virtual environment;Then detectingAfter the status gestures, the first gesture of hand and another hand carries out enhancing effect to first gesture in detection gestureThe second gesture of fruit;First gesture and second gesture in gesture are finally recognized, so as to perform in first gesture and second gesture,The gesture for carrying out enhancing effect is acted to first gesture, the process for simplifying and realizing enhancing effect is reached, enhancing effect is realized in raisingSpeed purpose, and then rapidly realize enhancing effect.
Optionally, in a kind of optional embodiment of the embodiment of the present invention, first detection module 501, including, determine submoduleBlock, for when two hands are in alignment in detecting gesture, it is determined that detecting the status gestures of gesture.
Optionally, in a kind of optional embodiment of the embodiment of the present invention, determination sub-module, including:
Identification major control dot element, at least two major control points for recognizing every hand in gesture, wherein, mainlyControl point characterizes the active situation of hand.
Determining unit, for detect major control point it is in alignment when, determine that two hands are in alignment in gesture.
Optionally, in a kind of optional embodiment of the embodiment of the present invention, the second detection module 502, including:
First detection sub-module, pushing by motionless for one in detection gesture, another hand makes operational motion, itsIn, operational motion includes:Click on, slide.
Second detection sub-module, identical operational motion is made for two hands in detection gesture.
Optionally, in a kind of optional embodiment of the embodiment of the present invention, identification module 503, including:
Identification maneuver submodule, for recognizing first gesture and second gesture actions taken.
Implementation sub-module, for the corresponding relation of action and operation according to gesture, performs first gesture and second gestureThe corresponding operation of actions taken.
Optionally, in a kind of optional embodiment of the embodiment of the present invention, gesture actions taken, the operation pair of respective operationsAs including:Functionality controls, wherein, functionality controls include:Realize the corresponding button of function.
It should be noted that the device of the embodiment of the present invention is the device using above-mentioned gesture identification method, then above-mentioned handAll embodiments of gesture recognition methods are applied to the device, and can reach same or analogous beneficial effect.
It should be noted that herein, such as first and second or the like relational terms are used merely to a realityBody or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or deposited between operatingIn any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended toNonexcludability is included, so that process, method, article or equipment including a series of key elements not only will including thoseElement, but also other key elements including being not expressly set out, or also include being this process, method, article or equipmentIntrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded thatAlso there is other identical element in process, method, article or equipment including the key element.
Each embodiment in this specification is described by the way of related, identical similar portion between each embodimentDivide mutually referring to what each embodiment was stressed is the difference with other embodiment.It is real especially for systemApply for example, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the methodPart explanation.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is allAny modification, equivalent substitution and improvements made within the spirit and principles in the present invention etc., are all contained in protection scope of the present inventionIt is interior.