The content of the invention
It is an object of the present invention to provide a kind of new solution of the gesture identification for virtual reality device.
According to the first aspect of the invention, there is provided a kind of gesture identification method for virtual reality device, the void
Intending real world devices includes depth camera, and the gesture identification method includes:
The depth camera is controlled to gather the current hand images of active user;
Judge whether the active user performs hammer action according to the current hand images, in this way, then:
Current signature is extracted from the current hand images;
The current signature is matched with the fixed reference feature in model, the active user is determined according to matching result
The button of percussion.
Optionally, the gesture identification method also includes:
The depth camera collection is controlled with reference to the reference hand images of user;
The fixed reference feature is extracted from the reference hand images, and by fixed reference feature storage in the model
In.
Optionally, the virtual reality device also includes display screen, described to work as according to the present image judges
Whether preceding user also includes before tapping:
Shown on the display screen finger of keyboard image and the active user on the keyboard image just
Beginning position.
Optionally, the gesture identification method also includes:
According to the button that the active user taps, show the finger of the active user in institute on the display screen
State the current location on keyboard image.
According to the second aspect of the invention, there is provided a kind of gesture identifying device for virtual reality device, including:
First control module, for controlling the depth camera to gather the current hand images of active user;
Judge module, for judging whether the active user performs hammer action according to the current hand images;
Current signature extraction module, in the judged result of the judge module in the case of being, from described current
Current signature is extracted in hand images;
Matching module, it is true according to matching result for the current signature to be matched with the fixed reference feature in model
The button that the fixed active user taps.
Optionally, the gesture identifying device also includes:
Second control module, for controlling the depth camera collection with reference to the reference hand images of user;
Fixed reference feature extraction module, for extracting the fixed reference feature from the reference hand images, and by the ginseng
Characteristic storage is examined in the model.
Optionally, the virtual reality device also includes display screen, and the gesture identifying device also includes:
First display module, for showing the finger of keyboard image and the active user in institute on the display screen
State the initial position on keyboard image.
Optionally, the gesture identifying device also includes:
Second display module, the button that the active user for being determined according to the matching module taps, described
Current location of the finger of the active user on the keyboard image is shown on display screen.
According to the third aspect of the invention we, there is provided a kind of virtual reality device, including according to a second aspect of the present invention institute
The gesture identifying device stated.
According to the fourth aspect of the invention, there is provided a kind of virtual reality device, including depth camera, processor and deposit
Reservoir, the depth camera is used to gather image, and the memory is used for store instruction, and the instruction is used to control the place
Reason device performs gesture identification method described according to a first aspect of the present invention.
It was found by the inventors of the present invention that in the prior art, exist wear-type virtual reality device interaction be mainly it is logical
Cross language, gesture etc., it is impossible to realize the problem to the complex process of word.Therefore, the technical assignment to be realized of the present invention or
Person's technical problem to be solved be it is that those skilled in the art never expect or it is not expected that, therefore the present invention is a kind of
New technical scheme.
A beneficial effect of the invention is, by the present invention in that being distinguished with the Gesture Recognition of depth transducer
Various gestures, right-hand man confirm and finger fingertip coordinate is obtained, and in dummy keyboard being applied into reality, can be very good
The flexibility that user uses is heightened, while also releasing physical keyboard space, user is reduced because of complicated character input generation
Puzzlement, so as to improve Consumer's Experience.
By referring to the drawings to the detailed description of exemplary embodiment of the invention, further feature of the invention and its
Advantage will be made apparent from.
Specific embodiment
Describe various exemplary embodiments of the invention in detail now with reference to accompanying drawing.It should be noted that:Unless had in addition
Body illustrates that the part and the positioned opposite of step, numerical expression and numerical value for otherwise illustrating in these embodiments do not limit this
The scope of invention.
The description only actually at least one exemplary embodiment is illustrative below, never as to the present invention
And its any limitation applied or use.
May be not discussed in detail for technology, method and apparatus known to person of ordinary skill in the relevant, but suitable
In the case of, the technology, method and apparatus should be considered as a part for specification.
In all examples shown here and discussion, any occurrence should be construed as merely exemplary, without
It is as limitation.Therefore, other examples of exemplary embodiment can have different values.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi
It is defined in individual accompanying drawing, then it need not be further discussed in subsequent accompanying drawing.
In order to the interaction for solving wear-type virtual reality device present in prior art is mainly by language, gesture
Deng, it is impossible to realize the problem to the complex process of word, there is provided a kind of gesture identification method for virtual reality device, should
Virtual reality device includes depth camera.
Depth camera is also referred to as depth transducer or 3D sensors, for example, can be TOF cameras, sends modulated
Near infrared light, meet object back reflection, camera by calculate light launch and reflection interval differ from or phase difference clapped to convert
The distance of object is taken the photograph, to produce depth information, is shot in conjunction with traditional camera in addition, just can be by the three-D profile of object with not
The image for representing different distance with color is showed.
Fig. 1 is a kind of flow of the implementation method according to a kind of gesture identification method for virtual reality device of the invention
Figure.
According to Fig. 1, the gesture identification method is comprised the following steps:
Step S110, controlling depth camera gathers the current hand images of active user.
Specifically, for example can be control TOF cameras, modulated near infrared light be sent, meet the hand of active user
Back reflection, camera is launched with reflection interval difference or phase difference come active user's hand optional position of converting by calculating light
Distance, to produce depth information, shot in conjunction with traditional camera in addition, just can be by the three-D profile of hand in different colors
The current hand images for representing different distance are showed.
Step S120, judges whether active user performs hammer action according to hand images before deserving, and in this way, then performs step
Rapid S130;If not, continuing executing with step S110.
The curvature of hand profile each point in current hand images is collected according to depth camera, finger can be calculated
Sharp position.Each point to hand profile in current hand images determines each curvature put, finger according to certain step-length
The curvature of finger tip is that have a range of, by checking that each curvature put determines whether just to can determine that finger tip within the range
Position, the result judged by gesture and the position of finger tip can calculate the position of other key points of hand by morphology again,
Wherein, other key points for example can be joint.
Depth transducer can be arranged on the optional position above virtual reality device or before user's hand.
In a specific embodiment of the invention, the position of depth transducer can be provided on virtual reality device.Depth sensing
After device collects the current hand images of active user, be can be calculated by the curvature of hand profile point in current hand images
To the current finger tip coordinate of both hands of active user, user's hand other key points are extrapolated according to user's finger tip coordinate, hand refers to
Point and other key points are for example, by being that 3D Renderings obtain user's hand images and are imaged on the keyboard image of VR.Afterwards
Can confirm that the change in depth of user's finger so as to confirm whether there is percussion keyboard according to current hand images.
Using 3D Renderings so that image clearly, heightened the resolution ratio of image, and can suitably adjust visible angle and
Visual range.
Due to depth transducer obtain be depth map, according to hand from depth transducer distance, depth be it is different,
Therefore, when finger is lifted, depth value is smaller, and depth value is larger when finger falls, and may thereby determine that whether active user performs
Hammer action.
In one particular embodiment of the present invention, the virtual reality device also includes display screen, is performing step S120
Also include before:
Initial position of the finger of keyboard image and active user on the keyboard image is shown on a display screen.
When active user for example can be that wear-type virtual reality device carries out character input using the virtual unit, in order to
Mitigate the discomfort of active user's arm, active user can be by the object of the flat board of surrounding such as desk etc..Active user's is double
Hand can be placed according to the gesture of physical keyboard, and depth camera obtains current hand images and finger tip coordinate, can pass through
Be placed on left index finger at the button F of keyboard by index finger tip normalized, and the forefinger of the right hand is placed on the button J of keyboard
Place, active user can be according to the imaging of virtual reality device, appropriate other finger positions of adjustment, so as to fall each finger
Correct initial position.
In such manner, it is possible to so that active user is clear that on keyboard the position of the button for needing to press, be determined with this
The action of percussion, lifts Consumer's Experience.
Step S130, current signature is extracted from current hand images.
In one particular embodiment of the present invention, the extraction of current signature can be improved by neutral net (CNN)
What algorithm was realized.CNN innovatory algorithms, by convolution and the characteristic point (such as 10 is several) for obtaining user's hand, afterwards further according to
Maximum pond layer and full articulamentum so as to obtain all of neuron of hand, wherein, CNN innovatory algorithms can be used
The algorithm framework of the CNN such as caffe or tensorflow, then therefrom extract current signature.
Step S140, the current signature is matched with the fixed reference feature in model, is determined according to matching result current
The button that user taps.
Fixed reference feature for example can be stored before virtual reality device dispatches from the factory in a model, or active user
Stored before using the virtual reality device.
In one particular embodiment of the present invention, before step S140 is performed, the gesture identification method also includes:
The depth camera is controlled to gather the reference hand images with reference to user;
The fixed reference feature is extracted from the reference hand images, and by fixed reference feature storage in the model.
Particularly, collection user is on tapping the reference hand images of the various actions of hand of keyboard each button, and
Fixed reference feature is extracted from each reference hand images, is set up comprising the models for acting corresponding fixed reference feature various with hand,
The model for obtaining can be applied to be matched with current signature, if the match is successful, can determine and the reference that the match is successful
The button that the corresponding active user of feature taps.
After execution of step S140, the gesture identification method also includes:
According to the button that active user taps, the finger of active user working as on keyboard image is shown on a display screen
Front position.
Specifically, the method for showing current location of the finger of active user on keyboard image on a display screen, with
The method of above-mentioned display initial position can be with identical.
So, confirm by the present invention in that distinguishing various gestures, right-hand man with the Gesture Recognition of depth transducer
And finger fingertip coordinate is obtained, occurs finger tapping keyboard picture before user so as to complete the defeated of character or numeral
Enter, it becomes possible to during dummy keyboard applied into reality, can be very good to heighten the flexibility that user uses, while also releasing reality
Body keypad space, reduces the puzzlement that user produces by complicated character input, so as to improve Consumer's Experience.
Present invention also offers a kind of gesture identifying device for virtual reality device, Fig. 2 is according to of the invention a kind of
For a kind of frame principle figure of implementation structure of the gesture identifying device of virtual reality device.
According to Fig. 2, the gesture identifying device 200 includes the first control module 210, judge module 220, current signature
Extraction module 230 and matching module 240.
Above-mentioned first control module 210 is used for the current hand images that controlling depth camera gathers active user;
Above-mentioned judge module 220 is used to judge whether active user performs hammer action according to current hand images;
Above-mentioned current signature extraction module 230 is used for judged result in judge module in the case of being, from working as remote holder
Current signature is extracted in portion's image;
Above-mentioned matching module 240 is used to be matched current signature with the fixed reference feature in model, according to matching result
Determine the button that active user taps.
Specifically, the gesture identifying device also includes the second control module and fixed reference feature extraction module, the second control mould
Block is used for reference hand images of the controlling depth camera collection with reference to user;Fixed reference feature extraction module is used for from referring to hand
Fixed reference feature is extracted in image, and by fixed reference feature storage in a model.
Further, virtual reality device also includes display screen, and gesture identifying device also includes the first display module, is used for
Initial position of the finger of keyboard image and active user on keyboard image is shown on a display screen.
On this basis, gesture identifying device also includes the second display module, current for what is determined according to matching module
The button that user taps, shows current location of the finger of active user on keyboard image on a display screen.
Present invention also offers a kind of virtual reality device, according to one side, the virtual reality device includes of the invention
A kind of gesture identifying device 200 for virtual reality device.The virtual reality device for example can be virtual reality glasses, void
Intend the products such as the real helmet.
Fig. 3 is a kind of frame principle figure of implementation structure of the virtual reality device according to another aspect of the present invention.
According to Fig. 3, the virtual reality device 300 includes memory 301 and processor 302, and the memory 301 is used for
Store instruction, the instruction is operated to perform the above-mentioned gesture identification for virtual reality device for control process device 302
Method.
In addition, according to Fig. 3, the virtual reality device 300 also include interface arrangement 303, input unit 304,
Display device 305, communicator 306 etc..Although figure 3 illustrates multiple devices, the present invention can only relate to it
In partial devices, for example, processor 301, memory 302, interface arrangement 303 etc..
Above-mentioned communicator 306 can for example carry out wired or wireless communication.
Above-mentioned interface arrangement 303 is for example including earphone jack, USB interface etc..
Above-mentioned input unit 304 for example can be including touch-screen, button etc..
Above-mentioned display device 305 is, for example, LCDs, touch display screen etc..
The various embodiments described above primary focus describe the difference with other embodiment, but those skilled in the art should be clear
Chu, the various embodiments described above can as needed be used alone or be combined with each other.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment
Point cross-reference, what each embodiment was stressed is the difference with other embodiment, but people in the art
Member is it should be understood that the various embodiments described above can as needed be used alone or be combined with each other.In addition, for device
For embodiment, because it is corresponding with embodiment of the method, so describing fairly simple, related part is implemented referring to method
The explanation of the corresponding part of example.System embodiment described above is only schematical, wherein as separating component
The module of explanation can be or may not be physically separate.
The present invention can be system, method and/or computer program product.Computer program product can include computer
Readable storage medium storing program for executing, containing for making processor realize the computer-readable program instructions of various aspects of the invention.
Computer-readable recording medium can be the tangible of the instruction that holding and storage are used by instruction execution equipment
Equipment.Computer-readable recording medium for example can be-- but be not limited to-- storage device electric, magnetic storage apparatus, optical storage
Equipment, electromagnetism storage device, semiconductor memory apparatus or above-mentioned any appropriate combination.Computer-readable recording medium
More specifically example (non exhaustive list) includes:Portable computer diskette, hard disk, random access memory (RAM), read-only deposit
It is reservoir (ROM), erasable programmable read only memory (EPROM or flash memory), static RAM (SRAM), portable
Compact disk read-only storage (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanical coding equipment, for example thereon
Be stored with instruction punch card or groove internal projection structure and above-mentioned any appropriate combination.Calculating used herein above
Machine readable storage medium storing program for executing is not construed as instantaneous signal in itself, the electromagnetic wave of such as radio wave or other Free propagations, logical
Cross electromagnetic wave (for example, the light pulse for passing through fiber optic cables) that waveguide or other transmission mediums propagate or by wire transfer
Electric signal.
Computer-readable program instructions as described herein can from computer-readable recording medium download to each calculate/
Processing equipment, or outer computer or outer is downloaded to by network, such as internet, LAN, wide area network and/or wireless network
Portion's storage device.Network can include copper transmission cable, Optical Fiber Transmission, be wirelessly transferred, router, fire wall, interchanger, gateway
Computer and/or Edge Server.Adapter or network interface in each calculating/processing equipment are received from network to be counted
Calculation machine readable program instructions, and the computer-readable program instructions are forwarded, for storing the meter in each calculating/processing equipment
In calculation machine readable storage medium storing program for executing.
For perform the present invention operation computer program instructions can be assembly instruction, instruction set architecture (ISA) instruction,
Machine instruction, machine-dependent instructions, microcode, firmware instructions, condition setup data or with one or more programming language
Source code or object code that any combination is write, programming language of the programming language including object-oriented-such as
Smalltalk, C++ etc., and routine procedural programming languages-such as " C " language or similar programming language.Computer
Readable program instructions can perform fully on the user computer, partly perform on the user computer, as one solely
Vertical software kit is performed, part performs or completely in remote computer on the remote computer on the user computer for part
Or performed on server.In the situation for being related to remote computer, remote computer can be by the network-bag of any kind
LAN (LAN) or wide area network (WAN)-be connected to subscriber computer are included, or, it may be connected to outer computer (such as profit
With ISP come by Internet connection).In certain embodiments, by using computer-readable program instructions
Status information carry out personalized customization electronic circuit, such as PLD, field programmable gate array (FPGA) or can
Programmed logic array (PLA) (PLA), the electronic circuit can perform computer-readable program instructions, so as to realize each side of the invention
Face.
Referring herein to method according to embodiments of the present invention, device (system) and computer program product flow chart and/
Or block diagram describes various aspects of the invention.It should be appreciated that each square frame and flow chart of flow chart and/or block diagram and/
Or in block diagram each square frame combination, can be realized by computer-readable program instructions.
These computer-readable program instructions can be supplied to all-purpose computer, special-purpose computer or other programmable datas
The processor of processing unit, so as to produce a kind of machine so that these instructions are by computer or other programmable datas
During the computing device of processing unit, work(specified in one or more square frames realized in flow chart and/or block diagram is generated
The device of energy/action.Can also be the storage of these computer-readable program instructions in a computer-readable storage medium, these refer to
Order causes that computer, programmable data processing unit and/or other equipment work in a specific way, so that, be stored with instruction
Computer-readable medium then includes a manufacture, and it includes realizing in one or more square frames in flow chart and/or block diagram
The instruction of the various aspects of the function/action of regulation.
Can also computer-readable program instructions be loaded into computer, other programmable data processing units or other
In equipment so that perform series of operation steps on computer, other programmable data processing units or miscellaneous equipment, to produce
The computer implemented process of life, so that performed on computer, other programmable data processing units or miscellaneous equipment
Instruct function/action specified in one or more square frames realized in flow chart and/or block diagram.
Flow chart and block diagram in accompanying drawing show system, method and the computer journey of multiple embodiments of the invention
The architectural framework in the cards of sequence product, function and operation.At this point, each square frame in flow chart or block diagram can generation
One part for module, program segment or instruction of table a, part for the module, program segment or instruction is used comprising one or more
In the executable instruction of the logic function for realizing regulation.In some realizations as replacement, the function of being marked in square frame
Can occur with different from the order marked in accompanying drawing.For example, two continuous square frames can essentially be held substantially in parallel
OK, they can also be performed in the opposite order sometimes, and this is depending on involved function.It is also noted that block diagram and/or
The combination of the square frame in each square frame and block diagram and/or flow chart in flow chart, can use the function of performing regulation or dynamic
The special hardware based system made is realized, or can be realized with the combination of computer instruction with specialized hardware.It is right
For those skilled in the art it is well known that, realized by hardware mode, realized by software mode and by software and
The mode of combination of hardware realizes it being all of equal value.
It is described above various embodiments of the present invention, described above is exemplary, and non-exclusive, and
It is not limited to disclosed each embodiment.In the case of without departing from the scope and spirit of illustrated each embodiment, for this skill
Many modifications and changes will be apparent from for the those of ordinary skill in art field.The selection of term used herein, purport
Best explaining principle, practical application or the technological improvement to the technology in market of each embodiment, or lead this technology
Other those of ordinary skill in domain are understood that each embodiment disclosed herein.The scope of the present invention is limited by appended claims
It is fixed.