CN117215690A - Image display method, image processing method, data processing method and computing device - Google Patents

Image display method, image processing method, data processing method and computing device Download PDF

Info

Publication number
CN117215690A
CN117215690A CN202311079731.5A CN202311079731A CN117215690A CN 117215690 A CN117215690 A CN 117215690A CN 202311079731 A CN202311079731 A CN 202311079731A CN 117215690 A CN117215690 A CN 117215690A
Authority
CN
China
Prior art keywords
image
information
sample
space
parameter
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
Application number
CN202311079731.5A
Other languages
Chinese (zh)
Inventor
卞文瀚
吕诗晨
邬宏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Taobao China Software Co Ltd
Original Assignee
Taobao China Software Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Taobao China Software Co Ltd filed Critical Taobao China Software Co Ltd
Priority to CN202311079731.5A priority Critical patent/CN117215690A/en
Publication of CN117215690A publication Critical patent/CN117215690A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application provides an image display method, an image processing method, a data processing method and computing equipment. Acquiring a first image corresponding to a target space provided by a user; determining a space type and at least one repair parameter of the target space in response to a configuration operation of the user; acquiring at least one second image generated based on the first image and conforming to the space type and the at least one repair parameter; wherein the at least one second image is generated and obtained by using an image processing model based on the first image in combination with the spatial type and the at least one repair parameter; displaying the image prompt information of the at least one second image in the user interface. The technical scheme provided by the embodiment of the application improves the image generation efficiency.

Description

