CN110111428A - A kind of virtual target scaling method and device applied to augmented reality - Google Patents
A kind of virtual target scaling method and device applied to augmented reality Download PDFInfo
- Publication number
- CN110111428A CN110111428A CN201910450966.8A CN201910450966A CN110111428A CN 110111428 A CN110111428 A CN 110111428A CN 201910450966 A CN201910450966 A CN 201910450966A CN 110111428 A CN110111428 A CN 110111428A
- Authority
- CN
- China
- Prior art keywords
- virtual
- augmented reality
- relative pose
- dummy model
- pose relationship
- 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
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T19/00—Manipulating 3D models or images for computer graphics
- G06T19/006—Mixed reality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/70—Determining position or orientation of objects or cameras
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/20—Scenes; Scene-specific elements in augmented reality scenes
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Graphics (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Multimedia (AREA)
- Processing Or Creating Images (AREA)
Abstract
The embodiment of the present invention provides a kind of virtual target scaling method and device applied to augmented reality, wherein virtual target scaling method includes: to obtain in expected augmented reality display effect, the first relative pose relationship of dummy model to be shown and virtual signage object in real scene;According to the first relative pose relationship, dummy model and virtual signage object are placed in Virtual Space;It is adjusted in Virtual Space by the virtual target of foundation of dummy model, and generates the second relative pose relationship between virtual target adjusted and virtual signage object;Virtual target, virtual signage object and the second relative pose relationship are transmitted to augmented reality terminal device, when so that augmented reality terminal device recognizing marker corresponding with virtual signage object in real scene, virtual target can be shown in Virtual Space according to the second relative pose relationship in Virtual Space.The embodiment of the present invention improves the precision of augmented reality display effect.
Description
Technical field
The present invention relates to augmented reality field more particularly to a kind of virtual target calibration sides applied to augmented reality
Method and device.
Background technique
Augmented reality is one of the key areas of current development in science and technology, by calculating the pose of video camera in real time,
By corresponding presupposed information Overlapping display in the image that video camera acquires, to realize the friendship of Virtual Space and real space
Mutually.Augmented reality has been widely used in the multiple fields such as education, amusement, medical treatment at present.
However, the fusion accuracy of Virtual Space and real space generally requires in existing augmented reality application scenarios
It is not high, one of the main reasons for this is that dummy model is difficult to be demarcated in the exact display location of real space.So as to cause increasing
Strong reality technology can not be applied in the scene of high-precision requirement.For example, localization method in the prior art is, in dummy model
In preset marker (such as picture, two dimensional code) pass through identification after video camera takes the corresponding marker in real space
Marker pose carries out virtual fusion display, to realize rough locating and displaying effect.But the localization method is default virtual
Marker pose in model is difficult to ensure that it is consistent with the marker pose in real space, leads to the effect of augmented reality
Precision is lower;For layman, default dummy model is more difficult, constrains the practical of augmented reality
Property and application range.
Summary of the invention
The embodiment of the present invention provides a kind of virtual target scaling method and device applied to augmented reality, to improve enhancing
The precision of real effect.
The embodiment of the present invention provides a kind of virtual target scaling method applied to augmented reality, the virtual target calibration
Method includes:
It obtains in expected augmented reality display effect, dummy model to be shown and virtual signage object are in real scene
The first relative pose relationship;
According to the first relative pose relationship, the dummy model and virtual signage object are placed in Virtual Space;
It is adjusted, and generates adjusted by the virtual target of foundation of the dummy model in the Virtual Space
The second relative pose relationship between virtual target and the virtual signage object;
The virtual target, virtual signage object and the second relative pose relationship are transmitted to augmented reality terminal to set
It is standby, so that the augmented reality terminal device recognizes marker corresponding with the virtual signage object in real scene
When, the virtual target can be shown in the Virtual Space according to the second relative pose relationship in the Virtual Space.
Optionally, in augmented reality display effect expected from the acquisition, dummy model to be shown and virtual signage object
The first relative pose relationship in real scene, comprising:
According to expected augmented reality display effect, object and marker are put in real scene, wherein the mesh
Mark that object is corresponding with the dummy model, and the marker is corresponding with the virtual signage object, and the object is put
Position indicates that the display position of dummy model to be shown in augmented reality display effect, the placement position of the marker indicate
The display position of virtual signage object to be shown in augmented reality display effect;
Obtain the relative pose relationship of the object and the marker in real scene, and by the relative pose
Relation record is the first relative pose relationship of dummy model to be shown and virtual signage object in real scene.
Optionally, the relative pose relationship for obtaining the object and the marker in real scene, comprising:
By space positioning apparatus, the relative pose relationship between the object and the marker is measured and recorded.
Optionally, described according to the first relative pose relationship, the dummy model and void are placed in Virtual Space
Quasi- marker, comprising:
It will dummy model corresponding with the object and virtual signage object corresponding with marker importing
The dummy model and the virtual signage object are put into Virtual Space, and according to the first relative pose relationship.
The embodiment of the present invention also provides a kind of virtual target caliberating device applied to augmented reality, the virtual target mark
Determining device includes:
Module is obtained, for obtaining in expected augmented reality display effect, dummy model to be shown and virtual signage
First relative pose relationship of the object in real scene;
Placement module, for according to the first relative pose relationship, placed in Virtual Space the dummy model and
Virtual signage object;
Generation module, for being adjusted in the Virtual Space by the virtual target of foundation of the dummy model,
And generate the second relative pose relationship between virtual target adjusted and the virtual signage object;
Transmission module, for the virtual target, virtual signage object and the second relative pose relationship to be transmitted to increasing
Strong non-real end equipment so that the augmented reality terminal device recognized in real scene it is opposite with the virtual signage object
When the marker answered, institute can be shown in the Virtual Space according to the second relative pose relationship in the Virtual Space
State virtual target.
Optionally, the acquisition module includes:
Unit is put, for putting object and mark in real scene according to expected augmented reality display effect
Object, wherein the object is corresponding with the dummy model, the marker and the virtual signage object are corresponding and described
The placement position of object indicates the display position of dummy model to be shown in augmented reality display effect, the marker
Placement position indicates the display position of virtual signage object to be shown in augmented reality display effect;
Acquiring unit, for obtaining the relative pose relationship of the object and the marker in real scene, and
It is the first opposite position of dummy model to be shown and virtual signage object in real scene by the relative pose relation record
Appearance relationship.
Optionally, the acquiring unit is used for, and by space positioning apparatus, measures and records the object and the mark
Relative pose relationship between will object.
Optionally, the placement module is used for, will dummy model corresponding with the object and with the mark
The corresponding virtual signage object of object is directed into Virtual Space, and puts the virtual mould according to the first relative pose relationship
Type and the virtual signage object.
The embodiment of the present invention provides a kind of electronic equipment, including memory, processor and storage are on a memory and can be
The computer program run on processor, the processor realize the void applied to augmented reality when executing described program
The step of quasi- target designation method.
The embodiment of the present invention provides a kind of non-transient computer readable storage medium, is stored thereon with computer program, should
The step of virtual target scaling method applied to augmented reality is realized when computer program is executed by processor.
Virtual target scaling method and device provided in an embodiment of the present invention applied to augmented reality obtains be expected first
Augmented reality display effect in the first relative pose of dummy model and virtual signage object to be shown in real scene close
Dummy model and virtual signage object are placed, and in Virtual Space then according to the first relative pose relationship in Virtual Space by system
In to being adjusted using dummy model as the virtual target of foundation after, generate between virtual target adjusted and virtual signage object
The second relative pose relationship, virtual target, virtual signage object and the second relative pose relationship are finally transmitted to augmented reality
Terminal device, when so that augmented reality terminal device recognizing marker corresponding with virtual signage object in real scene,
Virtual target can be shown in Virtual Space according to the second relative pose relationship, realize by existing according to expected enhancing
Real display effect needs the relative pose between dummy model and virtual signage object to be shown to close being accurately arranged in real scene
System, and is transmitted to Virtual Space for the accurate relative pose relationship, to ensure that in Virtual Space dummy model and virtual
Pose accuracy between marker, and then ensure that the position using dummy model between the virtual target of foundation and virtual signage object
Appearance precision, improves the precision of augmented reality display effect, and reduces the manufacture difficulty of dummy model.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair
Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the step flow chart for being applied to the virtual target scaling method of augmented reality in the embodiment of the present invention;
Fig. 2 is that the first relative pose of dummy model and virtual signage object in real scene is obtained in the embodiment of the present invention
The step flow chart of relationship;
Fig. 3 is the module frame chart for being applied to the virtual target caliberating device of augmented reality in the embodiment of the present invention;
Fig. 4 is the structural schematic diagram of electronic equipment in the embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
As shown in Figure 1, to be applied to the step process of the virtual target scaling method of augmented reality in the embodiment of the present invention
Figure, this method comprises the following steps:
Step 101: obtaining in expected augmented reality display effect, dummy model to be shown and virtual signage object are true
The first relative pose relationship in real field scape.
In this step, specifically, expected augmented reality display effect is user it is contemplated that in the display of augmented reality,
Position orientation relation between the required dummy model shown and virtual signage object.
In addition, pose indicates the synthesis of position and posture;Dummy model and virtual signage object in real scene first
Relative pose relationship refers to, the posture and positional relationship of dummy model and virtual signage object in real scene.
In addition, dummy model and virtual signage object are object to be shown in Virtual Space.
This step is determining expected augmented reality display effect, that is, determines user it is contemplated that in the display of augmented reality,
It, can be by dummy model and virtual signage when position orientation relation between the required dummy model shown and virtual signage object
Object material object obtains the first relative pose relationship of dummy model and virtual signage object to be shown in real scene, thus
Make it possible to guarantee the accuracy of obtained first relative pose relationship based on real scene.
Step 102: according to the first relative pose relationship, dummy model and virtual signage object are placed in Virtual Space.
In this step, specifically, determining the first opposite position of dummy model and virtual signage object in real scene
After appearance relationship, dummy model and virtual signage object can be placed in Virtual Space according to the first relative pose relationship, this
When the accuracy based on the first relative pose relationship so that the dummy model placed according to the first relative pose relationship and virtual
The precision of position orientation relation between marker is equally higher, to ensure that the pose between dummy model and virtual signage object
Precision.
Step 103: being adjusted, and generate adjusted by the virtual target of foundation of dummy model in Virtual Space
The second relative pose relationship between virtual target and virtual signage object.
In this step, specifically, according to the first relative pose relationship placement dummy model and virtually in Virtual Space
After marker, it can be adjusted in Virtual Space by the virtual target of foundation of dummy model.
Specifically, virtual target is the virtual object shown based on dummy model, in Virtual Space with virtual
Model be foundation virtual target be adjusted, then can for in Virtual Space using dummy model as the virtual target of foundation
Position and posture is adjusted.For example, it is assumed that dummy model is desk, then virtual target then can be to be to be placed in carrying out on desk
The teacup of display, in this position and posture of the adjustable teacup to be shown on desk;Furthermore, it is further assumed that dummy model is behaved
Body Model, then virtual target then can be the hair of manikin, herein the position and posture of adjustable hair;In addition, false again
If dummy model is groups of building, then virtual target then can be to be placed in carrying out on groups of building street for based on groups of building
Barrier, vehicles of display etc., in this pose of adjustable barrier and the vehicles to be shown in groups of building
State.
In addition, specifically, it should be noted that being adjusted to by the virtual target of foundation of dummy model
When, keep the first relative pose state constant between dummy model and virtual signage object, to keep dummy model and virtual signage
Pose accuracy between object.
In addition, specifically, to using dummy model as foundation virtual target adjustment finish after, after adjustment can be generated
Virtual target and virtual signage object between the second relative pose relationship.In this way, based on dummy model and virtual signage object it
Between the first relative pose relationship high accurancy and precision so that using dummy model between the virtual target of foundation and virtual signage object
The second relative pose relationship precision it is equally higher, improve the stated accuracy of virtual target, and then ensure that virtual mesh
Target height accurately augmented reality display effect.
Step 104: virtual target, virtual signage object and the second relative pose relationship being transmitted to augmented reality terminal and set
It is standby.
It in this step, can be by virtual target, virtual signage specifically, after the second relative pose relationship of generation
Object and the second relative pose relationship are transmitted to augmented reality terminal device, so that augmented reality terminal device is known in real scene
It, can be according to the second relative pose relationship in Virtual Space, virtual when being clipped to marker corresponding with virtual signage object
Virtual target is shown in space, to realize high-precision augmented reality display effect.
Specifically, being set virtual target, virtual signage object and the second relative pose relationship are transmitted to augmented reality terminal
After standby, the height based on the second relative pose relationship and the second relative pose relationship between virtual target and virtual signage object
Precision can be with after augmented reality terminal device recognizes marker corresponding with virtual signage object in real scene
It is virtual signage object virtual according to the second relative pose relationship, and based on marker position shown in real scene
Shown position, shows virtual target in Virtual Space in space, to realize the stated accuracy of virtual target calibration.
In this way, the present embodiment is by the way that according to expected augmented reality display effect, accurately setting needs in real scene
Relative pose relationship between the dummy model and virtual signage object of display, and the accurate relative pose relationship is transmitted to void
Quasi- space, to ensure that the pose accuracy in Virtual Space between dummy model and virtual signage object, and then ensure that with void
Analog model is the pose accuracy between the virtual target and virtual signage object of foundation, improves the stated accuracy of virtual target, into
And improve the precision of augmented reality display effect.
In addition, further, as shown in Fig. 2, the present embodiment is in obtaining expected augmented reality display effect, it is to be shown
The first relative pose relationship in real scene of dummy model and virtual signage object when, may include steps of:
Step 201: according to expected augmented reality display effect, object and marker are put in real scene.
In this step, specifically, object is corresponding with dummy model, marker is corresponding with virtual signage object, i.e.,
At this as object can be seen to substitution goods of the dummy model under real scene, see marker as virtual signage object
Substitution goods under real scene.
In addition, the marker in real scene is positioning target, so that the identification of augmented reality terminal device is empty to determine
The display position and posture of virtual target in quasi- space.
In addition, the placement position of object indicates the display position of dummy model to be shown in augmented reality display effect
It sets, the placement position of marker indicates the display position of virtual signage object to be shown in augmented reality display effect.
In this way, by real scene it is anticipated that augmented reality display effect, put corresponding with dummy model
Object and marker corresponding with virtual signage object, make it possible in real scene measure obtain object and mark
Accurate position and posture between object is enable to guarantee the position in Virtual Space between virtual target and virtual signage object
Appearance precision, and then realize accurately augmented reality effect.
Step 202: obtaining relative pose relationship in real scene of object and marker, and by relative pose relationship
It is recorded as the first relative pose relationship of dummy model and virtual signage object to be shown in real scene.
In this step, specifically, putting object in real scene according to expected augmented reality display effect
After marker, the relative pose relationship of available object and marker in real scene, and relative pose is closed
System is recorded as the first relative pose relationship of dummy model and virtual signage object to be shown in real scene.
In addition, specifically, can pass through when obtaining the relative pose relationship of object and marker in real scene
Space positioning apparatus measures and records the relative pose relationship between object and marker.
Specifically, space positioning apparatus can be optical positioning device, electromagnetic location instrument or other equipment that can be positioned,
Herein without excessively illustrating.
In addition, placing the dummy model in Virtual Space according to the first relative pose relationship based on above-mentioned steps
It, can will dummy model corresponding with the object and corresponding with the marker virtual when with virtual signage object
Marker is directed into Virtual Space, and puts the dummy model and the virtual mark according to the first relative pose relationship
Will object.
In this way, being accurately set in Virtual Space in real scene by according to expected augmented reality display effect
Position orientation relation between dummy model and virtual signage object to be shown, and closed the accurate pose by space orientation state
Coefficient evidence is directed into Virtual Space, thus ensure that the pose accuracy of dummy model and virtual signage object in Virtual Space, from
And make it possible for augmented reality terminal device and realize accurately augmented reality display effect, improve augmented reality display effect
The precision of fruit, and reduce the difficulty of dummy model production.
Virtual target scaling method provided in this embodiment applied to augmented reality, by obtaining expected augmented reality
The the first relative pose relationship of dummy model to be shown and virtual signage object in real scene in display effect, then according to
First relative pose relationship places dummy model and virtual signage object in Virtual Space, and to virtual in Virtual Space
Model be after the virtual target of foundation is adjusted generate it is second opposite between virtual target adjusted and virtual signage object
Virtual target, virtual signage object and the second relative pose relationship are finally transmitted to augmented reality terminal device by position orientation relation, with
It, can be according to second when augmented reality terminal device being made to recognize marker corresponding with virtual signage object in real scene
Relative pose relationship, shows virtual target in Virtual Space, realizes by according to expected augmented reality display effect,
Accurately setting needs the relative pose relationship between dummy model and virtual signage object to be shown in real scene, and this is accurate
Relative pose relationship be transmitted to Virtual Space, to ensure that the position in Virtual Space between dummy model and virtual signage object
Appearance precision, and then ensure that the pose accuracy using dummy model between the virtual target of foundation and virtual signage object, it improves
The stated accuracy of virtual target, and then improve the precision of augmented reality display effect.
In addition, as shown in figure 3, to be applied to the virtual target caliberating device of augmented reality in the embodiment of the present invention, it is described
Virtual target caliberating device includes:
Module 301 is obtained, for obtaining in expected augmented reality display effect, dummy model to be shown and virtual mark
First relative pose relationship of the will object in real scene;
Placement module 302, for placing the dummy model in Virtual Space according to the first relative pose relationship
With virtual signage object;
Generation module 303, for being adjusted in the Virtual Space by the virtual target of foundation of the dummy model
It is whole, and generate the second relative pose relationship between virtual target adjusted and the virtual signage object;
Transmission module 304, for the virtual target, virtual signage object and the second relative pose relationship to be transmitted to
Augmented reality terminal device, so that the augmented reality terminal device recognizes and the virtual signage object phase in real scene
When corresponding marker, it can be shown in the Virtual Space according to the second relative pose relationship in the Virtual Space
The virtual target.
Optionally, the acquisition module includes:
Unit is put, for putting object and mark in real scene according to expected augmented reality display effect
Object, wherein the object is corresponding with the dummy model, the marker and the virtual signage object are corresponding and described
The placement position of object indicates the display position of dummy model to be shown in augmented reality display effect, the marker
Placement position indicates the display position of virtual signage object to be shown in augmented reality display effect;
Acquiring unit, for obtaining the relative pose relationship of the object and the marker in real scene, and
It is the first opposite position of dummy model to be shown and virtual signage object in real scene by the relative pose relation record
Appearance relationship.
Optionally, the acquiring unit is used for, and by space positioning apparatus, measures and records the object and the mark
Relative pose relationship between will object.
Optionally, the placement module is used for, will dummy model corresponding with the object and with the mark
The corresponding virtual signage object of object is directed into Virtual Space, and puts the virtual mould according to the first relative pose relationship
Type and the virtual signage object.
Virtual target caliberating device provided in this embodiment obtains expected augmented reality display effect by obtaining module
In, the first relative pose relationship of dummy model to be shown and virtual signage object in real scene is pressed by placement module
According to the first relative pose relationship, dummy model and virtual signage object are placed in Virtual Space, and by generation module to virtual
It is adjusted in space by the virtual target of foundation of dummy model, and generates virtual target adjusted and the virtual signage
The second relative pose relationship between object, finally by transmission module by virtual target, virtual signage object and the second relative pose
Relationship is transmitted to augmented reality terminal device, so that augmented reality terminal device recognizes and virtual signage object in real scene
When corresponding marker, the void can be shown in Virtual Space according to the second relative pose relationship in Virtual Space
Quasi- target is realized by the way that according to expected augmented reality display effect, accurately setting needs void to be shown in real scene
Relative pose relationship between analog model and virtual signage object, and the accurate relative pose relationship is transmitted to Virtual Space,
To ensure that the pose accuracy in Virtual Space between dummy model and virtual signage object, and then it ensure that and be with dummy model
Pose accuracy between the virtual target and virtual signage object of foundation, improves the stated accuracy of virtual target, and then improve
The precision of augmented reality display effect.
In addition, as shown in figure 4, being the entity structure schematic diagram of electronic equipment provided in an embodiment of the present invention, which sets
Standby may include: processor (processor) 410,420, memory communication interface (Communications Interface)
(memory) 430 and communication bus 440, wherein processor 410, communication interface 420, memory 430 pass through communication bus 440
Complete mutual communication.Processor 410 can call the meter that is stored on memory 430 and can run on the processor 410
Calculation machine program, the method to execute the various embodiments described above offer, for example, it obtains in expected augmented reality display effect,
The the first relative pose relationship of dummy model and virtual signage object to be shown in real scene;According to the described first opposite position
Appearance relationship places the dummy model and virtual signage object in Virtual Space;To in the Virtual Space with the virtual mould
Type is that the virtual target of foundation is adjusted, and generates the second phase between virtual target adjusted and the virtual signage object
To position orientation relation;The virtual target, virtual signage object and the second relative pose relationship are transmitted to augmented reality terminal
Equipment, so that the augmented reality terminal device recognizes marker corresponding with the virtual signage object in real scene
When, the virtual target can be shown in the Virtual Space according to the second relative pose relationship in the Virtual Space.
In addition, the logical order in above-mentioned memory 430 can be realized by way of SFU software functional unit and conduct
Independent product when selling or using, can store in a computer readable storage medium.Based on this understanding, originally
Substantially the part of the part that contributes to existing technology or the technical solution can be in other words for the technical solution of invention
The form of software product embodies, which is stored in a storage medium, including some instructions to
So that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation of the present invention
The all or part of the steps of example the method.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (ROM,
Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. it is various
It can store the medium of program code.
The embodiment of the present invention also provides a kind of non-transient computer readable storage medium, is stored thereon with computer program,
The computer program is implemented to carry out the various embodiments described above offer method when being executed by processor, for example, obtain and be expected
Augmented reality display effect in, the first relative pose in real scene of dummy model to be shown and virtual signage object closes
System;According to the first relative pose relationship, the dummy model and virtual signage object are placed in Virtual Space;To the void
It is adjusted in quasi- space by the virtual target of foundation of the dummy model, and generates virtual target adjusted and the void
The second relative pose relationship between quasi- marker;The virtual target, virtual signage object and second relative pose are closed
System is transmitted to augmented reality terminal device so that the augmented reality terminal device recognized in real scene with it is described virtual
It, can be according to the second relative pose relationship in the Virtual Space, in the virtual sky when the corresponding marker of marker
Between the middle display virtual target.
The apparatus embodiments described above are merely exemplary, wherein described, unit can as illustrated by the separation member
It is physically separated with being or may not be, component shown as a unit may or may not be physics list
Member, it can it is in one place, or may be distributed over multiple network units.It can be selected according to the actual needs
In some or all of the modules achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creativeness
Labour in the case where, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on
Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should
Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers
It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation
Method described in certain parts of example or embodiment.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used
To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;
And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and
Range.
Claims (10)
1. a kind of virtual target scaling method applied to augmented reality, which is characterized in that the virtual target scaling method packet
It includes:
Obtain in expected augmented reality display effect, dummy model to be shown and virtual signage object in real scene the
One relative pose relationship;
According to the first relative pose relationship, the dummy model and virtual signage object are placed in Virtual Space;
It is adjusted, and generates adjusted virtual by the virtual target of foundation of the dummy model in the Virtual Space
The second relative pose relationship between target and the virtual signage object;
The virtual target, virtual signage object and the second relative pose relationship are transmitted to augmented reality terminal device, with
It, can when the augmented reality terminal device being made to recognize marker corresponding with the virtual signage object in real scene
According to the second relative pose relationship in the Virtual Space, the virtual target is shown in the Virtual Space.
2. the virtual target scaling method according to claim 1 applied to augmented reality, which is characterized in that the acquisition
In expected augmented reality display effect, the first opposite position of dummy model to be shown and virtual signage object in real scene
Appearance relationship, comprising:
According to expected augmented reality display effect, object and marker are put in real scene, wherein the object
Corresponding with the dummy model, the marker is corresponding with the virtual signage object, and the placement position of the object
Indicate that the display position of dummy model to be shown in augmented reality display effect, the placement position of the marker indicate enhancing
The display position of virtual signage object to be shown in real display effect;
Obtain the relative pose relationship of the object and the marker in real scene, and by the relative pose relationship
It is recorded as the first relative pose relationship of dummy model and virtual signage object to be shown in real scene.
3. the virtual target scaling method according to claim 2 applied to augmented reality, which is characterized in that the acquisition
The relative pose relationship of the object and the marker in real scene, comprising:
By space positioning apparatus, the relative pose relationship between the object and the marker is measured and recorded.
4. the virtual target scaling method according to claim 2 applied to augmented reality, which is characterized in that it is described according to
The first relative pose relationship, places the dummy model and virtual signage object in Virtual Space, comprising:
Dummy model corresponding with the object and virtual signage object corresponding with the marker are directed into void
In quasi- space, and the dummy model and the virtual signage object are put according to the first relative pose relationship.
5. a kind of virtual target caliberating device applied to augmented reality, which is characterized in that the virtual target caliberating device packet
It includes:
Module is obtained, for obtaining in expected augmented reality display effect, dummy model to be shown and virtual signage object exist
The first relative pose relationship in real scene;
Placement module, for according to the first relative pose relationship, placing the dummy model and virtual in Virtual Space
Marker;
Generation module, for being adjusted in the Virtual Space by the virtual target of foundation of the dummy model, and it is raw
At the second relative pose relationship between virtual target adjusted and the virtual signage object;
Transmission module, it is existing for the virtual target, virtual signage object and the second relative pose relationship to be transmitted to enhancing
Real terminal device so that the augmented reality terminal device recognized in real scene it is corresponding with the virtual signage object
When marker, the void can be shown in the Virtual Space according to the second relative pose relationship in the Virtual Space
Quasi- target.
6. the virtual target caliberating device according to claim 5 applied to augmented reality, which is characterized in that the acquisition
Module includes:
Unit is put, for putting object and marker in real scene according to expected augmented reality display effect,
Described in object it is corresponding with the dummy model, the marker is corresponding with the virtual signage object, and the target
The placement position of object indicates the display position of dummy model to be shown in augmented reality display effect, and the marker is put
Position indicates the display position of virtual signage object to be shown in augmented reality display effect;
Acquiring unit, for obtaining the relative pose relationship of the object and the marker in real scene, and by institute
Stating relative pose relation record is that the first relative pose of dummy model to be shown and virtual signage object in real scene closes
System.
7. the virtual target caliberating device according to claim 6 applied to augmented reality, which is characterized in that the acquisition
Unit is used for, and by space positioning apparatus, measures and records the relative pose relationship between the object and the marker.
8. the virtual target caliberating device according to claim 6 applied to augmented reality, which is characterized in that the placement
Module is used for, will dummy model corresponding with the object and virtual signage object corresponding with marker importing
The dummy model and the virtual signage object are put into Virtual Space, and according to the first relative pose relationship.
9. a kind of electronic equipment including memory, processor and stores the calculating that can be run on a memory and on a processor
Machine program, which is characterized in that the processor realizes such as the described in any item applications of Claims 1-4 when executing described program
In the virtual target scaling method of augmented reality the step of.
10. a kind of non-transient computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer
Realize that the described in any item virtual targets applied to augmented reality of Claims 1-4 such as are demarcated when program is executed by processor
The step of method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910450966.8A CN110111428B (en) | 2019-05-28 | 2019-05-28 | Virtual target calibration method and device applied to augmented reality |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910450966.8A CN110111428B (en) | 2019-05-28 | 2019-05-28 | Virtual target calibration method and device applied to augmented reality |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110111428A true CN110111428A (en) | 2019-08-09 |
CN110111428B CN110111428B (en) | 2023-06-20 |
Family
ID=67492645
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910450966.8A Active CN110111428B (en) | 2019-05-28 | 2019-05-28 | Virtual target calibration method and device applied to augmented reality |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110111428B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113781661A (en) * | 2021-09-13 | 2021-12-10 | 太仓中科信息技术研究院 | Multi-projection spatial layout evaluation method and system for immersive scene |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030012410A1 (en) * | 2001-07-10 | 2003-01-16 | Nassir Navab | Tracking and pose estimation for augmented reality using real features |
US20100316281A1 (en) * | 2007-02-23 | 2010-12-16 | Valentin Lefevre | Method and device for determining the pose of a three-dimensional object in an image and method and device for creating at least one key image for object tracking |
US20150279113A1 (en) * | 2014-03-25 | 2015-10-01 | Metaio Gmbh | Method and system for representing a virtual object in a view of a real environment |
CN105759960A (en) * | 2016-02-02 | 2016-07-13 | 上海尚镜信息科技有限公司 | Augmented reality remote guidance method and system in combination with 3D camera |
CN106856566A (en) * | 2016-12-16 | 2017-06-16 | 中国商用飞机有限责任公司北京民用飞机技术研究中心 | A kind of information synchronization method and system based on AR equipment |
CN108022306A (en) * | 2017-12-30 | 2018-05-11 | 华自科技股份有限公司 | Scene recognition method, device, storage medium and equipment based on augmented reality |
CN108537889A (en) * | 2018-03-26 | 2018-09-14 | 广东欧珀移动通信有限公司 | Method of adjustment, device, storage medium and the electronic equipment of augmented reality model |
CN108564045A (en) * | 2018-04-17 | 2018-09-21 | 广州腾讯科技有限公司 | Data processing method, device, storage medium and the computer equipment of augmented reality |
CN108876900A (en) * | 2018-05-11 | 2018-11-23 | 重庆爱奇艺智能科技有限公司 | A kind of virtual target projective techniques merged with reality scene and system |
CN109377560A (en) * | 2018-10-26 | 2019-02-22 | 北京理工大学 | A kind of method of Outdoor Augmented Reality military simulation-based training |
CN109474816A (en) * | 2018-12-28 | 2019-03-15 | 上海北冕信息科技有限公司 | The virtual reality fusion device and its virtual reality fusion method, equipment, medium of augmented reality |
-
2019
- 2019-05-28 CN CN201910450966.8A patent/CN110111428B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030012410A1 (en) * | 2001-07-10 | 2003-01-16 | Nassir Navab | Tracking and pose estimation for augmented reality using real features |
US20100316281A1 (en) * | 2007-02-23 | 2010-12-16 | Valentin Lefevre | Method and device for determining the pose of a three-dimensional object in an image and method and device for creating at least one key image for object tracking |
US20150279113A1 (en) * | 2014-03-25 | 2015-10-01 | Metaio Gmbh | Method and system for representing a virtual object in a view of a real environment |
CN105759960A (en) * | 2016-02-02 | 2016-07-13 | 上海尚镜信息科技有限公司 | Augmented reality remote guidance method and system in combination with 3D camera |
CN106856566A (en) * | 2016-12-16 | 2017-06-16 | 中国商用飞机有限责任公司北京民用飞机技术研究中心 | A kind of information synchronization method and system based on AR equipment |
CN108022306A (en) * | 2017-12-30 | 2018-05-11 | 华自科技股份有限公司 | Scene recognition method, device, storage medium and equipment based on augmented reality |
CN108537889A (en) * | 2018-03-26 | 2018-09-14 | 广东欧珀移动通信有限公司 | Method of adjustment, device, storage medium and the electronic equipment of augmented reality model |
CN108564045A (en) * | 2018-04-17 | 2018-09-21 | 广州腾讯科技有限公司 | Data processing method, device, storage medium and the computer equipment of augmented reality |
CN108876900A (en) * | 2018-05-11 | 2018-11-23 | 重庆爱奇艺智能科技有限公司 | A kind of virtual target projective techniques merged with reality scene and system |
CN109377560A (en) * | 2018-10-26 | 2019-02-22 | 北京理工大学 | A kind of method of Outdoor Augmented Reality military simulation-based training |
CN109474816A (en) * | 2018-12-28 | 2019-03-15 | 上海北冕信息科技有限公司 | The virtual reality fusion device and its virtual reality fusion method, equipment, medium of augmented reality |
Non-Patent Citations (1)
Title |
---|
郭树涛: "一种新的增强现实三维注册算法", 《信息通信》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113781661A (en) * | 2021-09-13 | 2021-12-10 | 太仓中科信息技术研究院 | Multi-projection spatial layout evaluation method and system for immersive scene |
Also Published As
Publication number | Publication date |
---|---|
CN110111428B (en) | 2023-06-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107223269B (en) | Three-dimensional scene positioning method and device | |
CN109887003B (en) | Method and equipment for carrying out three-dimensional tracking initialization | |
CN106846497B (en) | Method and device for presenting three-dimensional map applied to terminal | |
CN105074776B (en) | Planar texture target is formed in situ | |
CN104781849A (en) | Fast initialization for monocular visual simultaneous localization and mapping (SLAM) | |
CN109711472B (en) | Training data generation method and device | |
CN108363995A (en) | Method and apparatus for generating data | |
CN109559349A (en) | A kind of method and apparatus for calibration | |
CN113741698A (en) | Method and equipment for determining and presenting target mark information | |
CN112037314A (en) | Image display method, image display device, display equipment and computer readable storage medium | |
CN110120087B (en) | Label marking method and device for three-dimensional virtual sand table and terminal equipment | |
CN113220251B (en) | Object display method, device, electronic equipment and storage medium | |
CN113689578A (en) | Human body data set generation method and device | |
JP2023504608A (en) | Display method, device, device, medium and program in augmented reality scene | |
CN111508033A (en) | Camera parameter determination method, image processing method, storage medium, and electronic apparatus | |
CN111340865B (en) | Method and apparatus for generating image | |
CN112733641A (en) | Object size measuring method, device, equipment and storage medium | |
CN108573192B (en) | Glasses try-on method and device matched with human face | |
CN110111428A (en) | A kind of virtual target scaling method and device applied to augmented reality | |
CN107066095B (en) | Information processing method and electronic equipment | |
CN111192323B (en) | Object positioning method and device based on image | |
US20180197273A1 (en) | System and Method for Displaying Graphical Effects Based on Determined Facial Positions | |
CN110533777B (en) | Three-dimensional face image correction method and device, electronic equipment and storage medium | |
CN109816791B (en) | Method and apparatus for generating information | |
CN111179408A (en) | Method and apparatus for three-dimensional modeling |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |