A customized printing method, device, equipment and storage medium
By obtaining the mapping relationship between the actual size of the printed object and the customized area, a customized image set is generated, which solves the problem of customized printing of goods of different shapes and achieves a simple and fast customized printing effect.
Patent Information
- Application Number
- CN202311151871.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-07
- Publication Date
- 2026-02-24
- Estimated Expiration
- 2043-09-07
AI Technical Summary
Existing technologies make it difficult to personalize and print products or product packaging of different shapes. This requires complex configuration by professional developers, which leads to cumbersome operation and is not conducive to business promotion.
By obtaining the mapping relationship between the actual size of the object to be printed and the customized area, a set of customized images from different shooting surfaces is generated, and the target printing type is determined according to the shape of the object to be printed, thereby achieving customized printing.
It supports one-click customized printing of items of different shapes. The operation is simple and the printing is fast. It supports a variety of selections for the location, shape and area of the customized area, so as to realize personalized customized area printing.
Smart Images

Figure CN119576252B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of printing technology, and in particular to a customized printing method, apparatus, device, and storage medium. Background Technology
[0002] With the improvement of people's living standards and changes in lifestyles, the types of goods consumed by the masses are diverse, and user needs are varied. In order to better market products, personalized customization and printing of product packaging has become a trend.
[0003] Currently, customized printing solutions can only be configured for outer packaging of products with specified shapes to achieve customized printing. For other shapes of products or product packaging, professional developers are required to reconfigure the system in a complex way, which is both cumbersome and detrimental to business promotion. Therefore, how to meet the personalized customization needs of different users for different products has become an urgent problem to be solved for personalized customization printing service products. Summary of the Invention
[0004] The present invention aims to provide a customized printing method, apparatus, device and storage medium, in order to at least partially solve at least one of the above-mentioned technical problems.
[0005] In a first aspect, to solve the above-mentioned technical problems, the present invention provides a customized printing method, the method comprising:
[0006] Obtain the mapping relationship between the actual size of the printed object and the actual size of the customized area corresponding to different shooting images of various printing types;
[0007] Based on the mapping relationship, obtain a set of customized images for different shooting surfaces of each printing type;
[0008] Determine the target printing type based on the shape of the object to be printed;
[0009] Select the target custom image from the set of custom images for the target print type;
[0010] Customized printing is performed on the object to be printed based on the target customized image.
[0011] According to a preferred embodiment of the present invention, for a certain type of printing, obtaining a customized image set for different shooting surfaces of that printing type based on the mapping relationship includes:
[0012] Based on the mapping relationship, a customized area is displayed in real time in images of different shooting surfaces;
[0013] The customized area is adjusted according to user input;
[0014] Save the adjusted images of different shooting angles to obtain a customized image set for this printing type.
[0015] According to a preferred embodiment of the present invention, for a certain captured image, displaying a customized region in the captured image in real time based on the mapping relationship includes:
[0016] The relative area ratio of the printed object region to the customized region in the captured image is calculated in real time based on the mapping relationship.
[0017] The image of the captured surface and a customized area of the captured surface are displayed based on the relative area ratio.
[0018] According to a preferred embodiment of the present invention, the display of the captured image and the customized area of the captured image based on the relative area ratio includes:
[0019] Configure the default center position of the captured image and the customized area of the captured image;
[0020] The image of the captured surface and a customized area of the captured surface are displayed based on the default center position and relative area ratio.
[0021] According to a preferred embodiment of the present invention, adjusting the customized area based on user operation includes:
[0022] Receive the user's translation operation on the customized area, and adjust the position of the customized area according to the translation distance of the translation operation;
[0023] And / or,
[0024] Receive user deformation operations on the customized area, and adjust the shape and area of the customized area according to the deformation operations.
[0025] According to a preferred embodiment of the present invention, the deformation operation is a drag operation on a specified point on the edge of the customized area, and the dragged specified point is connected to form the adjusted edge of the customized area.
[0026] And / or,
[0027] The deformation operation involves selecting a specified color to refill the customized area, and then using the refilled customized area as the adjusted customized area.
[0028] And / or,
[0029] The deformation operation involves selecting a custom frame of a specified shape and dragging the custom frame, using the area where the custom frame is located after dragging as the adjusted custom area.
[0030] According to a preferred embodiment of the present invention, for a certain type of printing, obtaining the mapping relationship between the actual size of the printed object and the size of the customized area corresponding to different captured images includes:
[0031] Import images of different photographed surfaces of the object corresponding to this print type;
[0032] Obtain the actual length and width ratio of the printed object and the horizontal and vertical ratio of the customized area corresponding to images taken from different shooting angles.
[0033] Secondly, the present invention also provides a customized printing apparatus, comprising:
[0034] The first acquisition module is used to obtain the mapping relationship between the actual size of the printed object and the actual size of the customized area in each printing type;
[0035] The second acquisition module is used to acquire a set of customized images of different shooting surfaces for each printing type according to the mapping relationship;
[0036] The determination module is used to determine the target print type based on the shape of the object to be printed.
[0037] The selection module is used to select a target custom image from a set of custom images for the target print type;
[0038] The printing module is used to perform customized printing of the object to be printed based on the target customized image.
[0039] Thirdly, the present invention also provides a customized printing device, comprising: a memory, a processor, and computer program instructions stored in the memory and executable on the processor, wherein when the computer program instructions are executed by the processor, the method described in any of the preceding claims is implemented.
[0040] Fourthly, the present invention also provides a computer-readable storage medium having stored thereon computer program instructions, preferably, which, when executed by a processor, implement the method described in any of the preceding claims.
[0041] In summary, the customized printing method, apparatus, device, and storage medium of the present invention configure multiple printing types according to the shape of the object to be printed. For each printing type, a mapping relationship is obtained between the actual size of the printed object and the actual size of the customized area in images from different shooting angles. A set of customized images from different shooting angles is obtained based on this mapping relationship. Thus, when printing a specific object, the target printing type is determined based on the shape of the object, and a target customized image is selected from the set of customized images for the target printing type, thereby completing the customized printing of the object. Through the set of customized images from different shooting angles for each printing type of the present invention, the customized printing needs of goods with different shapes can be met simultaneously. Compared with the prior art, the present invention has at least the following beneficial effects:
[0042] 1. Supports one-click customized printing of items of different shapes, with the advantages of simple operation and fast printing;
[0043] 2. Supports one-click customized printing of different sides of an item;
[0044] 3. After setting a set of custom images for a type of product (corresponding to a type of printing), the product can quickly and infinitely select the target custom image from the set to complete the customized printing.
[0045] 4. When setting custom areas for items of different shapes, it supports diverse selection of the location, shape and area of the custom area, so as to realize personalized custom area printing.
[0046] 5. Supports user-friendly settings for the 3D customization area of items. Attached Figure Description
[0047] Figure 1 This is a flowchart illustrating the customized printing method of the present invention.
[0048] Figure 2 This is a schematic diagram of the process by which the present invention obtains a set of customized images of different shooting surfaces for each printing type based on a mapping relationship.
[0049] Figure 3a This is a schematic diagram illustrating how the customized area can be adjusted according to user operations according to the present invention;
[0050] Figure 3b This is another schematic diagram illustrating how the customized area can be adjusted according to user operation according to the present invention;
[0051] Figure 4 This is a schematic diagram of the customized printing device of the present invention;
[0052] Figure 5 This is a schematic diagram of the structure of the customized printing equipment of the present invention. Detailed Implementation
[0053] The features and exemplary embodiments of various aspects of the present invention will now be described in detail. To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only configured to explain the present invention and are not configured to limit the present invention. For those skilled in the art, the present invention can be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples of the invention.
[0054] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes said element.
[0055] Example 1
[0056] Please see Figure 1 Embodiment 1 of the present invention provides a customized printing method, the method comprising the following steps:
[0057] S1. Obtain the mapping relationship between the actual size of the printed object and the actual size of the customized area corresponding to different shooting images of various printing types;
[0058] In this embodiment, different printing types can correspond to different printed objects. Considering that the shape of the printed object has a significant impact on customized printing, multiple printing types can be configured according to the shape of the printed object. For example, a cylindrical printed object can be configured as the first printing type, a cuboid printed object as the second printing type, and so on. The printed object can be a product or product packaging; this invention does not impose specific limitations.
[0059] For each print type, obtain the mapping relationship between the actual size of the printed object and the actual size of the customized area in different captured images. For example, this mapping relationship can be reflected by the actual aspect ratio of the printed object and the aspect ratio of the customized area. This step may include:
[0060] S11. Import images of different photographed surfaces of the object corresponding to this print type;
[0061] Among them, images from different shooting angles refer to images of the printed object taken from different angles; for example, for a cuboid printed object, images from different shooting angles can include: front image, back image, left image, right image, top image and bottom image of the printed object.
[0062] Preferably, to facilitate staff to view and adjust the customized area later, images of different photographed surfaces of the printed object corresponding to this printing type can be imported into the system's settings window, ensuring that the white borders around each image coincide with the four sides of the settings window.
[0063] S12. Obtain the actual length-to-width ratio of the printed object and the horizontal-to-vertical ratio of the customized area corresponding to different shooting images.
[0064] Wherein: The aspect ratio of the photographed image to the actual length and width of the printed object refers to the actual length and width ratio of the printed object as viewed from the angle from which the photographed image was taken; for example: the aspect ratio of the front image of the printed object to the actual length and width of the printed object refers to the actual length and width ratio of the printed object as projected from the front. The aspect ratio of the photographed image to the customized area refers to the actual aspect ratio of the customized area on the printed object as viewed from the angle from which the photographed image was taken.
[0065] For example, for the same photographed image, the staff can input the actual length and width of the printed object corresponding to the photographed image, as well as the maximum horizontal and vertical values of the customized area corresponding to the photographed image in the settings window. The system obtains the actual length-to-width ratio of the printed object based on the length and width, and obtains the total horizontal ratio of the customized area of the printed object based on the maximum horizontal and vertical values.
[0066] S2. Obtain a set of customized images of different shooting surfaces for each printing type according to the mapping relationship;
[0067] like Figure 2 As shown, for a certain type of printing, obtaining a customized image set for different shooting surfaces of that printing type according to the mapping relationship includes:
[0068] S201. Based on the mapping relationship, display the customized area in real time in different captured images;
[0069] In this step, for a certain captured image, the relative area ratio of the printed object area to the customized area in the captured image can be calculated in real time according to the mapping relationship, and then the captured image and the customized area of the captured image can be displayed based on the relative area ratio.
[0070] For example, when calculating the relative area ratio of the printed object area to the customized area in the captured image, the area of the printed object area can be determined based on the actual length-to-width ratio of the printed object corresponding to the captured image, and the area of the customized area can be determined based on the horizontal and vertical ratio of the customized area corresponding to the captured image. Then, the relative area ratio is obtained based on the area of the printed object area and the area of the customized area.
[0071] When displaying the captured image and its customized area, the default center position, default shape, etc., of the captured image and its customized area can be configured first. Then, the captured image and its customized area are displayed based on the default center position, default shape, and relative area ratio. For convenience, the size of the captured image can be adjusted to be the same as the size of the settings window; that is, the default center position of the captured image is the center position of the settings window, and the default shape of the captured image is the same as the shape of the settings window. Multiple default center positions and default shapes can be set for the customized area of the captured image, and these can be displayed as icons in the settings window. The operator can select a target default center position and default shape according to printing needs. The default center position of the customized area of the captured image can be the center position of the settings window or any specified position within the settings window; the default shape of the customized area can be a regular set of shapes such as triangles, quadrilaterals, and circles, or an irregular geometric shape such as letters or cartoons. During display, the customized area is drawn and displayed based on the area ratio, the default center position of the customized area of the captured image, and the default shape, using the center position and area of the settings window as a reference.
[0072] S202. Adjust the customized area according to the user's operation;
[0073] Once the customized area is displayed in the settings window, staff can visually view the size and proportion of the printed object area and the customized area. If the size, shape, or position of the customized area is not set appropriately, it can be adjusted through user operation.
[0074] In one example, the user operation could be a translation operation of the customized area, such as: the user clicks on the customized area and drags it to translate. Then, the translation operation of the customized area is received, and the position of the customized area is adjusted according to the translation distance. The translation distance can be determined based on the distance between the default center position of the customized area before translation and the default center position of the customized area after translation.
[0075] In another example, the user operation could be: the user performs a deformation operation on the customized area, then the system receives the user's deformation operation on the customized area and adjusts the shape and area of the customized area according to the deformation operation. In one adjustment method, such as... Figure 3a The customized region S has multiple movable designated points along its edge. The deformation operation is a drag operation on these designated points along the edge of the customized region, such as... Figure 3a If the staff drags the specified points a and b, the dragged specified points a1 and b1 will be connected as the edge of the adjusted customized area, thereby completing the adjustment of the shape and area of the customized area.
[0076] In another adjustment method, such as Figure 3b The settings window 1 can display multiple specified colors 1, 2, and 3. The deformation operation involves selecting a specified color to refill the customized area. The worker can select one of the specified colors (e.g., ...). Figure 3b In the settings window, a specified color (3) is selected by clicking, and the selected specified color is used to refill the customized area S. The refilled customized area S1 is then used as the adjusted customized area. The refilled customized area differs from the original customized area in area and / or shape. Alternatively, multiple specified colors can be displayed in the settings window, and the settings window can be filled with different specified colors. The staff can select one of the specified colors, and the area filled with that specified color becomes the adjusted customized area.
[0077] In another adjustment method, multiple specified boxes of specified shapes can be displayed in the settings window. The deformation operation is to select a customized box of specified shape and drag the customized box. The staff can select a customized box of specified shape according to the printing requirements and drag the selected customized box to the specified position. Then the area where the customized box is located after dragging is used as the adjusted customized area.
[0078] It is understood that the above-mentioned adjustment methods can be used individually or in combination, and this invention does not impose any specific limitations. This step allows for independent multiple adjustments to each captured image, resulting in multiple adjusted images for subsequent selection by the staff.
[0079] S203. Save the adjusted images of different shooting surfaces to obtain a customized image set for this printing type.
[0080] After adjusting the customized area using at least one adjustment method in step S202, the captured image and the adjusted customized area are merged to obtain the adjusted captured image. By changing the shooting angle and repeating steps S201 to S202, different adjusted captured images of the same printing type can be obtained. Each of these different adjusted captured images generates a set of customized images for that printing type.
[0081] Similarly, custom image sets for each printing type can be obtained.
[0082] S3. Determine the target printing type based on the shape of the object to be printed;
[0083] In this step, the shape of the object to be printed can be obtained through 3D scanning, or it can be obtained based on the shape parameters entered by the operator in the settings window. The print type corresponding to the shape of the object to be printed is then used as the target print type.
[0084] S4. Select the target custom image from the set of custom images for the target print type;
[0085] For example, based on the different shooting faces in step S11, different printing faces corresponding to the different shooting faces can be obtained for the object to be printed. For a printing face, the adjusted shooting face image corresponding to the printing face is selected as the target customized image from the customized image set of the target printing type.
[0086] S5. Based on the target customized image, perform customized printing on the object to be printed.
[0087] In this step, the printing data can be arranged based on the target customized image. For example, the printing data of the customized area pattern can be arranged on the corresponding pixels of the customized area, and the printing data of the pattern outside the customized area can be arranged on the corresponding pixels of the area outside the customized area.
[0088] Example 2
[0089] Please see Figure 4 The present invention also provides a customized printing apparatus, comprising:
[0090] The first acquisition module 41 is used to acquire the mapping relationship between the actual size of the printed object and the actual size of the customized area in each printing type;
[0091] The second acquisition module 42 is used to acquire a set of customized images of different shooting surfaces for each printing type according to the mapping relationship;
[0092] Module 43 is used to determine the target printing type based on the shape of the object to be printed;
[0093] Selection module 44 is used to select a target customized image from a set of customized images for the target print type;
[0094] The printing module 45 is used to perform customized printing of the object to be printed based on the target customized image.
[0095] For a given print type, the first acquisition module 41 includes:
[0096] The import module is used to import images of different photographed surfaces of the object to be printed for this print type.
[0097] The sub-acquisition module is used to obtain the actual length and width ratio of the printed object and the horizontal and vertical ratio of the customized area corresponding to different shooting images.
[0098] The acquisition module 42 includes:
[0099] The display module is used to display a customized area in real time in different captured images based on the mapping relationship;
[0100] An adjustment module is used to adjust the customized area according to user operations;
[0101] The save module is used to save the adjusted images of different shooting surfaces, resulting in a customized image set for this print type.
[0102] Optionally, the display module includes:
[0103] The calculation unit is used to calculate the relative area ratio between the printed object area and the customized area in the captured image in real time according to the mapping relationship;
[0104] A sub-display unit is used to display the captured image and a customized area of the captured image based on the relative area ratio.
[0105] Furthermore, the sub-display unit is used to configure the default center position of the captured image and the customized area of the captured image; and to display the captured image and the customized area of the captured image based on the default center position and the relative area ratio.
[0106] The adjustment module includes:
[0107] The first adjustment module is used to receive the user's translation operation on the customized area and adjust the position of the customized area according to the translation distance of the translation operation;
[0108] And / or,
[0109] The second adjustment module is used to receive the user's deformation operation on the customized area, and adjust the shape and area of the customized area according to the deformation operation.
[0110] Optionally, the deformation operation is a drag operation on a specified point on the edge of the customized area, and the second adjustment module connects the dragged specified points as the adjusted edge of the customized area;
[0111] And / or:
[0112] The deformation operation involves selecting a specified color to refill the customized area, and the second adjustment module uses the refilled customized area as the adjusted customized area.
[0113] And / or:
[0114] The deformation operation involves selecting a custom frame of a specified shape and dragging the custom frame. The second adjustment module then uses the area where the dragged custom frame is located as the adjusted custom area.
[0115] Example 3
[0116] Combination Figure 1 The customized printing method described in this embodiment of the invention can be implemented by a customized printing device. Figure 5 A schematic diagram of the hardware structure of the customized printing device provided in an embodiment of the present invention is shown.
[0117] Customized printing equipment may include a processor 401 and a memory 402 storing computer program instructions.
[0118] Specifically, the processor 401 may include a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of the present invention.
[0119] Memory 402 may include mass storage for data or instructions. For example, and not limitingly, memory 402 may include a hard disk drive (HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, memory 402 may include removable or non-removable (or fixed) media. Where appropriate, memory 402 may be internal or external to a data processing device. In a particular embodiment, memory 402 is a non-volatile solid-state memory. In a particular embodiment, memory 402 includes read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or flash memory, or a combination of two or more of these.
[0120] The processor 401 implements any of the customized printing methods described in the above embodiments by reading and executing computer program instructions stored in the memory 402.
[0121] In one example, the customized printing device may also include a communication interface 403 and a bus 410. For example, Figure 5 As shown, the processor 401, memory 402, and communication interface 403 are connected through bus 410 and complete communication with each other.
[0122] The communication interface 403 is mainly used to realize communication between various modules, devices, units and / or equipment in the embodiments of the present invention.
[0123] Bus 410 includes hardware, software, or both, which couples the components of a customized printing device together.
[0124] For example, and not as a limitation, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Microchannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses, or combinations of two or more of these. Where appropriate, bus 410 may include one or more buses. Although specific buses are described and illustrated in embodiments of the invention, the invention contemplates any suitable bus or interconnect.
[0125] Furthermore, in conjunction with the customized printing methods in the above embodiments, this invention can be implemented using a computer-readable storage medium. This computer-readable storage medium stores computer program instructions; when these computer program instructions are executed by a processor, they implement any of the customized printing methods described in the above embodiments.
[0126] In summary, the customized printing method, apparatus, device, and storage medium of the present invention configure multiple printing types according to the shape of the object to be printed. For each printing type, a mapping relationship is obtained between the actual size of the printed object and the actual size of the customized area in images from different shooting angles. A set of customized images from different shooting angles is obtained based on this mapping relationship. Thus, when printing a specific object, the target printing type is determined based on the shape of the object, and a target customized image is selected from the set of customized images for the target printing type, thereby completing the customized printing of the object. Through the set of customized images from different shooting angles for each printing type of the present invention, the customized printing needs of goods with different shapes can be met simultaneously. Compared with the prior art, the present invention has at least the following beneficial effects:
[0127] 1. Supports one-click customized printing of items of different shapes, with the advantages of simple operation and fast printing;
[0128] 2. After setting a set of custom images for a type of product (corresponding to a type of printing), the product can quickly and infinitely select the target custom image from the set to complete the customized printing.
[0129] 3. When setting custom areas for items of different shapes, it supports diverse selection of the location, shape, and area of the custom area, enabling personalized custom area printing.
[0130] 4. Supports user-friendly settings for the 3D customization area of items.
[0131] It should be clarified that the present invention is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of the present invention.
[0132] The functional blocks shown in the above-described structural diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this invention are programs or code segments used to perform the required tasks. The programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.
[0133] It should also be noted that the exemplary embodiments mentioned in this invention describe methods or systems based on a series of steps or apparatus. However, this invention is not limited to the order of the steps described above; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.
[0134] The above description is merely a specific embodiment of the present invention. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the protection scope of the present invention.
Claims
1. A customized printing method, characterized in that, The method includes: Obtain the mapping relationship between the actual size of the printed object and the actual size of the customized area corresponding to different shooting images of various printing types; For a certain type of printing, a customized image set for different shooting surfaces of each printing type is obtained according to the mapping relationship, including: Based on the mapping relationship, a customized area is displayed in real time in images of different shooting surfaces; The customized area is adjusted according to user input; Save the adjusted images of different shooting surfaces to obtain a customized image set for this printing type; Determine the target printing type based on the shape of the object to be printed; Select the target custom image from the set of custom images for the target print type; Customized printing is performed on the object to be printed based on the target customized image.
2. The customized printing method according to claim 1, characterized in that, For a given captured image, displaying a customized region in the captured image in real time based on the mapping relationship includes: The relative area ratio of the printed object region to the customized region in the captured image is calculated in real time based on the mapping relationship. The image of the captured surface and a customized area of the captured surface are displayed based on the relative area ratio.
3. The customized printing method according to claim 2, characterized in that, The display of the captured image and the customized area of the captured image based on the relative area ratio includes: Configure the default center position of the captured image and the customized area of the captured image; The image of the captured surface and a customized area of the captured surface are displayed based on the default center position and relative area ratio.
4. The customized printing method according to claim 1, characterized in that, The adjustment of the customized area based on user operation includes: Receive the user's translation operation on the customized area, and adjust the position of the customized area according to the translation distance of the translation operation; And / or, Receive user deformation operations on the customized area, and adjust the shape and area of the customized area according to the deformation operations.
5. The customized printing method according to claim 4, characterized in that, The deformation operation is a drag operation on a specified point on the edge of the customized area, and the dragged specified point is connected to form the adjusted edge of the customized area. And / or, The deformation operation involves selecting a specified color to refill the customized area, and then using the refilled customized area as the adjusted customized area. And / or, The deformation operation involves selecting a custom frame of a specified shape and dragging the custom frame, using the area where the custom frame is located after dragging as the adjusted custom area.
6. The customized printing method according to claim 1, characterized in that, For a specific printing type, obtaining the mapping relationship between the actual size of the printed object and the size of the customized area corresponding to different captured images includes: Import images of different photographed surfaces of the object corresponding to this print type; Obtain the actual length and width ratio of the printed object and the horizontal and vertical ratio of the customized area corresponding to images taken from different shooting angles.
7. A customized printing device, characterized in that, include: The first acquisition module is used to obtain the mapping relationship between the actual size of the printed object and the actual size of the customized area in each printing type; The second acquisition module is used to acquire a set of customized images of different shooting surfaces for each printing type according to the mapping relationship, including: displaying a customized area in the images of different shooting surfaces in real time based on the mapping relationship; adjusting the customized area according to user operation; and saving the adjusted images of different shooting surfaces to obtain a set of customized images for that printing type. The determination module is used to determine the target print type based on the shape of the object to be printed. The selection module is used to select a target custom image from a set of custom images for the target print type; The printing module is used to perform customized printing of the object to be printed based on the target customized image.
8. A customized printing device, characterized in that, include: A memory, a processor, and computer program instructions stored in the memory and executable on the processor, which, when executed by the processor, implement the method as described in any one of claims 1 to 6.
9. A computer-readable storage medium having computer program instructions stored thereon, characterized in that, When the computer program instructions are executed by a processor, the method as described in any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Intelligent generation method of printing production data image, storage medium and data processing equipment
CN111930286A
Method and device for obtaining customized effect image in commodity customization scene,and equipment
CN113971598A