Image display method, image processing method, data processing method and computing device
Technical Field
The embodiment of the application relates to the technical field of image processing, in particular to an image display method, an image processing method, a data processing method and computing equipment.
Background
In order to facilitate decoration design of a decoration user, at present, a plurality of on-line systems can provide design functions for the decoration user so as to facilitate the user to determine objects or materials and the like required by the decoration, however, for the decoration user, how to carry out the decoration is often unclear, if a designer is relied on to give a decoration effect diagram, the cost is high, and the generation efficiency of the decoration effect diagram is low.
Disclosure of Invention
The embodiment of the application provides an image display method, an image processing method, a data processing method and computing equipment, which are used for solving the problem of low image generation efficiency in the prior art.
In a first aspect, an embodiment of the present application provides an image display method, applied to a first client, where the method includes:
acquiring a first image corresponding to a target space provided by a user;
determining a space type and at least one repair parameter of the target space in response to a configuration operation of the user;
acquiring at least one second image generated based on the first image and conforming to the space type and the at least one repair parameter;
displaying image prompt information of the at least one second image in a user interface;
Wherein the at least one second image is generated based on the first image using an image processing model in combination with the spatial type and the at least one repair parameter.
Optionally, the method further comprises:
and displaying the selected second image on the user interface in response to an image selection operation of the user.
Optionally, the method further comprises:
generating a sharing picture at least comprising the image content of the first image and the image content of the second image in response to the sharing operation for the second image;
and storing the sharing pictures.
Optionally, the generating, in response to the sharing operation for the second image, a sharing picture including at least the image content of the first image and the image content of the second image includes:
responding to the sharing operation aiming at the second image, and displaying contrast prompt information;
based on the confirmation operation for the comparison prompt information, generating a sharing picture at least comprising the image content of the first image and the image content of the second image;
and generating a sharing picture containing the image content of the second image based on the cancel operation for the comparison prompt information.
Optionally, the method further comprises:
an update operation for any object in the second image is detected, and the second image is updated.
Optionally, the method further comprises:
providing experience prompt information corresponding to at least one decoration style on the user interface;
providing space type configuration prompt information and at least one repair parameter configuration prompt information on the user interface in response to a selection operation for any experience prompt information;
determining the configured space type and at least one repair parameter in response to a configuration operation of the user;
acquiring at least one effect image which is generated based on a preset image and accords with the space type and the at least one repair parameter;
and displaying the image prompt information of the at least one effect image.
Optionally, the method further comprises:
responsive to a search request triggered by the user for the second image, searching based on the second image to determine at least one object matching a target in the second image;
and displaying object prompt information of the at least one object on the user interface.
Optionally, the first client is a light application running in the second client; the generating the sharing picture at least comprising the image content of the first image and the image content of the second image comprises:
Generating a sharing picture which at least comprises the image content of the first image and the image content of the second image and carries the sharing parameters corresponding to the first client;
the method further comprises the steps of:
sharing the sharing picture; and after the sharing picture is read by the second client, identifying and obtaining the sharing parameter from the sharing picture, and operating the corresponding first client according to the sharing parameter.
Optionally, the detecting an update operation for any object in the second image, and updating the second image includes:
detecting a selection operation for any region in the second image, and determining a target body included in the region;
displaying update prompt information corresponding to the target body;
determining update content in response to the update operation of the user;
updating the second image based on the update content.
Optionally, the method further comprises:
sending an image generation request to a server based on the first image, the space type and the at least one repair parameter, so that the server generates at least one second image conforming to the space type and the at least one repair parameter based on the first image;
Displaying waiting prompt information on the user interface;
the displaying the image prompt information of the at least one second image in the user interface comprises:
and canceling the display of the waiting prompt information on the user interface, and displaying the image prompt information of the at least one second image.
Optionally, after the user interface displays the waiting prompt information, the method further includes:
under the condition that the user exits from the current page, outputting image completion prompt information after the at least one second image is acquired;
and responding to the completion of the viewing operation of the prompt information aiming at the image, and displaying the image prompt information of the at least one second image on the user interface.
Optionally, the method further comprises:
displaying scheme list prompt information;
responding to the viewing operation of the scheme list prompt information, and displaying at least one group of scheme prompt information;
and responding to the viewing operation aiming at any group of scheme prompt information, and displaying the corresponding image prompt information of at least one second image.
Optionally, the method further comprises:
responding to the image generation operation of the user, and sending an image generation request to a server based on the first image, the space type and the at least one repair parameter so that the server can generate at least one second image conforming to the space type and the at least one repair parameter based on the first image;
And responding to the image generation operation, and generating scheme prompt information corresponding to the target space according to the acquisition state of the at least one second image.
Optionally, the determining, in response to the user's configuration operation, a space type of the target space and at least one repair parameter includes:
providing space type configuration prompt information and at least one repair parameter configuration prompt information on the user interface;
in response to a configuration operation of the user, a space type configured for the target space and at least one repair parameter are determined.
Optionally, the method further comprises:
generating prompt information on the user interface;
the sending, in response to the image generation operation of the user, an image generation request to a server based on the first image, the space type, and the at least one repair parameter, includes:
and responding to an image generation operation triggered by the generation prompt information, and sending an image generation request to a server based on the first image, the space type and the at least one repair parameter.
Optionally, the method further comprises:
providing image acquisition prompt information on the user interface;
The obtaining the first image corresponding to the target space provided by the user comprises the following steps:
shooting the target space to obtain a first image in response to the image acquisition operation of the user; or, in response to an image uploading operation of the image, acquiring a first image corresponding to the target space from a local image set.
Optionally, the method further comprises:
providing decoration prompt information on a user interface;
providing modification prompt information on the user interface in response to an operation triggered by the decoration prompt information;
and responding to the operation triggered by the modification prompt information, and providing image acquisition prompt information on the user interface.
Optionally, the method further comprises:
responding to the operation triggered by the modification prompt information, and displaying image standard prompt information on the user interface; the image standard prompt information is used for prompting the image requirement which is met by the first image.
In a second aspect, an embodiment of the present application provides an image processing method, where the method includes:
acquiring a first image corresponding to a target space provided by a user;
determining a space type and at least one repair parameter corresponding to the target space;
Extracting first spatial feature information of the target space from the first image;
combining the space type and the at least one repair parameter, and obtaining at least one second space characteristic information based on the first space characteristic information;
at least one second image is obtained using the image processing model based on the at least one second spatial feature information.
Optionally, the image processing model is obtained based on first spatial feature information of a sample image and an effect image corresponding to the sample image; wherein the effect image corresponds to a sample space type and at least one sample decoration parameter.
Optionally, the extracting the first spatial feature information of the target space from the first image includes:
extracting spatial contour information and first spatial structure information from the first image; the first space structure information comprises at least one target object in the target space and corresponding object positions respectively;
the combining the spatial type and the at least one repair parameter, and obtaining at least one second spatial feature information based on the first spatial feature information includes:
the first space structure information is adjusted by combining the space type and the at least one repair parameter, so that at least one second space structure information is obtained;
And respectively combining the spatial profile information and the at least one second spatial structure information to obtain at least one second spatial feature information.
Optionally, the adjusting the first spatial structure information by combining the spatial type and the at least one repair parameter, and obtaining at least one second spatial structure information includes:
searching the space type, at least one object corresponding to the at least one repair parameter and the repair information corresponding to different objects;
and adjusting the first space structure information according to the decoration information of the at least one object and different objects to generate at least one second space structure information.
Optionally, the adjusting the first spatial structure information in combination with the spatial type and the at least one repair parameter, to obtain at least one second spatial structure information includes:
generating at least one second spatial structure information using an extended model based on the spatial type, the at least one repair parameter, and the first spatial structure information.
Optionally, the extracting spatial profile information and first spatial structure information from the first image includes:
Extracting spatial contour information from the first image by using a contour extraction model;
and performing image semantic segmentation on the first image to obtain first spatial structure information.
Optionally, the acquiring the first image corresponding to the target space provided by the user includes:
providing image acquisition prompt information to a first client;
acquiring a first image obtained by shooting the target space by the first client; or acquiring a first image corresponding to the target space acquired by the first client from a local image set.
Optionally, the determining the space type and the at least one repair parameter corresponding to the target space includes:
providing space type configuration prompt information and at least one repair parameter configuration prompt information for the first client;
acquiring a space type and at least one repair parameter sent by the first client; the space type and at least one repair parameter are determined for the first client in response to a configuration operation of the user.
Optionally, the method further comprises:
providing the first client with generation prompt information;
the obtaining the first image corresponding to the target space provided by the user comprises the following steps:
Receiving an image generation request sent by the first client; the image generation request is sent to the first client side in response to the image generation operation of the user based on the first image, the space type and the at least one repair parameter;
and acquiring a first image corresponding to the target space provided by the user based on the image generation request.
Optionally, the method further comprises:
receiving a search request sent by a first client;
searching based on a second image to determine at least one object matching a target in the second image;
and sending the object prompt information of the at least one object to the first client.
Optionally, the method further comprises:
providing experience prompt information corresponding to at least one decoration style for a first client;
receiving an experience request sent by a first client in response to a selection operation aiming at any experience prompt information;
providing space type configuration prompt information and at least one repair parameter configuration prompt information for the first client;
acquiring a space type and at least one repair parameter sent by the first client; the space type and at least one repair parameter are determined for the first client in response to a configuration operation of the user;
Generating at least one effect image conforming to the space type and the at least one repair parameter based on a preset image;
and sending the at least one effect image to the first client.
In a third aspect, an embodiment of the present application provides a data processing method, where the method includes:
determining a sample image;
determining a sample space type and at least one sample decoration parameter corresponding to the sample image;
extracting first sample characteristic information from a sample image;
and training an image processing model based on the first sample characteristic information and an effect image conforming to the sample space type and at least one sample decoration parameter.
Optionally, the training the image processing model based on the first sample characteristic information and the effect image conforming to the sample space type and the at least one sample decoration parameter includes:
combining the sample space type and the at least one sample decoration parameter, and obtaining at least one second sample characteristic information based on the first sample characteristic information;
and training an image processing model by utilizing the at least one second sample characteristic information and the effect image conforming to the sample space type and the at least one sample decoration parameter respectively.
In a fourth aspect, in an embodiment of the present application, a computing device is provided, including a processing component and a storage component;
the storage component stores one or more computer instructions; the one or more computer instructions are operable to be invoked by the processing component to implement an image display method as described in the first aspect above or an image processing method as described in the second aspect above or a data processing method as described in the third aspect above.
In a fifth aspect, an embodiment of the present application provides a computer storage medium storing a computer program, where the computer program is executed by a computer to implement the image display method according to the first aspect, the image processing method according to the second aspect, or the data processing method according to the third aspect.
The method and the device acquire the first image corresponding to the target space provided by the user; determining a space type and at least one repair parameter of the target space in response to a configuration operation of the user; acquiring at least one second image generated based on the first image and conforming to the space type and the at least one repair parameter; wherein the at least one second image is generated and obtained by using an image processing model based on the first image in combination with the spatial type and the at least one repair parameter; displaying the image prompt information of the at least one second image in the user interface. The technical scheme of the embodiment of the application improves the generation efficiency of the image, and the second image can present a real visual effect to help a user to determine the decoration scheme.
These and other aspects of the application will be more readily apparent from the following description of the embodiments.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of one embodiment of a processing system provided by the present application;
FIG. 2 is a flow chart illustrating one embodiment of an image display method provided by the present application;
FIGS. 3a to 3d are schematic views respectively showing interface display of a user terminal in a practical application according to an embodiment of the present application;
FIG. 4 is a flow chart illustrating one embodiment of an image processing method provided by the present application;
FIG. 5 is a flow chart illustrating one embodiment of a data processing method provided by the present application;
fig. 6 is a schematic view showing the structure of an embodiment of an image display device according to the present application;
Fig. 7 is a schematic view showing the structure of an embodiment of an image processing apparatus provided by the present application;
FIG. 8 is a schematic diagram illustrating the construction of one embodiment of a data processing apparatus provided by the present application;
FIG. 9 illustrates a schematic diagram of one embodiment of a computing device provided by the present application.
Detailed Description
In order to enable those skilled in the art to better understand the present application, the following description will make clear and complete descriptions of the technical solutions according to the embodiments of the present application with reference to the accompanying drawings.
In some of the flows described in the specification and claims of the present application and in the foregoing figures, a plurality of operations occurring in a particular order are included, but it should be understood that the operations may be performed out of order or performed in parallel, with the order of operations such as 101, 102, etc., being merely used to distinguish between the various operations, the order of the operations themselves not representing any order of execution. In addition, the flows may include more or fewer operations, and the operations may be performed sequentially or in parallel. It should be noted that, the descriptions of "first" and "second" herein are used to distinguish different messages, devices, modules, etc., and do not represent a sequence, and are not limited to the "first" and the "second" being different types.
The technical scheme of the embodiment of the application can be applied to the scene of processing pictures provided by enterprise users, individual users and the like by utilizing an online system, and at present, in order to facilitate decoration users to carry out decoration design, a plurality of online systems can provide design functions for the decoration users so as to facilitate the users to determine objects or materials and the like required by decoration, however, for the decoration users, how to carry out decoration is often unclear, if a designer is relied on to give a decoration effect diagram, the cost is higher, and the generation efficiency of the decoration effect diagram is lower.
In order to improve the generation efficiency of the decoration effect graph, the inventor provides a technical scheme of the application through a series of researches, in the embodiment of the application, a first image corresponding to a target space provided by a user is obtained, the space type and at least one repair parameter of the target space are determined in response to configuration operation of the user, at least one second image which is generated based on the first image and accords with the space type and the at least one repair parameter is obtained, the at least one second image is combined with the space type and the at least one repair parameter, the first image is generated and obtained based on an image processing model, image prompt information of the at least one second image is displayed in a user interface, the generation efficiency of the image is improved, the second image can present a real visual effect, and the user is helped to determine the decoration scheme.
It should be noted that, in the embodiment of the present application, the use of user data may be involved, and in practical application, the user specific personal data may be used in the solution described herein within the scope allowed by the applicable legal regulations in the country under the condition of meeting the applicable legal regulations in the country (for example, the user explicitly agrees to the user to notify practically, etc.).
It should be noted that, in the embodiment of the present application, the described user is generally referred to as a "virtual user" in a network virtual environment, and the real user may register a user account in a server through a registration manner to obtain a user identity in the network environment.
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to fall within the scope of the application.
The technical solution of the embodiment of the present application may be applied to the processing system shown in fig. 1, where the processing system may be a system with an image processing function, and the processing system may include a first client 101 and a server 102.
Wherein, the first client 101 and the server 102 establish a connection through a network. The network provides a medium for a communication link between the first client 101 and the server 102. The network may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The first client 101 may be a browser, APP (Application program), or a web Application such as H5 (HyperText Markup Language5, 5 th edition of hypertext markup language) Application, or a light Application (also called applet, a lightweight Application program), or cloud Application, etc., the first client 101 may be deployed in an electronic device, which needs to run depending on the device or some APP in the device, etc., and the electronic device may have a display screen and support information browsing, etc., for example, may be a personal mobile terminal such as a mobile phone, a tablet computer, a personal computer, etc., and for ease of understanding, the client is mainly represented by a device image in fig. 1. Various other types of applications may also be configured in the electronic device, such as search types, instant messaging types, and the like. The electronic device may be a device used by a user and having functions of calculation, internet surfing, communication and the like required by the user, for example, may be a mobile phone, a tablet computer, a personal computer, a wearable device and the like. An electronic device may generally include at least one processing component and at least one storage component. The electronic device may also include basic configurations such as a network card chip, an IO bus, an audio/video component, and the like, which is not limited in this aspect of the present application. Optionally, depending on the electronic device implementation, some peripheral devices may be included, such as a keyboard, mouse, stylus, printer, etc., as the application is not limited in this regard.
In a practical application, the first client 101 in the embodiment of the present application may refer to a web application or a light application, which runs in other APPs, so optionally, as shown in fig. 1, the system structure may further include a second client 103 running the first client 101. The second client 103 may be referred to as APP, and the first client 101 and the second client 103 are disposed in the same electronic device.
The server 102 may include one or more servers that provide various services, that is, it may be implemented as a distributed server cluster formed by a plurality of servers, or may be implemented as a single server, or may be a server of a distributed system, or a server combined with a blockchain, or may be a cloud server, or an intelligent cloud computing server or an intelligent cloud host with artificial intelligence technology, or the like.
In the application scenario of the embodiment of the present application, for example, the server 102 may obtain a first image, a space type, and at least one repair parameter corresponding to a target space sent by the first client 101, the server 102 may extract first spatial feature information of the target space from the first image, obtain at least one second spatial feature information based on the first spatial feature information in combination with the space type and the at least one repair parameter, obtain at least one second image using an image processing model based on the at least one second spatial feature information, and send the at least one second image to the first client 101 for the first client 101 to display image prompt information of the at least one second image in a user interface.
Details of the technical solution of the embodiment of the present application will be described in detail below.
Fig. 2 is a flowchart of an embodiment of an image display method provided by the present application, where the technical solution of the present embodiment may be executed by a first client, and the method may include the following steps:
201: and acquiring a first image corresponding to the target space provided by the user.
The target space may be an indoor space such as a living room, a bedroom, a dining room, a child room, a study room, etc. The first image may be, for example, an image obtained by photographing a living room, a bedroom, a restaurant, a child's room, a study room, or the like.
202: and determining the space type and at least one repair parameter of the target space in response to the configuration operation of the user.
The space type of the target space may include, for example, living rooms, bedrooms, restaurants, child rooms, study rooms, and the like.
The at least one repair parameter may include, for example, a finishing style, presence or absence of furniture, etc.
203: at least one second image generated based on the first image is acquired that conforms to the spatial type and the at least one repair parameter.
Wherein the at least one second image may be generated based on the first image using an image processing model in combination with the spatial type and the at least one repair parameter.
The image processing model may be trained based on a sample space type and at least one sample decoration parameter corresponding to the sample image, and first sample feature information extracted from the sample image.
For example, the sample feature information may refer to spatial contour information and spatial structure information extracted from the sample image.
For example, the first client may send the first image, the space type of the target space and at least one repair parameter to the server, and the server generates at least one second image corresponding to the space type and the at least one repair parameter based on the first image by using the image processing model and sends the at least one second image to the first client, where the first client may obtain the at least one second image.
204: displaying the image prompt information of the at least one second image in the user interface.
When at least one second image is one image, the image prompt information may be the second image.
When the at least one second image is a plurality of images, the image prompt information may include a combined image formed by combining (e.g. stitching) the plurality of second images, and thumbnails corresponding to the plurality of second images respectively.
Alternatively, a first area and a second area may be provided in the user interface, image prompt information of at least one second image may be displayed in the first area, a combined image may be displayed in the second area, and the second image displayed as a corresponding second image may be updated in the second area according to an image selection operation by the user, or the like. In addition, a thumbnail or the like corresponding to the combined image may be displayed in the first area.
In this embodiment, a first image corresponding to a target space provided by a user is obtained, a space type and at least one repair parameter of the target space are determined in response to a configuration operation of the user, and at least one second image which is generated based on the first image and accords with the space type and the at least one repair parameter is obtained; wherein the at least one second image is generated and obtained by utilizing an image processing model based on the first image in combination with the space type and the at least one repair parameter, and image prompt information of the at least one second image is displayed in a user interface. The image generation efficiency is improved, and the second image can present a real visual effect to help a user to determine a decoration scheme.
In some embodiments, the method may further comprise: the selected second image is displayed on the user interface in response to an image selection operation by the user. For example, in response to an image selection operation for any one of the thumbnails in the image prompt information, a second image corresponding to the selected thumbnail may be displayed on the user interface.
In some embodiments, the method may further comprise: in response to a search request triggered by a user for the second image, searching is performed based on the second image to determine at least one object matching a target in the second image, and object prompt information of the at least one object is displayed on a user interface.
The search request can be sent to the server, the server searches based on the second image to determine at least one object matched with the target in the second image, and object prompt information of the at least one object sent by the server is obtained. The target body may include, for example, a floor, a ceiling, a wall coating, a door and window, furniture, a household appliance, a decorative artwork, a living room plant, etc., and may be detected and obtained by a target detection technology, which is not described herein. The at least one object for which the target is matched may refer to, for example, the same type of product as the target. Therefore, the second image can stimulate the product purchasing desire of the user, and the conversion rate of the corresponding product of the target body in the second image is improved.
The object is matched with different object pictures in an image matching mode, so that at least one object matched with the object is determined.
Optionally, the method may further include: in response to a viewing operation for any one of the object prompt messages, an object detail page of a corresponding object can be displayed, related processing controls for processing the object, such as a purchase control, a collection control and the like, can be displayed in the object detail page, and a processing operation triggered for any one of the processing controls can be triggered to perform corresponding object processing.
As an alternative implementation, the method may further include: generating a sharing picture at least comprising the image content of the first image and the image content of the second image in response to the sharing operation for the second image; and saving the sharing pictures.
Wherein generating the sharing picture including at least the image content of the first image and the image content of the second image in response to the sharing operation for the second image may include: responding to the sharing operation aiming at the second image, and displaying contrast prompt information; based on the confirmation operation aiming at the contrast prompt information, generating a sharing picture at least comprising the image content of the first image and the image content of the second image; and generating a sharing picture containing the image content of the second image based on the cancelling operation for the contrast prompt information.
In addition, the sharing picture can be shared to other users, so the method can further include: sharing the sharing picture.
In an actual application, the first client may be executed in the second client, and the generating the sharing picture that includes at least the image content of the first image and the image content of the second image may include: generating a sharing picture which at least comprises the image content of the first image and the image content of the second image and carries the sharing parameters corresponding to the first client.
The sharing parameter may refer to a first client URL link. The sharing picture can be read by the second client, the sharing parameter is identified and obtained from the sharing picture, and the corresponding first client is operated according to the sharing parameter. The first client is a light application running in the second client.
The sharing picture may refer to, for example, invoking a social client, sending the sharing image to a friend user in the social client, and the like, where the friend user saves the sharing image to a local album, and operating a second client, and the second client may read the sharing picture.
As another alternative implementation, the method may further include: responding to the sharing operation aiming at the second image, and generating a page link of the current page; the sharing page is linked to the second client. The current page is the page displayed after the image selection operation of the user is responded. And after the second client reads the page link, the corresponding first client is operated, and the current page is displayed.
As yet another alternative implementation, the method may further include: responding to the sharing operation aiming at the second image, and generating a text password based on the sharing parameters corresponding to the first client; and sharing the text password to the second client. The sharing parameter may refer to a URL link of the first client or a page link of the current page. The current page is the page displayed after the image selection operation of the user is responded. And the second client runs the corresponding first client based on the text password, or displays the current page.
The page link or the text password can also be sent to a friend user in the social client by calling the social client, and the friend user can read the page link or the text password under the condition that the friend user executes the copy operation and operates the second client.
In some embodiments, the method may further comprise: an update operation for any object in the second image is detected, and the second image is updated.
Wherein detecting an update operation for any object in the second image, updating the second image may include: detecting a selection operation for any region in the second image, and determining a target body included in the region; displaying update prompt information corresponding to the target body; determining update content in response to an update operation of a user; the second image is updated based on the update content.
For example, the object may be updated to other objects, or parameters of the object may be updated, such as changing the television to a wall painting, changing the television size, etc., or updating the color of the wall paint, etc.
In some embodiments, to facilitate the user comparing the second image with the first image, the method may further include: displaying contrast switching prompt information on a user interface; and responding to the contrast original image operation triggered by the contrast switching prompt information of the user for the second image, and switching and displaying the second image as the first image. The contrast switch prompt may be a control.
In some embodiments, the method may further comprise: based on the first image, the space type and the at least one repair parameter, sending an image generation request to the server side so that the server side generates at least one second image conforming to the space type and the at least one repair parameter based on the first image; and displaying waiting prompt information on the user interface.
Wherein displaying the image prompt information of the at least one second image in the user interface may include: and cancelling display of waiting prompt information on the user interface, and displaying the image prompt information of at least one second image. For example, the waiting prompt information may be a generating time length of the prompt second image, which may be obtained statistically by a sending time of the image generating request and an obtaining time of at least one second image, or may be estimated to be obtained according to a current network state or preset in combination with an actual application situation, etc., for example, "waiting for 30 seconds to 60 seconds is being generated, etc.
Wherein, after the user interface displays the waiting prompt message, the method may further include: under the condition that the user exits from the current page, outputting image completion prompt information after at least one second image is acquired; and in response to completing the viewing operation of the prompt information for the images, displaying the image prompt information of at least one second image on the user interface.
The current page may be a page displaying waiting prompt information, the image completion prompt information may be in a popup window, for example, text content in the popup window may be "scheme generated, please view".
In some embodiments, the method may further comprise: and displaying and generating prompt information on a user interface. The generation hint information may be, for example, an "immediate generation" control.
Accordingly, in response to the image generation operation of the user, sending the image generation request to the server based on the first image, the spatial type, and the at least one repair parameter may include: and responding to an image generation operation triggered by generating prompt information, and sending an image generation request to a server based on the first image, the space type and at least one repair parameter.
In some embodiments, the method may further comprise: responding to image generation operation of a user, and sending an image generation request to a server based on the first image, the space type and at least one repair parameter so that the server generates at least one second image conforming to the space type and the at least one repair parameter based on the first image; and responding to the image generation operation, and generating scheme prompt information corresponding to the target space according to the acquisition state of at least one second image.
For example, the scheme prompt message may include a second image, a space type corresponding to the second image, and at least one repair parameter.
The method may further comprise: displaying scheme list prompt information; responding to the viewing operation of the scheme list prompt information, and displaying at least one group of scheme prompt information; and responding to the viewing operation aiming at any group of scheme prompt information, and displaying the corresponding image prompt information of at least one second image.
For example, the scheme list prompt information can be a my scheme control, and the scheme prompt information generated by the history can be displayed by clicking the control, so that a user can conveniently check the scheme generated by the history.
In some embodiments, determining the space type and the at least one repair parameter of the target space in response to the configuration operation of the user may include: providing space type configuration prompt information and at least one repair parameter configuration prompt information on a user interface; in response to a configuration operation by a user, a type of space configured for the target space and at least one repair parameter are determined.
The space type configuration prompt information is used for prompting the configuration space type, and can comprise controls such as a living room, a bedroom, a dining room, a child room, a study room and the like.
The at least one decoration parameter configuration prompt message is used for prompting and configuring decoration parameters such as decoration style, furniture and the like, and can comprise controls such as 'empty room', 'furniture and the like', and decoration style controls such as 'cartoon wind', 'Sibozuke', 'cream wind', 'North European wind', and the like.
In some embodiments, the method may further comprise: providing image acquisition prompt information on a user interface.
The acquiring the first image corresponding to the target space provided by the user may include: responding to image acquisition operation triggered by a user aiming at image acquisition prompt information, and shooting a target space to obtain a first image; or, in response to an image uploading operation of the images, acquiring a first image corresponding to the target space from the local image set.
The image acquisition mode can comprise temporary shooting or uploading from a local place, and the like, and correspondingly, the image acquisition prompt information can comprise a shooting control, a selecting control from an album, and the like. The user can click a shooting control to trigger image acquisition operation, shoot a target space to obtain a first image, or click a selecting control from an album to trigger image uploading operation, and acquire a first image corresponding to the target space from a local image set.
In some embodiments, the method may further comprise: providing decoration prompt information on a user interface; responding to the operation triggered by the decoration prompt information, and providing the reconstruction prompt information on a user interface; and responding to the operation triggered by the modification prompt information, and providing image acquisition prompt information on a user interface.
The decoration prompt information can be, for example, a control for making AI inspired to build into reality, and the transformation prompt information can be, for example, a control for checking the effect of me home by one key.
Wherein the method may further comprise: and responding to the operation triggered by the reconstruction prompt information, and displaying the image standard prompt information on a user interface. The image standard prompting information is used for prompting the image requirement met by the first image, and can comprise information such as recommended centered shooting, bright space, clear layout and the like, and information such as people, disordered background, dim light and the like.
In some embodiments, in order for the user to quickly experience the image display method, a preset image may be preset for the user to experience. The method may further comprise: providing experience prompt information corresponding to at least one decoration style on a user interface; providing space type configuration prompt information and at least one repair parameter configuration prompt information on a user interface in response to a selection operation aiming at any experience prompt information; determining the configured space type and at least one repair parameter in response to a configuration operation of a user; acquiring at least one effect image which is generated based on a preset image and accords with the space type and at least one repair parameter; and displaying the image prompt information of at least one effect image. Alternatively, in the case that the user interface provides decoration prompt information, in response to an operation triggered by the decoration prompt information, experience prompt information corresponding to at least one decoration style may also be provided in the user interface.
The experience cues may be, for example, an "immediate experience" control. And the at least one effect image which is generated based on the preset image and accords with the space type and the at least one repair parameter and is sent by the server can be obtained by sending the space type and the at least one repair parameter to the server. The at least one effect image can help the user to know different decoration styles, know the image generation process and the like, so that the user can be prompted on how to operate and the decoration requirement of the user is stimulated.
For ease of understanding, in one practical application, reference is made to the interface schematic of the user interface shown in figures 3 a-3 d,
in the user interface 300 shown in fig. 3a, image acquisition prompt 31 may be displayed, including a "take a picture" control and a "select from album" control, and image standard prompt 32, and scheme list prompt 33 may also be displayed.
The user may click on the "photograph" control to trigger the image acquisition operation, to photograph the target space, such as "living room", to obtain a first image, or click on the "select from album" control to trigger the image uploading operation, to obtain a first image corresponding to the target space from the local image set, and after obtaining the first image provided by the user, as shown in fig. 3b, the obtained first image 35 may be displayed in the user interface, and in addition, the space type configuration prompt information 36 and at least one repair parameter configuration prompt information may be displayed. The space type configuration prompt information is used for prompting the configuration space type, and can comprise controls such as a living room, a bedroom, a dining room, a child room, a study room and the like. The at least one decoration parameter configuration prompt message is used to prompt to configure decoration parameters such as decoration style, furniture, etc., and may include, for example, controls 37 such as "empty room", "furniture, etc., and decoration style controls 38 such as" cartoon "," taboo "," cream "," north euler ", etc. In response to a configuration operation by a user, a type of space configured for the target space and at least one repair parameter are determined. A generate prompt message, i.e., an "immediately generate" control 39, may also be displayed in the user interface 300, and in response to an image generation operation triggered by a user for generating the prompt message, an image generation request may be sent to a server based on the first image, the space type, and the at least one repair parameter, so that the server may generate at least one second image that conforms to the space type and the at least one repair parameter based on the first image.
As shown in fig. 3c, the image prompt 40 of at least one second image may be displayed in the user interface 300, for example, may include a combined image formed by combining (e.g., stitching) a plurality of second images, and a thumbnail corresponding to each of the plurality of second images. The first client may display the second image 41 corresponding to one of the thumbnails in response to an image selection operation triggered by the user clicking on the selected thumbnail.
In addition, the user interface 300 may also display a contrast switch prompt message, i.e. a "contrast original image" control 42, a search prompt message, i.e. a "find same" control 43, a save prompt message, i.e. a save control 44, a change prompt message, i.e. a "change style" control 45, and a share prompt message, i.e. a "share effect" control 46. Responsive to a user clicking a "contrast artwork" control, a second image may be switchably displayed as a first image; in response to the user clicking on save control 44, the second image 41 currently displayed may be saved; in response to the user clicking on the find same control 43, a search request for a second image may be triggered; in response to the user clicking on the "change style" control 45, a jump may be made to the interface schematic shown in FIG. 3b for user reconfiguration; in response to a sharing operation triggered by a user clicking on the "sharing effect" control, a sharing picture may be generated, and the sharing picture may be used for saving or sharing.
In addition, after at least one second image is generated, corresponding scheme prompt information can be generated. As shown in fig. 3a to 3c, the scheme list prompt 33 may be displayed in the user interface 300, and the first client may respond to a user's viewing operation for the scheme list prompt 33, as shown in fig. 3d, may display scheme prompt 47 corresponding to a history generation scheme in the user interface 300, for example, the scheme prompt may include a second image, a space type and at least one repair parameter corresponding to the second image, and a corresponding generation time. And responding to the view operation of the user for any group of scheme prompt information, displaying the image prompt information of at least one second image corresponding to the selected scheme, related controls and the like, and displaying an interface schematic diagram shown in fig. 3 c.
In addition, at least one experience prompt 34 corresponding to the decoration style may be displayed in the user interface 300; in response to a selection operation of a user for any experience prompt information, the interface 301 is displayed, a user can configure a space type and at least one repair parameter of a preset image in the interface 301, in response to an image generation operation triggered by the user for generating the prompt information, image prompt information of at least one effect image which is generated based on the preset image and accords with the space type and the at least one repair parameter, related controls and the like are displayed, and an interface display effect can be shown in an interface schematic diagram shown in fig. 3 c.
Fig. 4 is a flowchart of an embodiment of an image processing method provided by the present application, where the technical solution of the present embodiment may be executed by a server, and the method may include the following steps:
401: and acquiring a first image corresponding to the target space provided by the user.
402: and determining the space type and at least one repair parameter corresponding to the target space.
403: first spatial feature information of the target space is extracted from the first image.
404: and combining the space type and at least one repair parameter, and acquiring at least one second space characteristic information based on the first space characteristic information.
405: at least one second image is obtained using the image processing model based on the at least one second spatial feature information.
The image processing model can be obtained based on the first spatial feature information of the sample image and the effect image corresponding to the sample image; wherein the effect image corresponds to the sample space type and at least one sample decoration parameter.
In this embodiment, a first image corresponding to a target space provided by a user is acquired, a space type and at least one repair parameter corresponding to the target space are determined, first spatial feature information of the target space is extracted from the first image, at least one second spatial feature information is obtained based on the first spatial feature information in combination with the space type and the at least one repair parameter, and at least one second image is obtained by using an image processing model based on the at least one second spatial feature information. The generation efficiency of the second image is improved, the second image can show a real visual effect, and a user is helped to determine a decoration scheme.
In some embodiments, extracting the first spatial feature information of the target space from the first image may include:
spatial contour information and first spatial structure information are extracted from the first image, wherein the first spatial structure information comprises at least one target object in a target space and object positions corresponding to the target object and the first spatial structure information respectively.
The spatial profile information may refer to, for example, overall profile information of the target space, and may include, for example, feature point information such as wall corner points, door and window points, and the like.
The at least one target object in the first space structure information may refer to furniture, home appliances, decorative artwork, and/or living room plants in the target space, alternatively, the at least one target object may specifically refer to an object having a certain scale in the target space, such as a large object like a wall, a door, a window, a sofa, a tea table, etc.
Wherein, combining the spatial type and the at least one repair parameter, based on the first spatial feature information, obtaining at least one second spatial feature information includes: the first space structure information is adjusted by combining the space type and at least one maintenance parameter, and at least one second space structure information is obtained; and combining the spatial profile information with at least one piece of second spatial structure information respectively to obtain at least one piece of second spatial feature information.
Wherein, the first spatial structure information may be randomly adjusted within a specified range to generate at least one second spatial structure information.
Wherein, as an optional implementation manner, by combining the space type and at least one repair parameter, the adjusting the first spatial structure information to obtain at least one second spatial structure information may include: searching the space type, at least one object corresponding to at least one repair parameter and the repair information corresponding to different objects; and adjusting the first space structure information according to the decoration information of at least one object and different objects to generate at least one second space structure information.
For example, the first spatial structure information is adjusted to obtain at least one second spatial structure information, which may be to add or subtract an object to the first spatial structure information, and/or adjust decoration information of the object, so that the second spatial structure information matches with the spatial type and at least one repair parameter.
The decoration information may refer to, for example, information that decorates an object feature, which may include color, size, material, and the like. For example, the space type is living room, the decoration style in the decoration parameters is that, the corresponding decoration information can comprise that the sofa is antique green, the tea table is Chinese walnut, antique iron pendant lamp and the like. The space type is living room, the decoration style in the decoration parameters is northern Europe style, and the corresponding decoration information can comprise that the sofa is white wax wood, the carpet is northern Europe pure color, and the like.
For example, the first space structure information comprises a napped sofa, a television, a marble tea table and corresponding positions respectively, the first space structure information is adjusted to obtain at least one second space structure information, the position of an object can be changed or not changed, the napped sofa is adjusted to be a cloth antique green sofa, the marble tea table is adjusted to be a Chinese walnut tea table, and the television is adjusted to be a Chinese painting.
The first spatial structure information can be randomly adjusted according to the decoration information of at least one object and different objects, so as to generate a plurality of second spatial structure information.
As another alternative implementation, in combination with the spatial type and the at least one repair parameter, the adjusting the first spatial structure information to obtain the at least one second spatial structure information may include: at least one second spatial structure information is generated using the extended model based on the spatial type, the at least one repair parameter, and the first spatial structure information.
The extended model may be generated, for example, by training using the sample space type, at least one sample decoration parameter, the sample first spatial structure information, and the corresponding sample second spatial structure information.
The extracting spatial contour information from the first image may be extracting spatial contour information from the first image using a contour extraction model; the extracting the first spatial structure information from the first image may be performing image semantic segmentation on the first image to obtain the first spatial structure information.
The contour extraction model can be generated by training a first image of a sample and corresponding spatial contour information of the sample. Image semantic segmentation of the first image may utilize an image semantic segmentation model.
In some embodiments, acquiring the first image corresponding to the target space provided by the user may include: providing image acquisition prompt information to a first client; the method comprises the steps that a first client shoots a target space to obtain a first image; or, acquiring a first image corresponding to the target space acquired by the first client from the local image set.
In some embodiments, determining the space type and the at least one repair parameter corresponding to the target space may include: providing space type configuration prompt information and at least one repair parameter configuration prompt information for the first client; acquiring a space type and at least one repair parameter sent by a first client; the space type and at least one repair parameter are determined for the first client in response to a configuration operation by a user.
In some embodiments, the method may further comprise: the first client is provided with generation hint information.
Accordingly, acquiring the first image corresponding to the target space provided by the user may include: receiving an image generation request sent by a first client; based on the image generation request, a first image corresponding to the target space provided by the user is acquired.
Wherein the image generation request is sent for the first client in response to an image generation operation by the user based on the first image, the spatial type, and the at least one repair parameter.
In some embodiments, the method may further comprise: receiving a search request sent by a first client; searching based on the second image to determine at least one object matching a target in the second image; and sending object prompt information of at least one object to the first client.
In some embodiments, in order for the user to quickly experience the image method, a preset image may be preset for the user to experience. The method may further comprise: providing experience prompt information corresponding to at least one decoration style for a first client; receiving an experience request sent by a first client in response to a selection operation aiming at any experience prompt information; providing space type configuration prompt information and at least one repair parameter configuration prompt information for the first client; acquiring a space type and at least one repair parameter sent by a first client; the space type and at least one repair parameter are determined for the first client in response to a configuration operation by the user; generating at least one effect image conforming to the space type and at least one repair parameter based on the preset image; at least one effect image is sent to the first client.
FIG. 5 is a flowchart of an embodiment of a data processing method according to the present application, which may include the following steps:
501: a sample image is determined.
502: and determining the sample space type and at least one sample decoration parameter corresponding to the sample image.
503: first sample feature information is extracted from the sample image.
504: an image processing model is trained based on the first sample characteristic information and the effect image conforming to the sample space type and the at least one sample finishing parameter.
Wherein extracting the first sample characteristic information from the sample image may include: spatial contour information and first sample spatial structure information are extracted from the sample image, wherein the first sample spatial structure information comprises at least one target object in a target space and corresponding object positions respectively.
The spatial profile information may include, for example, feature point information such as wall points, door and window points, and the like. The first space structure information can refer to furniture, household appliances, decorative artworks, living room plants and the like in the target space and corresponding positions respectively.
Wherein training the image processing model based on the first sample characteristic information and the effect image conforming to the sample space type and the at least one sample decoration parameter may include: combining the sample space type and at least one sample decoration parameter, and acquiring at least one second sample characteristic information based on the first sample characteristic information; and training an image processing model by using at least one second sample characteristic information and the effect image conforming to the sample space type and the at least one sample decoration parameter.
Wherein, in combination with the sample space type and the at least one sample decoration parameter, obtaining the at least one second sample characteristic information based on the first sample characteristic information may include: combining the sample space type and at least one sample decoration parameter, and adjusting the first sample space structure information to obtain at least one second sample space structure information; and combining the spatial profile information with at least one second sample spatial structure information respectively to obtain at least one second sample characteristic information.
In this embodiment, a sample image is determined, a sample space type and at least one sample decoration parameter corresponding to the sample image are determined, first sample feature information is extracted from the sample image, and an image processing model is trained based on the first sample feature information and an effect image conforming to the sample space type and the at least one sample decoration parameter. The image processing model can be used for generating the effect image from the first image corresponding to the target space provided by the user, and the generation efficiency of the effect image is improved.
Fig. 6 is a schematic structural diagram of an embodiment of an image display device according to an embodiment of the present application, where the method device includes:
A first obtaining module 601, configured to obtain a first image corresponding to a target space provided by a user;
a first determining module 602, configured to determine a space type and at least one repair parameter of the target space in response to a configuration operation of a user;
a second obtaining module 603, configured to obtain at least one second image generated based on the first image and conforming to the spatial type and the at least one repair parameter;
the display module 604 is configured to display image prompt information of at least one second image in the user interface.
Wherein the at least one second image incorporates the spatial type and the at least one repair parameter, the obtained is generated based on the first image using the image processing model.
In some embodiments, the apparatus may be operable to display the selected second image on the user interface in response to an image selection operation by the user.
In some embodiments, the apparatus may be further configured to, in response to a search request triggered by the user for the second image, search based on the second image to determine at least one object matching a target in the second image, and display object prompt information of the at least one object on the user interface.
The object is matched with different object pictures in an image matching mode, so that at least one object matched with the object is determined.
Optionally, the apparatus may be further configured to display an object detail page of the corresponding object in response to a viewing operation of the prompt information for any one of the objects, and display an associated processing control for performing processing of the object in the object detail page.
In some embodiments, as an optional implementation manner, the apparatus may be further configured to generate, in response to a sharing operation for the second image, a sharing picture including at least the image content of the first image and the image content of the second image; and saving the sharing pictures.
Wherein generating the sharing picture including at least the image content of the first image and the image content of the second image in response to the sharing operation for the second image may include: responding to the sharing operation aiming at the second image, and displaying contrast prompt information; based on the confirmation operation aiming at the contrast prompt information, generating a sharing picture at least comprising the image content of the first image and the image content of the second image; and generating a sharing picture containing the image content of the second image based on the cancelling operation for the contrast prompt information.
In addition, the device can share the sharing picture to other users, so the device can also be used for sharing the sharing picture.
In an actual application, the first client may be executed in the second client, and the generating the sharing picture that includes at least the image content of the first image and the image content of the second image may include: generating a sharing picture which at least comprises the image content of the first image and the image content of the second image and carries the sharing parameters corresponding to the first client.
As another alternative implementation manner, the device may be configured to generate a page link of the current page in response to the sharing operation for the second image; the sharing page is linked to the second client. The current page is the page displayed after the image selection operation of the user is responded. And after the second client reads the page link, the corresponding first client is operated, and the current page is displayed.
As yet another alternative implementation manner, the device may be configured to generate, in response to a sharing operation for the second image, a text password based on a sharing parameter corresponding to the first client; and sharing the text password to the second client. The sharing parameter may refer to a URL link of the first client or a page link of the current page. The current page is the page displayed after the image selection operation of the user is responded. And the second client runs the corresponding first client based on the text password, or displays the current page.
In some embodiments, the apparatus may be further configured to detect an update operation for any object in the second image, and update the second image.
Wherein detecting an update operation for any object in the second image, updating the second image may include: detecting a selection operation for any region in the second image, and determining a target body included in the region; displaying update prompt information corresponding to the target body; determining update content in response to an update operation of a user; the second image is updated based on the update content.
In some embodiments, to facilitate the user comparing the second image with the first image, the apparatus may be further configured to display a contrast switch prompt on the user interface; and responding to the contrast original image operation triggered by the contrast switching prompt information of the user for the second image, and switching and displaying the second image as the first image. The contrast switch prompt may be a control.
In some embodiments, the apparatus may be further configured to send an image generation request to the server based on the first image, the spatial type, and the at least one repair parameter, so that the server generates at least one second image conforming to the spatial type and the at least one repair parameter based on the first image; and displaying waiting prompt information on the user interface.
Wherein displaying the image prompt information of the at least one second image in the user interface may include: and cancelling display of waiting prompt information on the user interface, and displaying the image prompt information of at least one second image.
After the user interface displays the waiting prompt message, the device can also detect that the user exits from the current page, and after at least one second image is acquired, the device outputs the image completion prompt message; and in response to completing the viewing operation of the prompt information for the images, displaying the image prompt information of at least one second image on the user interface.
In some embodiments, the apparatus may also display the generated hint information on a user interface.
Accordingly, in response to the image generation operation of the user, sending the image generation request to the server based on the first image, the spatial type, and the at least one repair parameter may include: and responding to an image generation operation triggered by generating prompt information, and sending an image generation request to a server based on the first image, the space type and at least one repair parameter.
In some embodiments, the apparatus may further send, in response to an image generation operation by the user, an image generation request to the server based on the first image, the spatial type, and the at least one repair parameter, for the server to generate at least one second image conforming to the spatial type and the at least one repair parameter based on the first image; and responding to the image generation operation, and generating scheme prompt information corresponding to the target space according to the acquisition state of at least one second image.
The device can also display scheme list prompt information; responding to the viewing operation of the scheme list prompt information, and displaying at least one group of scheme prompt information; and responding to the viewing operation aiming at any group of scheme prompt information, and displaying the corresponding image prompt information of at least one second image.
In some embodiments, the first determining module determining the space type of the target space and the at least one repair parameter in response to a configuration operation of the user may include: providing space type configuration prompt information and at least one repair parameter configuration prompt information on a user interface; in response to a configuration operation by a user, a type of space configured for the target space and at least one repair parameter are determined.
In some embodiments, the apparatus may also provide image acquisition cues at the user interface. The first obtaining module obtaining the first image corresponding to the target space provided by the user may include: responding to image acquisition operation triggered by a user aiming at image acquisition prompt information, and shooting a target space to obtain a first image; or, in response to an image uploading operation of the images, acquiring a first image corresponding to the target space from the local image set.
In some embodiments, the apparatus may also provide finishing cues in the user interface; responding to the operation triggered by the decoration prompt information, and providing the reconstruction prompt information on a user interface; and responding to the operation triggered by the modification prompt information, and providing image acquisition prompt information on a user interface.
The device can also respond to the operation triggered by the transformation prompt information to display the image standard prompt information on the user interface.
In some embodiments, in order for the user to quickly experience the image display method, a preset image may be preset for the user to experience. The device can also provide decoration prompt information on a user interface; responding to the decoration prompting information, and providing experience prompting information corresponding to at least one decoration style on a user interface; providing space type configuration prompt information and at least one repair parameter configuration prompt information on a user interface in response to a selection operation aiming at any experience prompt information; determining the configured space type and at least one repair parameter in response to a configuration operation of a user; acquiring at least one effect image which is generated based on a preset image and accords with the space type and at least one repair parameter; and displaying the image prompt information of at least one effect image.
The image display device shown in fig. 6 may perform the image display method shown in the embodiment shown in fig. 2, and its implementation principle and technical effects are not repeated. The specific manner in which the respective modules, units, and operations of the image display apparatus in the above-described embodiments are performed has been described in detail in the embodiments related to the method, and will not be described in detail here.
Fig. 7 is a schematic structural diagram of an embodiment of an image processing apparatus according to an embodiment of the present application, where the method apparatus includes:
a third obtaining module 701, configured to obtain a first image corresponding to a target space provided by a user;
a second determining module 702, configured to determine a space type and at least one repair parameter corresponding to the target space;
a first extracting module 703, configured to extract first spatial feature information of the target space from the first image;
a first obtaining module 704, configured to obtain at least one second spatial feature information based on the first spatial feature information in combination with the spatial type and the at least one repair parameter;
a second obtaining module 705, configured to obtain at least one second image using the image processing model based on the at least one second spatial feature information.
The image processing model can be obtained based on first spatial feature information of a sample image and an effect image corresponding to the sample image; wherein the effect image corresponds to a sample space type and at least one sample decoration parameter.
In some embodiments, the first extracting module may extract the first spatial feature information of the target space from the first image, including: and extracting space contour information and first space structure information from the first image, wherein the first space structure information comprises at least one target object in the target space and object positions corresponding to the target object and the first space structure information respectively.
Wherein the first obtaining module combines the space type and at least one repair parameter, and obtaining at least one second space feature information based on the first space feature information includes: the first space structure information is adjusted by combining the space type and at least one maintenance parameter, and at least one second space structure information is obtained; and respectively combining the spatial profile information and at least one piece of second spatial structure information to obtain at least one piece of second spatial feature information.
Wherein, the first spatial result information may be randomly adjusted within a specified range to generate at least one second spatial result information.
Wherein, as an optional implementation manner, the first obtaining module adjusts the first spatial structure information in combination with the spatial type and the at least one repair parameter, and obtaining at least one second spatial structure information may include: searching the space type, at least one object corresponding to the at least one repair parameter and the repair information corresponding to different objects; and adjusting the first space structure information according to the decoration information of the at least one object and different objects to generate at least one second space structure information.
As another alternative implementation manner, the first obtaining module adjusts the first spatial structure information in combination with the spatial type and the at least one repair parameter, and obtaining at least one second spatial structure information may include: at least one second spatial structure information is generated using the extended model based on the spatial type, the at least one repair parameter, and the first spatial structure information.
In some embodiments, the obtaining, by the third obtaining module, the first image corresponding to the target space provided by the user may include: providing image acquisition prompt information to a first client; the method comprises the steps that a first client shoots a target space to obtain a first image; or, acquiring a first image corresponding to the target space acquired by the first client from the local image set.
In some embodiments, the determining, by the second determining module, the space type and the at least one repair parameter corresponding to the target space may include: providing space type configuration prompt information and at least one repair parameter configuration prompt information for the first client; acquiring a space type and at least one repair parameter sent by a first client; the space type and at least one repair parameter are determined for the first client in response to a configuration operation by the user.
In some embodiments, the apparatus may also be configured to provide the generation hint information to the first client.
Accordingly, the obtaining, by the third obtaining module, the first image corresponding to the target space provided by the user may include: receiving an image generation request sent by a first client; based on the image generation request, a first image corresponding to the target space provided by the user is acquired.
Wherein the image generation request is sent for the first client in response to an image generation operation by the user based on the first image, the spatial type, and the at least one repair parameter.
In some embodiments, the apparatus may be further configured to receive a search request sent by the first client; searching based on the second image to determine at least one object matching a target in the second image; and sending object prompt information of at least one object to the first client.
The image processing apparatus shown in fig. 7 may perform the image processing method described in the embodiment shown in fig. 4, and its implementation principle and technical effects are not repeated. The specific manner in which the respective modules, units, and operations of the image processing apparatus in the above embodiments are performed has been described in detail in the embodiments concerning the method, and will not be described in detail here.
Fig. 8 is a schematic structural diagram of an embodiment of a data processing apparatus according to an embodiment of the present application, where the method apparatus includes:
a third determining module 801 for determining a sample image;
a fourth determining module 802, configured to determine a sample space type and at least one sample decoration parameter corresponding to the sample image;
a second extraction module 803 for extracting first sample feature information from the sample image;
a training module 804 is configured to train an image processing model based on the first sample characteristic information and the effect image conforming to the sample space type and the at least one sample decoration parameter.
The second extraction module may extract the first sample feature information from the sample image, and the second extraction module may include: and extracting space contour information and first sample space structure information from the sample image, wherein the first sample space structure information comprises at least one target object in the target space and object positions corresponding to the target object.
Wherein the training module trains the image processing model based on the first sample characteristic information and the effect image conforming to the sample space type and the at least one sample decoration parameter, and the training module comprises: combining the sample space type and the at least one sample decoration parameter, and obtaining at least one second sample characteristic information based on the first sample characteristic information; and training an image processing model by utilizing the at least one second sample characteristic information and the effect image conforming to the sample space type and the at least one sample decoration parameter respectively.
Wherein, in combination with the sample space type and the at least one sample decoration parameter, obtaining the at least one second sample characteristic information based on the first sample characteristic information may include: combining the sample space type and at least one sample decoration parameter, and adjusting the first sample space structure information to obtain at least one second sample space structure information; and respectively combining the spatial profile information with at least one second sample spatial structure information to obtain at least one second sample characteristic information.
The data processing apparatus shown in fig. 8 may perform the data processing method described in the embodiment shown in fig. 5, and its implementation principle and technical effects are not repeated. The specific manner in which the respective modules, units, and operations of the image processing apparatus in the above embodiments are performed has been described in detail in the embodiments concerning the method, and will not be described in detail here.
Embodiments of the present application also provide a computing device, as shown in FIG. 9, which may include a storage component and a processing component;
the storage component 901 stores one or more computer instructions for the processing component to invoke to execute to implement the image processing method described in the embodiment shown in fig. 4 or the data processing method described in the embodiment shown in fig. 5.
Of course, the computing device may necessarily include other components as well, such as input/output interfaces, display components, communication components, and the like.
In the case where the processing component in the computing device is used to implement the image display method as shown in fig. 2, the computing device may further include a display component to perform a corresponding display operation.
The input/output interface provides an interface between the processing component and a peripheral interface module, which may be an output device, an input device, etc. The communication component is configured to facilitate wired or wireless communication between the computing device and other devices, and the like.
Wherein the processing component 902 may include one or more processors to execute computer instructions to perform all or part of the steps of the methods described above. Of course, the processing component may also be implemented as one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic elements for executing the methods described above.
The storage component 901 is configured to store various types of data to support operations at a terminal. The memory component may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk. The display component may be an Electroluminescent (EL) element, a liquid crystal display or a micro display having a similar structure, or a retina-directly displayable or similar laser scanning type display.
It should be noted that, in the case where the above-mentioned computing device implements the image processing method described in the embodiment shown in fig. 4 or the data processing method described in the embodiment shown in fig. 5, the computing device may be a physical device or an elastic computing host provided by a cloud computing platform. It may be implemented as a distributed cluster of multiple servers or terminal devices, or as a single server or single terminal device.
In the case where the computing device implements the image display method according to the embodiment shown in fig. 2, the computing device may be specifically implemented as an electronic device, where the electronic device may be a device that is used by a user and has functions of computing, surfing the internet, communication, etc. required by the user, and may be, for example, a mobile phone, a tablet computer, a personal computer, a wearable device, etc.
It should be noted that, the above-mentioned computing device may be a physical device or an elastic computing host provided by a cloud computing platform, etc. It may be implemented as a distributed cluster of multiple servers or terminal devices, or as a single server or single terminal device.
The embodiment of the application also provides a computer readable storage medium storing a computer program, which when executed by a computer, can implement the image display method described in the embodiment shown in fig. 2 or the image processing method described in the embodiment shown in fig. 4 or the data processing method described in the embodiment shown in fig. 5. The computer-readable medium may be contained in the electronic device described in the above embodiment; or may exist alone without being incorporated into the electronic device.
The embodiment of the present application further provides a computer program product, which includes a computer program loaded on a computer readable storage medium, where the computer program when executed by a computer can implement an image display method as described in the embodiment shown in fig. 2 or an image processing method as described in the embodiment shown in fig. 4 or a data processing method as described in the embodiment shown in fig. 5. In such embodiments, the computer program may be downloaded and installed from a network, and/or installed from a removable medium. The computer program, when executed by a processor, performs the various functions defined in the system of the application.
The computer readable storage medium in the foregoing respective embodiments may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-Only Memory (ROM), an erasable programmable read-Only Memory (Erasable Programmable Read Only Memory, EPROM), flash Memory, an optical fiber, a portable compact disc read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present application without undue burden.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (14)

