CN108961396A - Generation method, device and the terminal device of three-dimensional scenic - Google Patents
Generation method, device and the terminal device of three-dimensional scenic Download PDFInfo
- Publication number
- CN108961396A CN108961396A CN201810717735.4A CN201810717735A CN108961396A CN 108961396 A CN108961396 A CN 108961396A CN 201810717735 A CN201810717735 A CN 201810717735A CN 108961396 A CN108961396 A CN 108961396A
- Authority
- CN
- China
- Prior art keywords
- keyword
- dimensional scenic
- object model
- scene
- model
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 57
- 238000012545 processing Methods 0.000 claims abstract description 31
- 230000003190 augmentative effect Effects 0.000 claims abstract description 7
- 238000005520 cutting process Methods 0.000 claims description 16
- 238000003860 storage Methods 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 13
- 241001633942 Dais Species 0.000 description 7
- 230000008569 process Effects 0.000 description 6
- 239000000203 mixture Substances 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000035800 maturation Effects 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
- 230000001755 vocal effect Effects 0.000 description 1
- 239000011800 void material Substances 0.000 description 1
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
- G06T17/00—Three dimensional [3D] modelling, e.g. data description of 3D objects
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Graphics (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Geometry (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the present invention provides generation method, device and the terminal device of a kind of three-dimensional scenic, and this method is used for virtual reality and/or augmented reality, this method comprises: the expressing information of acquisition user's input;And keyword relevant to scene is extracted from expressing information;Object model corresponding with keyword is obtained in the object model library pre-established;Later further according to preset three-dimensional scenic processing rule, object model is handled, three-dimensional scenic is obtained.Generation method, device and the terminal device of three-dimensional scenic provided in an embodiment of the present invention realize the automatic building to three-dimensional scenic, improve the acquisition efficiency of three-dimensional scenic.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of generation method of three-dimensional scenic, device and terminal to set
It is standby.
Background technique
With the continuous development of virtual reality technology and/or augmented reality, the threedimensional model for sharing application is increasingly
It is more, three-dimensional scenic is constructed by the threedimensional model of these sharing applications, largely user more intuitively can be felt
By many scenes, the experience of user is improved.
In the prior art, when constructing three-dimensional scenic by existing threedimensional model, professional first obtains each in scene
The threedimensional model of object, then be combined the threedimensional model of these objects by way of manually, to generate correspondence
Three-dimensional scenic.
However, using existing artificial constructed mode, so that the acquisition of three-dimensional scenic is inefficient.
Summary of the invention
The present invention provides generation method, device and the terminal device of a kind of three-dimensional scenic, with realize to three-dimensional scenic from
Dynamic building, improves the acquisition efficiency of three-dimensional scenic.
The embodiment of the present invention provides a kind of generation method of three-dimensional scenic, and the method is used for virtual reality and/or enhancing
Reality, which comprises
Acquire the expressing information of user's input;
Keyword relevant to scene is extracted from the expressing information;
Object model corresponding with the keyword is obtained in the object model library pre-established;
Rule is handled according to preset three-dimensional scenic, the object model is handled, three-dimensional scenic is obtained.
In one possible implementation, the expressing information of the acquisition user input, comprising:
Acquire the text information of user's input;
Correspondingly, described extract keyword relevant to scene from the expressing information, comprising:
Word cutting processing is carried out to the text information according to semantic model, obtains phrase;
The keyword relevant to scene is extracted from the phrase.
In one possible implementation, the expressing information of the acquisition user input, comprising:
Acquire the voice messaging of user's input;
Correspondingly, described extract keyword relevant to scene from the expressing information, comprising:
Speech recognition is carried out to the voice messaging, obtains text information;
Word cutting processing is carried out to the text information according to semantic model, obtains phrase;
The keyword relevant to scene is extracted from the phrase.
In one possible implementation, object model corresponding with the keyword is at least two object models;
Correspondingly, handling rule according to preset three-dimensional scenic, the object model is handled, three dimensional field is obtained
Scape, comprising:
Rule is handled according to preset three-dimensional scenic, at least two object model is combined, three dimensional field is obtained
Scape.
In one possible implementation, described to be obtained and the keyword pair in the object model library pre-established
Before the object model answered, further includes:
Keyword corresponding with scene is collected, and collects object model corresponding with the keyword;
Object model library is established, includes the incidence relation between keyword and object model in the object model library.
The embodiment of the present invention also provides a kind of generating means of three-dimensional scenic, and the generating means of the three-dimensional scenic are for void
Quasi- reality and/or augmented reality, described device include:
Acquisition unit, for acquiring the expressing information of user's input;
Acquiring unit, for extracting keyword relevant to scene from the expressing information;
The acquiring unit is also used to obtain object corresponding with the keyword in the object model library pre-established
Model;
Processing unit handles the object model, obtains three for handling rule according to preset three-dimensional scenic
Tie up scene.
In one possible implementation, the acquisition unit, for acquiring the text information of user's input;
Correspondingly, the acquiring unit, is specifically used for carrying out word cutting processing to the text information according to semantic model, obtain
To phrase;And the keyword relevant to scene is extracted from the phrase.
In one possible implementation, the acquisition unit, for acquiring the voice messaging of user's input;
Correspondingly, the acquiring unit, is specifically used for carrying out speech recognition to the voice messaging, obtains text information;
Word cutting processing is carried out to the text information according to semantic model, obtains phrase;And described and scene is extracted from the phrase
Relevant keyword.
In one possible implementation, object model corresponding with the keyword is at least two object models;
Correspondingly, the processing unit, is specifically used for handling rule according to preset three-dimensional scenic, to described at least two
Object model is combined, and obtains three-dimensional scenic.
In one possible implementation, the generating means of the three-dimensional scenic further include establishing unit;
The acquisition unit is also used to collect keyword corresponding with scene, and collects corresponding with the keyword
Object model;
It is described to establish unit, it include keyword and object model in the object model library for establishing object model library
Between incidence relation.
The embodiment of the present invention also provides a kind of terminal device, which may include processor and memory, wherein
The memory is for storing program instruction;
The processor is used to read the program instruction in the memory, and according to the program instruction in the memory
Execute the generation method of three-dimensional scenic shown in any of the above-described embodiment.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program executes the life of three-dimensional scenic shown in any of the above-described embodiment when the computer program is executed by processor
At method.
Generation method, device and the terminal device of three-dimensional scenic provided in an embodiment of the present invention pass through acquisition user's input
Expressing information, and relevant to scene keyword is extracted from expressing information;It is obtained in the object model library pre-established again
Take object model corresponding with keyword;And then rule is handled according to preset three-dimensional scenic, at object model
Reason, obtains three-dimensional scenic.It can be seen that the generation method of three-dimensional scenic provided in an embodiment of the present invention, device and terminal device,
After getting keyword and the corresponding object model of keyword respectively, it can directly be handled and be advised according to preset three-dimensional scenic
Then object model is handled, and obtains three-dimensional scenic, realizes the automatic building to three-dimensional scenic, is constructed with the prior art
Three-dimensional scenic is compared, without after getting object model, by manually being handled object model and constructing three
Scene is tieed up, to improve the acquisition efficiency of three-dimensional scenic.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure
Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of schematic diagram of application scenarios provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of the generation method of three-dimensional scenic provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram of the generation method of another three-dimensional scenic provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of the generating means of three-dimensional scenic provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of the generating means of another three-dimensional scenic provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of terminal device provided in an embodiment of the present invention.
Through the above attached drawings, it has been shown that the specific embodiment of the disclosure will be hereinafter described in more detail.These attached drawings
It is not intended to limit the scope of this disclosure concept by any means with verbal description, but is by referring to specific embodiments
Those skilled in the art illustrate the concept of the disclosure.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Description and claims of this specification and term " first ", " second ", " third " " in above-mentioned attached drawing
The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage
The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiment of the present invention described herein for example can be to remove
Sequence other than those of illustrating or describe herein is implemented.In addition, term " includes " and " having " and theirs is any
Deformation, it is intended that cover it is non-exclusive include, for example, containing the process, method of a series of steps or units, system, production
Product or equipment those of are not necessarily limited to be clearly listed step or unit, but may include be not clearly listed or for this
A little process, methods, the other step or units of product or equipment inherently.
The generation method of three-dimensional scenic provided in an embodiment of the present invention can be applied to sound novel, exemplary, refer to
Shown in Fig. 1, Fig. 1 is a kind of schematic diagram of application scenarios provided in an embodiment of the present invention, passes through terminal device (example with certain user A
Such as mobile phone) when listening to sound novel, in order to improve the reading experience of user A, can while user A listens to sound novel,
The three-dimensional scenic of the simultaneous display novel on mobile phone.In order to realize the simultaneous display of three-dimensional scenic, three dimensional field can be first constructed
Scape.In embodiments of the present invention, it can be extracted and scene phase by the expressing information of acquisition user's input, and from expressing information
The keyword of pass;Object model corresponding with keyword is obtained in the object model library pre-established again;And then according to pre-
If three-dimensional scenic handle rule, object model is handled, three-dimensional scenic is obtained, realizes the automatic structure to three-dimensional scenic
It builds, compared with the prior art constructs three-dimensional scenic, without after getting object model, by manually to object model
Three-dimensional scenic is handled and is constructed, to improve the acquisition efficiency of three-dimensional scenic.
How technical solution of the present invention and technical solution of the present invention are solved with specific embodiment below above-mentioned
Technical problem is described in detail.These specific embodiments can be combined with each other below, for the same or similar concept
Or process repeats no more in certain embodiments.Below in conjunction with attached drawing, the embodiment of the present invention is described.
Fig. 2 is a kind of flow diagram of the generation method of three-dimensional scenic provided in an embodiment of the present invention, the three-dimensional scenic
Generation method can be used for virtual reality and/or augmented reality, the generation method of the three-dimensional scenic can be by three-dimensional scenic
Generating means execute, and the generating means of the three-dimensional scenic can be independently arranged, also can integrate in the processor.Refer to Fig. 2
Shown, the generation method of the three-dimensional scenic may include:
The expressing information that S201, acquisition user input.
Wherein, the expressing information of user's input can be inputted by way of text, i.e. text information;It is of course also possible to
It is inputted by way of voice, i.e. voice messaging.It is exemplary, it, can be with when the text information of terminal device acquisition user's input
The text information inputted by the screen capture user of terminal device;When the voice messaging of terminal device acquisition user's input,
The voice messaging of user's input can be acquired by the microphone of terminal device.It include at least one and scene in the expressing information
Relevant keyword.Exemplary, which may be classroom, or desk, stool or blackboard lights.
It should be noted that the expressing information in the embodiment of the present invention can be in short, or more word compositions
One section words, it is of course also possible to for multistage words composition a complete text.
S202, keyword relevant to scene is extracted from expressing information.
Terminal device is after the expressing information for collecting user's input by above-mentioned S201, so that it may extract expression letter
Keyword relevant to scene in breath.
It should be noted that the scene in the embodiment of the present invention can be classroom, or bedroom, it is of course also possible to
For dining room or other scenes etc., here, the embodiment of the present invention is only illustrated by taking these scenes as an example, but this is not represented
Inventive embodiments are limited only to this.
Exemplary, when scene is classroom, keyword relevant to the scene may include classroom, desk, stool, blackboard
And chalk etc.;When scene is bedroom, keyword relevant to the scene may include bed, sofa, dressing table and wardrobe etc.;When
When scene is dining room, keyword relevant to the scene may include dining table, stool, pick-up platform and service plate etc..
S203, object model corresponding with keyword is obtained in the object model library pre-established.
Wherein, the corresponding object model of keyword can be threedimensional model.
It should be noted that need to pre-establish object model library before obtaining object model corresponding with keyword,
Multiple keywords object model corresponding with keyword is stored in the object model library.It, can for a keyword
With corresponding one or more object models.For example, corresponding object model can be rectangular for one for keyword " desk "
The table model of shape, or a circular table model, it is of course also possible to be an irregular table model.
After keyword relevant to scene is extracted in expressing information by above-mentioned S202, so that it may be built in advance
The corresponding object model of the keyword is searched in vertical object model library, to get the corresponding object model of keyword.
S204, rule is handled according to preset three-dimensional scenic, object model is handled, three-dimensional scenic is obtained.
It should be noted that preset three-dimensional scenic processing rule provided in an embodiment of the present invention can be understood as meeting thing
The three-dimensional scenic of object logic handles rule, it is understood that the three-dimensional process scene rule being set in advance for user.For example, when using
When including ground, desk and lamp in the expressing information of family input, the corresponding three-dimensional scenic processing rule for meeting things logic are as follows:
Desk is placed on the ground, and lamp is placed on desk or hangs on the ceiling in house.Likewise, when the expression letter of user's input
When including ground, desk and lamp in breath, the three-dimensional scenic processing rule that corresponding user is set in advance may be: desk is placed
On the ground, lamp is placed on desk or hangs on the ceiling in house.Further, the three-dimensional process field that user is set in advance
It is identical that scape rule can handle rule with the three-dimensional scenic for meeting things logic, and can also meet thing according to the hobby of user
The three-dimensional scenic processing rule of object logic is different.
After object model corresponding with keyword is obtained in the object model library pre-established by S203, so that it may
To handle rule according to preset three-dimensional scenic, object model is handled, constructs three-dimensional scenic.It can be seen that of the invention
The generation method for the three-dimensional scenic that embodiment provides, after getting keyword and the corresponding object model of keyword respectively,
Rule directly can be handled according to preset three-dimensional scenic, object model is handled, three-dimensional scenic is obtained, is realized to three
The automatic building for tieing up scene, compared with the prior art constructs three-dimensional scenic, without after getting object model, by artificial
Three-dimensional scenic is handled object model and constructed manually, to improve the acquisition efficiency of three-dimensional scenic.
The generation method of three-dimensional scenic provided in an embodiment of the present invention, by the expressing information of acquisition user's input, and from
Keyword relevant to scene is extracted in expressing information;It is obtained in the object model library pre-established again corresponding with keyword
Object model;And then rule is handled according to preset three-dimensional scenic, object model is handled, three-dimensional scenic is obtained.By
This as it can be seen that three-dimensional scenic provided in an embodiment of the present invention generation method, getting keyword respectively and keyword is corresponding
After object model, rule directly can be handled according to preset three-dimensional scenic, object model is handled, three dimensional field is obtained
Scape realizes the automatic building to three-dimensional scenic, compared with the prior art constructs three-dimensional scenic, without getting object model
Later, by manually being handled object model and being constructed three-dimensional scenic, to improve the acquisition effect of three-dimensional scenic
Rate.
The generation method of the three-dimensional scenic provided in order to illustrate the embodiments of the present invention more clearly, shown in Figure 3, figure
3 be the schematic diagram of the generation method of another three-dimensional scenic provided in an embodiment of the present invention, in the embodiment shown in fig. 3, with
The expressing information of user's input is for text information, the generation method of the three-dimensional scenic can also include:
The text information that S301, acquisition user input.
Likewise, the text information in the embodiment of the present invention can be in short, or one section of more word compositions
Words, it is of course also possible to for a complete text of multistage words composition.It also, include at least one and field in text information
The related keyword of scape.
Optionally, terminal device can by the screen capture user of terminal device input text information certainly can also
To acquire the text information of user's input by other means, here, the embodiment of the present invention is only to pass through the screen of terminal device
It is illustrated for the text information of curtain acquisition user's input, but does not represent the embodiment of the present invention and be limited only to this.
Terminal device is after the text information for collecting user's input, so that it may extract in text information and scene
Related keyword, optionally, in embodiments of the present invention, the keyword related with scene extracted in text information can be with
It is realized by following S302-S303:
S302, word cutting processing is carried out to text information according to semantic model, obtains phrase.
After the text information for collecting user's input by above-mentioned S301, so that it may carry out word cutting to text information
Processing, obtains phrase.It should be noted that can be found in by the method that semantic model carries out word cutting processing to text information existing
Published method in technology, here, the embodiment of the present invention is no longer repeated.
It is exemplary, as shown in connection with fig. 1, by user for reading sound novel, terminal device collect it is fictitious
Text information " Xiao Ming walks enter the classroom after, sit on the seat of oneself, remember the rigid word of teacher, smile happily against blackboard "
Later, word cutting processing can be carried out to text information by semantic model, obtains multiple phrases, multiple phrase at least wraps
Include: Xiao Ming, come into, classroom, sit on, oneself, seat, remember, teacher, opposite, blackboard, it is happy, the phrases such as laugh at.
S303, keyword relevant to scene is extracted from phrase.
Explanation is also needed, the scene in the embodiment of the present invention can be classroom, or bedroom, certainly,
It can be dining room or other scenes etc., here, the embodiment of the present invention is only illustrated by taking these scenes as an example, but not generation
The table embodiment of the present invention is limited only to this.
Word cutting processing is being carried out to text information according to semantic model, after obtaining phrase, so that it may from obtained phrase
In extract keyword relevant to scene.
It should be noted that, only using expressing information as text information, how to extract this article in above-mentioned S301-S303
It is illustrated for keyword relevant to scene in this information, certainly, expressing information may be voice messaging, when expression is believed
When breath is voice messaging, speech recognition first can be carried out to the voice messaging, to obtain the corresponding text information of the voice messaging,
To which the voice messaging of user's input is converted to its corresponding text information, extracted and scene phase in text information later
The mode of the keyword of pass is identical as above-mentioned S302-S303, reference can be made to the description in above-mentioned S302-S303, here, the present invention is real
Example is applied no longer to be repeated.
It is exemplary, by S302 carry out word segmentation processing, obtain Xiao Ming, come into, classroom, sit on, oneself, seat, think
Rise, teacher, opposite, blackboard, it is happy, the phrases such as laugh at after, so that it may key relevant to scene is extracted in these phrases
Word.As can be seen that keyword relevant to scene has: Xiao Ming, classroom, seat, blackboard, it is, of course, also possible in text information
The incidence relation between each keyword is extracted, such as the relationship of Xiao Ming and seat are as follows: Xiao Ming is seated on the seat;The pass of Xiao Ming and blackboard
System: Xiao Ming can further increase the accuracy of the three-dimensional scenic of building against blackboard in this way.
S304, collection keyword corresponding with scene, and collect object model corresponding with keyword.
When constructing three-dimensional scenic, need first to collect keyword corresponding with scene, and collect corresponding with keyword
Object model.It should be noted that it is multiple right that one keyword can correspond to when collecting object model corresponding with keyword
As model.
It is exemplary, when collecting keyword corresponding with scene, if the scene is that student learns in classroom, corresponding pass
Keyword may include student, classroom, desk, stool, blackboard, dais, chalk etc..Be collected into keyword corresponding with classroom it
Afterwards, so that it may further collect the corresponding object model of these keywords;The corresponding person model of keyword personage, the object mould
Type can be boy or girl;The corresponding classroom model in keyword classroom;The corresponding table model of keyword desk;
The corresponding stool model of stool;The corresponding blackboard model of blackboard;The corresponding dais model in dais;The corresponding chalk model of chalk
Deng.
S305, object model library is established.
Wherein, the incidence relation between keyword and object model is included in object model library.
After being collected into keyword corresponding with scene and the corresponding object model of the keyword respectively by S304, just
Object model library can be established according to the incidence relation between keyword and object model.
It should be noted that having no sequencing between S301-S303 and S304-S305, S301- can be first carried out
S303, then execute S304-S305;It is of course also possible to first carry out S304-S305, then execute S301-S303;It is of course also possible to same
Shi Zhihang S301-S303 and S304-S305.Here, the embodiment of the present invention then executes S304- only to first carry out S301-S303
It is illustrated for S305, but does not represent the embodiment of the present invention and be limited only to this.Under normal conditions, S304- can be first carried out
S305 first collects keyword corresponding with scene, and collects object model corresponding with keyword, and establish object model
Library, and be not to require to execute S304-S305 when constructing three-dimensional scenic every time, it can be established when first time constructing three-dimensional scenic
One object model library, it is subsequent when there is new keyword to generate with its corresponding object model, it can be by the new keyword
Object model corresponding with its is added to the object model library, to be updated to the object model library.
It is exemplary, it is being collected into keyword personage and its corresponding person model respectively, keyword classroom and its corresponding
Classroom model;Keyword desk and its corresponding table model;Stool and its corresponding stool model;Blackboard and its corresponding black
Slab;Dais and its corresponding dais model;After chalk and its corresponding chalk model etc., so that it may establish object model
Library includes at least in the object model library: the incidence relation between keyword desk and its corresponding table model;Stool and its
Incidence relation between corresponding stool model;Incidence relation between blackboard and its corresponding blackboard model;Dais and its right
The incidence relation between the model of dais answered;Incidence relation between chalk and its corresponding chalk model, in this way in building three
When tieing up scene, after extracting keyword, so that it may be obtained directly in the object model library according to the keyword and key
The corresponding object model of word.
S306, object model corresponding with keyword is obtained in the object model library pre-established.
Wherein, corresponding when the keyword number at least two extracted, object model corresponding with keyword
Number is also at least two.
It should be noted that when obtaining object model corresponding with keyword in the object model library pre-established, if
It, can be at least two objects when a keyword corresponds at least two object models in pre-stored corresponding model library
One is arbitrarily selected in model as the corresponding object model of keyword, certainly, if having in text information has the object model
When further limiting, it can be selected at least two object models and the matched object model of text information.
It is exemplary, keyword Xiao Ming relevant to scene, classroom, seat and blackboard are being extracted by S303, and pass through
S305 is established after object model library, can according to the incidence relation between these keywords and keyword and object model,
The corresponding person model of these keywords Xiao Ming is obtained in the object model library pre-established;The corresponding classroom model in classroom, seat
The corresponding table model in position (including desk and stool) and stool model and the corresponding blackboard model of blackboard.
S307, rule is handled according to preset three-dimensional scenic, at least two object models is combined, three dimensional field is obtained
Scape.
Explanation is also needed, preset three-dimensional scenic processing rule provided in an embodiment of the present invention can be understood as according with
The three-dimensional scenic for closing things logic handles rule, it is understood that the three-dimensional process scene rule being set in advance for user.
It is exemplary, the corresponding personage of these keywords Xiao Ming is being obtained in the object model library pre-established by S306
Model;The corresponding classroom model in classroom, seat (including desk and stool) corresponding table model and stool model and blackboard pair
After the blackboard model answered, so that it may handle rule according to preset three-dimensional scenic, be combined to these objects, the combination
Mode can be with are as follows: table model is placed in classroom model, and stool model is placed on beside table model, the corresponding person model of Xiao Ming
It is sitting on stool model, and blackboard model is placed in classroom, and in the front of Xiao Ming, so that it is corresponding to construct text information
Three-dimensional scenic.
In actual application, in the corresponding three-dimensional scenic of building text information, text letter can first be collected
Breath, and word cutting processing is carried out to text information according to semantic model, obtain phrase;Obtain the corresponding phrase of text information it
Afterwards, keyword relevant to scene can be extracted from phrase;Acquisition and keyword in the object model library pre-established again
Corresponding object model;And then rule is handled according to preset three-dimensional scenic, at least two object models are combined,
Construct three-dimensional scenic.It can be seen that the generation method of three-dimensional scenic provided in an embodiment of the present invention, is getting keyword respectively
After object model corresponding with keyword, rule directly can be handled according to preset three-dimensional scenic, object model is carried out
Processing, obtains three-dimensional scenic, realizes the automatic building to three-dimensional scenic, compared with the prior art constructs three-dimensional scenic, is not necessarily to
After getting object model, by manually being handled object model and being constructed three-dimensional scenic, to improve
The acquisition efficiency of three-dimensional scenic.
Fig. 4 is a kind of structural schematic diagram of the generating means 40 of three-dimensional scenic provided in an embodiment of the present invention, for virtual
Reality and/or augmented reality, shown in Figure 4, the generating means 40 of the three-dimensional scenic may include:
Acquisition unit 401, for acquiring the expressing information of user's input.
Acquiring unit 402, for extracting keyword relevant to scene from expressing information.
Acquiring unit 402 is also used to obtain object model corresponding with keyword in the object model library pre-established.
Processing unit 403 handles object model, obtains three for handling rule according to preset three-dimensional scenic
Tie up scene.
Optionally, acquisition unit 401, for acquiring the text information of user's input.
Correspondingly, acquiring unit 402, is specifically used for carrying out word cutting processing to text information according to semantic model, obtains word
Group;And keyword relevant to scene is extracted from phrase.
Optionally, acquisition unit 401, for acquiring the voice messaging of user's input.
Correspondingly, acquiring unit 402, is specifically used for carrying out speech recognition to voice messaging, obtains text information;According to language
Adopted model carries out word cutting processing to text information, obtains phrase;And keyword relevant to scene is extracted from phrase.
Optionally, object model corresponding with keyword is at least two object models;
Correspondingly, processing unit 403, is specifically used for handling rule according to preset three-dimensional scenic, at least two objects
Model is combined, and obtains three-dimensional scenic.
Optionally, the acquisition state of the three-dimensional scenic can also include establishing unit 404, and shown in Figure 5, Fig. 5 is
The structural schematic diagram of the generating means 40 of another kind three-dimensional scenic provided in an embodiment of the present invention.
Acquisition unit 401 is also used to collect keyword corresponding with scene, and collects object mould corresponding with keyword
Type.
Unit 404 is established, includes between keyword and object model in object model library for establishing object model library
Incidence relation.
The generating means 40 of three-dimensional scenic shown in the embodiment of the present invention, can execute three shown in any of the above-described embodiment
The technical solution of the generation method of scene is tieed up, realization principle and beneficial effect are similar, are no longer repeated herein.
Fig. 6 is a kind of structural schematic diagram of terminal device 60 provided in an embodiment of the present invention, shown in Figure 6, the end
End equipment 60 may include processor 601 and memory 602, wherein
Memory 602 is for storing program instruction.
Processor 601 is used to read the program instruction in memory 602, and is held according to the program instruction in memory 602
The generation method of three-dimensional scenic shown in any of the above-described embodiment of row.
Terminal device 60 shown in the embodiment of the present invention can execute the life of three-dimensional scenic shown in any of the above-described embodiment
At the technical solution of method, realization principle and beneficial effect are similar, are no longer repeated herein.
The embodiment of the present invention also provides a kind of computer readable storage medium, is stored on the computer readable storage medium
Computer program executes the generation of three-dimensional scenic shown in any of the above-described embodiment when computer program is executed by processor
The technical solution of method, realization principle and beneficial effect are similar, are no longer repeated herein.
Processor can be general processor, digital signal processor (digital signal in above-described embodiment
Processor, DSP), it is specific integrated circuit (application specific integrated circuit, ASIC), existing
At programmable gate array (field programmable gate array, FPGA) or other programmable logic device, discrete
Door or transistor logic, discrete hardware components.It may be implemented or execute the disclosed each side in the embodiment of the present invention
Method, step and logic diagram.General processor can be microprocessor or the processor is also possible to any conventional processing
Device etc..The step of method in conjunction with disclosed in the embodiment of the present invention, can be embodied directly in hardware decoding processor and execute completion,
Or in decoding processor hardware and software module combination execute completion.Software module can be located at random access memory
(random access memory, RAM), flash memory, may be programmed read-only deposit at read-only memory (read-only memory, ROM)
In the storage medium of this fields such as reservoir or electrically erasable programmable memory, register maturation.The storage medium, which is located at, to be deposited
The step of reservoir, processor reads the instruction in memory, completes the above method in conjunction with its hardware.
In several embodiments provided by the present invention, it should be understood that disclosed device and method can pass through it
Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tied
Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed
Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or logical of device or unit
Letter connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.In addition, the functional units in various embodiments of the present invention may be integrated into one processing unit, it is also possible to each
Unit physically exists alone, and can also be integrated in one unit with two or more units.Above-mentioned integrated unit both may be used
To use formal implementation of hardware, can also be realized in the form of hardware adds SFU software functional unit.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure
Its embodiment.The present invention is directed to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following
Claims are pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by appended claims
System.
Claims (12)
1. a kind of generation method of three-dimensional scenic, which is characterized in that the method is used for virtual reality and/or augmented reality, institute
The method of stating includes:
Acquire the expressing information of user's input;
Keyword relevant to scene is extracted from the expressing information;
Object model corresponding with the keyword is obtained in the object model library pre-established;
Rule is handled according to preset three-dimensional scenic, the object model is handled, three-dimensional scenic is obtained.
2. the method according to claim 1, wherein the expressing information of the acquisition user input, comprising:
Acquire the text information of user's input;
Correspondingly, described extract keyword relevant to scene from the expressing information, comprising:
Word cutting processing is carried out to the text information according to semantic model, obtains phrase;
The keyword relevant to scene is extracted from the phrase.
3. the method according to claim 1, wherein the expressing information of the acquisition user input, comprising:
Acquire the voice messaging of user's input;
Correspondingly, described extract keyword relevant to scene from the expressing information, comprising:
Speech recognition is carried out to the voice messaging, obtains text information;
Word cutting processing is carried out to the text information according to semantic model, obtains phrase;
The keyword relevant to scene is extracted from the phrase.
4. method described in any one of claim 1 to 3, which is characterized in that object mould corresponding with the keyword
Type is at least two object models;
Correspondingly, handling rule according to preset three-dimensional scenic, the object model is handled, three-dimensional scenic is obtained, wrapped
It includes:
Rule is handled according to preset three-dimensional scenic, at least two object model is combined, three-dimensional scenic is obtained.
5. method described in any one of claim 1 to 3, which is characterized in that described in the object model pre-established
In library before acquisition object model corresponding with the keyword, further includes:
Keyword corresponding with scene is collected, and collects object model corresponding with the keyword;
Object model library is established, includes the incidence relation between keyword and object model in the object model library.
6. a kind of generating means of three-dimensional scenic, which is characterized in that the generating means of the three-dimensional scenic for virtual reality and/
Or augmented reality, described device include:
Acquisition unit, for acquiring the expressing information of user's input;
Acquiring unit, for extracting keyword relevant to scene from the expressing information;
The acquiring unit is also used to obtain object mould corresponding with the keyword in the object model library pre-established
Type;
Processing unit handles the object model, obtains three dimensional field for handling rule according to preset three-dimensional scenic
Scape.
7. device according to claim 6, which is characterized in that
The acquisition unit, for acquiring the text information of user's input;
Correspondingly, the acquiring unit, is specifically used for carrying out word cutting processing to the text information according to semantic model, obtains word
Group;And the keyword relevant to scene is extracted from the phrase.
8. device according to claim 6, which is characterized in that
The acquisition unit, for acquiring the voice messaging of user's input;
Correspondingly, the acquiring unit, is specifically used for carrying out speech recognition to the voice messaging, obtains text information;According to
Semantic model carries out word cutting processing to the text information, obtains phrase;And it is extracted from the phrase described related to scene
Keyword.
9. the device according to any one of claim 6~8, which is characterized in that object mould corresponding with the keyword
Type is at least two object models;
Correspondingly, the processing unit, is specifically used for handling rule according to preset three-dimensional scenic, at least two object
Model is combined, and obtains three-dimensional scenic.
10. the device according to any one of claim 6~8, which is characterized in that further include establishing unit;
The acquisition unit is also used to collect keyword corresponding with scene, and collects object corresponding with the keyword
Model;
It is described to establish unit, it include between keyword and object model in the object model library for establishing object model library
Incidence relation.
11. a kind of terminal device, which is characterized in that including processor and memory, wherein
The memory is for storing program instruction;
The processor is used to read the program instruction in the memory, and is executed according to the program instruction in the memory
The generation method of three-dimensional scenic shown in any one of Claims 1 to 5.
12. a kind of computer readable storage medium, which is characterized in that
It is stored with computer program on computer readable storage medium, when the computer program is executed by processor, executes
The generation method of three-dimensional scenic shown in any one of Claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810717735.4A CN108961396A (en) | 2018-07-03 | 2018-07-03 | Generation method, device and the terminal device of three-dimensional scenic |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810717735.4A CN108961396A (en) | 2018-07-03 | 2018-07-03 | Generation method, device and the terminal device of three-dimensional scenic |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108961396A true CN108961396A (en) | 2018-12-07 |
Family
ID=64485263
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810717735.4A Pending CN108961396A (en) | 2018-07-03 | 2018-07-03 | Generation method, device and the terminal device of three-dimensional scenic |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108961396A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109885411A (en) * | 2019-01-17 | 2019-06-14 | 广州城投发展研究院有限公司 | A kind of threedimensional model dynamic data loading method and its device |
CN110211222A (en) * | 2019-05-07 | 2019-09-06 | 谷东科技有限公司 | A kind of AR immersion tourism guide method, device, storage medium and terminal device |
CN110766787A (en) * | 2019-10-11 | 2020-02-07 | 南京摄星智能科技有限公司 | 3D situation scene intelligent construction technology based on semantic driving |
CN111651049A (en) * | 2020-06-08 | 2020-09-11 | 浙江商汤科技开发有限公司 | Interaction method and device, computer equipment and storage medium |
CN113284257A (en) * | 2021-05-25 | 2021-08-20 | 成都威爱新经济技术研究院有限公司 | Modularized generation and display method and system for virtual scene content |
CN115878867A (en) * | 2023-02-22 | 2023-03-31 | 湖南视觉伟业智能科技有限公司 | AI automatic virtual scene construction experience system and method based on metauniverse |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010219849A (en) * | 2009-03-17 | 2010-09-30 | Cellius Inc | Image generation system, program, information storage medium, server system, and content distribution system |
CN103440682A (en) * | 2013-08-13 | 2013-12-11 | 北京农业信息技术研究中心 | Method and system for rapid three-dimensional mapping |
CN104866308A (en) * | 2015-05-18 | 2015-08-26 | 百度在线网络技术(北京)有限公司 | Scenario image generation method and apparatus |
CN105843797A (en) * | 2016-03-30 | 2016-08-10 | 乐视控股(北京)有限公司 | Normalization method and device |
WO2016157277A1 (en) * | 2015-03-27 | 2016-10-06 | 株式会社日立製作所 | Method and device for generating travelling environment abstract image |
US20170052882A1 (en) * | 2015-08-21 | 2017-02-23 | Hitachi, Ltd. | Test scenario generation support device and test scenario generation support method |
CN106504304A (en) * | 2016-09-14 | 2017-03-15 | 厦门幻世网络科技有限公司 | A kind of method and device of animation compound |
CN106648096A (en) * | 2016-12-22 | 2017-05-10 | 宇龙计算机通信科技(深圳)有限公司 | Virtual reality scene-interaction implementation method and system and visual reality device |
CN106683201A (en) * | 2016-12-23 | 2017-05-17 | 深圳市豆娱科技有限公司 | Scene editing method and device based on three-dimensional virtual reality |
CN106951881A (en) * | 2017-03-30 | 2017-07-14 | 成都创想空间文化传播有限公司 | A kind of three-dimensional scenic rendering method, apparatus and system |
CN107392783A (en) * | 2017-07-05 | 2017-11-24 | 龚少卓 | Social contact method and device based on virtual reality |
-
2018
- 2018-07-03 CN CN201810717735.4A patent/CN108961396A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010219849A (en) * | 2009-03-17 | 2010-09-30 | Cellius Inc | Image generation system, program, information storage medium, server system, and content distribution system |
CN103440682A (en) * | 2013-08-13 | 2013-12-11 | 北京农业信息技术研究中心 | Method and system for rapid three-dimensional mapping |
WO2016157277A1 (en) * | 2015-03-27 | 2016-10-06 | 株式会社日立製作所 | Method and device for generating travelling environment abstract image |
CN104866308A (en) * | 2015-05-18 | 2015-08-26 | 百度在线网络技术(北京)有限公司 | Scenario image generation method and apparatus |
US20170052882A1 (en) * | 2015-08-21 | 2017-02-23 | Hitachi, Ltd. | Test scenario generation support device and test scenario generation support method |
CN105843797A (en) * | 2016-03-30 | 2016-08-10 | 乐视控股(北京)有限公司 | Normalization method and device |
CN106504304A (en) * | 2016-09-14 | 2017-03-15 | 厦门幻世网络科技有限公司 | A kind of method and device of animation compound |
CN106648096A (en) * | 2016-12-22 | 2017-05-10 | 宇龙计算机通信科技(深圳)有限公司 | Virtual reality scene-interaction implementation method and system and visual reality device |
CN106683201A (en) * | 2016-12-23 | 2017-05-17 | 深圳市豆娱科技有限公司 | Scene editing method and device based on three-dimensional virtual reality |
CN106951881A (en) * | 2017-03-30 | 2017-07-14 | 成都创想空间文化传播有限公司 | A kind of three-dimensional scenic rendering method, apparatus and system |
CN107392783A (en) * | 2017-07-05 | 2017-11-24 | 龚少卓 | Social contact method and device based on virtual reality |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109885411A (en) * | 2019-01-17 | 2019-06-14 | 广州城投发展研究院有限公司 | A kind of threedimensional model dynamic data loading method and its device |
CN110211222A (en) * | 2019-05-07 | 2019-09-06 | 谷东科技有限公司 | A kind of AR immersion tourism guide method, device, storage medium and terminal device |
CN110766787A (en) * | 2019-10-11 | 2020-02-07 | 南京摄星智能科技有限公司 | 3D situation scene intelligent construction technology based on semantic driving |
CN111651049A (en) * | 2020-06-08 | 2020-09-11 | 浙江商汤科技开发有限公司 | Interaction method and device, computer equipment and storage medium |
CN111651049B (en) * | 2020-06-08 | 2024-01-09 | 浙江商汤科技开发有限公司 | Interaction method, device, computer equipment and storage medium |
CN113284257A (en) * | 2021-05-25 | 2021-08-20 | 成都威爱新经济技术研究院有限公司 | Modularized generation and display method and system for virtual scene content |
CN115878867A (en) * | 2023-02-22 | 2023-03-31 | 湖南视觉伟业智能科技有限公司 | AI automatic virtual scene construction experience system and method based on metauniverse |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108961396A (en) | Generation method, device and the terminal device of three-dimensional scenic | |
CN110110104B (en) | Method and device for automatically generating house explanation in virtual three-dimensional space | |
CN104461525B (en) | A kind of intelligent consulting platform generation system that can customize | |
CN109145123A (en) | Construction method, intelligent interactive method, system and the electronic equipment of knowledge mapping model | |
CN108986835B (en) | Based on speech de-noising method, apparatus, equipment and the medium for improving GAN network | |
CN109741754A (en) | A kind of conference voice recognition methods and system, storage medium and terminal | |
CN109599079A (en) | A kind of generation method and device of music | |
CN109637548A (en) | Voice interactive method and device based on Application on Voiceprint Recognition | |
CN111290568A (en) | Interaction method and device and computer equipment | |
CN109767757A (en) | A kind of minutes generation method and device | |
CN106599256B (en) | Structure information generation method and device and interaction method and device | |
CN106408480A (en) | Sinology three-dimensional interactive learning system and method based on augmented reality and speech recognition | |
CN105940446A (en) | Method for dialogue between a machine, such as a humanoid robot, and a human interlocutor; computer program product; and humanoid robot for implementing such a method | |
CN107316635B (en) | Voice recognition method and device, storage medium and electronic equipment | |
CN105989067A (en) | Method for generating text abstract from image, user equipment and training server | |
WO2017059694A1 (en) | Speech imitation method and device | |
CN109427334A (en) | A kind of man-machine interaction method and system based on artificial intelligence | |
CN109801349A (en) | A kind of real-time expression generation method of the three-dimensional animation role of sound driver and system | |
CN109064532A (en) | The automatic shape of the mouth as one speaks generation method of cartoon role and device | |
CN107908743A (en) | Artificial intelligence application construction method and device | |
CN109726309A (en) | Audio generation method, device and storage medium | |
CN106101858A (en) | A kind of video generation method and device | |
CN104123857A (en) | Device and method for achieving individualized touch reading | |
CN110019919A (en) | A kind of generation method and device of the rhymed lyrics | |
CN110532393A (en) | Text handling method, device and its intelligent electronic device |
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 |