CN109615478A - House type method for previewing, system and computer readable storage medium based on AR - Google Patents
House type method for previewing, system and computer readable storage medium based on AR Download PDFInfo
- Publication number
- CN109615478A CN109615478A CN201811531412.2A CN201811531412A CN109615478A CN 109615478 A CN109615478 A CN 109615478A CN 201811531412 A CN201811531412 A CN 201811531412A CN 109615478 A CN109615478 A CN 109615478A
- Authority
- CN
- China
- Prior art keywords
- house type
- dimensional
- picture
- mobile terminal
- target
- 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 40
- 238000012790 confirmation Methods 0.000 claims description 18
- 238000012544 monitoring process Methods 0.000 claims description 18
- 230000003190 augmentative effect Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000010801 machine learning Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 238000012549 training Methods 0.000 description 2
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0641—Shopping interfaces
- G06Q30/0643—Graphical representation of items or shoppers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/13—Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
Abstract
The present invention provides a kind of house type method for previewing based on AR, comprising: when mobile terminal monitors AR house type instruction for previewing, calls camera to be scanned two-dimentional floor plan, to obtain target house type picture, and the target house type picture is sent to server;The server is based on the target house type picture and generates three-dimensional house type model, and the three-dimensional house type model is sent to the mobile terminal;The three-dimensional house type model is carried out output by default AR algorithm and shown by the mobile terminal.The present invention also provides a kind of house type prebrowsing system and computer readable storage medium based on AR.The present invention relates to data to show field, and the present invention can be improved the convenience that house purchaser sees room.
Description
Technical field
The present invention relates to the technical fields of AR (Augmented Reality, augmented reality), more particularly to one kind to be based on AR
House type method for previewing, system and computer readable storage medium.
Background technique
Currently, when house purchaser purchases house, it usually needs go to the center of selling house to see room, check floor plan, the house type mould at the center of selling house
Type and model room, and when house purchaser leaves and sells house center, house purchaser can only understand the relevant information of house type by floor plan, and
Floor plan is usually smaller, and floor plan is two dimension, but actual room is 3 D stereo, by two-dimensional floor plan user without
Method accurately observes house type information, is not easy to house purchaser and sees room.Therefore, how to improve house purchaser and see that the convenience in room is current
Urgent problem to be solved.
Summary of the invention
The main purpose of the present invention is to provide a kind of house type method for previewing, system and computer-readable storage based on AR
Medium, it is intended to improve the convenience that house purchaser sees room.
To achieve the above object, the present invention provides a kind of house type method for previewing based on AR, and the house type based on AR is pre-
Look at method the following steps are included:
When mobile terminal monitors AR house type instruction for previewing, camera is called to be scanned two-dimentional floor plan, to obtain
Target house type picture is taken, and the target house type picture is sent to server;
The server is based on the target house type picture and generates three-dimensional house type model, and the three-dimensional house type model is sent out
Give the mobile terminal;
The three-dimensional house type model is carried out output by default AR algorithm and shown by the mobile terminal.
Optionally, the server includes: based on the step of target house type picture generation three-dimensional house type model
The server receives the target house type picture that the mobile terminal is sent, and judges whether deposit in database
In the corresponding three-dimensional house type model pattern of the target house type picture;
When there is the corresponding three-dimensional house type model pattern of the target house type picture in the database, from the database
Obtain the corresponding three-dimensional house type model pattern of the target house type picture;
According to the wall material and legend material preset in material database, the three-dimensional house type model pattern is filled, to generate
Corresponding three-dimensional house type model.
Optionally, the server judges the corresponding three-dimensional house type of the target house type picture whether is stored in database
After the step of model pattern, further includes:
It is right when the corresponding three-dimensional house type model pattern of the target house type picture is not present in the server in the database
The target house type picture is handled, to obtain house type data;
The house type data are input to default house type identification model, with the wall pair of determination three-dimensional house type model to be built
As position and legend object's position;
According to wall height, the wall object's position and the legend object's position is preset, corresponding three-dimensional family is generated
Pattern pattern formula;
It executes step: according to the wall material and legend material preset in material database, filling the three-dimensional house type model sample
Formula, to generate corresponding three-dimensional house type model.
Optionally, described when mobile terminal monitors AR house type instruction for previewing, call camera to two-dimentional floor plan into
Row scanning, the step of to obtain target house type picture before, further includes:
When mobile terminal monitors AR house type instruction for previewing, whether the mobile terminal judges current operation program application
Has camera access right;
If current operation program application has camera access right, then follow the steps: calling camera to two-dimentional house type
Figure is scanned, to obtain target house type picture;
If current operation program application does not have camera access right, the license confirmation of camera access right is shown
Play frame;
When the license confirmation instruction for monitoring to trigger based on the license confirmation bullet frame, current operation program application point is given
With camera access right;
It executes step: calling camera to be scanned two-dimentional floor plan, to obtain target house type picture.
Optionally, the mobile terminal judges whether current operation program application has the step of camera access right packet
It includes:
The mobile terminal reads the camera access right table in default storage region, and obtains current operation program and answer
Application identities;
Judge whether the application identities are located in the camera access right table;
If the application identities are located in the camera access right table, it is determined that current operation program application, which has, takes the photograph
As head access right;
If the application identities are not located in the camera access right table, it is determined that current operation program application does not have
Standby camera access right.
In addition, to achieve the above object, the present invention also provides a kind of house type prebrowsing system based on AR is described based on AR's
House type prebrowsing system includes mobile terminal and server, in which:
The mobile terminal, for calling camera to carry out two-dimentional floor plan when monitoring AR house type instruction for previewing
Scanning, to obtain target house type picture, and is sent to server for the target house type picture;
The server, the target house type picture sent for receiving the mobile terminal, and according to the target
Corresponding three-dimensional house type model is sent to the mobile terminal by house type picture;
The mobile terminal is also used to receive the corresponding three-dimensional family that the server is returned based on the target house type picture
Pattern type, and the three-dimensional house type model is carried out by output by default AR algorithm and is shown.
In addition, to achieve the above object, the present invention also provides a kind of readable storage medium storing program for executing, being deposited on the readable storage medium storing program for executing
The house type previewer based on AR is contained, wherein realizing as above when the house type previewer based on AR is executed by processor
The step of house type method for previewing based on AR stated.
The present invention provides a kind of house type method for previewing, device, equipment and readable storage medium storing program for executing based on AR, and the present invention is when shifting
When dynamic terminal monitoring arrives AR house type instruction for previewing, calling camera is scanned two-dimentional floor plan, to obtain target floor plan
Piece, and the target house type picture is sent in server, which is based on the target house type picture and generates three-dimensional house type mould
Type, and the three-dimensional house type model is sent to mobile terminal, it is finally by default AR algorithm that three-dimensional house type model progress is defeated
It shows, is checked for user out, by the above-mentioned means, two-dimentional floor plan can be converted to three-dimensional house type model, and calculated by AR
The three-dimensional house type model is carried out output and shown by method, and house purchaser is allowed to check the house type of 3 D stereo by mobile terminal,
House purchaser can accurately and conveniently observe house type, see room convenient for house purchaser.
Detailed description of the invention
Fig. 1 is that the present invention is based on the flow diagrams of the house type method for previewing first embodiment of AR;
Fig. 2 is that the present invention is based on the functional block diagrams of the house type prebrowsing system first embodiment of AR.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present embodiments relate to the house type method for previewing based on AR be mainly used in the house type preview device based on AR,
The house type preview device based on AR is the equipment that mobile terminal etc. has display and processing function.
The embodiment of the invention provides a kind of house type method for previewing based on AR.
Referring to Fig.1, Fig. 1 is that the present invention is based on the flow diagrams of the house type method for previewing first embodiment of AR.
In the present embodiment, being somebody's turn to do the house type method for previewing based on AR includes:
Step S101 calls camera to carry out two-dimentional floor plan when mobile terminal monitors AR house type instruction for previewing
Scanning, to obtain target house type picture, and is sent to server for target house type picture;
In the present embodiment, when monitoring AR house type preview control by touch-control, mobile terminal triggers AR house type instruction for previewing,
When monitoring the AR house type instruction for previewing of triggering, mobile terminal opens camera, and calls the camera to the two dimension house type
Figure is scanned, and to obtain target house type picture, and the target house type picture is sent to server.Wherein, two-dimentional floor plan
It can be papery figure, or store electronic pictures in the electronic device, the present embodiment is not especially limited this.
Specifically, when monitoring AR house type instruction for previewing, mobile terminal shows the shooting picture of camera in display screen
Face, and two dimension floor plan is determined from the shooting picture, then from the label position in two-dimentional floor plan, presented with default scanning
Mode starts to scan the two dimension floor plan, until the two dimension house type floor plan is completed, to obtain target house type picture.Wherein, two
The label position for tieing up floor plan includes but is not limited to the upper right corner, the upper left corner, the lower right corner, the lower left corner and the centre bit of two-dimentional floor plan
It sets, scanning presentation mode includes but is not limited to blue wave sprawling and white wave sprawling.For example, from the upper right of two-dimentional floor plan
Angle starts, and scans two-dimentional floor plan with the scanning presentation mode of blue wave sprawling, until two-dimentional floor plan is completed in scanning.It needs
Illustrating, above-mentioned label position and scanning presentation mode can be configured by those skilled in the art based on actual conditions, this
Embodiment is not especially limited this.By the above-mentioned means, scanning process can be showed, the body brought to user
It tests.
Step S102, server is based on target house type picture and generates three-dimensional house type model, and three-dimensional house type model is sent
To mobile terminal;
It, will after mobile terminal calls camera to scan acquisition target house type picture to two-dimentional floor plan in the present embodiment
The target house type picture is sent to server, which receives the target house type picture that mobile terminal is sent, and according to the mesh
House type picture is marked, generates corresponding three-dimensional house type model, and the three-dimensional house type model of generation is returned into mobile terminal, the movement
Terminal receives the corresponding three-dimensional house type model that server is returned based on the target house type picture.
Specifically, which receives the target house type picture of mobile terminal transmission, and judges whether deposit in database
In the corresponding three-dimensional house type model pattern of the target house type picture, if there are the target house type pictures corresponding three in database
House type model pattern is tieed up, then obtains the corresponding three-dimensional house type model pattern of target house type picture from the database, then foundation
Wall material and legend material in default material database fill three-dimensional house type model pattern, to generate corresponding three-dimensional house type mould
Type, and three-dimensional house type model is back to mobile terminal.Wherein, the generating mode of three-dimensional house type model is from default material database
Wall material and legend material needed for obtaining the three-dimensional house type model pattern, and by the wall material and legend material fill to
Corresponding position in the three-dimensional house type model pattern, to construct three-dimensional house type model.It should be noted that above-mentioned default material database
The material of the wall of middle storage, door and window and furniture can be configured by those skilled in the art based on actual conditions, the present embodiment
This is not especially limited.
If there is no the corresponding three-dimensional house type model patterns of the target house type picture in database, to target floor plan
Piece is handled, and to obtain house type data, i.e., by image recognition technology, two-dimentional floor plan is converted to the description of house type feature
Set, i.e. house type data, are specially labeled as wall, door and window or furniture for each pixel in floor plan, know convenient for machine
Not;Then the house type data are input to default house type identification model, with the wall object of determination three-dimensional house type model to be built
The house type data for being labeled with wall, door and window or furniture are input to default house type identification model by position and legend object's position,
And the output based on default house type identification model is as a result, determine wall object's position and legend object's position;Subsequently, according to pre-
If wall height, wall object's position and legend object's position, corresponding three-dimensional house type model pattern is generated, i.e., in wall object
The wall of default wall height is erect in position, to generate the three-dimensional house type framework for having wall, then according to the legend object position
It sets, the filling position of legend object is marked in generating the three-dimensional house type framework for having wall, to construct three-dimensional house type model pattern;
Last wall material and legend material according in default material database, fills three-dimensional house type model pattern, to generate corresponding three
House type model is tieed up, and three-dimensional house type model is back to mobile terminal.It should be noted that above-mentioned default wall height can be by this
Field technical staff is configured based on actual conditions, and the present embodiment is not especially limited this, optionally, presets wall height
It is 3.3 meters.
Wherein, presetting house type identification model is obtained by machine learning, and the two-dimentional family of big data quantity is specially obtained
Type figure, and processing refinement is carried out to two-dimentional floor plan, each pixel in floor plan is labeled as wall, door and window or furniture,
Obtain include the wall of mark, door and window or furniture house type data, then will include the wall, door and window or furniture of mark
House type data are trained house type identification model as training data, until house type identification model restrains, when house type identifies mould
When type restrains, house type identification model is constructed, and solidify the house type identification model in the server.
Three-dimensional house type model is carried out output by default AR algorithm and shown by step S103, mobile terminal.
In the present embodiment, mobile terminal is after getting three-dimensional house type model, by presetting AR algorithm for the three-dimensional family
Pattern type carries out output and shows, observes for user, and user adjusts the angle and distance of mobile terminal and two-dimentional floor plan, can check
The inner case of three-dimensional house type model and three-dimensional house type model, checks house type details convenient for user.Wherein, AR is preset to calculate
Method can be configured by those skilled in the art based on actual conditions, and the present embodiment is not especially limited this.
In the present embodiment, when mobile terminal monitors AR house type instruction for previewing, call camera to two-dimentional floor plan into
Row scanning, to obtain target house type picture, and the target house type picture is sent in server, which is based on the target
House type picture generates three-dimensional house type model, and the three-dimensional house type model is sent to mobile terminal, finally by default AR algorithm
The three-dimensional house type model is carried out output to show, is checked for user, by the above-mentioned means, two-dimentional floor plan can be converted to three
House type model is tieed up, and the three-dimensional house type model is carried out by output by AR algorithm and is shown, house purchaser is passed through mobile whole
The house type of 3 D stereo is checked at end, and house purchaser can accurately and conveniently observe house type, see room convenient for house purchaser.
Further, it is based on above-mentioned first embodiment, propose the house type method for previewing the present invention is based on AR second is real
Example is applied, the difference with previous embodiment is, before calling camera, it is thus necessary to determine that whether current operation program application has
Camera access right, specifically, when monitoring AR house type instruction for previewing, mobile terminal judges that current operation program application is
It is no to have camera access right, that is, the camera access right table in default storage region is read, and obtain current operation journey
The application identities of sequence application, then judge whether the application identities are located in the camera access right table, if the application mark
Know and be located in the camera access right table, it is determined that current operation program application has camera access right, if should
Application identities are not located in camera access right table, it is determined that current operation program application does not have camera access right;
If current operation program application has camera access right, camera is called to sweep two-dimentional floor plan
It retouches, to obtain target house type picture, if current operation program application does not have camera access right, shows that camera makes
With the license confirmation bullet frame of permission, and when the license confirmation instruction for monitoring to trigger based on the license confirmation bullet frame, to current
Program application distribution camera access right is run, i.e., the camera is written into the application identities that current operation program is applied and used
In authority list, then camera is called to be scanned two-dimentional floor plan, to obtain target house type picture.By the above-mentioned means,
Convenient for controlling the access right of camera.
In addition, the embodiment of the present invention also provides a kind of house type prebrowsing system based on AR.
It is that the present invention is based on the functional block diagrams of the house type prebrowsing system first embodiment of AR referring to Fig. 2, Fig. 2.
In the present embodiment, being somebody's turn to do the house type prebrowsing system based on AR includes mobile terminal 100 and server 200, wherein
The mobile terminal 100, for when monitoring AR house type instruction for previewing, call camera to two-dimentional floor plan into
Row scanning, to obtain target house type picture, and is sent to server for the target house type picture;
In the present embodiment, when monitoring AR house type preview control by touch-control, mobile terminal triggers AR house type instruction for previewing,
When monitoring the AR house type instruction for previewing of triggering, mobile terminal opens camera, and calls the camera to the two dimension house type
Figure is scanned, and to obtain target house type picture, and the target house type picture is sent to server.Wherein, two-dimentional floor plan
It can be papery figure, or store electronic pictures in the electronic device, the present embodiment is not especially limited this.
Specifically, when monitoring AR house type instruction for previewing, mobile terminal shows the shooting picture of camera in display screen
Face, and two dimension floor plan is determined from the shooting picture, then from the label position in two-dimentional floor plan, presented with default scanning
Mode starts to scan the two dimension floor plan, until the two dimension house type floor plan is completed, to obtain target house type picture.Wherein, two
The label position for tieing up floor plan includes but is not limited to the upper right corner, the upper left corner, the lower right corner, the lower left corner and the centre bit of two-dimentional floor plan
It sets, scanning presentation mode includes but is not limited to blue wave sprawling and white wave sprawling.For example, from the upper right of two-dimentional floor plan
Angle starts, and scans two-dimentional floor plan with the scanning presentation mode of blue wave sprawling, until two-dimentional floor plan is completed in scanning.It needs
Illustrating, above-mentioned label position and scanning presentation mode can be configured by those skilled in the art based on actual conditions, this
Embodiment is not especially limited this.By the above-mentioned means, scanning process can be showed, the body brought to user
It tests.
The server 200, the target house type picture sent for receiving the mobile terminal, and according to the mesh
House type picture is marked, corresponding three-dimensional house type model is sent to the mobile terminal;
In the present embodiment, after mobile terminal 100 calls camera to scan acquisition target house type picture to two-dimentional floor plan,
The target house type picture is sent to server, which receives the target house type picture that mobile terminal is sent, and according to this
Target house type picture generates corresponding three-dimensional house type model, and the three-dimensional house type model of generation is returned to mobile terminal, the shifting
Dynamic terminal receives the corresponding three-dimensional house type model that server is returned based on the target house type picture.
Specifically, which receives the target house type picture of mobile terminal transmission, and judges whether deposit in database
In the corresponding three-dimensional house type model pattern of the target house type picture, if there are the target house type pictures corresponding three in database
House type model pattern is tieed up, then obtains the corresponding three-dimensional house type model pattern of target house type picture from the database, then foundation
Wall material and legend material in default material database fill three-dimensional house type model pattern, to generate corresponding three-dimensional house type mould
Type, and three-dimensional house type model is back to mobile terminal.Wherein, the generating mode of three-dimensional house type model is from default material database
Wall material and legend material needed for obtaining the three-dimensional house type model pattern, and by the wall material and legend material fill to
Corresponding position in the three-dimensional house type model pattern, to construct three-dimensional house type model.It should be noted that above-mentioned default material database
The material of the wall of middle storage, door and window and furniture can be configured by those skilled in the art based on actual conditions, the present embodiment
This is not especially limited.
If there is no the corresponding three-dimensional house type model patterns of the target house type picture in database, to target floor plan
Piece is handled, and to obtain house type data, i.e., by image recognition technology, two-dimentional floor plan is converted to the description of house type feature
Set, i.e. house type data, are specially labeled as wall, door and window or furniture for each pixel in floor plan, know convenient for machine
Not;Then the house type data are input to default house type identification model, with the wall object of determination three-dimensional house type model to be built
The house type data for being labeled with wall, door and window or furniture are input to default house type identification model by position and legend object's position,
And the output based on default house type identification model is as a result, determine wall object's position and legend object's position;Subsequently, according to pre-
If wall height, wall object's position and legend object's position, corresponding three-dimensional house type model pattern is generated, i.e., in wall object
The wall of default wall height is erect in position, to generate the three-dimensional house type framework for having wall, then according to the legend object position
It sets, the filling position of legend object is marked in generating the three-dimensional house type framework for having wall, to construct three-dimensional house type model pattern;
Last wall material and legend material according in default material database, fills three-dimensional house type model pattern, to generate corresponding three
House type model is tieed up, and three-dimensional house type model is back to mobile terminal.It should be noted that above-mentioned default wall height can be by this
Field technical staff is configured based on actual conditions, and the present embodiment is not especially limited this, optionally, presets wall height
It is 3.3 meters.
Wherein, presetting house type identification model is obtained by machine learning, and the two-dimentional family of big data quantity is specially obtained
Type figure, and processing refinement is carried out to two-dimentional floor plan, each pixel in floor plan is labeled as wall, door and window or furniture,
Obtain include the wall of mark, door and window or furniture house type data, then will include the wall, door and window or furniture of mark
House type data are trained house type identification model as training data, until house type identification model restrains, when house type identifies mould
When type restrains, house type identification model is constructed, and solidify the house type identification model in the server.
The mobile terminal 100 is also used to receive the correspondence three that the server is returned based on the target house type picture
House type model is tieed up, and the three-dimensional house type model is carried out by output by default AR algorithm and is shown.
In the present embodiment, mobile terminal is after getting three-dimensional house type model, by presetting AR algorithm for the three-dimensional family
Pattern type carries out output and shows, observes for user, and user adjusts the angle and distance of mobile terminal and two-dimentional floor plan, can check
The inner case of three-dimensional house type model and three-dimensional house type model, checks house type details convenient for user.Wherein, AR is preset to calculate
Method can be configured by those skilled in the art based on actual conditions, and the present embodiment is not especially limited this.
In the present embodiment, when mobile terminal monitors AR house type instruction for previewing, call camera to two-dimentional floor plan into
Row scanning, to obtain target house type picture, and the target house type picture is sent in server, which is based on the target
House type picture generates three-dimensional house type model, and the three-dimensional house type model is sent to mobile terminal, finally by default AR algorithm
The three-dimensional house type model is carried out output to show, is checked for user, by the above-mentioned means, two-dimentional floor plan can be converted to three
House type model is tieed up, and the three-dimensional house type model is carried out by output by AR algorithm and is shown, house purchaser is passed through mobile whole
The house type of 3 D stereo is checked at end, and house purchaser can accurately and conveniently observe house type, see room convenient for house purchaser.
Further, it is based on above-mentioned first embodiment, propose the house type prebrowsing system the present invention is based on AR second is real
Example is applied, the difference with previous embodiment is, the mobile terminal is also used to:
When mobile terminal monitors AR house type instruction for previewing, judge whether current operation program application has camera and make
Use permission;
If current operation program application has camera access right, camera is called to sweep two-dimentional floor plan
It retouches, to obtain target house type picture;
If current operation program application does not have camera access right, the license confirmation of camera access right is shown
Play frame;
When the license confirmation instruction for monitoring to trigger based on the license confirmation bullet frame, current operation program application point is given
With camera access right, and camera is called to be scanned two-dimentional floor plan, to obtain target house type picture.
Specifically, when monitoring AR house type instruction for previewing, mobile terminal judges whether current operation program application has
Camera access right reads the camera access right table in default storage region, and obtains current operation program application
Application identities, then judge whether the application identities are located in the camera access right table, if the application identities are located at
In the camera access right table, it is determined that current operation program application has camera access right, if the application mark
Know and be not located in camera access right table, it is determined that current operation program application does not have camera access right;
If current operation program application has camera access right, camera is called to sweep two-dimentional floor plan
It retouches, to obtain target house type picture, if current operation program application does not have camera access right, shows that camera makes
With the license confirmation bullet frame of permission, and when the license confirmation instruction for monitoring to trigger based on the license confirmation bullet frame, to current
Program application distribution camera access right is run, i.e., the camera is written into the application identities that current operation program is applied and used
In authority list, then camera is called to be scanned two-dimentional floor plan, to obtain target house type picture.By the above-mentioned means,
Convenient for controlling the access right of camera.
In addition, the embodiment of the present invention also provides a kind of readable storage medium storing program for executing.
The house type previewer based on AR is stored on readable storage medium storing program for executing of the present invention, wherein the house type based on AR is pre-
When program of looking at is executed by processor, realize such as the step of the above-mentioned house type method for previewing based on AR.
Wherein, the house type previewer based on AR, which is performed realized method, can refer to house type the present invention is based on AR
Each embodiment of method for previewing, details are not described herein again.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone,
Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of house type method for previewing based on augmented reality AR, which is characterized in that the house type method for previewing packet based on AR
Include following steps:
When mobile terminal monitors AR house type instruction for previewing, camera is called to be scanned two-dimentional floor plan, to obtain mesh
House type picture is marked, and the target house type picture is sent to server;
The server is based on the target house type picture and generates three-dimensional house type model, and the three-dimensional house type model is sent to
The mobile terminal;
The three-dimensional house type model is carried out output by default AR algorithm and shown by the mobile terminal.
2. the house type method for previewing based on AR as described in claim 1, which is characterized in that the server is based on the target
House type picture generates the step of three-dimensional house type model and includes:
The server receives the target house type picture that the mobile terminal is sent, and judges in database with the presence or absence of institute
State the corresponding three-dimensional house type model pattern of target house type picture;
When there is the corresponding three-dimensional house type model pattern of the target house type picture in the database, obtain from the database
The corresponding three-dimensional house type model pattern of the target house type picture;
According to the wall material and legend material preset in material database, the three-dimensional house type model pattern is filled, to generate correspondence
Three-dimensional house type model.
3. the house type method for previewing based on AR as claimed in claim 2, which is characterized in that the server judges in database
After the step of whether being stored with the target house type picture corresponding three-dimensional house type model pattern, further includes:
When the corresponding three-dimensional house type model pattern of the target house type picture is not present in the server in the database, to described
Target house type picture is handled, to obtain house type data;
The house type data are input to default house type identification model, with the wall object position of determination three-dimensional house type model to be built
It sets and legend object's position;
According to wall height, the wall object's position and the legend object's position is preset, corresponding three-dimensional house type mould is generated
Pattern formula;
It executes step: according to the wall material and legend material preset in material database, filling the three-dimensional house type model pattern, with
Generate corresponding three-dimensional house type model.
4. the house type method for previewing as claimed in any one of claims 1-3 based on AR, which is characterized in that described when mobile whole
When end monitors AR house type instruction for previewing, camera is called to be scanned two-dimentional floor plan, to obtain target house type picture
Before step, further includes:
When mobile terminal monitors AR house type instruction for previewing, the mobile terminal judges whether current operation program application has
Camera access right;
If current operation program application has camera access right, then follow the steps: call camera to two-dimentional floor plan into
Row scanning, to obtain target house type picture;
If current operation program application does not have camera access right, the license confirmation bullet of camera access right is shown
Frame;
When the license confirmation instruction for monitoring to trigger based on the license confirmation bullet frame, taken the photograph to current operation program using distribution
As head access right;
It executes step: calling camera to be scanned two-dimentional floor plan, to obtain target house type picture.
5. the house type method for previewing based on AR as claimed in claim 4, which is characterized in that the current fortune of mobile terminal judgement
Whether the step of having camera access right, includes: for line program application
The mobile terminal reads the camera access right table in default storage region, and obtains current operation program application
Application identities;
Judge whether the application identities are located in the camera access right table;
If the application identities are located in the camera access right table, it is determined that current operation program application has camera
Access right;
If the application identities are not located in the camera access right table, it is determined that current operation program application, which does not have, takes the photograph
As head access right.
6. a kind of house type prebrowsing system based on AR, which is characterized in that the house type prebrowsing system based on AR includes mobile whole
End and server, in which:
The mobile terminal, for calling camera to be scanned two-dimentional floor plan when monitoring AR house type instruction for previewing,
To obtain target house type picture, and the target house type picture is sent to server;
The server, the target house type picture sent for receiving the mobile terminal, and according to the target house type
Corresponding three-dimensional house type model is sent to the mobile terminal by picture;
The mobile terminal is also used to receive the corresponding three-dimensional house type mould that the server is returned based on the target house type picture
Type, and the three-dimensional house type model is carried out by output by default AR algorithm and is shown.
7. the house type prebrowsing system based on AR as claimed in claim 6, which is characterized in that the server is also used to:
The target house type picture that the mobile terminal is sent is received, and is judged in database with the presence or absence of the target house type
The corresponding three-dimensional house type model pattern of picture;
When there is the corresponding three-dimensional house type model pattern of the target house type picture in the database, obtain from the database
The corresponding three-dimensional house type model pattern of the target house type picture;
According to the wall material and legend material preset in material database, the three-dimensional house type model pattern is filled, to generate correspondence
Three-dimensional house type model, and the three-dimensional house type model is back to the mobile terminal.
8. the house type prebrowsing system based on AR as claimed in claim 7, which is characterized in that the server is also used to:
When the corresponding three-dimensional house type model pattern of the target house type picture is not present in the server in the database, to described
Target house type picture is handled, to obtain house type data;
The house type data are input to default house type identification model, with the wall object position of determination three-dimensional house type model to be built
It sets and legend object's position;
According to wall height, the wall object's position and the legend object's position is preset, corresponding three-dimensional house type mould is generated
Pattern formula;
According to the wall material and legend material preset in material database, the three-dimensional house type model pattern is filled, to generate correspondence
Three-dimensional house type model, and the three-dimensional house type model is back to the mobile terminal.
9. the house type prebrowsing system based on AR as described in any one of claim 6-8, which is characterized in that the mobile terminal
It is also used to:
When mobile terminal monitors AR house type instruction for previewing, judge whether current operation program application has the camera right to use
Limit;
If current operation program application has camera access right, camera is called to be scanned two-dimentional floor plan, with
Obtain target house type picture;
If current operation program application does not have camera access right, the license confirmation bullet of camera access right is shown
Frame;
When the license confirmation instruction for monitoring to trigger based on the license confirmation bullet frame, taken the photograph to current operation program using distribution
As head access right, and camera is called to be scanned two-dimentional floor plan, to obtain target house type picture.
10. a kind of computer readable storage medium, which is characterized in that be stored on the computer readable storage medium based on AR
House type previewer, wherein realizing such as claim 1 to 5 when the house type previewer based on AR is executed by processor
Any one of described in the house type method for previewing based on AR the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811531412.2A CN109615478A (en) | 2018-12-14 | 2018-12-14 | House type method for previewing, system and computer readable storage medium based on AR |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811531412.2A CN109615478A (en) | 2018-12-14 | 2018-12-14 | House type method for previewing, system and computer readable storage medium based on AR |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109615478A true CN109615478A (en) | 2019-04-12 |
Family
ID=66008567
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811531412.2A Pending CN109615478A (en) | 2018-12-14 | 2018-12-14 | House type method for previewing, system and computer readable storage medium based on AR |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109615478A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110458927A (en) * | 2019-08-02 | 2019-11-15 | 广州彩构网络有限公司 | A kind of information processing method that picture is generated to three-dimensional house type model automatically |
CN111447504A (en) * | 2020-03-27 | 2020-07-24 | 北京字节跳动网络技术有限公司 | Three-dimensional video processing method and device, readable storage medium and electronic equipment |
CN111738877A (en) * | 2019-06-19 | 2020-10-02 | 北京京东尚科信息技术有限公司 | Data processing method and device, electronic device, and medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104751515A (en) * | 2015-04-03 | 2015-07-01 | 福建省纳金网信息技术有限公司 | Real estate building exhibition method |
CN108470377A (en) * | 2018-03-12 | 2018-08-31 | 万维云视(上海)数码科技有限公司 | AR sees room device |
-
2018
- 2018-12-14 CN CN201811531412.2A patent/CN109615478A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104751515A (en) * | 2015-04-03 | 2015-07-01 | 福建省纳金网信息技术有限公司 | Real estate building exhibition method |
CN108470377A (en) * | 2018-03-12 | 2018-08-31 | 万维云视(上海)数码科技有限公司 | AR sees room device |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111738877A (en) * | 2019-06-19 | 2020-10-02 | 北京京东尚科信息技术有限公司 | Data processing method and device, electronic device, and medium |
CN110458927A (en) * | 2019-08-02 | 2019-11-15 | 广州彩构网络有限公司 | A kind of information processing method that picture is generated to three-dimensional house type model automatically |
CN111447504A (en) * | 2020-03-27 | 2020-07-24 | 北京字节跳动网络技术有限公司 | Three-dimensional video processing method and device, readable storage medium and electronic equipment |
WO2021190229A1 (en) * | 2020-03-27 | 2021-09-30 | 北京字节跳动网络技术有限公司 | Method and apparatus for processing three-dimensional video, readable storage medium, and electronic device |
US11785195B2 (en) | 2020-03-27 | 2023-10-10 | Beijing Bytedance Network Technology Co., Ltd. | Method and apparatus for processing three-dimensional video, readable storage medium and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107018336B (en) | The method and apparatus of method and apparatus and the video processing of image procossing | |
CN103914876B (en) | For showing the method and apparatus of video on 3D maps | |
CN109615478A (en) | House type method for previewing, system and computer readable storage medium based on AR | |
CN106658145A (en) | Live data processing method and device | |
US20130187905A1 (en) | Methods and systems for capturing and moving 3d models and true-scale metadata of real world objects | |
CN104735435B (en) | Image processing method and electronic device | |
CN103984720B (en) | Tile map creation method and device based on OpenGL | |
CN108960947A (en) | Show house methods of exhibiting and system based on virtual reality | |
US20090262139A1 (en) | Video image display device and video image display method | |
KR101961758B1 (en) | 3-Dimensional Contents Providing System, Method and Computer Readable Recoding Medium | |
CN105955471A (en) | Virtual reality interaction method and device | |
CN105183477A (en) | System and method for acquiring virtual item information of application program | |
CN106713968A (en) | Live broadcast data display method and device | |
CN112446939A (en) | Three-dimensional model dynamic rendering method and device, electronic equipment and storage medium | |
CN105389090A (en) | Game interaction interface displaying method and apparatus, mobile terminal and computer terminal | |
WO2017017790A1 (en) | Image generation device, image generation system, and image generation method | |
TWI579731B (en) | Combined with the reality of the scene and virtual components of the interactive system and methods | |
CN113781660A (en) | Method and device for rendering and processing virtual scene on line in live broadcast room | |
CN113941147A (en) | Picture generation method, device, equipment and medium | |
CN108597034A (en) | Method and apparatus for generating information | |
CN114449303A (en) | Live broadcast picture generation method and device, storage medium and electronic device | |
US20200380770A1 (en) | All-around spherical light field rendering method | |
CN112511815B (en) | Image or video generation method and device | |
CN105306797A (en) | User terminal and image shooting method | |
CN109656647A (en) | Chart Picture Generation Method, device, equipment and computer readable storage medium |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190412 |
|
WD01 | Invention patent application deemed withdrawn after publication |