1. An image display method, applied to a first client, comprising:
Acquiring a first image corresponding to a target space provided by a user;
determining a space type and at least one repair parameter of the target space in response to a configuration operation of the user;
acquiring at least one second image generated based on the first image and conforming to the space type and the at least one repair parameter;
displaying image prompt information of the at least one second image in a user interface;
wherein the at least one second image is generated based on the first image using an image processing model in combination with the spatial type and the at least one repair parameter.
2. The method as recited in claim 1, further comprising:
and displaying the selected second image on the user interface in response to an image selection operation of the user.
3. The method as recited in claim 2, further comprising:
generating a sharing picture at least comprising the image content of the first image and the image content of the second image in response to the sharing operation for the second image;
and storing the sharing pictures.
4. The method of claim 3, wherein generating a sharing picture containing at least the image content of the first image and the image content of the second image in response to the sharing operation for the second image comprises:
Responding to the sharing operation aiming at the second image, and displaying contrast prompt information;
based on the confirmation operation for the comparison prompt information, generating a sharing picture at least comprising the image content of the first image and the image content of the second image;
and generating a sharing picture containing the image content of the second image based on the cancel operation for the comparison prompt information.
5. The method as recited in claim 2, further comprising:
an update operation for any object in the second image is detected, and the second image is updated.
6. The method as recited in claim 1, further comprising:
providing experience prompt information corresponding to at least one decoration style on the user interface;
providing space type configuration prompt information and at least one repair parameter configuration prompt information on the user interface in response to a selection operation for any experience prompt information;
determining the configured space type and at least one repair parameter in response to a configuration operation of the user;
acquiring at least one effect image which is generated based on a preset image and accords with the space type and the at least one repair parameter;
And displaying the image prompt information of the at least one effect image.
7. An image processing method, comprising:
acquiring a first image corresponding to a target space provided by a user;
determining a space type and at least one repair parameter corresponding to the target space;
extracting first spatial feature information of the target space from the first image;
combining the space type and the at least one repair parameter, and obtaining at least one second space characteristic information based on the first space characteristic information;
at least one second image is obtained using the image processing model based on the at least one second spatial feature information.
8. The method according to claim 7, wherein the image processing model is obtained based on first spatial feature information of a sample image and an effect image corresponding to the sample image; wherein the effect image corresponds to a sample space type and at least one sample decoration parameter.
9. The method of claim 7, wherein the extracting the first spatial feature information of the target space from the first image comprises:
extracting spatial contour information and first spatial structure information from the first image; the first space structure information comprises at least one target object in the target space and corresponding object positions respectively;
The combining the spatial type and the at least one repair parameter, and obtaining at least one second spatial feature information based on the first spatial feature information includes:
the first space structure information is adjusted by combining the space type and the at least one repair parameter, so that at least one second space structure information is obtained;
and respectively combining the spatial profile information and the at least one second spatial structure information to obtain at least one second spatial feature information.
10. The method of claim 9, wherein said adjusting said first spatial structure information in combination with said spatial type and said at least one repair parameter to obtain at least one second spatial structure information comprises:
searching the space type, at least one object corresponding to the at least one repair parameter and the repair information corresponding to different objects;
and adjusting the first space structure information according to the decoration information of the at least one object and different objects to generate at least one second space structure information.
11. A method of data processing, comprising:
determining a sample image;
Determining a sample space type and at least one sample decoration parameter corresponding to the sample image;
extracting first sample characteristic information from a sample image;
and training an image processing model based on the first sample characteristic information and an effect image conforming to the sample space type and at least one sample decoration parameter.
12. The method of claim 11, wherein training an image processing model based on the first sample characteristic information and an effect image conforming to the sample space type and at least one sample finishing parameter comprises:
combining the sample space type and the at least one sample decoration parameter, and obtaining at least one second sample characteristic information based on the first sample characteristic information;
and training an image processing model by utilizing the at least one second sample characteristic information and the effect image conforming to the sample space type and the at least one sample decoration parameter respectively.
13. A computing device comprising a processing component and a storage component;
the storage component stores one or more computer instructions; the one or more computer instructions are for execution by the processing component to implement the image display method of any one of claims 1 to 6 or the image processing method of any one of claims 7 to 10 or the data processing method of any one of claims 11 to 12.
14. A computer-readable storage medium, characterized in that a computer program is stored, which, when executed by a computer, implements the image display method according to any one of claims 1 to 6 or the image processing method according to any one of claims 7 to 10 or the data processing method according to any one of claims 11 to 12.
CN202311079731.5A 2023-08-24 2023-08-24 Image display method, image processing method, data processing method and computing device Pending CN117215690A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311079731.5A CN117215690A (en) 2023-08-24 2023-08-24 Image display method, image processing method, data processing method and computing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311079731.5A CN117215690A (en) 2023-08-24 2023-08-24 Image display method, image processing method, data processing method and computing device

