Trial resource display method and device, electronic equipment and storage medium
By generating and adjusting the trial effect images on the resource trial page of the AI fitting, the problem that the image generated by the AI fitting is fixed and cannot meet the diverse needs is solved, and the full utilization of resources and the improvement of system performance is achieved.
Patent Information
- Application Number
- CN202411669758.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-20
- Publication Date
- 2025-03-28
AI Technical Summary
Current AI fittings can only generate fixed images and cannot meet the diverse needs of users, resulting in the insufficient use of resources provided by the system.
By displaying the trial effect image on the resource trial page, based on the trial resource and the image generation of the trial object, the image size, resource type, and trial object size are adjusted in response to the presentation adjustment instruction to generate multiple presentation effect resources.
It realizes the formation of rich resource sharing information through trial effect images, improves resource acquisition processing efficiency and sharing effect, reduces invalid page information push and system resource waste, and improves system performance.
Smart Images

Figure CN119722215A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of Internet technology, and in particular to a trial resource display method, device, electronic device and storage medium. Background Art
[0002] With the development of Internet technology, sharing of resources such as goods based on the Internet has gradually become the main channel for resource sharing.
[0003] AI fitting, also known as "virtual try-on", is an image generation technology that allows people to wear designated clothes. With the development of visual generation model technology represented by GAN and Diffusion Model, virtual try-on has gradually moved from laboratory research and exploration to industry practice and application. Especially in 2024, the application of large models has entered a new stage in the industry, and AI fitting has gradually possessed the technical feasibility of application and promotion in the industry. In e-commerce application scenarios, whether for the majority of buyers or small and medium-sized sellers, AI fitting can bring the offline purchase and fitting process online, transcend the distance barriers of time and space, and complete the "try-on" effect with one click, and what you see is what you get.
[0004] However, current AI fitting can only generate some fixed images by combining the clothes being tried on and the people being tried on. However, the images cannot meet the needs of users in some cases, which means that the resources provided by the system are not fully utilized. Summary of the invention
[0005] The present disclosure provides a trial resource display method, device, electronic device and storage medium. The technical solution of the present disclosure is as follows:
[0006] According to a first aspect of an embodiment of the present disclosure, a trial resource display method is provided, comprising:
[0007] Displaying a trial effect image on a resource trial page; the trial effect image is generated based on a resource image corresponding to the trial resource and an object image corresponding to the trial object; the resource image corresponding to the trial resource is obtained from a first picture containing at least one resource based on a selection operation;
[0008] In response to the display adjustment instruction, at least one display effect resource is generated and displayed based on the trial effect image; the display adjustment instruction is used to instruct at least one of image display size adjustment, resource display type adjustment and trial object size adjustment.
[0009] In some possible embodiments, the display adjustment instruction includes a first display adjustment instruction corresponding to the image display size adjustment;
[0010] Each image usage scenario corresponds to a first display adjustment control; or multiple image usage scenarios correspond to a first comprehensive adjustment control;
[0011] In response to the display adjustment instruction, generating and displaying at least one display effect resource based on the trial effect image includes:
[0012] In response to a first display adjustment instruction triggered by a first comprehensive adjustment control corresponding to a plurality of image usage scenarios, a plurality of display effect resources corresponding to the plurality of image usage scenarios are generated and displayed based on the trial effect image;
[0013] The display sizes of the multiple display effect resources and the application sizes of the multiple image usage scenarios correspond one to one; the display effects of the trial objects in the multiple display effect resources are the same.
[0014] In some possible embodiments, the display adjustment instruction includes a second display adjustment instruction corresponding to the resource display type adjustment;
[0015] In response to the display adjustment instruction, generating and displaying at least one display effect resource based on the trial effect image includes:
[0016] In response to a second display adjustment instruction triggered based on the resource type adjustment prompt, generating and displaying at least one display effect resource corresponding to the resource type adjustment prompt based on the trial effect image;
[0017] The type of display effect resource includes at least one of image and video; the resource type adjustment prompt includes at least one of resource scene information and object state information.
[0018] In some possible embodiments, the display adjustment instruction includes a third display adjustment instruction corresponding to the trial object size adjustment;
[0019] In response to the display adjustment instruction, generating and displaying at least one display effect resource based on the trial effect image includes:
[0020] In response to a third display adjustment instruction triggered based on the object contrast adjustment control, generating and displaying at least one display effect resource corresponding to the object attribute information associated with the object contrast adjustment control based on the trial effect image;
[0021] The object attribute information associated with the object comparison adjustment control includes initial attribute information and at least one adjusted attribute information.
[0022] In some possible embodiments, displaying a trial effect image on a resource trial page includes:
[0023] In response to the recognition instruction based on the first picture, displaying a resource image of the trial resource;
[0024] In response to the recognition instruction based on the second picture, displaying an object image of the trial object;
[0025] In response to a trial effect generation instruction triggered based on a trial effect generation control, a trial effect image is generated and displayed based on a resource image of a trial resource and an object image of a trial object.
[0026] In some possible embodiments, the resource trial page includes a resource area;
[0027] The resource area includes a first quantity control and a resource upload area;
[0028] In response to the recognition instruction of the first picture, a resource image of the trial resource is displayed, including:
[0029] When the first quantity control is subjected to a preset operation and the first picture includes a resource, in response to a recognition instruction based on the first picture in the resource upload area, a resource image of the trial resource is displayed;
[0030] In some possible embodiments, in response to the recognition instruction based on the first picture, displaying a resource image of the trial resource includes:
[0031] When a preset operation is executed on the first quantity control and the first picture includes a plurality of resources, in response to a recognition instruction of the first picture in the resource upload area, a resource selection area is displayed;
[0032] Resource images of multiple resources are displayed in the resource selection area; the resource images of multiple resources are used to implement a selection operation, and resource images of trial resources are displayed.
[0033] In some possible embodiments, the resource upload area includes a first type of resource upload area, a second type of resource upload area, and a third type of resource upload area;
[0034] The first-category resource upload area is used to identify the first-category resources in the first picture and display the resource images of the resources corresponding to the first-category resources in the first picture;
[0035] The second-category resource upload area is used to identify the second-category resources in the first picture and display the resource image of the resource corresponding to the second-category resources in the first picture;
[0036] The third-category resource upload area is used to identify the third-category resources in the first picture and display the resource image of the resource corresponding to the third-category resources in the first picture.
[0037] In some possible embodiments, when the resource image of the resource corresponding to the first category of resources, the resource image of the resource corresponding to the second category of resources, or the resource image of the resource corresponding to the third category of resources includes resource images of multiple resources, the resource image of the trial resource is determined from the resource images of the multiple resources.
[0038] In some possible embodiments, the resource trial page includes a resource area, and the resource area includes a resource upload area;
[0039] In response to the recognition instruction based on the first picture, displaying a resource image of the trial resource includes:
[0040] When the resource upload area displays a first picture, in response to a resource selection instruction triggered based on a touch track corresponding to the resource upload area, the first picture is identified, and a resource corresponding to the touch track in the first picture is used as a trial resource;
[0041] A resource image showing a trial resource.
[0042] According to a second aspect of an embodiment of the present disclosure, there is provided a trial resource display device, comprising:
[0043] The first display module is configured to display a trial effect image on the resource trial page; the trial effect image is generated based on a resource image corresponding to the trial resource and an object image corresponding to the trial object; the resource image corresponding to the trial resource is obtained from a first picture containing at least one resource based on a selection operation;
[0044] The second display module is configured to execute in response to a display adjustment instruction, generate and display at least one display effect resource based on the trial effect image; the display adjustment instruction is used to instruct at least one of image display size adjustment, resource display type adjustment and trial object size adjustment.
[0045] In some possible embodiments, the display adjustment instruction includes a first display adjustment instruction corresponding to the image display size adjustment;
[0046] Each image usage scenario corresponds to a first display adjustment control; or multiple image usage scenarios correspond to a first comprehensive adjustment control;
[0047] The second display module is configured to execute:
[0048] In response to a first display adjustment instruction triggered by a first comprehensive adjustment control corresponding to a plurality of image usage scenarios, a plurality of display effect resources corresponding to the plurality of image usage scenarios are generated and displayed based on the trial effect image;
[0049] The display sizes of the multiple display effect resources and the application sizes of the multiple image usage scenarios correspond one to one; the display effects of the trial objects in the multiple display effect resources are the same.
[0050] In some possible embodiments, the display adjustment instruction includes a second display adjustment instruction corresponding to the resource display type adjustment;
[0051] The second display module is configured to execute:
[0052] In response to a second display adjustment instruction triggered based on the resource type adjustment prompt, generating and displaying at least one display effect resource corresponding to the resource type adjustment prompt based on the trial effect image;
[0053] The type of display effect resource includes at least one of image and video; the resource type adjustment prompt includes at least one of resource scene information and object state information.
[0054] In some possible embodiments, the display adjustment instruction includes a third display adjustment instruction corresponding to the trial object size adjustment;
[0055] The second display module is configured to execute:
[0056] In response to a third display adjustment instruction triggered based on the object contrast adjustment control, generating and displaying at least one display effect resource corresponding to the object attribute information associated with the object contrast adjustment control based on the trial effect image;
[0057] The object attribute information associated with the object comparison adjustment control includes initial attribute information and at least one adjusted attribute information.
[0058] In some possible embodiments, the first display module is configured to execute:
[0059] In response to the recognition instruction based on the first picture, displaying a resource image of the trial resource;
[0060] In response to the recognition instruction based on the second picture, displaying an object image of the trial object;
[0061] In response to a trial effect generation instruction triggered based on a trial effect generation control, a trial effect image is generated and displayed based on a resource image of a trial resource and an object image of a trial object.
[0062] In some possible embodiments, the resource trial page includes a resource area;
[0063] The resource area includes a first quantity control and a resource upload area;
[0064] The first display module is configured to execute:
[0065] When the first quantity control is subjected to a preset operation and the first picture includes a resource, in response to a recognition instruction based on the first picture in the resource upload area, a resource image of the trial resource is displayed;
[0066] In some possible embodiments, the first display module is configured to execute:
[0067] When a preset operation is executed on the first quantity control and the first picture includes a plurality of resources, in response to a recognition instruction of the first picture in the resource upload area, a resource selection area is displayed;
[0068] Resource images of multiple resources are displayed in the resource selection area; the resource images of multiple resources are used to implement a selection operation, and resource images of trial resources are displayed.
[0069] In some possible embodiments, the resource upload area includes a first type of resource upload area, a second type of resource upload area, and a third type of resource upload area;
[0070] The first-category resource upload area is used to identify the first-category resources in the first picture and display the resource images of the resources corresponding to the first-category resources in the first picture;
[0071] The second-category resource upload area is used to identify the second-category resources in the first picture and display the resource image of the resource corresponding to the second-category resources in the first picture;
[0072] The third-category resource upload area is used to identify the third-category resources in the first picture and display the resource image of the resource corresponding to the third-category resources in the first picture.
[0073] In some possible embodiments, when the resource image of the resource corresponding to the first category of resources, the resource image of the resource corresponding to the second category of resources, or the resource image of the resource corresponding to the third category of resources includes resource images of multiple resources, the resource image of the trial resource is determined from the resource images of the multiple resources.
[0074] In some possible embodiments, the resource trial page includes a resource area, and the resource area includes a resource upload area;
[0075] The first display module is configured to execute:
[0076] When the resource upload area displays a first picture, in response to a resource selection instruction triggered based on a touch track corresponding to the resource upload area, the first picture is identified, and a resource corresponding to the touch track in the first picture is used as a trial resource;
[0077] A resource image showing a trial resource.
[0078] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to execute instructions to implement a method as described in any one of the first aspects above.
[0079] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute any one of the methods in the first aspect of the embodiment of the present disclosure.
[0080] According to the fifth aspect of an embodiment of the present disclosure, a computer program product is provided, the computer program product comprising a computer program, the computer program being stored in a readable storage medium, at least one processor of a computer device reading and executing the computer program from the readable storage medium, so that the computer device performs any one of the methods in the first aspect of the embodiment of the present disclosure.
[0081] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:
[0082] The present application displays a trial effect image on a resource trial page; the trial effect image is generated based on a resource image corresponding to the trial resource and an object image corresponding to the trial object; the resource image corresponding to the trial resource is obtained from a first picture containing at least one resource based on a selection operation, and in response to a display adjustment instruction, at least one display effect resource is generated and displayed based on the trial effect image; the display adjustment instruction is used to instruct at least one of image display size adjustment, resource display type adjustment, and trial object size adjustment. In the embodiment of the present application, the display effect resource formed by the trial effect image can enrich the resource sharing information, improve the resource acquisition processing efficiency and resource sharing effect in the resource sharing process, and thus can effectively reduce the invalid page information push situation, reduce the waste of system resources, and improve system performance.
[0083] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0084] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0085] Figure 1 is a schematic diagram of an application environment of a trial resource display method according to an exemplary embodiment;
[0086] Figure 2 is a flow chart showing a method for displaying trial resources according to an exemplary embodiment;
[0087] Figure 3 A schematic diagram of a resource trial page according to an exemplary embodiment is shown Figure 1 ;
[0088] Figure 4 A schematic diagram of a resource trial page according to an exemplary embodiment is shown Figure 2 ;
[0089] Figure 5 A schematic diagram of a resource trial page according to an exemplary embodiment is shown Figure 3 ;
[0090] Figure 6 A schematic diagram of a resource trial page according to an exemplary embodiment is shown Figure 4 ;
[0091] Figure 7 A schematic diagram of a resource trial page according to an exemplary embodiment is shown Figure 5 ;
[0092] Figure 8 A schematic diagram of a resource trial page according to an exemplary embodiment is shown Figure 6 ;
[0093] Fig. 9 A schematic diagram of a resource trial page according to an exemplary embodiment is shown Figure 7 ;
[0094] Fig.10 A schematic diagram of a resource trial page according to an exemplary embodiment is shown Figure 8 ;
[0095] Fig.11 is a block diagram of a trial resource display device according to an exemplary embodiment;
[0096] Fig.12 The invention is a block diagram of an electronic device for displaying trial resources according to an exemplary embodiment. DETAILED DESCRIPTION
[0097] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0098] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar first objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0099] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for display, data for analysis, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties.
[0100] See also Figure 1 , Figure 1 is a schematic diagram of an application environment of a trial resource display method according to an exemplary embodiment. Figure 1 As shown, the application environment may include a server 011 and a client 012 .
[0101] In some possible embodiments, the server 011 may include an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. The operating system running on the server may include but is not limited to Android, IOS, Linux, Windows, Unix, etc.
[0102] In some possible embodiments, the client 012 may include but is not limited to smartphones, desktop computers, tablet computers, laptop computers, smart speakers, digital assistants, augmented reality (AR) / virtual reality (VR) devices, smart wearable devices, and other image-type clients. It may also be software running on the client, such as applications, applets, etc. Optionally, the operating system running on the client may include but is not limited to Android, IOS, Linux, Windows, Unix, etc.
[0103] In some possible embodiments, the client 012 can display a trial effect image on a resource trial page; the trial effect image is generated based on a resource image corresponding to the trial resource and an object image corresponding to the trial object; the resource image corresponding to the trial resource is obtained from a first picture containing at least one resource based on a selection operation, and in response to a display adjustment instruction, at least one display effect resource is generated and displayed based on the trial effect image; the display adjustment instruction is used to instruct at least one of image display size adjustment, resource display type adjustment, and trial object size adjustment. In the embodiment of the present application, the display effect resource formed by the trial effect image can enrich the resource sharing information, improve the resource acquisition processing efficiency and resource sharing effect in the resource sharing process, and thus can effectively reduce the invalid page information push situation, reduce the waste of system resources, and improve system performance.
[0104] In an exemplary embodiment, the databases corresponding to the client and the server can both be node devices in the blockchain system, and can share the acquired and generated information with other node devices in the blockchain system, thereby realizing information sharing among multiple node devices. Multiple node devices in the blockchain system can be configured with the same blockchain, which is composed of multiple blocks, and the adjacent blocks have an association relationship, so that when the data in any block is tampered, it can be detected by the next block, thereby preventing the data in the blockchain from being tampered with, and ensuring the security and reliability of the data in the blockchain.
[0105] Figure 2 It is a flowchart of a trial resource display method according to an exemplary embodiment. It should be noted that this specification provides method operation steps such as the embodiment or flowchart, but may include more or fewer operation steps based on conventional or non-creative work. The order of steps listed in the embodiment is only one way of executing the steps among many orders, and does not represent the only order of execution. When the actual system or product is executed, it can be executed in the order of the method shown in the embodiment or the drawings or in parallel (for example, in a parallel processor or multi-threaded processing environment). Specifically, Figure 2 As shown, the flow chart at least includes the following steps S201-S203:
[0106] In step S201, a trial effect image is displayed on the resource trial page; the trial effect image is generated based on a resource image corresponding to the trial resource and an object image corresponding to the trial object, and the resource image corresponding to the trial resource is obtained from a first picture containing at least one resource based on a selection operation.
[0107] In the embodiment of the present application, the resource trial page may be a page in a certain application or a web page.
[0108] In an optional embodiment, the application may be an application related to image generation and processing. For example, the application may be an application for AI to generate images, such as an application for generating images based on text. Alternatively, the application may be an application for processing images after obtaining them.
[0109] In an optional embodiment, the application may be an application with many functions, and the function related to image generation and processing may be one of the many functions. Optionally, after the image is generated, it can be applied in other functions, such as publishing the image for other users to browse, or displaying it as a live broadcast room image.
[0110] In an embodiment of the present application, the execution subject of steps S201 to S203 and the embodiments extended by steps S201 to S203 may be a client. Optionally, the client may include a first client and a second client, and a first account created by a first user may exist on the first client, and a second account created by a second user may exist on the second client. In an embodiment of the present application, the first client and the second client may be clients with the same application installed on different terminals. For example, the first client and the second client both correspond to the same instant messaging application, the same short video application, the same life service application, the same news information application, and so on.
[0111] In an embodiment of the present application, the client can generate a trial effect image based on a resource image corresponding to the trial resource and an object image corresponding to the trial object, and display the usage effect image on a resource trial page.
[0112] Figure 3 A schematic diagram of a resource trial page according to an exemplary embodiment is shown Figure 1 ,like Figure 3 As shown, it includes a resource trial page 300 , a trial effect image 301 located on the resource trial page 300 , a resource image 302 of a resource, an object image 303 of an object, and a trial effect generation control 304 .
[0113] In some possible embodiments, resources may be products in an application. For example, resources may be resources shared in a live broadcast room. In other words, resources may be products recommended by the anchor in the live broadcast room. Alternatively, resources may be products in a collection of resources (small yellow cart) in the live broadcast room. Alternatively, resources may be products obtained through other means. Specifically, resources may be clothing, accessories, cosmetics, shoes, and the like.
[0114] In the embodiment of the present application, there may be multiple resources as shown in 3, and each of the multiple resources may display its own resource image on the resource usage page. Optionally, the trial resource may be one of the resources.
[0115] In some possible embodiments, the object may be a host, an audience in a live broadcast room or other audience, or a provided model or the owner of a device to which the client belongs. In the embodiment set of the present application, the trial object may be one of the objects.
[0116] In some possible embodiments, the client may display a resource image of the trial resource in response to a recognition instruction based on the first image, display an object image of the trial object in response to a recognition instruction based on the second image, and generate and display a trial effect image based on the resource image of the trial resource and the object image of the trial object in response to a trial effect generation instruction triggered by a trial effect generation control.
[0117] Optionally, the client may obtain a resource image of the trial resource from a photo or video. For example, the client may identify a first image containing the trial resource, cut out the trial resource in the first image, and obtain a resource image of the trial resource.
[0118] Optionally, the client may obtain an object image of the trial object from a photo or video. For example, the client may obtain a photo or video of the user to which the client belongs, use a certain image frame in the photo or video as the second image, cut out the trial object in the second image, and obtain the object image of the trial object.
[0119] In some possible embodiments, after obtaining the resource image of the trial resource and the object image of the trial object, the resource image of the trial resource and the object image of the trial object can be stored in the corresponding resource library and object library respectively, so that the previously obtained resource image and object image can be used later without re-identification, thereby reducing the possible duplication of work later.
[0120] In the embodiment of the present application, when the client detects that the trial effect generation control is triggered, the trial effect generation control can be generated based on the resource image of the trial resource and the object image of the trial object. Figure 3 The trial effect image is shown on the right.
[0121] Optionally, the trial effect image may be a static image, and in the static image, the posture of the trial subject may be the same as the posture in the object image of the trial subject.
[0122] Figure 4 A schematic diagram of a resource trial page according to an exemplary embodiment is shown Figure 2 ,like Figure 4As shown, it includes a resource trial page 300 , a trial effect image 301 located on the resource trial page 300 , a resource image 302 of a resource, an object image 303 of an object, and a trial effect generation control 304 .
[0123] Optional, such as Figure 4 As shown, the trial effect image 301 may include multiple static images, wherein the posture of the trial object in each static image and the angle facing the user may be different. Optionally, the posture of the trial object in one of the multiple static images is the same as the posture in the object image of the trial object.
[0124] In this way, through the trial effect images displayed in multiple postures and angles, more resource information can be displayed on the page, improving the page utilization rate. At the same time, from the user's perspective, the trial resource can be tried more comprehensively to have a deeper understanding of the resource and prepare for possible operations on the resource in the future.
[0125] In an embodiment of the present application, the resource trial page can be divided into multiple areas, such as a resource area for displaying resource images, an object area for displaying object images, and an effect display area for displaying trial effect images.
[0126] Figure 5 A schematic diagram of a resource trial page according to an exemplary embodiment is shown Figure 3 ,like Figure 5 As shown, it includes a resource trial page 300, an effect display area 400 located on the resource trial page 300, a resource area 500 and an object area 600. The resource area 500 may include a quantity control 501 and a resource upload area 502.
[0127] Optionally, the trial effect image 301 , the resource image 302 of the resource, and the object image 303 of the object may be displayed in the effect display area 400 , the resource area 500 , and the object area 600 , respectively.
[0128] like Figure 5 As shown, the quantity control 501 may include a first quantity control corresponding to uploading a single piece of clothing and a second quantity control corresponding to uploading multiple pieces of clothing. Optionally, the client may upload a first picture after the user performs a preset operation on the first quantity control or the second quantity control, such as clicking, so that the client can identify the first picture and obtain the trial resource.
[0129] In an optional embodiment, when a preset operation is executed on the first quantity control and the first image includes a resource, the client may display a resource image of the trial resource in response to an identification instruction based on the first image in the resource upload area.
[0130] Specifically, after the first quantity control is clicked by the user, the user can click the resource upload area to upload the first picture, and after the first picture is uploaded, it can be displayed in the resource upload area. At this time, if the first picture only contains one resource, for example, the first picture only contains a top or a pair of pants, the client can respond to the recognition instruction of the first picture in the resource upload area, and perform recognition and cutout processing on a top or a pair of pants in the first picture to obtain a resource image of the top or a resource image of the pants. In this way, the resource image of the top or the resource image of the pants is the resource image of the trial resource. Finally, the client can display the resource image of the trial resource in the resource upload area.
[0131] In another optional embodiment, when the first quantity control is subjected to a preset operation and the first image includes multiple resources, in response to the recognition instruction of the first image in the resource upload area, a resource selection area is displayed, and resource images of multiple resources are displayed in the resource selection area. The resource images of the multiple resources can be subjected to a selection operation, and then the resource images of the trial resources are displayed.
[0132] Specifically, when the first quantity control is clicked by the user, the user can click the resource upload area to upload the first picture, and after the first picture is uploaded, it can be displayed in the resource upload area. At this time, if the first picture includes multiple resources, such as two tops or two pairs of trousers.
[0133] Taking two tops as an example, the client can respond to the recognition instruction of the first picture in the resource upload area, perform recognition and cutout processing on the two tops in the first picture, and obtain the resource images of the two tops. In this way, the client can display the resource selection area, and display the resource images of the two tops in the resource selection area.
[0134] Optionally, when the client detects that the resource image of one of the two tops is clicked, the top is determined as a trial resource. In this way, the client can display the resource image of the trial resource in the resource upload area.
[0135] In an optional embodiment, when the second quantity control is subjected to a preset operation and the first image includes a resource, the client may display a resource image of the trial resource in response to an identification instruction based on the first image in the resource upload area.
[0136] Specifically, when the second quantity control is clicked by the user, the user can click the resource upload area to upload the first picture, and after the first picture is uploaded, it can be displayed in the resource upload area. At this time, if the first picture only contains one resource, for example, the first picture only contains a top or a pair of pants, the client can respond to the recognition instruction of the first picture in the resource upload area, and perform recognition and cutout processing on a top or a pair of pants in the first picture to obtain a resource image of the top or a resource image of the pants. In this way, the resource image of the top or the resource image of the pants is the resource image of the trial resource. Finally, the client can display the resource image of the trial resource in the resource upload area.
[0137] In another optional embodiment, when the second quantity control is subjected to a preset operation and the first image includes multiple resources, in response to the recognition instruction of the first image in the resource upload area, a resource selection area is displayed, and resource images of multiple resources are displayed in the resource selection area. The resource images of the multiple resources can be subjected to a selection operation, and resource images of trial resources are displayed.
[0138] Specifically, when the second quantity control is clicked by the user, the user can click the resource upload area to upload the first picture, and after the first picture is uploaded, it can be displayed in the resource upload area. At this time, if the first picture includes multiple resources, such as two tops or two pairs of trousers.
[0139] Taking two tops as an example, the client can respond to the recognition instruction of the first picture in the resource upload area, perform recognition and cutout processing on the two tops in the first picture, and obtain the resource images of the two tops. In this way, the client can display the resource selection area, and display the resource images of the two tops in the resource selection area.
[0140] Optionally, when the client detects that the resource image of one of the two tops is clicked, the top is determined to be a trial resource, and thus, the client may display the resource image of the trial resource in the resource upload area.
[0141] Optionally, when the client detects that the resource images of the two tops are clicked, the two tops are determined to be trial resources, and thus, the client may display the resource images of the trial resources in the resource upload area.
[0142] In an embodiment of the present application, the client can respond to the recognition instruction of the first image in the resource upload area, identify and cut out the two tops in the first image, obtain the resource images of the two tops respectively, and directly use the two tops as trial resources. In this way, the client can display the resource images of the trial resources in the resource upload area.
[0143] In this way, by using the first quantity control for uploading a single piece of clothing and the corresponding second quantity control for uploading multiple pieces of clothing, the client can accept the identification of both a single resource and multiple resources, and after identifying multiple resources, a selection entry can be provided, making it convenient for users to choose which resource to try.
[0144] Figure 6 A schematic diagram of a resource trial page according to an exemplary embodiment is shown Figure 4 ,like Figure 6 As shown, it includes a resource trial page 300, an effect display area 400 located on the resource trial page 300, a resource area 500 and an object area 600. The resource area 500 may include a resource upload area 502. The resource upload area 502 may include a first type resource upload area 5021 and a second type resource upload area 5022.
[0145] In the present application embodiment, Figure 5 As shown, the resource upload area can be a whole without distinguishing the types of uploaded resources.
[0146] However, in order to enable the client to better identify the resources, or to allow the user to actively select, the resource upload area can be divided into multiple areas, each of which can correspond to a type of resource.
[0147] In the embodiment of the present application, the first type of resource upload area 5021 may correspond to tops.
[0148] Optionally, when the first picture uploaded by the user only contains tops, no matter how many tops there are, they can be uploaded directly through the first-category resource upload area. In this way, the client can identify the first-category resources (tops) in the first picture in the first-category resource upload area, and display the resource image of the resource corresponding to the first-category resource in the first picture.
[0149] Optionally, when the first picture uploaded by the user contains not only tops, regardless of the number of tops, but also pants, if the user wants to obtain the resource image of the top but does not want to obtain the resource image of the pants, the first picture can be directly uploaded through the first-category resource upload area. In this way, the client can identify the first-category resource (top) in the first picture in the first-category resource upload area, and display the resource image of the resource corresponding to the first-category resource in the first picture, and will not display the resource image of the pants.
[0150] In the embodiment of the present application, the second type of resource upload area may correspond to pants.
[0151] Optionally, when the first picture uploaded by the user only contains pants, no matter how many pants there are, it can be uploaded directly through the second-category resource upload area. In this way, the client can identify the second-category resources (pants) in the first picture in the second-category resource upload area, and display the resource image of the resource corresponding to the second-category resource in the first picture.
[0152] Optionally, when the first picture uploaded by the user contains not only pants, no matter how many pants there are, but also a top, if the user wants to obtain the resource image of the pants but not the resource image of the top, the first picture can be directly uploaded through the second-class resource upload area. In this way, the client can identify the first-class resource (pants) in the first picture in the second-class resource upload area, and display the resource image of the resource corresponding to the first-class resource in the first picture, and will not display the resource image of the top.
[0153] In some other optional embodiments, the resource upload area can be divided into not only the first type resource upload area and the second type resource upload area, but also a third type resource upload area can be displayed, wherein the third type resource upload area can correspond to a suit, such as a jumpsuit, a bodysuit, and the like.
[0154] The third-category resource upload area allows the client to identify the third-category resource in the first image and display the resource image of the resource corresponding to the third-category resource in the first image.
[0155] In some possible embodiments, when the resource image of the resource corresponding to the first category of resources, the resource image of the resource corresponding to the second category of resources, or the resource image of the resource corresponding to the third category of resources includes resource images of multiple resources, the resource image of the trial resource can be determined from the resource images of the multiple resources.
[0156] Figure 7 A schematic diagram of a resource trial page according to an exemplary embodiment is shown Figure 5 ,like Figure 7 As shown, it includes a resource trial page 300, an effect display area 400, a resource area 500 and an object area 600 located on the resource trial page 300. The resource trial page also includes a resource selection area 700.
[0157] In the present application embodiment, Figure 7As shown, when the client recognizes the first image and obtains resource images of multiple resources, a resource selection area 700 can be displayed on the resource trial page. And the resource images of the multiple resources obtained by recognition are displayed in the resource selection area. Optionally, if it is detected that a resource of the resource images of multiple resources is clicked, the resource selection area disappears, and the resource image of the clicked resource is displayed in the resource area 500 as the resource image of the trial resource.
[0158] In some optional embodiments, the resource selection area may be displayed on the upper layer of the resource trial page.
[0159] In an embodiment of the present application, the client may also identify the resource of the first uploaded image in combination with the quantity control and multiple resource upload areas. For the specific method, please refer to the above description, which will not be repeated here.
[0160] In other possible embodiments, when a first picture is displayed in the resource upload area, the client may respond to a resource selection instruction triggered based on a touch track corresponding to the resource upload area, identify the first picture, take the resource corresponding to the touch track in the first picture as a trial resource, and display a resource image of the trial resource.
[0161] For example, assuming that the first image includes a top and a pair of pants, after the user uploads the first image, the client can display the first image in the resource upload area. Optionally, if the trial resource the user wants is a top, the user can operate the screen corresponding to the top in the first image, such as drawing a circle on the screen corresponding to the top. In this way, the client can detect that the touch track corresponding to the resource upload area corresponds to the top. Therefore, after identifying the first image, only the resource image of the top can be displayed, and the resource image of the pants cannot be displayed.
[0162] In this way, through the touch interface opened in the resource upload area, the client can quickly determine which resource the user wants through the operator's operation, and display the resource image of the trial resource, avoiding the presentation of the resource selection area and saving interactive resources.
[0163] In step S203, in response to a display adjustment instruction, at least one display effect resource is generated and displayed based on the trial effect image; the display adjustment instruction is used to instruct at least one of image display size adjustment, resource display type adjustment and trial object size adjustment.
[0164] In the embodiment of the present application, the client can generate and display at least one display effect resource based on the trial effect image in response to the display adjustment instruction, wherein the display adjustment instruction is used to instruct at least one of image display size adjustment, resource display type adjustment and trial object size adjustment.
[0165] Figure 8 A schematic diagram of a resource trial page according to an exemplary embodiment is shown Figure 6 ,like Figure 8 As shown, it includes a resource trial page 300, multiple trial effect images 301, a selected resource effect image 801 located on the upper layer of the resource trial page 300, multiple adjustment controls 802 and a sub-adjustment control 803 corresponding to each adjustment control.
[0166] In some possible embodiments, the display adjustment instruction mentioned above includes a first display adjustment instruction corresponding to the image display size adjustment. Among them, the image display size adjustment may correspond to a "usage scenario" control. The "usage scenario" control may correspond to multiple sub-scene controls, that is, multiple sub-scene controls corresponding to multiple image usage scenarios. Optionally, multiple image usage scenarios include live broadcast room scenes, TV scenes, recommended stream video scenes, etc., that is, based on the trial effect image, a new trial effect image can be obtained after adjustment, which can be applied in the live broadcast room, published on TV, published in the recommended stream, etc.
[0167] Optionally, each image usage scenario may correspond to a first display adjustment control. If each image usage scenario corresponds to a sub-scene control, the sub-scene control may be considered as a first display adjustment control, and the first display adjustment control is configured to process the trial effect image after being triggered to generate a new trial effect image for trial use in a scene. For example, assuming that the sub-scene control "first usage scenario" corresponds to a live broadcast scene, when the sub-scene control "first usage scenario" is triggered, the client may process the trial effect image to generate a new trial effect image for trial use in the live broadcast scene.
[0168] Fig. 9 A schematic diagram of a resource trial page according to an exemplary embodiment is shown Figure 7 ,like Fig. 9 As shown, it includes a resource trial page 300, multiple trial effect images 301, and a trial effect image of a letter located on the upper layer of the resource trial page 300.
[0169] Optionally, multiple image usage scenarios correspond to one first comprehensive adjustment control. If there are multiple image usage scenarios corresponding to one sub-scene control, the sub-scene control can be considered as a first comprehensive adjustment control, and the first comprehensive adjustment control is configured to process the trial effect image after being triggered to generate new trial effect images for trial use in multiple scenarios, and the number of newly generated trial effect images is multiple.
[0170] For example, assuming that the sub-scene control "fourth usage scenario" corresponds to the live studio scene and the TV scene, when the sub-scene control "fourth usage scenario" is triggered, the client can process the trial effect image to generate the following: Figure 8 The new trial effect images shown are used for the live studio scene and the new trial effect images for the TV scene.
[0171] Optionally, a new trial effect image, that is, one or more display effect resources can be displayed on the upper layer of the resource trial page.
[0172] In an embodiment of the present application, the display size of each display effect resource corresponds to the application size of the corresponding image usage scenario, and the display effects of the trial objects in multiple display effect resources are the same, that is, the size of the trial objects in the new trial effect image and the trial objects in the trial effect image in the effect display area 400 are the same, but the size of the new trial effect image is different. In this way, it can be applied to scenes with different display sizes, such as live broadcast scenes, TV scenes, and recommended stream scenes.
[0173] In another optional embodiment, Figure 8 A group of dimension text or multiple groups of dimension text can be directly displayed on the sub-scene controls shown, such as the "first usage scene" control, the "second usage scene" control, the "third usage scene" control, and the "fourth usage scene" control. Fig.10 A schematic diagram of a resource trial page according to an exemplary embodiment is shown Figure 8 ,like Fig.10 As shown, it includes a resource trial page 300, multiple trial effect images 301, a selected resource effect image 801 located on the upper layer of the resource trial page 300, multiple adjustment controls 802, and a sub-adjustment control 803 corresponding to each adjustment control. Each sub-adjustment control can display text such as "3:2", "2:3", "3:4", "4:3" and "2:3,3:4,4:3".
[0174] In some other possible embodiments, the display adjustment instruction includes a second display adjustment instruction corresponding to the resource display type adjustment.
[0175] In an embodiment of the present application, the client can generate and display at least one display effect resource corresponding to the resource type adjustment prompt based on the trial effect image in response to the second display adjustment instruction triggered by the resource type adjustment prompt, and the type of the display effect resource includes at least one of an image and a video. The resource type adjustment prompt includes at least one of resource scene information and object state information.
[0176] In the embodiment of the present application, the resource type adjustment prompt corresponds to Figure 8The "resource type adjustment" control shown. Optionally, when the "resource type adjustment" control is triggered, multiple resource scene information and multiple object status information can be displayed.
[0177] In an embodiment of the present application, the number of resource scene information can be multiple, for example, the resource scene information includes "all", "beach", "grassland", "snow mountain", "stream", "basketball court" and "indoor", etc.
[0178] In an embodiment of the present application, the number of object state information may be multiple, for example, the object state information includes "all", "running", "high jump", "sitting on a chair", "spinning" and "cheering", etc.
[0179] Optionally, the client can obtain resource type adjustment prompts, such as resource scene information "basketball court" and object status information "running". In this way, the client can respond to a second display adjustment instruction triggered by the resource type adjustment prompt, and use the resource type adjustment prompt to generate at least one display effect resource based on the trial effect image.
[0180] For example, at least one display effect resource includes a video, the scene of the video is a basketball court, and the trial subject wears the trial resource and runs in the basketball court.
[0181] Alternatively, at least one display effect resource includes multiple new trial effect images, the scene of each trial effect image is a basketball court, and the trial subject is frozen in time while wearing the trial resource and running in the basketball court, and in each trial effect image, the trial subject has a different frozen posture.
[0182] In this way, a video or a new image related to the trial effect image can be generated through at least one of the resource scene information and the object state information included in the resource type adjustment prompt, so as to prepare for the subsequent resource trial.
[0183] In some other possible embodiments, the display adjustment instruction includes a third display adjustment instruction corresponding to the trial object size adjustment.
[0184] In an embodiment of the present application, the client can respond to a third display adjustment instruction triggered by an object contrast adjustment control, generate and display at least one display effect resource corresponding to the object attribute information associated with the object contrast adjustment control based on a trial effect image, wherein the object attribute information associated with the object contrast adjustment control includes initial attribute information and at least one adjusted attribute information.
[0185] In the embodiment of the present application, the resource type adjustment prompt corresponds to Figure 8 The "object size adjustment" control shown. Optionally, when the "object size adjustment" control is triggered, multiple height information, multiple weight information, multiple body shape information, etc. can be displayed.
[0186] Among them, multiple weight information includes "170cm-175cm", "165cm-170cm", "160cm-165cm", "155cm-160cm"... Multiple body shape information includes "XX body shape", "YY body shape", "ZZ body shape".
[0187] In some possible embodiments, the client can adjust the trial effect image based on the obtained initial attribute information of the trial object, such as "165cm-170cm, XX body shape, AA kilograms", and the adjusted attribute information, such as "160cm-165cm, XX body shape, BB kilograms". Since the initial attribute information of the trial object is the object attribute information corresponding to the trial effect image, the client can deform the trial object in the trial effect image based on the initial attribute information and the adjusted attribute information of the trial object, such as making the trial object a little fatter in perspective, to obtain a new trial effect image.
[0188] In this way, the embodiment of the present application can generate a series of trial effect images through the initial attribute information and at least one adjusted attribute information of the trial object, and obtain images corresponding to each attribute information, providing a reference for the effects presented by objects of different body shapes wearing trial resources.
[0189] In this way, the embodiment of the present application can display the trial resources through a variety of images so that the trial resources can be understood in a more specific and comprehensive manner, laying a solid foundation for various subsequent operations.
[0190] Fig.11 1 is a block diagram of a trial resource display device according to an exemplary embodiment. It has the function of implementing the data processing method in the above method embodiment, and the function can be implemented by hardware or by hardware executing corresponding software. Fig.11 , the device includes a first display module 1101 and a second display module 1102:
[0191] The first display module 1101 is configured to display a trial effect image on a resource trial page; the trial effect image is generated based on a resource image corresponding to the trial resource and an object image corresponding to the trial object; the resource image corresponding to the trial resource is obtained from a first picture containing at least one resource based on a selection operation;
[0192] The second display module 1102 is configured to generate and display at least one display effect resource based on the trial effect image in response to a display adjustment instruction; the display adjustment instruction is used to instruct at least one of image display size adjustment, resource display type adjustment and trial object size adjustment.
[0193] In some possible embodiments, the display adjustment instruction includes a first display adjustment instruction corresponding to the image display size adjustment;
[0194] Each image usage scenario corresponds to a first display adjustment control; or multiple image usage scenarios correspond to a first comprehensive adjustment control;
[0195] The second display module is configured to execute:
[0196] In response to a first display adjustment instruction triggered by a first comprehensive adjustment control corresponding to a plurality of image usage scenarios, a plurality of display effect resources corresponding to the plurality of image usage scenarios are generated and displayed based on the trial effect image;
[0197] The display sizes of the multiple display effect resources and the application sizes of the multiple image usage scenarios correspond one to one; the display effects of the trial objects in the multiple display effect resources are the same.
[0198] In some possible embodiments, the display adjustment instruction includes a second display adjustment instruction corresponding to the resource display type adjustment;
[0199] The second display module is configured to execute:
[0200] In response to a second display adjustment instruction triggered based on the resource type adjustment prompt, generating and displaying at least one display effect resource corresponding to the resource type adjustment prompt based on the trial effect image;
[0201] The type of display effect resource includes at least one of image and video; the resource type adjustment prompt includes at least one of resource scene information and object state information.
[0202] In some possible embodiments, the display adjustment instruction includes a third display adjustment instruction corresponding to the trial object size adjustment;
[0203] The second display module is configured to execute:
[0204] In response to a third display adjustment instruction triggered based on the object contrast adjustment control, generating and displaying at least one display effect resource corresponding to the object attribute information associated with the object contrast adjustment control based on the trial effect image;
[0205] The object attribute information associated with the object comparison adjustment control includes initial attribute information and at least one adjusted attribute information.
[0206] In some possible embodiments, the first display module is configured to execute:
[0207] In response to the recognition instruction based on the first picture, displaying a resource image of the trial resource;
[0208] In response to the recognition instruction based on the second picture, displaying an object image of the trial object;
[0209] In response to a trial effect generation instruction triggered based on a trial effect generation control, a trial effect image is generated and displayed based on a resource image of a trial resource and an object image of a trial object.
[0210] In some possible embodiments, the resource trial page includes a resource area;
[0211] The resource area includes a first quantity control and a resource upload area;
[0212] The first display module is configured to execute:
[0213] When the first quantity control is subjected to a preset operation and the first picture includes a resource, in response to a recognition instruction based on the first picture in the resource upload area, a resource image of the trial resource is displayed;
[0214] In some possible embodiments, the first display module is configured to execute:
[0215] When a preset operation is executed on the first quantity control and the first picture includes a plurality of resources, in response to a recognition instruction of the first picture in the resource upload area, a resource selection area is displayed;
[0216] Resource images of multiple resources are displayed in the resource selection area; the resource images of multiple resources are used to implement a selection operation, and resource images of trial resources are displayed.
[0217] In some possible embodiments, the resource upload area includes a first type of resource upload area, a second type of resource upload area, and a third type of resource upload area;
[0218] The first-category resource upload area is used to identify the first-category resources in the first picture and display the resource images of the resources corresponding to the first-category resources in the first picture;
[0219] The second-category resource upload area is used to identify the second-category resources in the first picture and display the resource image of the resource corresponding to the second-category resources in the first picture;
[0220] The third-category resource upload area is used to identify the third-category resources in the first picture and display the resource image of the resource corresponding to the third-category resources in the first picture.
[0221] In some possible embodiments, when the resource image of the resource corresponding to the first category of resources, the resource image of the resource corresponding to the second category of resources, or the resource image of the resource corresponding to the third category of resources includes resource images of multiple resources, the resource image of the trial resource is determined from the resource images of the multiple resources.
[0222] In some possible embodiments, the resource trial page includes a resource area, and the resource area includes a resource upload area;
[0223] The first display module is configured to execute:
[0224] When the resource upload area displays a first picture, in response to a resource selection instruction triggered based on a touch track corresponding to the resource upload area, the first picture is identified, and a resource corresponding to the touch track in the first picture is used as a trial resource;
[0225] A resource image showing a trial resource.
[0226] It should be noted that the device provided in the above embodiment, when implementing its functions, is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0227] Fig.12 3000 is a block diagram of a device 3000 for displaying trial resources according to an exemplary embodiment. For example, the device 3000 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0228] Reference Fig.12 , the device 3000 may include one or more of the following components: a processing component 3002 , a memory 3004 , a power component 3006 , a multimedia component 3008 , an audio component 3010 , an input / output (I / O) interface 3012 , a sensor component 3014 , and a communication component 3016 .
[0229] The processing component 3002 generally controls the overall operation of the device 3000, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 3002 may include one or more processors 3020 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 3002 may include one or more modules to facilitate the interaction between the processing component 3002 and other components. For example, the processing component 3002 may include a multimedia module to facilitate the interaction between the multimedia component 3008 and the processing component 3002.
[0230] The memory 3004 is configured to store data of various image types to support operations on the device 3000. Examples of such data include instructions for any application or method operating on the device 3000, contact data, phone book data, messages, pictures, videos, etc. The memory 3004 can be implemented by any image type of volatile or non-volatile storage device or a combination thereof, 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 disk or optical disk.
[0231] The power supply component 3006 provides power to the various components of the device 3000. The power supply component 3006 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 3000.
[0232] The multimedia component 3008 includes a screen that provides an output interface between the device 3000 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 3008 includes a front camera and / or a rear camera. When the device 3000 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0233] The audio component 3010 is configured to output and / or input audio signals. For example, the audio component 3010 includes a microphone (MIC), and when the device 3000 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 3004 or sent via the communication component 3016. In some embodiments, the audio component 3010 also includes a speaker for outputting audio signals.
[0234] I / O interface 3012 provides an interface between processing component 3002 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0235] The sensor assembly 3014 includes one or more sensors for providing various aspects of status assessment for the device 3000. For example, the sensor assembly 3014 can detect the open / closed state of the device 3000, the relative positioning of components, such as the display and keypad of the device 3000, and the sensor assembly 3014 can also detect changes in the position of the device 3000 or a component of the device 3000, the presence or absence of user contact with the device 3000, the orientation or acceleration / deceleration of the device 3000, and the temperature change of the device 3000. The sensor assembly 3014 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 3014 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 3014 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0236] The communication component 3016 is configured to facilitate wired or wireless communication between the device 3000 and other devices. The device 3000 can access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G or 5G), or a combination thereof. In an exemplary embodiment, the communication component 3016 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 3016 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0237] In an exemplary embodiment, the apparatus 3000 may be implemented by 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 components to perform the above method.
[0238] An embodiment of the present invention also provides a computer-readable storage medium, which can be set in an electronic device to store at least one instruction or at least one program related to implementing a trial resource display method. The at least one instruction or the at least one program is loaded and executed by the processor to implement the trial resource display method provided by the above method embodiment.
[0239] In an exemplary embodiment, a storage medium including instructions is also provided, such as a memory 3004 including instructions, and the instructions can be executed by the processor 3020 of the device 3000 to complete the above method. Optionally, the storage medium can be a non-transitory computer-readable storage medium, for example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0240] An embodiment of the present invention further provides a computer-readable storage medium. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute any method in the first aspect of the embodiment of the present disclosure.
[0241] An embodiment of the present invention further provides a computer program product, which includes a computer program, the computer program is stored in a readable storage medium, and at least one processor of a computer device reads and executes the computer program from the readable storage medium, so that the computer device performs any method in the first aspect of the embodiments of the present disclosure.
[0242] It should be noted that the order of the above embodiments of the present invention is for description only and does not represent the advantages and disadvantages of the embodiments. The above describes specific embodiments of this specification. Other embodiments are within the scope of the attached claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, it is also possible or may be advantageous to try resource display and parallel processing.
[0243] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0244] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0245] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A trial resource display method, characterized in that: include: Display trial effect images on the resource trial page; The trial effect image is generated based on a resource image corresponding to the trial resource and an object image corresponding to the trial object; The resource image corresponding to the trial resource is obtained from a first picture including at least one resource based on a selection operation; In response to a display adjustment instruction, at least one display effect resource is generated and displayed based on the trial effect image; the display adjustment instruction is used to instruct at least one of image display size adjustment, resource display type adjustment and trial object size adjustment.
2. The trial resource display method according to claim 1, characterized in that: The display adjustment instruction includes a first display adjustment instruction corresponding to the image display size adjustment; Each image usage scenario corresponds to a first display adjustment control; or multiple image usage scenarios correspond to a first comprehensive adjustment control; The step of generating and displaying at least one display effect resource based on the trial effect image in response to the display adjustment instruction includes: In response to a first display adjustment instruction triggered by a first comprehensive adjustment control corresponding to the plurality of image usage scenarios, generating and displaying a plurality of display effect resources corresponding to the plurality of image usage scenarios based on the trial effect image; The display sizes of the multiple display effect resources and the application sizes of the multiple image usage scenarios correspond one to one; the display effects of the trial objects in the multiple display effect resources are the same.
3. The trial resource display method according to claim 1, characterized in that: The display adjustment instruction includes a second display adjustment instruction corresponding to the resource display type adjustment; The step of generating and displaying at least one display effect resource based on the trial effect image in response to the display adjustment instruction includes: In response to a second display adjustment instruction triggered based on the resource type adjustment prompt, generating and displaying at least one display effect resource corresponding to the resource type adjustment prompt based on the trial effect image; The type of the display effect resource includes at least one of an image and a video; the resource type adjustment prompt includes at least one of resource scene information and object state information.
4. The trial resource display method according to claim 1, characterized in that: The display adjustment instruction includes a third display adjustment instruction corresponding to the trial object size adjustment; The step of generating and displaying at least one display effect resource based on the trial effect image in response to the display adjustment instruction includes: In response to a third display adjustment instruction triggered based on the object contrast adjustment control, generating and displaying at least one display effect resource corresponding to the object attribute information associated with the object contrast adjustment control based on the trial effect image; The object attribute information associated with the object comparison adjustment control includes initial attribute information and at least one adjusted attribute information.
5. The trial resource display method according to any one of claims 1 to 4, characterized in that: The display of the trial effect image on the resource trial page includes: In response to the recognition instruction based on the first picture, displaying a resource image of the trial resource; In response to the recognition instruction based on the second picture, displaying the object image of the trial object; In response to a trial effect generation instruction triggered based on a trial effect generation control, the trial effect image is generated and displayed based on the resource image of the trial resource and the object image of the trial object.
6. The trial resource display method according to claim 5, characterized in that: The resource trial page includes a resource area; The resource area includes a first quantity control and a resource upload area; The step of displaying the resource image of the trial resource in response to the recognition instruction of the first picture includes: When a preset operation is executed on the first quantity control and the first picture includes a resource, a resource image of the trial resource is displayed in response to a recognition instruction based on the first picture in the resource upload area.
7. The trial resource display method according to claim 6, characterized in that: The step of displaying the resource image of the trial resource in response to the recognition instruction based on the first picture includes: When the first quantity control is subjected to a preset operation and the first picture includes a plurality of resources, in response to a recognition instruction of the first picture in the resource upload area, a resource selection area is displayed; Resource images of a plurality of resources are displayed in the resource selection area; the resource images of the plurality of resources are used for selection operations, and the resource image of the trial resource is displayed.
8. The trial resource display method according to claim 6 or 7, characterized in that: The resource upload area includes a first type resource upload area, a second type resource upload area and a third type resource upload area; The first-category resource upload area is used to identify the first-category resources in the first picture and display resource images of resources corresponding to the first-category resources in the first picture; The second-category resource upload area is used to identify the second-category resources in the first picture and display resource images of resources corresponding to the second-category resources in the first picture; The third-category resource upload area is used to identify the third-category resources in the first picture and display resource images of resources corresponding to the third-category resources in the first picture.
9. The trial resource display method according to claim 8, characterized in that: When the resource image of the resource corresponding to the first category of resources, the resource image of the resource corresponding to the second category of resources, or the resource image of the resource corresponding to the third category of resources includes resource images of multiple resources, the resource image of the trial resource is determined from the resource images of the multiple resources.
10. The trial resource display method according to claim 5, characterized in that: The resource trial page includes a resource area, and the resource area includes a resource upload area; The step of displaying the resource image of the trial resource in response to the recognition instruction based on the first picture includes: When the resource upload area displays the first picture, in response to a resource selection instruction triggered based on a touch track corresponding to the resource upload area, the first picture is identified, and a resource corresponding to the touch track in the first picture is used as the trial resource; A resource image showing the trial resource.
11. A trial resource display device, characterized in that: include: A first display module is configured to display a trial effect image on a resource trial page; The trial effect image is generated based on a resource image corresponding to the trial resource and an object image corresponding to the trial object; the resource image corresponding to the trial resource is acquired from a first picture containing at least one resource based on a selection operation; A second display module is configured to generate and display at least one display effect resource based on the trial effect image in response to the display adjustment instruction; The display adjustment instruction is used to instruct at least one of image display size adjustment, resource display type adjustment, and trial object size adjustment.
12. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the trial resource display method according to any one of claims 1 to 10.
13. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the trial resource display method according to any one of claims 1 to 10.
14. A computer program product, characterized in that The computer program product includes a computer program, which is stored in a readable storage medium. At least one processor of a computer device reads and executes the computer program from the readable storage medium, so that the device executes the trial resource display method according to any one of claims 1 to 10.