CN111768264A - Commodity display picture generation method and device, storage medium and terminal - Google Patents
Commodity display picture generation method and device, storage medium and terminal Download PDFInfo
- Publication number
- CN111768264A CN111768264A CN202010454915.5A CN202010454915A CN111768264A CN 111768264 A CN111768264 A CN 111768264A CN 202010454915 A CN202010454915 A CN 202010454915A CN 111768264 A CN111768264 A CN 111768264A
- Authority
- CN
- China
- Prior art keywords
- commodity
- template base
- map
- display picture
- picture
- 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.)
- Withdrawn
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0641—Electronic shopping [e-shopping] utilising user interfaces specially adapted for shopping
- G06Q30/0643—Electronic shopping [e-shopping] utilising user interfaces specially adapted for shopping graphically representing goods, e.g. 3D product representation
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Processing Or Creating Images (AREA)
Abstract
A commodity display picture generation method and device, a storage medium and a terminal are provided, and the method comprises the following steps: determining a template base map to be displayed and one or more commodity maps to be displayed, wherein the one or more commodity maps are subordinate to one or more commodities; determining the aspect ratio of the template base image and/or the aspect ratio of the commodity image of the area to be displayed; intercepting the template base map so that the intercepted template base map conforms to the length-width ratio of the template base map, and intercepting each commodity map so that the length-width ratio of each intercepted commodity map conforms to the length-width ratio of the commodity map; and generating the commodity display picture at least according to the intercepted template base picture and the intercepted commodity picture, wherein the commodity display picture is used for displaying in the area to be displayed. The invention can improve the generation efficiency of the commodity display picture and reduce the picture storage cost.
Description
Technical Field
The invention relates to the technical field of computers, in particular to a commodity display picture generation method and device, a storage medium and a terminal.
Background
In some scenes where pictures need to be displayed, for example, when advertisements bid in real time, a large number of pictures of commodities need to be prepared for displaying.
Specifically, the advertisement is mainly composed of pictures, and the advertiser's goods are mainly represented in the pictures. The main problem faced is that the material provided by advertisers is too single and simple to be a positive photograph of some goods in general. Does not contain any additional information such as promotions, prices, etc., and lacks aesthetic considerations. Such pictures are key indicators that can seriously affect click-through rate for advertisement placement.
In the existing commodity display picture generation mode, a picture designer is often required to lay out the commodity display picture content and then store the designed picture. And finally, displaying the stored picture, for example, bidding an online advertisement in real time.
However, when the product display picture is displayed on a plurality of platforms, the conventional product display picture generation method has low generation efficiency, high labor cost and high picture storage cost.
Disclosure of Invention
The invention aims to provide a commodity display picture generation method and device, a storage medium and a terminal, which can improve commodity display picture generation efficiency and reduce picture storage cost.
In order to solve the above technical problem, an embodiment of the present invention provides a method for generating a commodity display picture, including the following steps: determining a template base map to be displayed and one or more commodity maps to be displayed, wherein the one or more commodity maps are subordinate to one or more commodities; determining the aspect ratio of the template base image and/or the aspect ratio of the commodity image of the area to be displayed; intercepting the template base map so that the intercepted template base map conforms to the length-width ratio of the template base map, and intercepting each commodity map so that the length-width ratio of each intercepted commodity map conforms to the length-width ratio of the commodity map; and generating the commodity display picture at least according to the intercepted template base picture and the intercepted commodity picture, wherein the commodity display picture is used for displaying in the area to be displayed.
Optionally, before intercepting the template base map, the method for generating a commodity display picture further includes: determining the placement position of each commodity image on the template base image; the template base map is provided with one or more template base map safety boundary lines, repeated parts in template base map safety areas surrounded by different template base map safety boundary lines are marked as template base map overlapping areas, the placing position is located in the template base map overlapping areas, and the different template base map safety boundary lines have different length-width ratios.
Optionally, at least two edges of each template base map safety boundary line coincide with the outer edge of the template base map and are symmetrical about a central axis or a central point.
Optionally, intercepting the template base map includes: selecting template base map safe boundary lines with the same length-width ratio according to the length-width ratio of the template base map, and recording the template base map safe boundary lines as first cut safe boundary lines; and intercepting the template base map by adopting the first intercepting safety boundary line.
Optionally, the determining the placement position of each commodity image on the template base image includes: determining a total number of planograms to be displayed; determining the placement position of each commodity graph on the template base graph according to at least the total quantity; different total numbers have a mapping relationship with different placement positions.
Optionally, each commodity map includes a commodity main body pattern and a peripheral pattern surrounding the commodity main body pattern; before intercepting each commodity image, the commodity display image generation method further comprises the following steps: determining the position of each commodity main body pattern on the commodity map; each commodity map has one or more commodity map security boundary lines, repeated parts in a commodity map security area surrounded by different commodity map security boundary lines are marked as commodity map overlapping areas, the commodity main body patterns are located in the commodity map overlapping areas, and the different commodity map security boundary lines have different length-width ratios.
Optionally, at least two edges of each safety boundary line of the commodity map coincide with the outer edge of the commodity map and are symmetrical about a central axis or a central point.
Optionally, the intercepting of each commodity map includes: selecting a safety boundary line of the commodity image with the same length-width ratio according to the length-width ratio of the commodity image, and marking as a second intercepted safety boundary line; and intercepting the commodity graph by adopting the second intercepting safety boundary line.
Optionally, before generating the product display picture, the method for generating a product display picture further includes: generating a preview picture at least according to the intercepted template base picture and the intercepted commodity picture; and determining whether to generate the commodity display picture or not in response to a confirmation indication of the preview picture by the user.
Optionally, the method for generating a commodity display picture further includes: determining the size of the area to be displayed; zooming the commodity display picture according to the size; and displaying the zoomed commodity display picture to the area to be displayed.
Optionally, the area to be shown includes an advertisement placement platform.
To solve the above technical problem, an embodiment of the present invention provides a device for generating a commodity display picture, including: the picture determining module is suitable for determining a template base picture to be displayed and one or more commodity pictures to be displayed, wherein the one or more commodity pictures are attached to one or more commodities; the aspect ratio determining module is suitable for determining the aspect ratio of the template base image and/or the aspect ratio of the commodity image of the area to be displayed; the intercepting module is suitable for intercepting the template base image so that the intercepted template base image conforms to the length-width ratio of the template base image, and intercepting each commodity image so that the length-width ratio of each intercepted commodity image conforms to the length-width ratio of the commodity image; and the generating module is suitable for generating the commodity display picture at least according to the intercepted template base picture and the intercepted commodity picture, and the commodity display picture is used for displaying in the area to be displayed.
In order to solve the above technical problem, an embodiment of the present invention provides a storage medium, on which computer instructions are stored, and the computer instructions execute the steps of the method for generating a commodity display picture when running.
In order to solve the above technical problem, an embodiment of the present invention provides a terminal, including a memory and a processor, where the memory stores a computer instruction capable of being executed on the processor, and the processor executes the steps of the method for generating a commodity display picture when executing the computer instruction.
Compared with the prior art, the technical scheme of the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, the template base image and each commodity image are intercepted, so that the aspect ratio of the intercepted template base image and each intercepted commodity image is consistent with the aspect ratio of the to-be-displayed area, and the image can be processed in an intercepting mode according to the aspect ratio of the template base image and/or the aspect ratio of the commodity image of the to-be-displayed area, compared with the mode of generating the image in a stretching mode, by adopting the scheme of the embodiment of the invention, the patterns of the template base image and the commodity image can be effectively prevented from being deformed in the process of generating the commodity display image suitable for the to-be-displayed area, so that when the commodity display image is displayed on a plurality of platforms, and each platform has different requirements on the aspect ratio and the specific size of the commodity display image and the commodity image thereof, the image is prevented from being designed by manpower aiming at each display platform, thereby improving the efficiency of generating the commodity display picture.
Further, compared with the prior art that the commodity display pictures need to be stored in the design process and after the design, the scheme of the embodiment of the invention reduces the picture storage cost.
Further, one or more template base map safety boundary lines are set, repeated parts in template base map safety areas surrounded by different template base map safety boundary lines are marked as template base map overlapping areas, the placement position of each commodity map on the template base map is determined to be located in the template base map overlapping areas, when the commodity map is displayed to different platforms, although the template base map is processed in an intercepting mode, the commodity map is favorably and effectively protected due to the fact that the commodity map is located in the template base map overlapping areas in the template base map safety areas, and the integrity of the commodity map is guaranteed.
Further, one or more commodity map safety boundary lines are arranged, repeated parts in the commodity map safety areas surrounded by different commodity map safety boundary lines are marked as commodity map overlapping areas, the commodity main body patterns are determined to be located in the commodity map overlapping areas, when the commodity main body patterns are displayed on different platforms, although the commodity main body patterns are processed in an intercepting mode, the commodity main body patterns are located in the commodity map overlapping areas in the commodity map safety areas, the theme patterns can be effectively protected, and the requirement for effective display is met.
And further, generating a preview picture at least according to the intercepted template base picture and the intercepted commodity picture, and confirming the commodity display picture by a user before generating the commodity display picture by setting a preview function so as to improve the satisfaction degree of the user.
Further, the size of the area to be displayed is determined, the commodity display picture is zoomed, the commodity display picture can meet the display requirements in the aspects of size and length-width ratio, and compared with the prior art that manual processing is needed, the scheme provided by the embodiment of the invention can further improve the processing efficiency and reduce the labor cost.
Drawings
FIG. 1 is a diagram of a prior art merchandise display picture;
FIG. 2 is a flowchart of a method for generating a commodity display picture according to an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating an effect of the template base map according to an embodiment of the present invention;
FIG. 4 is a schematic diagram illustrating an interception effect of a commodity map according to an embodiment of the present invention;
FIG. 5 is a flow chart of another method for generating a merchandise display picture according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a device for generating a commodity display picture according to an embodiment of the present invention.
Detailed Description
As described above, in the conventional method for generating a product display picture, a picture designer is often required to design and lay out the content of the product display picture, and then store the designed picture. And finally, displaying the stored picture.
Referring to fig. 1, fig. 1 is a schematic diagram of a commodity display picture in the prior art. The commodity display picture can comprise a template base map 11 and a commodity map 12. Wherein, the template base map 11 may further include a text box 111.
It can be understood that the commodity display pictures can adopt various layouts according to the characteristics of the specifically displayed commodities and the requirements of customers, so that the pictures are generated in a manual mode.
However, the existing commodity display picture generation method has low generation efficiency, high labor cost and high picture storage cost.
The inventor of the present invention has found through research that, in the prior art, when the product display picture is displayed on a plurality of platforms, each platform often has different requirements for the length-width ratio and the specific size of the product display picture and the product picture thereof, so that a designer needs to design the picture for each display platform separately, and the efficiency of the designer in designing the picture is low. Designing entirely manually by a designer presents even greater challenges when faced with the situation where an advertiser has a very large number of materials and categories and needs to rank and combine them. Moreover, if the commodity display pictures need to be stored in the design process and after the design, the storage cost is too large.
In the embodiment of the invention, a template base map to be displayed and one or more commodity maps to be displayed are determined, wherein the one or more commodity maps are subordinate to one or more commodities; determining the aspect ratio of the template base image and/or the aspect ratio of the commodity image of the area to be displayed; intercepting the template base map so that the intercepted template base map conforms to the length-width ratio of the template base map, and intercepting each commodity map so that the length-width ratio of each intercepted commodity map conforms to the length-width ratio of the commodity map; and generating the commodity display picture at least according to the intercepted template base picture and the intercepted commodity picture, wherein the commodity display picture is used for displaying in the area to be displayed. By adopting the scheme, the length-width ratio of the intercepted template base image and each intercepted commodity image is consistent with the length-width ratio of the to-be-displayed area by intercepting the template base image and each intercepted commodity image, and the image can be processed in an intercepting mode according to the length-width ratio of the template base image and/or the length-width ratio of the commodity image of the to-be-displayed area, compared with the mode of generating the image in a stretching mode, by adopting the scheme of the embodiment of the invention, the patterns of the template base image and the commodity image can be effectively prevented from being deformed in the process of generating the commodity display image suitable for the to-be-displayed area, so that when the commodity display image is displayed on a plurality of platforms, and each platform has different requirements on the length-width ratio and the specific size of the commodity display image and the commodity image thereof, the image is prevented from being designed by manpower aiming at each, thereby improving the efficiency of generating the commodity display picture. Further, compared with the prior art that the commodity display pictures need to be stored in the design process and after the design, the scheme of the embodiment of the invention reduces the picture storage cost.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
Referring to fig. 2, fig. 2 is a flowchart of a method for generating a commodity display picture according to an embodiment of the present invention. The method for generating the commodity display picture may include steps S21 to S24:
step S21: determining a template base map to be displayed and one or more commodity maps to be displayed, wherein the one or more commodity maps are subordinate to one or more commodities;
step S22: determining the aspect ratio of the template base image and/or the aspect ratio of the commodity image of the area to be displayed;
step S23: intercepting the template base map so that the intercepted template base map conforms to the length-width ratio of the template base map, and intercepting each commodity map so that the length-width ratio of each intercepted commodity map conforms to the length-width ratio of the commodity map;
step S24: and generating the commodity display picture at least according to the intercepted template base picture and the intercepted commodity picture, wherein the commodity display picture is used for displaying in the area to be displayed.
In a specific implementation of step S21, the template base image to be displayed may include text content, such as a text box, may be obtained externally, or may be generated according to a predetermined material. In the embodiment of the present invention, the specific source of the template base map to be displayed is not limited.
The one or more commodity graphs to be displayed may belong to a single commodity, may belong to a plurality of commodities, may be obtained externally, or may be processed, for example, may be an interception process. In the embodiment of the present invention, the specific source of the commodity map to be displayed is not limited.
In a specific implementation of step S22, the aspect ratio of the template base image and/or the aspect ratio of the commodity image of the area to be displayed are determined.
The area to be displayed can be a solid display board or a network platform. It is understood that the network platform often has specific requirements on the aspect ratio and specific size of the commodity display picture and the commodity picture thereof.
Further, the area to be shown may include an advertisement placement platform.
It should be noted that, when the area to be displayed is the advertisement putting platform, charging may be performed according to the uploading times or the purchase duration, and at this time, it may cause inefficiency and waste to consume a lot of manpower and time to modify the commodity display picture.
Further, before step S13, the method for generating a commodity display picture may further include: determining the placement position of each commodity image on the template base image; the template base map is provided with one or more template base map safety boundary lines, repeated parts in template base map safety areas surrounded by different template base map safety boundary lines are marked as template base map overlapping areas, the placing position is located in the template base map overlapping areas, and the different template base map safety boundary lines have different length-width ratios.
Further, the step of determining the placement position of each commodity map on the template base map may include: determining a total number of planograms to be displayed; determining the placement position of each commodity graph on the template base graph according to at least the total quantity; different total numbers have a mapping relationship with different placement positions.
In specific implementation, the placing modes of the commodity pictures, such as centered placing, uniform arrangement placing, central point/axial symmetry placing and the like, can be preset according to design requirements, and the placing positions can be efficiently determined by presetting different total numbers and different placing positions to have mapping relations, so that the commodity display picture generation efficiency is improved.
Referring to fig. 3, fig. 3 is a schematic diagram illustrating an effect of intercepting a template base map according to an embodiment of the present invention. The template base map has template base map safety boundary lines 31, template base map safety boundary lines 32 and template base map safety boundary lines 33.
The aspect ratio of the template base map safety boundary line 31 is 16:9, the aspect ratio of the template base map safety boundary line 32 is 4:3, and the aspect ratio of the template base map safety boundary line 33 is 1: 1. The repeated part of the template base map safety area surrounded by the different template base map safety boundary lines is the template base map safety area surrounded by the template base map safety boundary line 33, that is, the template base map overlapping area is the template base map safety boundary line 33.
The placement position is located within the template base map safety boundary line 33, that is, each commodity map is located within the template base map safety boundary line 33.
In the embodiment of the invention, one or more template base map safety boundary lines are arranged, repeated parts in template base map safety areas surrounded by different template base map safety boundary lines are marked as template base map overlapping areas, the placement position of each commodity map on the template base map is determined to be located in the template base map overlapping areas, and when the commodity map is displayed to different platforms, although the template base map is processed in an intercepting mode, the commodity map is effectively protected due to the fact that the commodity map is located in the template base map overlapping areas in the template base map safety areas, and the integrity of the commodity map is ensured.
Furthermore, at least two edges of each template base map safety boundary line can be superposed with the outer edge of the template base map and are symmetrical with a central axis or a central point.
In fig. 3, a template base map safety boundary line 31, a template base map safety boundary line 32 and a template base map safety boundary line 33 may be further provided, and both upper and lower sides of the template base map safety boundary line coincide with the outer edge of the template base map and are symmetrical about a central axis.
In the embodiment of the invention, at least two edges are arranged to coincide with the outer edge of the template base map, so that the area of the captured picture can be increased as much as possible, the commodity map placing area is as large as possible, and the requirement of a user can be met.
It is understood that, if the template base map safety boundary line and the outer edge of the template base map are closed curves without a plurality of edges, such as circles or ellipses, each template base map safety boundary line may be reduced in a preset proportion to the outer edge of the template base map, rather than being overlapped.
It should be noted that, although the template bottom diagram shown in fig. 3 is illustrated by taking 3 template bottom diagram safety boundary lines as an example, in the embodiment of the present invention, the number of safety boundary lines is not limited.
With continued reference to fig. 1, in an implementation of step S13, the template base map may be truncated so that the truncated template base map conforms to the template base map aspect ratio.
Further, the step of intercepting the template base map may include: selecting template base map safe boundary lines with the same length-width ratio according to the length-width ratio of the template base map, and recording the template base map safe boundary lines as first cut safe boundary lines; and intercepting the template base map by adopting the first intercepting safety boundary line.
In the embodiment of the invention, as the commodity graph is preset to be positioned in the overlapping area of the template base graphs, the commodity graph can be effectively protected when any one template base graph safety boundary line is selected, the integrity of the commodity graph is ensured, and the requirement of effective display is met.
In the specific implementation of step S13, each commodity map may be further truncated, so that the truncated commodity map conforms to the aspect ratio of the commodity map.
Further, before intercepting each commodity image, the commodity display image generating method may further include: determining the position of each commodity main body pattern on the commodity map; each commodity map has one or more commodity map security boundary lines, repeated parts in a commodity map security area surrounded by different commodity map security boundary lines are marked as commodity map overlapping areas, the commodity main body patterns are located in the commodity map overlapping areas, and the different commodity map security boundary lines have different length-width ratios.
Each commodity map may include a commodity body pattern and a peripheral pattern surrounding the commodity body pattern.
Referring to fig. 4, fig. 4 is a schematic diagram illustrating an interception effect of a commodity map according to an embodiment of the present invention. The product map has a product map security boundary line 41, a product map security boundary line 42, and a product map security boundary line 43.
The aspect ratio of the commodity map safety boundary line 41 is 16:9, the aspect ratio of the commodity map safety boundary line 42 is 4:3, and the aspect ratio of the commodity map safety boundary line 43 is 1: 1. The repeated part of the security area of the product drawing surrounded by the different product drawing security boundary lines is the security area of the product drawing surrounded by the product drawing security boundary line 43, that is, the overlapping area of the product drawings is the security boundary line 43 of the product drawing.
The commodity main patterns are located within the commodity map safety boundary line 43, that is, the commodity main patterns are all located within the commodity map safety boundary line 43.
In the embodiment of the invention, one or more commodity map safety boundary lines are arranged, repeated parts in the commodity map safety areas surrounded by different commodity map safety boundary lines are marked as commodity map overlapping areas, the commodity main body patterns are determined to be positioned in the commodity map overlapping areas, and when the commodity main body patterns are displayed to different platforms, although the commodity main body patterns are processed in an intercepting mode, the commodity main body patterns are positioned in the commodity map overlapping areas in the commodity map safety areas, so that the theme patterns are effectively protected, and the requirement of effective display is met.
Furthermore, at least two edges of each safety boundary line of the commodity graph can be superposed with the outer edge of the commodity graph and are symmetrical with a central axis or a central point.
In fig. 4, the merchandise chart security boundary line 41, the merchandise chart security boundary line 42, and the merchandise chart security boundary line 43 may be arranged such that the upper and lower sides thereof are coincident with the outer edge of the merchandise chart and are symmetrical about the central axis.
In the embodiment of the invention, at least two edges are arranged to coincide with the outer edge of the commodity picture, so that the area of the picture to be cut can be increased as much as possible, the placing area of the commodity picture is as large as possible, the commodity picture main body pattern can be prevented from being cut, and the requirement of a user can be met.
It is understood that if the commodity map security boundary line and the outer edge of the commodity map are closed curves without a plurality of sides, such as circles or ellipses, each commodity map security boundary line may be reduced in a preset ratio rather than being overlapped with the outer edge of the commodity map.
It should be noted that, although 3 security boundary lines of the product diagram shown in fig. 4 are taken as an example for illustration, in the embodiment of the present invention, the number of security boundary lines is not limited.
Further, in a specific implementation of step S13, the step of intercepting the commodity map may include: selecting a safety boundary line of the commodity image with the same length-width ratio according to the length-width ratio of the commodity image, and marking as a second intercepted safety boundary line; and intercepting the commodity graph by adopting the second intercepting safety boundary line.
In the embodiment of the invention, as the commodity diagram main body patterns are preset to be positioned in the commodity diagram overlapping area, the commodity diagram main body patterns can be effectively protected when any one commodity diagram safety boundary line is selected, the integrity of the commodity diagram main body patterns is ensured, and the requirement of effective display is met.
In a specific embodiment of step S14, the commodity display picture is generated at least according to the cut template base map and the cut commodity map, and the commodity display picture is used for displaying in the area to be displayed.
It should be noted that, if the template base map and/or the product map are already in accordance with the aspect ratio, the process of cutting the template base map and the product map in the previous step (step S13) does not actually do anything about the parts in which the aspect ratios are in accordance.
In the embodiment of the invention, the template base image and each commodity image are intercepted, so that the aspect ratio of the intercepted template base image and each intercepted commodity image is consistent with the aspect ratio of the to-be-displayed area, and the image can be processed in an intercepting mode according to the aspect ratio of the template base image and/or the aspect ratio of the commodity image of the to-be-displayed area, compared with the mode of generating the image in a stretching mode, by adopting the scheme of the embodiment of the invention, the patterns of the template base image and the commodity image can be effectively prevented from being deformed in the process of generating the commodity display image suitable for the to-be-displayed area, so that when the commodity display image is displayed on a plurality of platforms, and each platform has different requirements on the aspect ratio and the specific size of the commodity display image and the commodity image thereof, the image is prevented from being designed by manpower aiming at each display platform, thereby improving the efficiency of generating the commodity display picture. Further, compared with the prior art that the commodity display pictures need to be stored in the design process and after the design, the scheme of the embodiment of the invention reduces the picture storage cost.
Referring to fig. 5, fig. 5 is a flowchart of another method for generating a merchandise display picture according to an embodiment of the present invention. The method for generating the commodity display picture may include steps S21 to S24 shown in fig. 2, and may further include steps S51 to S52, which are described below.
In step S51, a preview picture is generated at least from the cut template base picture and the cut product picture.
It should be noted that, according to the specific requirements of the user, the preview pictures may be reduced in terms of specific size, resolution, etc. to improve the generation efficiency and reduce the storage space.
In step S52, it is determined whether or not the product display picture is generated in response to a confirmation instruction of the preview picture by the user.
Specifically, the preview picture may be displayed to the user after being generated, for example, to a user terminal or a display, and the user may click a confirmation instruction when satisfied, or return to reselecting or designing the template base picture and/or the commodity picture when not satisfied.
In the embodiment of the invention, the preview picture can be generated at least according to the intercepted template base picture and the intercepted commodity picture, and the preview function can be set for the user to confirm before the commodity display picture is generated, so that the satisfaction degree of the user is improved.
It should be noted that, if the area to be shown is an advertisement delivery platform and charges are paid according to the delivery times, the possibility that the user is dissatisfied after delivery can be reduced by setting the preview function, so that the efficiency is improved and the delivery cost is reduced.
In a specific application of the embodiment of the present invention, the method for generating a commodity display picture may further include: determining the size of the area to be displayed; zooming the commodity display picture according to the size; and displaying the zoomed commodity display picture to the area to be displayed.
In the embodiment of the invention, the size of the area to be displayed is determined, and the commodity display picture is zoomed, so that the commodity display picture meets the display requirement in the aspects of size and length-width ratio.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a device for generating a commodity display picture according to an embodiment of the present invention. The generation device of the commodity display picture can comprise:
the picture determining module 61 is suitable for determining a template base picture to be displayed and one or more commodity pictures to be displayed, wherein the one or more commodity pictures belong to one or more commodities;
an aspect ratio determination module 62 adapted to determine an aspect ratio of the template base image and/or an aspect ratio of the commodity image of the area to be displayed;
the intercepting module 63 is adapted to intercept the template base image so that the intercepted template base image conforms to the aspect ratio of the template base image, and intercept each commodity image so that the aspect ratio of each intercepted commodity image conforms to the aspect ratio of the commodity image;
the generating module 64 is adapted to generate the commodity display picture at least according to the intercepted template base map and the intercepted commodity map, where the commodity display picture is used for displaying in the area to be displayed.
For the principle, specific implementation and beneficial effects of the apparatus for generating a product display picture, please refer to the foregoing and the related descriptions of the method for generating a product display picture shown in fig. 2 to 5, which are not repeated herein.
The embodiment of the invention also provides a storage medium, wherein computer instructions are stored on the storage medium, and the computer instructions execute the steps of the method when running. The storage medium may be a computer-readable storage medium, and may include, for example, a non-volatile (non-volatile) or non-transitory (non-transitory) memory, and may further include an optical disc, a mechanical hard disk, a solid state hard disk, and the like.
The embodiment of the invention also provides a terminal, which comprises a memory and a processor, wherein the memory is stored with computer instructions capable of running on the processor, and the processor executes the steps of the method when running the computer instructions. The terminal can be a server, a cloud platform and the like.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (14)
1. A commodity display picture generation method is characterized by comprising the following steps:
determining a template base map to be displayed and one or more commodity maps to be displayed, wherein the one or more commodity maps are subordinate to one or more commodities;
determining the aspect ratio of the template base image and/or the aspect ratio of the commodity image of the area to be displayed;
intercepting the template base map so that the intercepted template base map conforms to the length-width ratio of the template base map, and intercepting each commodity map so that the length-width ratio of each intercepted commodity map conforms to the length-width ratio of the commodity map;
and generating the commodity display picture at least according to the intercepted template base picture and the intercepted commodity picture, wherein the commodity display picture is used for displaying in the area to be displayed.
2. The method for generating a merchandise display picture according to claim 1, further comprising, before intercepting the template base map:
determining the placement position of each commodity image on the template base image;
the template base map is provided with one or more template base map safety boundary lines, repeated parts in template base map safety areas surrounded by different template base map safety boundary lines are marked as template base map overlapping areas, the placing position is located in the template base map overlapping areas, and the different template base map safety boundary lines have different length-width ratios.
3. The method for generating a merchandise display picture according to claim 2, wherein at least two sides of the security boundary line of each template base map coincide with the outer edge of the template base map and are symmetrical about a central axis or a central point.
4. The method for generating a merchandise display picture according to claim 2, wherein the capturing the template base map comprises:
selecting template base map safe boundary lines with the same length-width ratio according to the length-width ratio of the template base map, and recording the template base map safe boundary lines as first cut safe boundary lines;
and intercepting the template base map by adopting the first intercepting safety boundary line.
5. The method for generating a merchandise display picture according to claim 2, wherein the determining a placement position of each merchandise drawing on the template base drawing comprises:
determining a total number of planograms to be displayed;
determining the placement position of each commodity graph on the template base graph according to at least the total quantity;
different total numbers have a mapping relationship with different placement positions.
6. The method for generating a merchandise display picture according to claim 1, wherein each merchandise picture includes a merchandise main body pattern and a peripheral pattern surrounding the merchandise main body pattern;
before intercepting each commodity graph, the method further comprises the following steps:
determining the position of each commodity main body pattern on the commodity map;
each commodity map has one or more commodity map security boundary lines, repeated parts in a commodity map security area surrounded by different commodity map security boundary lines are marked as commodity map overlapping areas, the commodity main body patterns are located in the commodity map overlapping areas, and the different commodity map security boundary lines have different length-width ratios.
7. The method for generating a merchandise display picture according to claim 6, wherein at least two edges of each security boundary line of the merchandise drawing coincide with the outer edge of the merchandise drawing and are symmetrical about a central axis or a central point.
8. The method as claimed in claim 6, wherein the capturing each commodity image comprises:
selecting a safety boundary line of the commodity image with the same length-width ratio according to the length-width ratio of the commodity image, and marking as a second intercepted safety boundary line;
and intercepting the commodity graph by adopting the second intercepting safety boundary line.
9. The method for generating a product display picture according to claim 1, further comprising, before generating the product display picture:
generating a preview picture at least according to the intercepted template base picture and the intercepted commodity picture;
and determining whether to generate the commodity display picture or not in response to a confirmation indication of the preview picture by the user.
10. The method for generating a merchandise display picture according to claim 1, further comprising:
determining the size of the area to be displayed;
zooming the commodity display picture according to the size;
and displaying the zoomed commodity display picture to the area to be displayed.
11. The method as claimed in claim 1, wherein the region to be displayed comprises an advertisement placement platform.
12. A commodity display picture generating apparatus, comprising:
the picture determining module is suitable for determining a template base picture to be displayed and one or more commodity pictures to be displayed, wherein the one or more commodity pictures are attached to one or more commodities;
the aspect ratio determining module is suitable for determining the aspect ratio of the template base image and/or the aspect ratio of the commodity image of the area to be displayed;
the intercepting module is suitable for intercepting the template base image so that the intercepted template base image conforms to the length-width ratio of the template base image, and intercepting each commodity image so that the length-width ratio of each intercepted commodity image conforms to the length-width ratio of the commodity image;
and the generating module is suitable for generating the commodity display picture at least according to the intercepted template base picture and the intercepted commodity picture, and the commodity display picture is used for displaying in the area to be displayed.
13. A storage medium having stored thereon computer instructions, wherein the computer instructions are executed to perform the steps of the method for generating a merchandise display picture according to any one of claims 1 to 11.
14. A terminal comprising a memory and a processor, wherein the memory stores computer instructions capable of running on the processor, and the processor executes the computer instructions to perform the steps of the merchandise display picture generation method according to any one of claims 1 to 11.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010454915.5A CN111768264A (en) | 2020-05-26 | 2020-05-26 | Commodity display picture generation method and device, storage medium and terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010454915.5A CN111768264A (en) | 2020-05-26 | 2020-05-26 | Commodity display picture generation method and device, storage medium and terminal |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN111768264A true CN111768264A (en) | 2020-10-13 |
Family
ID=72719590
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010454915.5A Withdrawn CN111768264A (en) | 2020-05-26 | 2020-05-26 | Commodity display picture generation method and device, storage medium and terminal |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111768264A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112465088A (en) * | 2020-12-07 | 2021-03-09 | 合肥维天运通信息科技股份有限公司 | Two-dimensional code position generation method |
Citations (35)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000029448A (en) * | 1998-07-13 | 2000-01-28 | Toshiba Corp | Image information providing system, image information display terminal, and server device |
| EP1133157A2 (en) * | 1999-12-28 | 2001-09-12 | Sony Corporation | Image commercial transactions system and method, image transfer system and method, image distribution system and method, display device and method |
| JP2003348334A (en) * | 2002-05-28 | 2003-12-05 | Fuji Photo Film Co Ltd | Image composing method and program |
| JP2004178422A (en) * | 2002-11-28 | 2004-06-24 | Ishida Co Ltd | Product advertisement creation system |
| US20040239982A1 (en) * | 2001-08-31 | 2004-12-02 | Gignac John-Paul J | Method of cropping a digital image |
| US20060263758A1 (en) * | 2005-05-06 | 2006-11-23 | Crutchfield Corporation | System and method of image display simulation |
| JP2008014977A (en) * | 2006-06-30 | 2008-01-24 | Ideasync Co Ltd | Advertisement addition apparatus, advertisement addition method, and image with advertisement |
| JP2008167342A (en) * | 2006-12-30 | 2008-07-17 | Ideasync Co Ltd | Apparatus and method for adding information such as advertisement |
| JP2008181504A (en) * | 2006-12-28 | 2008-08-07 | Kanagawa Dentsu Kokoku Co Ltd | Advertising and advertising map display system |
| US20110202847A1 (en) * | 2010-02-12 | 2011-08-18 | Research In Motion Limited | Image-based and predictive browsing |
| US20130151379A1 (en) * | 2011-12-08 | 2013-06-13 | Andrew Edwards | Method and system for manufacturing and delivering a framed picture |
| US20130204584A1 (en) * | 2012-02-08 | 2013-08-08 | Target Brands, Inc. | Online frame layout tool |
| US20140249929A1 (en) * | 2013-02-25 | 2014-09-04 | AdBuddy Inc. | Advertisement matching platform |
| JP2015041138A (en) * | 2013-08-20 | 2015-03-02 | 昭芳 村岡 | District correspondence type cooperative advertising method and site system using internet |
| US20150116367A1 (en) * | 2013-10-31 | 2015-04-30 | Nec Corporation | Information processing device, display enlarging method, and computer readable medium |
| US20150235297A1 (en) * | 2014-02-18 | 2015-08-20 | Splendid Labs, Inc. | Screenshot-based e-commerce |
| US20160098783A1 (en) * | 2014-10-01 | 2016-04-07 | Pixter Media Ltd. | Systems and methods for generation of customized advertising and/or customized promotion for products and services |
| US20160283998A1 (en) * | 2015-03-27 | 2016-09-29 | Wal-Mart Stores, Inc. | System, method, and non-trasitory computer-readable storage media for displaying product information on websites |
| US20170316034A1 (en) * | 2015-01-23 | 2017-11-02 | Alibaba Group Holding Limited | Information publishing method and apparatus |
| CN107608733A (en) * | 2017-09-19 | 2018-01-19 | 广州阿里巴巴文学信息技术有限公司 | Image display method, device and terminal device |
| CN107609193A (en) * | 2017-10-16 | 2018-01-19 | 杭州时间线信息科技有限公司 | The intelligent automatic processing method and system of picture in a kind of suitable commodity details page |
| KR20180010279A (en) * | 2018-01-15 | 2018-01-30 | 주식회사 우아한형제들 | Method for advertizing based on position and system thereof |
| US20180047192A1 (en) * | 2016-08-10 | 2018-02-15 | Zeekit Online Shopping Ltd. | Processing User Selectable Product Images And Facilitating Visualization-Assisted Coordinated Product Transactions |
| CN107729522A (en) * | 2017-10-27 | 2018-02-23 | 优酷网络技术(北京)有限公司 | Multimedia resource fragment intercept method and device |
| CN108154416A (en) * | 2017-12-11 | 2018-06-12 | 北京小米移动软件有限公司 | Website browsing optimization method and device |
| CN108170498A (en) * | 2016-12-05 | 2018-06-15 | 阿里巴巴集团控股有限公司 | Content of pages methods of exhibiting and device |
| CN108418832A (en) * | 2018-03-26 | 2018-08-17 | 深圳市酷开网络科技有限公司 | A kind of virtual reality shopping guide method, system and storage medium |
| CN108604234A (en) * | 2015-07-15 | 2018-09-28 | 查比公司 | System and method for screenshot capture link |
| CN108765044A (en) * | 2018-03-29 | 2018-11-06 | 深圳市爱乐墨科技有限公司 | Synchronous method, terminal and the computer readable storage medium of merchandise news |
| CN109284712A (en) * | 2018-09-20 | 2019-01-29 | 浙江口碑网络技术有限公司 | The configuration method and device of merchandise news |
| CN109949325A (en) * | 2019-02-27 | 2019-06-28 | 上海晶赞融宣科技有限公司 | Map boundary line determines method, apparatus and computer storage medium |
| US20190251618A1 (en) * | 2016-07-29 | 2019-08-15 | Nec Display Solutions, Ltd | Merchandise showing image display method, display information generation server device, and image display system |
| CN110378886A (en) * | 2019-07-22 | 2019-10-25 | 中国工商银行股份有限公司 | Image comparison method, image comparison device, electronic equipment and medium |
| CN110910203A (en) * | 2019-10-24 | 2020-03-24 | 苏宁云计算有限公司 | Method and device for displaying content of commodity page |
| CN110992092A (en) * | 2019-11-28 | 2020-04-10 | 秒针信息技术有限公司 | Advertisement putting detection method and device, electronic equipment and storage medium |
-
2020
- 2020-05-26 CN CN202010454915.5A patent/CN111768264A/en not_active Withdrawn
Patent Citations (35)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000029448A (en) * | 1998-07-13 | 2000-01-28 | Toshiba Corp | Image information providing system, image information display terminal, and server device |
| EP1133157A2 (en) * | 1999-12-28 | 2001-09-12 | Sony Corporation | Image commercial transactions system and method, image transfer system and method, image distribution system and method, display device and method |
| US20040239982A1 (en) * | 2001-08-31 | 2004-12-02 | Gignac John-Paul J | Method of cropping a digital image |
| JP2003348334A (en) * | 2002-05-28 | 2003-12-05 | Fuji Photo Film Co Ltd | Image composing method and program |
| JP2004178422A (en) * | 2002-11-28 | 2004-06-24 | Ishida Co Ltd | Product advertisement creation system |
| US20060263758A1 (en) * | 2005-05-06 | 2006-11-23 | Crutchfield Corporation | System and method of image display simulation |
| JP2008014977A (en) * | 2006-06-30 | 2008-01-24 | Ideasync Co Ltd | Advertisement addition apparatus, advertisement addition method, and image with advertisement |
| JP2008181504A (en) * | 2006-12-28 | 2008-08-07 | Kanagawa Dentsu Kokoku Co Ltd | Advertising and advertising map display system |
| JP2008167342A (en) * | 2006-12-30 | 2008-07-17 | Ideasync Co Ltd | Apparatus and method for adding information such as advertisement |
| US20110202847A1 (en) * | 2010-02-12 | 2011-08-18 | Research In Motion Limited | Image-based and predictive browsing |
| US20130151379A1 (en) * | 2011-12-08 | 2013-06-13 | Andrew Edwards | Method and system for manufacturing and delivering a framed picture |
| US20130204584A1 (en) * | 2012-02-08 | 2013-08-08 | Target Brands, Inc. | Online frame layout tool |
| US20140249929A1 (en) * | 2013-02-25 | 2014-09-04 | AdBuddy Inc. | Advertisement matching platform |
| JP2015041138A (en) * | 2013-08-20 | 2015-03-02 | 昭芳 村岡 | District correspondence type cooperative advertising method and site system using internet |
| US20150116367A1 (en) * | 2013-10-31 | 2015-04-30 | Nec Corporation | Information processing device, display enlarging method, and computer readable medium |
| US20150235297A1 (en) * | 2014-02-18 | 2015-08-20 | Splendid Labs, Inc. | Screenshot-based e-commerce |
| US20160098783A1 (en) * | 2014-10-01 | 2016-04-07 | Pixter Media Ltd. | Systems and methods for generation of customized advertising and/or customized promotion for products and services |
| US20170316034A1 (en) * | 2015-01-23 | 2017-11-02 | Alibaba Group Holding Limited | Information publishing method and apparatus |
| US20160283998A1 (en) * | 2015-03-27 | 2016-09-29 | Wal-Mart Stores, Inc. | System, method, and non-trasitory computer-readable storage media for displaying product information on websites |
| CN108604234A (en) * | 2015-07-15 | 2018-09-28 | 查比公司 | System and method for screenshot capture link |
| US20190251618A1 (en) * | 2016-07-29 | 2019-08-15 | Nec Display Solutions, Ltd | Merchandise showing image display method, display information generation server device, and image display system |
| US20180047192A1 (en) * | 2016-08-10 | 2018-02-15 | Zeekit Online Shopping Ltd. | Processing User Selectable Product Images And Facilitating Visualization-Assisted Coordinated Product Transactions |
| CN108170498A (en) * | 2016-12-05 | 2018-06-15 | 阿里巴巴集团控股有限公司 | Content of pages methods of exhibiting and device |
| CN107608733A (en) * | 2017-09-19 | 2018-01-19 | 广州阿里巴巴文学信息技术有限公司 | Image display method, device and terminal device |
| CN107609193A (en) * | 2017-10-16 | 2018-01-19 | 杭州时间线信息科技有限公司 | The intelligent automatic processing method and system of picture in a kind of suitable commodity details page |
| CN107729522A (en) * | 2017-10-27 | 2018-02-23 | 优酷网络技术(北京)有限公司 | Multimedia resource fragment intercept method and device |
| CN108154416A (en) * | 2017-12-11 | 2018-06-12 | 北京小米移动软件有限公司 | Website browsing optimization method and device |
| KR20180010279A (en) * | 2018-01-15 | 2018-01-30 | 주식회사 우아한형제들 | Method for advertizing based on position and system thereof |
| CN108418832A (en) * | 2018-03-26 | 2018-08-17 | 深圳市酷开网络科技有限公司 | A kind of virtual reality shopping guide method, system and storage medium |
| CN108765044A (en) * | 2018-03-29 | 2018-11-06 | 深圳市爱乐墨科技有限公司 | Synchronous method, terminal and the computer readable storage medium of merchandise news |
| CN109284712A (en) * | 2018-09-20 | 2019-01-29 | 浙江口碑网络技术有限公司 | The configuration method and device of merchandise news |
| CN109949325A (en) * | 2019-02-27 | 2019-06-28 | 上海晶赞融宣科技有限公司 | Map boundary line determines method, apparatus and computer storage medium |
| CN110378886A (en) * | 2019-07-22 | 2019-10-25 | 中国工商银行股份有限公司 | Image comparison method, image comparison device, electronic equipment and medium |
| CN110910203A (en) * | 2019-10-24 | 2020-03-24 | 苏宁云计算有限公司 | Method and device for displaying content of commodity page |
| CN110992092A (en) * | 2019-11-28 | 2020-04-10 | 秒针信息技术有限公司 | Advertisement putting detection method and device, electronic equipment and storage medium |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112465088A (en) * | 2020-12-07 | 2021-03-09 | 合肥维天运通信息科技股份有限公司 | Two-dimensional code position generation method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10529106B2 (en) | Optimizing image cropping | |
| US20070165050A1 (en) | Method and system for geographically-based and time-based online advertising | |
| EP2662831B1 (en) | Comparing virtual and real images of a shopping planogram | |
| US20090013268A1 (en) | Creation Of Visual Composition Of Product Images | |
| US20180300771A1 (en) | Maintaining page interaction functionality with overlay content | |
| CN108573515B (en) | Method and device for generating combined graph and method and device for generating combined graph template | |
| KR20160003788A (en) | Adaptively embedding visual advertising content into media content | |
| KR20090026206A (en) | Image Evaluation Method and Image Movement Determination Method | |
| US11200645B2 (en) | Previewing a content-aware fill | |
| US20250278758A1 (en) | Advertisement and promotional asset management method and system | |
| US20190139319A1 (en) | Automatic 3d camera alignment and object arrangment to match a 2d background image | |
| US8106927B2 (en) | Graphical user interfaces and occlusion prevention for fisheye lenses with line segment foci | |
| Zhang et al. | Hybrid image retargeting using optimized seam carving and scaling | |
| US20090132961A1 (en) | Tunable system for geographically-based online advertising | |
| CN108597034B (en) | Method and apparatus for generating information | |
| CN111768264A (en) | Commodity display picture generation method and device, storage medium and terminal | |
| US10674184B2 (en) | Dynamic content rendering in media | |
| US20180300770A1 (en) | In-situ previewing of customizable communications | |
| US20090189899A1 (en) | Image processing apparatus, image processing method, and storage medium storing a program for causing an image processing apparatus to execute an image processing method | |
| US10225585B2 (en) | Dynamic content placement in media | |
| US20190311545A1 (en) | Augmented Reality Advertising Systems and Methods | |
| CN112598569A (en) | Material delivery method and device and electronic equipment | |
| CN111782740A (en) | Seat data processing method, computing device and storage medium | |
| US20190287225A1 (en) | Patch validity test | |
| US11716531B2 (en) | Quality of multimedia |
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 | ||
| WW01 | Invention patent application withdrawn after publication |
Application publication date: 20201013 |
|
| WW01 | Invention patent application withdrawn after publication |