Publications (1)

Publication Number Publication Date
CN117215690A true CN117215690A (en) 2023-12-12

Family

ID=89045256

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311079731.5A Pending CN117215690A (en) 2023-08-24 2023-08-24 Image display method, image processing method, data processing method and computing device

Country Status (1)

Country Link
CN (1) CN117215690A (en)

Similar Documents

Publication Publication Date Title
CN112738408B (en) Selective identification and ordering of image modifiers
US20220327608A1 (en) Home based augmented reality shopping
US20230214900A1 (en) Augmented reality product recommendations
US11580592B2 (en) Customized virtual store
US20230230328A1 (en) Ar item placement in a video
US11520949B2 (en) Digital design of an area
US11887260B2 (en) AR position indicator
US11928783B2 (en) AR position and orientation along a plane
KR20240010719A (en) AR-based connected portal shopping
US12020384B2 (en) Integrating augmented reality experiences with other components
US10701220B2 (en) Image print proposal device, method, and program
US10860190B1 (en) Presenting and interacting with composite images on a computing device
KR20240008902A (en) VR-based connection portal shopping
CN112051956A (en) House source interaction method and device
WO2024118314A1 (en) Automated tagging of content items
WO2023250003A1 (en) Applying pregenerated virtual experiences in new location
CN116980714A (en) Background image generation method and device, electronic equipment and storage medium
CN117215690A (en) Image display method, image processing method, data processing method and computing device
WO2023076909A1 (en) Point and clean
JP2015141711A (en) Content association and display method, program, and calculation processing system
CN109885757B (en) Guest room searching method and device, electronic equipment and storage medium
US20240112314A1 (en) Real-time machine learning based in-painting
US11861685B2 (en) Representation of a user in virtual outfits from a virtual wardrobe
CN109654668B (en) Air conditioner display control method and device and air conditioner
US20240004517A1 (en) Messaging application with conversation filtering

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