House decoration processing method, device, electronic equipment and storage medium
By using graphical user interface and augmented reality technology in the house decoration design process, users can view the decoration effect in real time on the terminal and design it, solving the problems of low user participation, high design cost and low efficiency, and achieving a more efficient design process and better communication effect.
Patent Information
- Application Number
- CN202111642127.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-29
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2041-12-29
AI Technical Summary
During the house decoration design process, there are problems such as low user participation, high design cost and low design efficiency.
The preset terminal provides a graphical user interface to display the real-time image stream corresponding to the target physical space, display the decoration AR model in response to the model addition instructions, collect images to generate decoration renderings, and generate a three-dimensional room model through model synthesis.
It improves users' participation in the house decoration design process, reduces design costs and improves design efficiency. By displaying three-dimensional room models, users can better understand the decoration design and improve communication efficiency with designers.
Smart Images

Figure CN114462117B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of image processing, and in particular to a processing method for house decoration, a processing device for house decoration, an electronic device and a computer-readable storage medium. Background Art
[0002] As an ordinary consumer, it is difficult to understand the flat drawings when buying a house or decorating the house. The paper renderings are also difficult to reflect the relationship of the entire space of the house. Users can only perceive the decoration style, space layout and furniture placement of the house after the house is decorated. After the house is decorated, if it fails to meet the user's expectations, since the decoration is not only time-consuming but also resource-consuming, the current design style cannot be adjusted, which makes the user's expectations very low and the user's needs cannot be met. In the process of house decoration design, designers often design the house decoration according to user needs, and users cannot participate in the house decoration in this process, which makes users too dependent on the designer's design and unable to make subjective choices. Summary of the invention
[0003] The embodiments of the present invention provide a processing method, device, electronic device and computer-readable storage medium for house decoration, so as to solve or partially solve the problems of low user participation, high design cost and low design efficiency in the design process of house decoration.
[0004] The embodiment of the present invention discloses a method for processing house decoration, which provides a graphical user interface through a preset terminal. The method includes:
[0005] Displaying a real-time image stream corresponding to the target entity space in the graphical user interface;
[0006] In response to a model adding instruction, displaying at least one decoration AR model corresponding to the model adding instruction on the graphical user interface;
[0007] In response to the image acquisition instruction, the decoration AR model and the real-time image stream are acquired to generate a decoration effect image corresponding to the target physical space;
[0008] In response to the model synthesis instruction, a plurality of the decoration effect drawings are subjected to model synthesis to generate a three-dimensional room model corresponding to the target physical space, and the three-dimensional room model is displayed.
[0009] Optionally, the graphical user interface further displays a model control, and in response to the model adding instruction, displaying at least one decoration AR model corresponding to the model adding instruction on the graphical user interface includes:
[0010] In response to a selection operation on the model control, at least one decoration AR model is determined, and the decoration AR model is displayed in the graphical user interface.
[0011] Optionally, before the method responds to the image acquisition instruction, acquires the decoration AR model and the real-time image stream, and generates a decoration effect diagram corresponding to the target physical space, the method further includes:
[0012] In response to an adjustment operation on the decoration AR model, adjustment information corresponding to the adjustment operation is determined, and the decoration AR model is controlled to perform an operation corresponding to the adjustment information.
[0013] Optionally, the responding to the adjustment operation on the decoration AR model, determining adjustment information corresponding to the adjustment operation, and controlling the decoration AR model to perform the operation corresponding to the adjustment information includes:
[0014] In response to a position movement operation on the decoration AR model, an initial position and a target position of the decoration AR model in the graphical user interface are determined, and the decoration AR model is moved from the initial position to the target position.
[0015] Optionally, the responding to the adjustment operation on the decoration AR model, determining adjustment information corresponding to the adjustment operation, and controlling the decoration AR model to perform the operation corresponding to the adjustment information includes:
[0016] In response to a model size adjustment operation for the decoration AR model, an initial display size and a target display size of the decoration AR model in the graphical user interface are determined, and the decoration AR model is adjusted from the initial display size to the target display size.
[0017] Optionally, the responding to the adjustment operation on the decoration AR model, determining adjustment information corresponding to the adjustment operation, and controlling the decoration AR model to perform the operation corresponding to the adjustment information includes:
[0018] In response to a deletion operation on the decoration AR model, a target decoration AR model is determined, and the target decoration AR model is removed from the graphical user interface.
[0019] Optionally, displaying a real-time image stream corresponding to the target entity space in the graphical user interface includes:
[0020] In response to the house decoration instruction, the acquisition device of the preset terminal is triggered to display a real-time image stream corresponding to the target physical space in the graphical user interface.
[0021] Optionally, it also includes:
[0022] The three-dimensional room models corresponding to different target entity spaces belonging to the same target house are synthesized to generate a three-dimensional house model of the target house, and the three-dimensional house model is displayed.
[0023] The embodiment of the present invention further discloses a processing device for house decoration, which provides a graphical user interface through a preset terminal, and the device includes:
[0024] A real-time stream image display module, used to display a real-time image stream corresponding to the target entity space in the graphical user interface;
[0025] An AR model display module, configured to display, in response to a model adding instruction, at least one decoration AR model corresponding to the model adding instruction on the graphical user interface;
[0026] An effect picture generation module is used to collect the decoration AR model and the real-time image stream in response to the image collection instruction, and generate a decoration effect picture corresponding to the target physical space;
[0027] The room model display module is used to respond to the model synthesis instruction, synthesize the models of several decoration effect pictures, generate a three-dimensional room model corresponding to the target physical space, and display the three-dimensional room model.
[0028] Optionally, the graphical user interface further displays a model control, and the AR model display module is specifically used to:
[0029] In response to a selection operation on the model control, at least one decoration AR model is determined, and the decoration AR model is displayed in the graphical user interface.
[0030] Optionally, the device further comprises:
[0031] The AR model adjustment module is used to respond to the adjustment operation on the decoration AR model, determine the adjustment information corresponding to the adjustment operation, and control the decoration AR model to perform the operation corresponding to the adjustment information.
[0032] Optionally, the AR model adjustment module is specifically used to:
[0033] In response to a position movement operation on the decoration AR model, an initial position and a target position of the decoration AR model in the graphical user interface are determined, and the decoration AR model is moved from the initial position to the target position.
[0034] Optionally, the AR model adjustment module is specifically used to:
[0035] In response to a model size adjustment operation for the decoration AR model, an initial display size and a target display size of the decoration AR model in the graphical user interface are determined, and the decoration AR model is adjusted from the initial display size to the target display size.
[0036] Optionally, the AR model adjustment module is specifically used to:
[0037] In response to a deletion operation on the decoration AR model, a target decoration AR model is determined, and the target decoration AR model is removed from the graphical user interface.
[0038] Optionally, the real-time stream image display module is specifically used for:
[0039] In response to the house decoration instruction, the acquisition device of the preset terminal is triggered to display a real-time image stream corresponding to the target physical space in the graphical user interface.
[0040] Optionally, it also includes:
[0041] The house model display module is used to synthesize the three-dimensional room models corresponding to different target entity spaces belonging to the same target house, generate a three-dimensional house model of the target house, and display the three-dimensional house model.
[0042] The embodiment of the present invention further discloses an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
[0043] The memory is used to store computer programs;
[0044] The processor is used to implement the method described in the embodiment of the present invention when executing the program stored in the memory.
[0045] The embodiment of the present invention further discloses a computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, enables the processors to execute the method described in the embodiment of the present invention.
[0046] The embodiments of the present invention include the following advantages:
[0047] In an embodiment of the present invention, a user can perform decoration design through a terminal. During the decoration design process of a house, the terminal can display a real-time image stream corresponding to a target physical space in a graphical user interface, and in response to a model adding instruction, display at least one decoration AR model corresponding to the model adding instruction in the graphical user interface. After the model is added, the terminal can further respond to an image acquisition instruction to acquire the decoration AR model currently displayed in the graphical user interface and the real-time image stream to obtain a decoration rendering corresponding to the decoration AR model. When the user completes the relevant design according to the decoration rendering, the terminal can respond to a model synthesis instruction to perform model synthesis on several decoration renderings to obtain a three-dimensional room model corresponding to the target physical space, and display the three-dimensional room model. By combining AR technology, in the process of presenting the target physical space in real time through the terminal, the user can add the corresponding decoration AR model according to his own needs, and understand the decoration effect after the relevant decoration model and the physical space are combined, thereby greatly improving the user's participation in the house decoration design process. At the same time, by displaying the three-dimensional room model, the user has a certain understanding of the decoration design, so that when communicating with designers about house design, it can effectively improve communication efficiency, reduce design costs and improve design efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 It is a flowchart of the steps of a processing method for house decoration provided in an embodiment of the present invention;
[0049] Figure 2 is a schematic diagram of a house decoration interface provided in an embodiment of the present invention;
[0050] Figure 3 It is a schematic diagram of the process of house decoration provided in an embodiment of the present invention;
[0051] Figure 4 It is a structural block diagram of a house decoration processing device provided in an embodiment of the present invention;
[0052] Figure 5 is a block diagram of an electronic device provided in an embodiment of the present invention;
[0053] Figure 6 is a schematic diagram of a computer-readable storage medium provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0054] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0055] As an example, for the decoration design of a house, the user often states his or her needs to the designer, and then the designer designs the decoration of the house according to the user's needs, and then feeds back the design results to the user, and the user determines whether to make modifications based on the design drawings. In this process, it is very easy to increase the communication cost and design cost between the user and the designer, and the designer may not be able to fully display the user's needs. In this regard, in the related art, for the decoration design of a house, on the one hand, the user cannot effectively participate in the house design process, and is too dependent on the designer's design and cannot make subjective choices. On the other hand, if the user repeatedly adjusts the designer's decoration design results, it is easy to lead to low efficiency in the output of the design renderings, thereby increasing the cost of house design and reducing the efficiency of house design.
[0056] In this regard, one of the core inventive points of the embodiment of the present invention is to combine AR (Augmented Reality) technology in the process of house decoration design to present the relevant models involved in the decoration design, and adjust them according to user needs so that users can have a preliminary understanding of the corresponding decoration effects. Specifically, in the process of house decoration design, the terminal can display a real-time image stream corresponding to the target entity space in the graphical user interface, and respond to the model adding instruction to display at least one decoration AR model corresponding to the model adding instruction in the graphical user interface. After the model is added, the terminal can further respond to the image acquisition instruction to acquire the decoration AR model currently displayed in the graphical user interface and the real-time image stream to obtain a decoration effect picture corresponding to the decoration AR model. When the user completes the relevant design according to the decoration effect picture, the terminal The terminal can respond to the model synthesis instruction, synthesize several decoration effect pictures, obtain a three-dimensional room model corresponding to the target physical space, and display the three-dimensional room model. By combining AR technology, in the process of real-time image presentation of the target physical space through the terminal, the user can add the corresponding decoration AR model according to his own needs, and understand the decoration effect after the combination of the relevant decoration model and the physical space, thereby greatly improving the user's participation in the house decoration design process. At the same time, by displaying the three-dimensional room model, the user has a certain understanding of the decoration design, which can effectively improve the communication efficiency, reduce the design cost and improve the design efficiency when communicating with the designer on house design.
[0057] Specifically, refer to Figure 1 , shows a flowchart of a method for processing house decoration provided in an embodiment of the present invention, which provides a graphical user interface through a preset terminal, and specifically includes the following steps:
[0058] Step 101, displaying a real-time image stream corresponding to a target entity space in the graphical user interface;
[0059] Optionally, the embodiments of the present invention can be applied to a preset terminal, in which a corresponding application can be run, and the application interface can be displayed through the graphical user interface of the terminal, so that the user can perform house decoration design in the application interface. The preset terminal can be a desktop computer, a laptop computer, a tablet computer, a mobile terminal and other devices, and the application can include life applications, rental and sale applications, comprehensive applications, etc.
[0060] It should be noted that in the embodiments of the present invention, a mobile terminal as a preset terminal and a life application running on the mobile terminal are used as an example for illustrative description. The life application can provide the user with a house decoration design function. It can be understood that the present invention does not limit this.
[0061] In a specific implementation, when the terminal is running an application, when the user wants to renovate a physical house, the terminal can input a house renovation instruction to trigger the terminal's acquisition device to display a real-time image stream corresponding to the target physical space in the terminal's graphical user interface. The target physical space can be the space where the terminal is currently located. When the terminal responds to the house renovation instruction, it can call its own camera or use the acquisition device connected to the terminal to collect images, and display the real-time image stream of the space in the terminal's graphical user interface. As the position of the acquisition device changes, the real-time image stream can change in real time with the change of the position of the acquisition device, so that the user can determine the scene where the house renovation design is required by adjusting the observation angle.
[0062] In one example, when the terminal is running an application, the application interface of the application can be displayed through a graphical user interface, and a house decoration control can be displayed in the application interface. When the user touches the house decoration control, the terminal can respond to the touch operation on the house decoration control, triggering the terminal's acquisition device to display a real-time image stream of the current target physical space in the graphical user interface, thereby allowing the user to determine the scene where house decoration design is required by adjusting the observation angle.
[0063] Step 102, in response to the model adding instruction, displaying at least one decoration AR model corresponding to the model adding instruction on the graphical user interface;
[0064] In the embodiment of the present invention, different decoration AR models can be designed for different decoration styles, different houses, etc., wherein the decoration AR models can include furniture models, wallpaper models, and other three-dimensional models built based on AR technology. For example, for Nordic-style decoration design, furniture models and wallpaper models that are suitable for Nordic style can be designed; for traditional-style decoration design, furniture models and wallpaper models that are suitable for traditional style can be designed, so that users can choose decoration AR models according to their own needs, while realizing personalized house decoration design, and effectively improving the user's participation in house decoration design.
[0065] In a specific implementation, after the terminal responds to the house decoration instruction, the house decoration interface can be displayed in the graphical user interface. While the house decoration interface displays the real-time image stream corresponding to the target physical space, the model control can also be displayed in the house decoration interface. The user can add a decoration AR model in the graphical user interface through the model control. Specifically, the terminal can respond to the selection operation for the model control, determine at least one decoration AR model, and display the decoration AR model in the graphical user interface. Optionally, for the model control, in one case, different decoration AR models can correspond to different model controls, and the terminal can display the model controls corresponding to different decoration AR models in the house decoration interface; in another case, the model control can be used to trigger the display of a model list, and different decoration AR models can be included in the model list. When the user touches the model control, the terminal can display the model list in the house decoration interface, and the user can select the corresponding decoration AR model in the model list. It can be understood that the present invention is not limited to this.
[0066] For decoration AR models, developers can use the MagicaVoxel tool to create their own local models and import the models into the local computer. During the house decoration design process, they can directly make local selections; they can also select decoration AR models by obtaining models from the server during the house decoration design process.
[0067] When the user obtains the scene that needs to be decorated by adjusting the observation angle and adds the corresponding decoration AR model, the added decoration AR model can be adjusted to view the decoration effect between it and the decoration scene. Specifically, the terminal can respond to the adjustment operation on the decoration AR model, determine the adjustment information corresponding to the adjustment operation, and control the decoration AR model to perform the operation corresponding to the adjustment information. Among them, the adjustment operation may include position adjustment, size adjustment, replacement, deletion and other operations. By adjusting the decoration AR model, on the one hand, the user can view the decoration effect of the same decoration AR model in the decoration scene, and on the other hand, the user can combine different decoration AR models to view the decoration effect of the model combination, which can not only effectively give play to the user's subjective initiative and improve the user's participation in decoration design, but also realize the personalized customization of decoration design to meet the needs of different users.
[0068] For the position adjustment of the decoration AR model, the terminal can respond to the position movement operation for the decoration AR model, determine the initial position and target position of the decoration AR model in the graphical user interface, and move the decoration AR model from the initial position to the target position. In a specific implementation, if the preset terminal is a touch terminal, the user can select the decoration AR model by long pressing it, and then drag the decoration AR model to the corresponding position while keeping the finger touching the terminal screen, and release the finger to complete the position adjustment of the decoration AR model. In this process, the terminal can determine the trigger position point of the touch operation and obtain the real-time touch position point, and then adjust the display position of the decoration AR model in real time according to the trigger position point and the touch position point; if the preset terminal is a PC terminal, the user can select the decoration AR model by clicking and keeping clicking the mouse, and then drag the decoration AR model while keeping the selection to achieve the position adjustment of the decoration AR model.
[0069] For the size adjustment of the decoration AR model, the terminal can respond to the model size adjustment operation for the decoration AR model, determine the initial display size and target display size of the decoration AR model in the graphical user interface, and adjust the decoration AR model from the initial display size to the target display size. Optionally, in one case, the user can input a zoom operation for the decoration AR model, and the terminal can zoom the decoration AR model according to the zoom ratio corresponding to the zoom operation to achieve the size adjustment of the decoration AR model; in another case, the terminal can provide a size adjustment control for the decoration AR model in the house decoration interface. When the user selects the decoration AR model, the terminal displays the size adjustment control in the house decoration interface, and then the user can adjust the display size of the corresponding decoration AR model through the size adjustment control.
[0070] If the user wants to switch the decoration AR model to view the decoration effects between different models and decoration scenes, the existing decoration AR model can be deleted, and the terminal can respond to the deletion operation on the decoration AR model, determine the target decoration AR model, and remove the target decoration AR model in the graphical user interface. In a specific implementation, when the user selects a decoration AR model, the terminal can display a deletion control for the decoration AR model in the house decoration interface, and then the user can delete the decoration AR model through the deletion control.
[0071] It should be noted that the embodiments of the present invention include but are not limited to the above examples. It is understandable that the adjustment of the decoration AR model may also include other operations, and the user may also make settings according to actual needs, which is not limited by the present invention.
[0072] Step 103, in response to the image acquisition instruction, the decoration AR model and the real-time image stream are acquired to generate a decoration effect image corresponding to the target physical space;
[0073] After the user completes the adjustment of the decoration AR model, he can input an image acquisition instruction to trigger the terminal to acquire images of the decoration AR model displayed in the current graphical user interface and the real-time image stream, and generate a decoration rendering corresponding to the decoration AR model.
[0074] In one example, referring to Figure 2 , shows a schematic diagram of a house decoration interface provided in an embodiment of the present invention, wherein a house decoration interface 20 is displayed through a graphical user interface of a terminal, wherein the house decoration interface 20 may include a real-time image stream 210, a decoration AR model 220, and a plurality of interactive controls, wherein the interactive controls may include an image acquisition control 230, and when a user touches the image acquisition control 230, the terminal may perform image acquisition on the real-time image stream 210 and the decoration AR model 220 displayed by the current graphical user interface (i.e., a screenshot of the contents involved except the interactive controls), and then use the obtained image as a decoration effect diagram corresponding to the target physical space, thereby, by combining AR technology, in the process of presenting the image of the target physical space in real time through the terminal, the user may add the corresponding decoration AR model according to his own needs, so that the user can intuitively and quickly understand the decoration effect after the combination of the relevant decoration model and the physical space, thereby greatly improving the user's participation in the house decoration design process.
[0075] Step 104, in response to the model synthesis instruction, synthesize the plurality of decoration effect drawings to generate a three-dimensional room model corresponding to the target physical space, and display the three-dimensional room model.
[0076] In a specific implementation, when a user performs decoration design on the same target physical space and obtains multiple decoration renderings, he can input a model synthesis instruction, and the terminal will perform model synthesis on the multiple decoration renderings belonging to the same target physical space to obtain a three-dimensional room model corresponding to the target physical space, and display the three-dimensional room model in a graphical user interface. By displaying the three-dimensional room model, the user can have a certain understanding of the decoration design, and thus can effectively improve communication efficiency, reduce design costs and improve design efficiency when communicating with designers on house design.
[0077] Optionally, the terminal can perform image recognition on multiple decoration renderings belonging to the same target physical space through AI (Artificial Intelligence) recognition technology, and then perform three-dimensional modeling on the recognition results to convert them into a three-dimensional room space, so as to display the target physical space through 3D controls. While allowing users to initially perceive the decoration effect of the house, they can also "roam" the target physical space in an immersive way, further improving the user's spatial perception and sense of reality.
[0078] In addition, when the house to be renovated by the user involves multiple functional spaces, such as a living room, dining room, kitchen, bedroom, balcony, bathroom, entrance hall, etc., the user can decorate and design these functional spaces separately to obtain the corresponding three-dimensional room models, and then input the house model generation instruction. The terminal will synthesize the three-dimensional room models corresponding to different target physical spaces belonging to the same target house, generate a three-dimensional house model of the target house, and display the three-dimensional house model so that the user can understand the situation of his own design from the overall decoration effect of the house, and then make local decoration adjustments based on the overall decoration effect, which effectively improves the flexibility of house decoration.
[0079] In one example, referring to Figure 3, shows a schematic diagram of the process of house decoration provided in an embodiment of the present invention. During the process of running the application program, the terminal responds to the user's house decoration instruction. While the graphical user interface displays the real-time image stream, the terminal can obtain furniture models from the server, such as sofa models, dining table models, bed models, etc. Then, according to the user's addition of the model, the added AR furniture model can be displayed in the graphical user interface. After the model is added, the terminal can further respond to the image acquisition instruction, collect the AR furniture model currently displayed in the graphical user interface and the real-time graphic stream, and generate multiple decoration effect pictures. The terminal can send the decoration effect picture to the server, and the server can perform model synthesis on the decoration effect picture to obtain a three-dimensional room model. At the same time, multiple three-dimensional room models can be synthesized to obtain a three-dimensional house model. In the three-dimensional house model, there can be a model node corresponding to each three-dimensional room model. The user can jump to the room model through the model node during the browsing of the three-dimensional house model. By combining AR technology, in the process of real-time image presentation of the target physical space through the terminal, the user can add the corresponding decoration AR model according to his own needs, so that the user can intuitively and quickly understand the decoration effect after the combination of the relevant decoration model and the physical space, and greatly improve the user's participation in the house decoration design process.
[0080] In an embodiment of the present invention, a user can perform decoration design through a terminal. During the decoration design process of a house, the terminal can display a real-time image stream corresponding to a target physical space in a graphical user interface, and in response to a model adding instruction, display at least one decoration AR model corresponding to the model adding instruction in the graphical user interface. After the model is added, the terminal can further respond to an image acquisition instruction to acquire the decoration AR model currently displayed in the graphical user interface and the real-time image stream to obtain a decoration rendering corresponding to the decoration AR model. When the user completes the relevant design according to the decoration rendering, the terminal can respond to a model synthesis instruction to perform model synthesis on several decoration renderings to obtain a three-dimensional room model corresponding to the target physical space, and display the three-dimensional room model. By combining AR technology, in the process of presenting the target physical space in real time through the terminal, the user can add the corresponding decoration AR model according to his own needs, and understand the decoration effect after the relevant decoration model and the physical space are combined, thereby greatly improving the user's participation in the house decoration design process. At the same time, by displaying the three-dimensional room model, the user has a certain understanding of the decoration design, so that when communicating with designers about house design, it can effectively improve communication efficiency, reduce design costs and improve design efficiency.
[0081] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0082] Reference Figure 4 , shows a structural block diagram of a house decoration processing device provided in an embodiment of the present invention, which provides a graphical user interface through a preset terminal and may specifically include the following modules:
[0083] A real-time stream image display module 401, used to display a real-time image stream corresponding to a target entity space in the graphical user interface;
[0084] An AR model display module 402 is used to display at least one decoration AR model corresponding to the model adding instruction in the graphical user interface in response to the model adding instruction;
[0085] The rendering generation module 403 is used to collect the decoration AR model and the real-time image stream in response to the image collection instruction, and generate a decoration rendering corresponding to the target physical space;
[0086] The room model display module 404 is used to respond to the model synthesis instruction, synthesize the models of the plurality of decoration effect pictures, generate a three-dimensional room model corresponding to the target physical space, and display the three-dimensional room model.
[0087] In an optional embodiment, the graphical user interface further displays a model control, and the AR model display module 402 is specifically used to:
[0088] In response to a selection operation on the model control, at least one decoration AR model is determined, and the decoration AR model is displayed in the graphical user interface.
[0089] In an optional embodiment, the device further includes:
[0090] The AR model adjustment module is used to respond to the adjustment operation on the decoration AR model, determine the adjustment information corresponding to the adjustment operation, and control the decoration AR model to perform the operation corresponding to the adjustment information.
[0091] In an optional embodiment, the AR model adjustment module is specifically used to:
[0092] In response to a position movement operation on the decoration AR model, an initial position and a target position of the decoration AR model in the graphical user interface are determined, and the decoration AR model is moved from the initial position to the target position.
[0093] In an optional embodiment, the AR model adjustment module is specifically used to:
[0094] In response to a model size adjustment operation for the decoration AR model, an initial display size and a target display size of the decoration AR model in the graphical user interface are determined, and the decoration AR model is adjusted from the initial display size to the target display size.
[0095] In an optional embodiment, the AR model adjustment module is specifically used to:
[0096] In response to a deletion operation on the decoration AR model, a target decoration AR model is determined, and the target decoration AR model is removed from the graphical user interface.
[0097] In an optional embodiment, the real-time stream image display module 401 is specifically used for:
[0098] In response to the house decoration instruction, the acquisition device of the preset terminal is triggered to display a real-time image stream corresponding to the target physical space in the graphical user interface.
[0099] In an optional embodiment, it also includes:
[0100] The house model display module is used to synthesize the three-dimensional room models corresponding to different target entity spaces belonging to the same target house, generate a three-dimensional house model of the target house, and display the three-dimensional house model.
[0101] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0102] In addition, an embodiment of the present invention further provides an electronic device, such as Figure 5 As shown, it includes a processor 501, a communication interface 502, a memory 503 and a communication bus 504, wherein the processor 501, the communication interface 502, and the memory 503 communicate with each other through the communication bus 504.
[0103] Memory 503, used for storing computer programs;
[0104] The processor 501 is used to execute the program stored in the memory 503, and implements the following steps:
[0105] Displaying a real-time image stream corresponding to the target entity space in the graphical user interface;
[0106] In response to a model adding instruction, displaying at least one decoration AR model corresponding to the model adding instruction on the graphical user interface;
[0107] In response to the image acquisition instruction, the decoration AR model and the real-time image stream are acquired to generate a decoration effect image corresponding to the target physical space;
[0108] In response to the model synthesis instruction, a plurality of the decoration effect drawings are subjected to model synthesis to generate a three-dimensional room model corresponding to the target physical space, and the three-dimensional room model is displayed.
[0109] In an optional embodiment, the graphical user interface further displays a model control, and in response to the model adding instruction, displaying at least one decoration AR model corresponding to the model adding instruction on the graphical user interface includes:
[0110] In response to a selection operation on the model control, at least one decoration AR model is determined, and the decoration AR model is displayed in the graphical user interface.
[0111] In an optional embodiment, before the method responds to the image acquisition instruction, acquires the decoration AR model and the real-time image stream, and generates a decoration rendering corresponding to the target physical space, the method further includes:
[0112] In response to an adjustment operation on the decoration AR model, adjustment information corresponding to the adjustment operation is determined, and the decoration AR model is controlled to perform an operation corresponding to the adjustment information.
[0113] In an optional embodiment, the responding to the adjustment operation on the decoration AR model, determining adjustment information corresponding to the adjustment operation, and controlling the decoration AR model to perform the operation corresponding to the adjustment information includes:
[0114] In response to a position movement operation on the decoration AR model, an initial position and a target position of the decoration AR model in the graphical user interface are determined, and the decoration AR model is moved from the initial position to the target position.
[0115] In an optional embodiment, the responding to the adjustment operation on the decoration AR model, determining adjustment information corresponding to the adjustment operation, and controlling the decoration AR model to perform the operation corresponding to the adjustment information includes:
[0116] In response to a model size adjustment operation for the decoration AR model, an initial display size and a target display size of the decoration AR model in the graphical user interface are determined, and the decoration AR model is adjusted from the initial display size to the target display size.
[0117] In an optional embodiment, the responding to the adjustment operation on the decoration AR model, determining adjustment information corresponding to the adjustment operation, and controlling the decoration AR model to perform the operation corresponding to the adjustment information includes:
[0118] In response to a deletion operation on the decoration AR model, a target decoration AR model is determined, and the target decoration AR model is removed from the graphical user interface.
[0119] In an optional embodiment, displaying a real-time image stream corresponding to the target entity space in the graphical user interface includes:
[0120] In response to the house decoration instruction, the acquisition device of the preset terminal is triggered to display a real-time image stream corresponding to the target physical space in the graphical user interface.
[0121] In an optional embodiment, it also includes:
[0122] The three-dimensional room models corresponding to different target entity spaces belonging to the same target house are synthesized to generate a three-dimensional house model of the target house, and the three-dimensional house model is displayed.
[0123] The communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0124] The communication interface is used for communication between the above terminal and other devices.
[0125] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0126] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0127] like Figure 6 As shown, in another embodiment provided by the present invention, a computer-readable storage medium 601 is also provided, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer executes the processing method for house decoration described in the above embodiment.
[0128] In another embodiment of the present invention, a computer program product including instructions is provided. When the computer program product is run on a computer, the computer executes the processing method for house decoration described in the above embodiment.
[0129] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.
[0130] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0131] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0132] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.
Claims
1. A method for house decoration, characterized in that: Providing a graphical user interface through a preset terminal, the method comprising: In response to the house decoration instruction, triggering the acquisition device of the preset terminal to display a real-time image stream corresponding to the target physical space in the graphical user interface, wherein the real-time image stream changes as the position of the acquisition device changes; In response to a model adding instruction, displaying at least one decoration AR model corresponding to the model adding instruction on the graphical user interface; In response to the image acquisition instruction, the decoration AR model and the real-time image stream are acquired to generate a decoration effect image corresponding to the target physical space; In response to the model synthesis instruction, a plurality of the decoration effect drawings are subjected to model synthesis to generate a three-dimensional room model corresponding to the target physical space, and the three-dimensional room model is displayed; Synthesizing the three-dimensional room models corresponding to different target physical spaces belonging to the same target house to generate a three-dimensional house model of the target house, and displaying the three-dimensional house model; the three-dimensional house model includes model nodes corresponding to the three-dimensional room models; The jump between the three-dimensional room models is performed through the model node.
2. The method according to claim 1, characterized in that The graphical user interface further displays a model control, and in response to the model adding instruction, displaying at least one decoration AR model corresponding to the model adding instruction on the graphical user interface includes: In response to a selection operation on the model control, at least one decoration AR model is determined, and the decoration AR model is displayed in the graphical user interface.
3. The method according to claim 1, characterized in that Before the method responds to the image acquisition instruction, acquires the decoration AR model and the real-time image stream, and generates a decoration effect diagram corresponding to the target physical space, the method further includes: In response to an adjustment operation on the decoration AR model, adjustment information corresponding to the adjustment operation is determined, and the decoration AR model is controlled to perform an operation corresponding to the adjustment information.
4. The method according to claim 3, characterized in that The responding to the adjustment operation of the decoration AR model, determining adjustment information corresponding to the adjustment operation, and controlling the decoration AR model to perform the operation corresponding to the adjustment information, includes: In response to a position movement operation on the decoration AR model, an initial position and a target position of the decoration AR model in the graphical user interface are determined, and the decoration AR model is moved from the initial position to the target position.
5. The method according to claim 3, characterized in that: The responding to the adjustment operation of the decoration AR model, determining adjustment information corresponding to the adjustment operation, and controlling the decoration AR model to perform the operation corresponding to the adjustment information, includes: In response to a model size adjustment operation for the decoration AR model, an initial display size and a target display size of the decoration AR model in the graphical user interface are determined, and the decoration AR model is adjusted from the initial display size to the target display size.
6. The method according to claim 3, characterized in that The responding to the adjustment operation of the decoration AR model, determining adjustment information corresponding to the adjustment operation, and controlling the decoration AR model to perform the operation corresponding to the adjustment information, includes: In response to a deletion operation on the decoration AR model, a target decoration AR model is determined, and the target decoration AR model is removed from the graphical user interface.
7. A processing device for house decoration, characterized in that: A graphical user interface is provided through a preset terminal, and the device comprises: A real-time stream image display module, configured to trigger, in response to a house decoration instruction, a collection device of the preset terminal to display a real-time image stream corresponding to a target physical space in the graphical user interface, wherein the real-time image stream changes as the position of the collection device changes; An AR model display module, configured to display, in response to a model adding instruction, at least one decoration AR model corresponding to the model adding instruction on the graphical user interface; An effect picture generation module is used to collect the decoration AR model and the real-time image stream in response to the image collection instruction, and generate a decoration effect picture corresponding to the target physical space; A room model display module, for responding to a model synthesis instruction, synthesizing a plurality of the decoration effect pictures into a model, generating a three-dimensional room model corresponding to the target physical space, and displaying the three-dimensional room model; The house model display module is used to synthesize the three-dimensional room models corresponding to different target physical spaces belonging to the same target house, generate a three-dimensional house model of the target house, and display the three-dimensional house model; the three-dimensional house model includes model nodes corresponding to the three-dimensional room model; and jumps between the three-dimensional room models are performed through the model nodes.
8. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; The memory is used to store computer programs; The processor is used to implement the method according to any one of claims 1 to 6 when executing the program stored in the memory.
9. A computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, cause the processors to perform the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Model data processing method and device
CN107742319A