A packaging design training method and system based on visual information technology
Through the camera terminal obtaining and identifying the outline information of the packaging material, combined with the factor data retraction and rendering function of displayed terminals, the fixing problem of material fixing in existing technology has been solved, and the flexibility and effect of packaging design training are improved.
Patent Information
- Application Number
- CN202411232365.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-04
- Publication Date
- 2025-01-28
- Estimated Expiration
- 2044-09-04
AI Technical Summary
In the existing packaging design training system, the materials to be packaged are fixed and limited, making it difficult to achieve flexible changes in the materials, resulting in poor training results.
Get the physical image of the packaging material through the camera terminal, identify and divide the outline information of the material. The trainers use the display of the terminal to retrieve the factor data and render it to the specified contour area of the material to achieve the flexible changes of the material.
It improves the flexibility and effect of packaging design training. The training staff can get new materials at any time during training, which enhances the dynamic and practicality of training.
Smart Images

Figure CN118840909B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of visual information, and in particular to a packaging design training method and system based on visual information technology. Background Art
[0002] The core elements of packaging visual information design include graphics, text and color information transmission. These elements work together in packaging design to convey specific information and visual effects.
[0003] In the existing packaging design training system, through the pre-stored images of the materials to be packaged and the specified packaging visual effect requirements, the trainees retrieve the data from the factor database and the material library through the terminal, and overlay the factor data on the surface of the material image to achieve the packaging effect required by the training.
[0004] However, the above-mentioned packaging training is all based on pre-stored materials to be packaged. The materials to be packaged for training are fixed and limited, and are usually added and replaced regularly. It is difficult to achieve flexible changes in the materials to be packaged. The training materials are too rigid, resulting in poor training effects on visual packaging design, and therefore needs to be improved. Summary of the invention
[0005] In order to achieve flexible changes in materials to be packaged, to enhance the flexibility of packaging design training based on visual information, and to improve the training effect; the present application provides a packaging design training method and system based on visual information technology.
[0006] The above-mentioned invention objective of the present application is achieved through the following technical solutions:
[0007] A packaging design training method based on visual information technology, comprising the steps of:
[0008] When receiving the physical image of the material to be packaged sent by the camera terminal, the physical image is sent to the display terminal for use by the trainees;
[0009] Identify and segment the contour information of the material to be packaged from the physical image;
[0010] When receiving the element calling information sent by the display terminal, identifying the element calling information and filtering the element data to be called from the element database, and sending the element data to the display terminal;
[0011] When a rendering instruction is received from the display terminal, the element data and the pre-selected rendering area are acquired from the rendering instruction, and the element data is rendered into the outline area of the instruction of the material to be packaged.
[0012] By adopting the above technical solution, when conducting product packaging design training, the physical image of the material product to be packaged in the real picture information is obtained through the camera terminal, and the contour information of the photographed product is identified and divided. The trainee issues a command through the display terminal to retrieve the element data for rendering on the material to be packaged, and then issues a rendering command to render and stack the element data in the contour area specified by the product to be packaged to present the rendering design of the surface of the material to be packaged. Therefore, the material product to be packaged that needs to be rendered can be obtained at any time through the camera terminal. Through the identification and division of contour lines, it is convenient for the trainee to distinguish the contour area of the surface of the product to be packaged and perform different rendering operations. The trainee can obtain new photographed materials to be packaged at any time during the training, and realize flexible changes of the materials to be packaged, so as to enhance the flexibility of the packaging design training of visual information and improve the training effect.
[0013] In a preferred example of the present application, the step of identifying and dividing the contour information of the material to be packaged from the physical image includes the following steps:
[0014] Based on the image grayscale value of the entity image, the outer edge contour data of all entity objects in the real picture information are identified;
[0015] Calling a preset contour comparison model, inputting the outer edge contour data into the contour comparison model, and identifying and screening the outer edge contour data that occupies the largest area in the entity image based on all the outer edge contour data;
[0016] Determining that the filtered outer edge contour data is the outer edge contour data of the material to be packaged;
[0017] Based on the outer edge contour data, the edge line within the outer edge contour of the material to be packaged is identified and contour line marking processing is performed to obtain contour information of the material to be packaged.
[0018] By adopting the above technical solution, when capturing the outline of the material product to be packaged in the physical image, the outlines of other physical objects may exist in the picture. In order to efficiently and accurately capture the outline information of the material product to be packaged, the outer edge contour data of all physical objects in the physical image are first compared through the contour comparison model, that is, the outer edge contour of the physical object. The material to be packaged to be used as the training content needs to be placed in the designated shooting area of the shooting terminal so that the outline of the material to be packaged occupies the largest outline area of the physical image. By performing feature analysis on the image within the outer edge contour of the material to be packaged, the contour line is identified and divided, thereby quickly obtaining the outline of the material product to be packaged.
[0019] In a preferred example of the present application, when receiving the element calling information sent by the display terminal, the step of identifying the element calling information and filtering the element data to be called from the element database, and sending the element data to the display terminal includes the steps of:
[0020] When receiving the element calling information sent by the display terminal, obtaining the element identifier and the keyword identifier to be called from the element calling information;
[0021] Retrieving a corresponding element database based on the element identifier, and filtering out matching element data from the retrieved element database based on the keyword identifier;
[0022] Based on the keyword identifier, an element database of other element identifiers associated with the called element identifier is obtained, and associated elements associated with the style are screened out from the obtained associated element database;
[0023] The feature data and associated features are packaged to generate a feature selection list, and the feature selection list is sent to a display terminal.
[0024] By adopting the above technical solution, regarding the calling of elements in packaging design, trainees send element calling information through the display terminal, and can filter element data from two dimensions: element identification and keyword identification. The element identification is the type of element, including color, pattern, shape, etc. The keyword identification is a vocabulary that can represent, explain and associate the meaning of the element data. The element data filtered by the keyword identification can also provide element data in other element databases associated with its keyword identification, and package them together to generate a selection list and send it to the display terminal, so that trainees can select the element data in the list conveniently, and the training experience is better.
[0025] In a preferred example of the present application, the rendering instruction includes a selection and drag instruction, a prompt instruction, and a placement instruction. When the rendering instruction issued by the display terminal is received, the element data and the pre-selected rendering area are obtained from the rendering instruction, and the element data is rendered into the outline area of the instruction of the material to be packaged, including the steps of:
[0026] When receiving a selection and drag command issued by the display terminal, identifying the selected element data from the selection and drag command;
[0027] When the element data moves to the outer edge contour of the material product to be packaged, a prompt instruction is triggered;
[0028] When the prompt instruction is triggered, the pre-selected contour area is identified, and the contour area is marked in the screen of the display terminal, and the marking process includes contour edge processing, contour area scaling processing, or blurring processing outside the contour area;
[0029] When a placement command is triggered, the feature data is rendered into the outline area.
[0030] By adopting the above technical solution, the rendering process includes the trainee dragging and placing the element data through the display terminal. Therefore, after the trainee completes the selection of the element data, the trainee issues a drag command to move the element data in the actual screen information of the display terminal. When the element data moves to the outer edge contour of the material product to be packaged, a prompt command will be triggered. The triggering of the prompt command can remind the trainee of the pre-selected contour area to be rendered, thereby facilitating the execution of the placement command and making the rendering position and area of the element data more accurate.
[0031] In a preferred example of the present application, the element data includes an image identifier, and when the placement instruction is triggered, the step of rendering the element data into the contour area includes the steps of:
[0032] When the image mark of the element data moves into the outer edge contour of the material product to be packaged, the overlapping area between the image mark and the contour area is recognized and calculated in real time;
[0033] When the overlapping area is greater than or equal to the preset area coefficient, the placement instruction is allowed to be triggered;
[0034] When the overlapping area is smaller than the preset area coefficient, the placement instruction is not allowed to be triggered.
[0035] By adopting the above technical scheme, in order to further improve the trainees' control over the accuracy of element data rendering, the overlapping area between the image identifier representing the dragged element data and the contour area to be rendered is calculated in the process of moving the image identifier of the element data. Compared with the preset area coefficient, when it is greater than or equal to the area coefficient, it can be determined that the trainee has dragged the image identifier into the contour area to be rendered, and the placement instruction is allowed to be triggered. If it is less than the preset area coefficient, it is determined that the position of the element data is inaccurate, and the placement instruction is not allowed to be triggered, thereby improving the accuracy of element rendering and the accuracy of trainees' element data rendering operations.
[0036] In a preferred example of the present application, when receiving the element calling information sent by the display terminal, identifying the element calling information and filtering the element data to be called from the element database, and sending the element data to the display terminal, the following steps are further performed:
[0037] When receiving a contour line adding instruction from the display terminal, obtaining the line trajectory generated by dragging in the contour division instruction and adding it to the contour information;
[0038] When receiving the contour division confirmation instruction, identifying whether the endpoints of the line trajectory are all connected to the contour line in the contour information;
[0039] If so, it is determined that the contour line adding instruction is executed successfully, and the contour information of the material product to be packaged is updated;
[0040] If not, it is determined that the contour line adding instruction fails, and the unconnected part of the contour line is marked and sent to the display terminal for recording and storage.
[0041] By adopting the above technical solution, if it is necessary to add a new contour line based on the existing contour line of the element product to be packaged, the trainee issues a contour line addition instruction through the display terminal, adds the contour line to the physical image contour information of the display terminal, and further determines whether the line trajectory is connected with the existing contour line to form a closed area, so as to determine whether the contour line addition instruction is successfully executed, thereby reducing the situation where the area is not closed after the contour line is added, reducing the situation where rendering area errors occur, and also improving the trainees' training skills requirements for contour line addition and division.
[0042] The second object of the invention is achieved by the following technical solutions:
[0043] A packaging design training system based on visual information technology, comprising:
[0044] The image information acquisition module is used to send the physical image of the material to be packaged to the display terminal for the trainees when receiving the physical image of the material to be packaged sent by the camera terminal;
[0045] A contour recognition module is used to recognize and divide the contour information of the material to be packaged from the physical image;
[0046] The element calling module is used to identify the element calling information and filter out the element data to be called from the element database when receiving the element calling information sent by the display terminal, and send the element data to the display terminal;
[0047] The rendering identification module is used to obtain element data and a pre-selected rendering area from the rendering instruction when receiving a rendering instruction issued by the display terminal, and render the element data into the outline area of the instruction of the material to be packaged.
[0048] Optionally, the contour recognition module includes:
[0049] The contour comparison submodule is used to identify the outer edge contour data of all physical objects in the real picture information based on the image gray value of the physical image;
[0050] The contour screening submodule is used to call a preset contour comparison model, input the outer edge contour data into the contour comparison model, and identify and screen the outer edge contour data that occupies the largest area in the entity image based on all the outer edge contour data;
[0051] A contour determination submodule, used for determining that the screened outer edge contour data is the outer edge contour data of the material to be packaged;
[0052] The contour matching submodule is used to identify the edge line within the outer edge contour of the material to be packaged based on the outer edge contour data and perform contour line marking processing to obtain contour information of the material to be packaged.
[0053] The third objective of the present application is achieved through the following technical solutions:
[0054] A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the above-mentioned packaging design training method based on visual information technology are implemented.
[0055] The fourth objective of the present application is achieved through the following technical solutions:
[0056] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the above-mentioned packaging design training method based on visual information technology.
[0057] In summary, the present application includes at least one of the following beneficial technical effects:
[0058] 1. Render and stack the element data in the contour area specified by the product to be packaged to present the rendering design of the surface of the packaging material to be packaged. Therefore, the product to be packaged that needs to be rendered can be obtained at any time through the camera terminal. Through the recognition and division of contour lines, it is convenient for trainees to distinguish the contour area of the surface of the product to be packaged and perform different rendering operations. Trainees can obtain new photographed materials to be packaged at any time during training, and realize flexible changes of materials to be packaged, so as to enhance the flexibility of visual information packaging design training and improve the training effect;
[0059] 2. In order to efficiently and accurately capture the contour information of the material products to be packaged, the outer edge contour data of all physical objects in the physical image are first compared through the contour comparison model, that is, the outer edge contour of the physical object. The material to be packaged as the training content needs to be placed in the designated shooting area of the shooting terminal so that the contour of the material to be packaged occupies the largest contour area of the physical image. By performing feature analysis on the image within the outer edge contour of the material to be packaged, the contour line is identified and divided, so as to quickly obtain the contour of the material product to be packaged;
[0060] 3. The element data filtered by the keyword identifier can also provide element data in other element databases associated with its keyword identifier, and package them together to generate a selection list and send it to the display terminal, so that the trainees can select the element data in the list, and the training experience is better;
[0061] 4. The rendering process includes the trainees dragging and placing the element data through the display terminal. Therefore, after the trainees complete the selection of the element data, they issue a drag command to move the element data in the actual screen information of the display terminal. When the element data moves to the outer edge contour of the material product to be packaged, a prompt command will be triggered. The triggering of the prompt command can remind the trainees of the pre-selected contour area to be rendered, thereby facilitating the execution of the placement command and making the rendering position and area of the element data more accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] Figure 1 This is a flowchart of an implementation example of a packaging design training method based on visual information technology in the present application;
[0063] Figure 2 This is a flowchart for implementing step S20 in an embodiment of a packaging design training method based on visual information technology of the present application;
[0064] Figure 3 This is a flowchart of implementing step S30 in an embodiment of a packaging design training method based on visual information technology of the present application;
[0065] Figure 4 It is an implementation flow chart of step S40 in an embodiment of a packaging design training method based on visual information technology in the present application. DETAILED DESCRIPTION
[0066] The present application is further described in detail below in conjunction with the accompanying drawings.
[0067] In the following embodiments, Figure 1 As shown, the present application discloses a packaging design training method based on visual information technology, which specifically includes the following steps:
[0068] S10: When receiving the physical image of the material to be packaged sent by the camera terminal, the physical image is sent to a display terminal for use by the trainee;
[0069] In this embodiment: the camera terminal is communicatively connected with the display terminal and is used to shoot the images in the current preset area. The packaging materials are placed in the preset area of the imagined terminal. The display terminal is a PC, mobile PC or mobile terminal for trainees to use.
[0070] Specifically: the material to be packaged in the preset area is photographed by the camera terminal, and the physical picture taken in the preset area is sent to the screen of the display terminal in real time, and the physical picture includes the material to be packaged in the preset area.
[0071] S20: Recognize and divide the contour information of the material to be packaged from the entity image;
[0072] In this embodiment: the material to be packaged is a physical object in a physical image, the contour information is a line and covers the surface of the material product to be packaged. The contour of the photographed material to be packaged can also be further extracted for later rendering. The contour information represents the overall contour line of the material product to be packaged.
[0073] Specifically: By identifying the edge features of the object from the real picture information, the overall contour line of the material to be packaged is divided, and the contour information is automatically calibrated according to the shape of the material product to be packaged in the picture.
[0074] S30: when receiving the element calling information sent by the display terminal, identifying the element calling information and filtering out the element data to be called from the element database, and sending the element data to the display terminal;
[0075] In this embodiment: the element calling information includes the triggering instruction of the element calling and the type information of the element to be called;
[0076] The element data is the specific information representing the packaging design elements to be called, including pattern elements, color elements, layout elements, etc.
[0077] Specifically: When the trainee sends the element call information through the display terminal through voice recognition or text information, the element call instruction is triggered and the type of element data to be called is screened out in the preset database, and the part of the element data to be called is sent to the display terminal. And the element data to be called can be cancelled or changed through the element call information.
[0078] S40: when receiving a rendering instruction issued by the display terminal, acquiring element data and a pre-selected rendering area from the rendering instruction, and rendering the element data into the outline area of the instruction of the material to be packaged;
[0079] In this embodiment: the rendering instruction refers to an instruction to drag a selected element data to the outline area of the selected material product to be packaged for covering and stacking; the rendering area can be single or multiple.
[0080] The rendering area is pre-selected by the trainee through the rendering area selection command issued by the display terminal.
[0081] The contour area must be a closed interval formed by connecting contour lines.
[0082] Specifically: When the trainee receives the rendering instruction from the display terminal, the trainee obtains the element data and the rendering area pre-selected by the trainee through the display terminal from the rendering instruction, and overlays and stacks the element data into the specified contour area. At the same time, the element data already rendered in the contour area can be deleted through the rendering instruction.
[0083] When the trainee issues a rendering area change instruction through the display terminal, the element data in the rendered area is automatically transferred or color-stacked following the change of the contour area.
[0084] In one embodiment, referring to Figure 2 , step S20 comprises the steps of:
[0085] S21: Based on the image grayscale value of the entity image, identifying the outer edge contour data of all entity objects in the real picture information;
[0086] S22: calling a preset contour comparison model, inputting the outer edge contour data into the contour comparison model, and identifying and screening the outer edge contour data that occupies the largest area in the entity image based on all the outer edge contour data;
[0087] S23: determining that the filtered outer edge contour data is the outer edge contour data of the material to be packaged;
[0088] S24: Based on the outer edge contour data, the edge line within the outer edge contour of the material to be packaged is identified and contour line marking processing is performed to obtain contour information of the material to be packaged.
[0089] In this embodiment: in the actual training scenario, since the material to be packaged is located in the preset shooting area and occupies the largest area in the physical image, the outer edge contour data of the material to be packaged is identified according to the image grayscale value.
[0090] The outer edge contour data of the material to be packaged is the outermost edge line of the material to be packaged in the solid image.
[0091] By comparing the area formed by the outer edge contour line, it is possible to quickly determine whether the outer edge contour line is the material to be packaged, and then further identify the image grayscale value in the outer contour area of the material to be packaged, find the edge line through the image features, mark the edge line with lines, and stack it for display on the display terminal.
[0092] Specifically: Based on the image grayscale value of the physical image and the comparison and search of the edge features in the image, the outer edge contour data of various physical objects are determined. Through the contour comparison module, the outer edge contour data with the largest area in the physical image is determined to be the outer edge contour data of the material to be packaged. The image edge features within the outer edge contour are further identified, and the contour of the material to be packaged is divided to obtain contour information. When the contour information mark is inaccurate, the trainee can further modify the already divided contour information by issuing a modification instruction through the display terminal.
[0093] In one embodiment, referring to Figure 3 , step S30 comprises the steps of:
[0094] S31: when receiving the element calling information sent by the display terminal, obtaining the element identifier and the keyword identifier to be called from the element calling information;
[0095] S32: Retrieving a corresponding element database based on the element identifier, and filtering out matching element data from the retrieved element database based on the keyword identifier;
[0096] S33: based on the keyword identifier, obtaining a factor database of other element identifiers associated with the called element identifier, and filtering out style-related associated factors from the obtained associated factor database;
[0097] S34: Packing the element data and the associated elements to generate an element selection list, and sending the element selection list to the display terminal.
[0098] In this embodiment: element identifiers represent different element types. Keyword identifiers represent text information that can describe and summarize the style of element data. The indexing function of the element database includes both element identifiers and keyword identifiers.
[0099] Related elements, such as other pattern elements that are consistent with the style of a certain pattern element, or the common layout and colors used by a certain pattern element.
[0100] After the element selection list is displayed on the display terminal, the trainee can move the position of the element selection list in the actual screen information by dragging the element selection list through the display terminal.
[0101] Specifically: when the trainee receives the element call information representing the packaging design element through the display terminal, the trainee identifies the element identifier and / or the keyword identifier from the element call information, further selects the matching element data from the element database, and then further indexes the associated elements associated with the element data through the matched element data, and sends the element data and the associated elements to the display terminal, and the sorting order is that the element data is located in front of the associated elements.
[0102] In one embodiment, referring to Figure 4 , the rendering instruction includes a selection and drag instruction, a prompt instruction and a placement instruction, and step S40 includes the steps of:
[0103] S41: when receiving a selection and drag instruction sent by the display terminal, identifying the selected element data from the selection and drag instruction;
[0104] S42: When the element data moves to the outer edge contour of the material product to be packaged, a prompt instruction is triggered;
[0105] S43: when the prompt instruction is triggered, the pre-selected contour area is identified, and the contour area is marked in the screen of the display terminal, the marking process includes contour edge processing or contour area scaling processing or blurring processing outside the contour area;
[0106] S44: When the placement instruction is triggered, the element data is rendered into the outline area.
[0107] In this embodiment: the prompt instruction is an instruction to prompt the trainee to place the element data in the pre-selected contour area, wherein the identification processing includes contour edge processing or contour area scaling processing or fuzzification processing outside the contour area, the contour edge processing includes changing the color of the edge of the contour area, and the contour scaling processing includes enlarging the edge contour line of the contour area. The fuzzification processing outside the contour area includes fuzzy processing the contour area except the contour area to be rendered.
[0108] Specifically: when a selection and drag command is received from a display terminal, a selected element data is identified from the drag command and dragged through the sensor information of the display terminal. When the element data enters the outer edge contour of the material product to be packaged in the actual picture information, a prompt command is triggered, and the contour area to be rendered is highlighted through identification processing. Further, when a placement command is triggered, the element data is covered and stacked in the contour area.
[0109] In one embodiment, the element data includes an image identifier, and step S44 includes the steps of:
[0110] S441: When the image mark of the element data moves to the outer edge contour of the material product to be packaged, the overlapping area of the image mark and the contour area is recognized and calculated in real time;
[0111] S442: When the overlapping area is greater than or equal to the preset area coefficient, triggering the placement instruction is allowed;
[0112] S443: When the overlapping area is smaller than the preset area coefficient, triggering the placement instruction is not allowed.
[0113] In this embodiment: the preset area coefficient is set to 70%. When the placement instruction is not allowed to be triggered, the trainee needs to re-initiate the selection and drag instruction and record it.
[0114] In one embodiment, after step S40, the following steps are further performed:
[0115] S401: when receiving a contour line adding instruction from the display terminal, obtaining a line track generated by dragging in the contour dividing instruction and adding it to the contour information;
[0116] S402: When receiving the contour division confirmation instruction, identifying whether the endpoints of the line trajectory are all connected to the contour line in the contour information;
[0117] S403: If yes, it is determined that the contour line adding instruction is executed successfully, and the contour information of the material product to be packaged is updated;
[0118] S404: If not, it is determined that the contour line adding instruction fails, and the unconnected parts of the contour lines are marked and sent to the display terminal for recording and storage.
[0119] In this embodiment: the added contour line can be deleted by sending a contour line deletion instruction through the display terminal.
[0120] Regarding determining whether the contour line adding instruction is executed successfully, in addition to the endpoints of the line track being connected to the contour line in the original contour information, the two endpoints of the line track are also connected to form a closed area.
[0121] Non-compliance with line trajectories is marked by drawing circles where contour lines do not connect, and this is recorded and stored.
[0122] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0123] In one embodiment, a packaging design training system based on visual information technology is provided, and the packaging design training system based on visual information technology corresponds one-to-one to the packaging design training method based on visual information technology in the above embodiment. The packaging design training system based on visual information technology includes:
[0124] The image information acquisition module is used to send the physical image of the material to be packaged to the display terminal for the trainees when receiving the physical image of the material to be packaged sent by the camera terminal;
[0125] A contour recognition module is used to recognize and divide the contour information of the material to be packaged from the physical image;
[0126] The element calling module is used to identify the element calling information and filter out the element data to be called from the element database when receiving the element calling information sent by the display terminal, and send the element data to the display terminal;
[0127] The rendering identification module is used to obtain element data and a pre-selected rendering area from the rendering instruction when receiving a rendering instruction issued by the display terminal, and render the element data into the outline area of the instruction of the material to be packaged.
[0128] Optionally, the contour recognition module includes:
[0129] The contour comparison submodule is used to identify the outer edge contour data of all physical objects in the real picture information based on the image gray value of the physical image;
[0130] The contour screening submodule is used to call a preset contour comparison model, input the outer edge contour data into the contour comparison model, and identify and screen the outer edge contour data that occupies the largest area in the entity image based on all the outer edge contour data;
[0131] A contour determination submodule, used for determining that the screened outer edge contour data is the outer edge contour data of the material to be packaged;
[0132] The contour calibration submodule is used to identify the edge line within the outer edge contour of the material to be packaged based on the outer edge contour data and perform contour line marking processing to obtain contour information of the material to be packaged.
[0133] Optionally, the feature call module includes:
[0134] The calling identification submodule is used to obtain the element identifier and keyword identifier to be called from the element calling information when receiving the element calling information sent by the display terminal;
[0135] A calling submodule, used to call a corresponding element database based on an element identifier, and filter out matching element data from the called element database based on a keyword identifier;
[0136] The associated calling submodule is used to obtain, based on the keyword identifier, an element database of other element identifiers associated with the called element identifier, and filter out associated elements of style association from the obtained associated element database;
[0137] The list generation submodule is used to package the feature data and the associated features to generate a feature selection list, and send the feature selection list to the display terminal.
[0138] Optionally, the rendering recognition module includes:
[0139] The dragging and associating submodule is used to identify the selected element data from the selection and dragging instruction when receiving the selection and dragging instruction issued by the display terminal;
[0140] The support recognition submodule is used to trigger a prompt instruction when the element data moves to the outer edge contour of the material product to be packaged;
[0141] The prompt submodule is used to identify the pre-selected contour area when the prompt instruction is triggered, and mark the contour area in the picture of the display terminal, wherein the marking process includes contour edge processing, contour area scaling processing, or fuzzy processing outside the contour area;
[0142] The placement submodule is used to render the feature data into the outline area when the placement instruction is triggered.
[0143] Optionally, place submodules including:
[0144] An overlap recognition unit, used for real-time recognition and calculation of the overlap area between the image mark and the contour area when the image mark of the element data moves into the outer edge contour of the material product to be packaged;
[0145] A first judgment unit, configured to allow triggering of a placement instruction when the overlapping area is greater than or equal to a preset area coefficient;
[0146] The second judgment unit is used to not allow the placement instruction to be triggered when the overlapping area is smaller than a preset area coefficient.
[0147] Optionally, also include:
[0148] A contour line adding module, for obtaining the line trajectory generated by dragging in the contour division instruction and adding it to the contour information when receiving the contour line adding instruction sent by the display terminal;
[0149] Adding a recognition module, which is used to recognize whether the endpoints of the line trajectory are all connected to the contour line in the contour information when receiving the contour division confirmation instruction;
[0150] The judgment module is used to determine that if yes, the contour line adding instruction is executed successfully and update the contour information of the material product to be packaged; if not, it is determined that the contour line adding instruction fails, and the unconnected part of the mark contour line is sent to the display terminal and recorded and stored.
[0151] For the specific definition of the packaging design training system based on visual information technology, please refer to the definition of the packaging design training method based on visual information technology mentioned above, which will not be repeated here. Each module in the above-mentioned packaging design training system based on visual information technology can be implemented in whole or in part through software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0152] In one embodiment, a computer device is provided, which may be a server, and includes a processor, a memory, a network interface, and a database connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a packaging design training method based on visual information technology is implemented.
[0153] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, a packaging design training method based on visual information technology is implemented.
[0154] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, a packaging design training method based on visual information technology is implemented.
[0155] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0156] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0157] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A packaging design training method based on visual information technology, characterized in that: When receiving the physical image of the material to be packaged sent by the camera terminal, the physical image is sent to the display terminal for use by the trainees; Identify and segment the contour information of the material to be packaged from the physical image; When receiving the element calling information sent by the display terminal, identifying the element calling information and filtering the element data to be called from the element database, and sending the element data to the display terminal; When receiving a rendering instruction from the display terminal, the element data and the pre-selected rendering area are obtained from the rendering instruction, and the element data is rendered into the outline area of the instruction of the material to be packaged; The rendering instruction includes a selection and drag instruction, a prompt instruction, and a placement instruction. When the rendering instruction issued by the display terminal is received, the element data and the pre-selected rendering area are obtained from the rendering instruction, and the element data is rendered into the outline area of the instruction of the material to be packaged, including the steps of: When receiving a selection and drag command issued by the display terminal, identifying the selected element data from the selection and drag command; When the element data moves to the outer edge contour of the material product to be packaged, a prompt instruction is triggered; When the prompt instruction is triggered, the pre-selected contour area is identified, and the contour area is marked in the screen of the display terminal, and the marking process includes contour edge processing, contour area scaling processing, or blurring processing outside the contour area; When a placement command is triggered, the feature data is rendered into the outline area.
2. A packaging design training method based on visual information technology according to claim 1, characterized in that: The step of identifying and dividing the contour information of the material to be packaged from the solid image comprises the steps of: Based on the image grayscale value of the entity image, the outer edge contour data of all entity objects in the real picture information are identified; Calling a preset contour comparison model, inputting the outer edge contour data into the contour comparison model, and identifying and screening the outer edge contour data that occupies the largest area in the entity image based on all the outer edge contour data; Determining the filtered outer edge contour data as the outer edge contour data of the material to be packaged; Based on the outer edge contour data, the edge line within the outer edge contour of the material to be packaged is identified and contour line marking processing is performed to obtain contour information of the material to be packaged.
3. The packaging design training method based on visual information technology according to claim 1 is characterized by: The step of identifying the element calling information and filtering out the element data to be called from the element database when receiving the element calling information sent by the display terminal, and sending the element data to the display terminal comprises the following steps: When receiving the element calling information sent by the display terminal, obtaining the element identifier and the keyword identifier to be called from the element calling information; Retrieving a corresponding element database based on the element identifier, and filtering out matching element data from the retrieved element database based on the keyword identifier; Based on the keyword identifier, an element database of other element identifiers associated with the called element identifier is obtained, and associated elements associated with the style are screened out from the obtained associated element database; The feature data and associated features are packaged to generate a feature selection list, and the feature selection list is sent to a display terminal.
4. The packaging design training method based on visual information technology according to claim 1 is characterized by: The element data includes an image identifier, and when the placement instruction is triggered, the step of rendering the element data into the outline area includes the steps of: When the image mark of the element data moves into the outer edge contour of the material product to be packaged, the overlapping area between the image mark and the contour area is recognized and calculated in real time; When the overlapping area is greater than or equal to the preset area coefficient, the placement instruction is allowed to be triggered; When the overlapping area is smaller than the preset area coefficient, the placement instruction is not allowed to be triggered.
5. The packaging design training method based on visual information technology according to claim 1 is characterized by: After the step of receiving the element calling information sent by the display terminal, identifying the element calling information and filtering the element data to be called from the element database, and sending the element data to the display terminal, the following steps are further performed: When receiving a contour line adding instruction from the display terminal, obtaining the line trajectory generated by dragging in the contour division instruction and adding it to the contour information; When receiving the contour division confirmation instruction, identifying whether the endpoints of the line trajectory are all connected to the contour line in the contour information; If so, it is determined that the contour line adding instruction is executed successfully, and the contour information of the material product to be packaged is updated; If not, it is determined that the contour line adding instruction fails, and the unconnected part of the contour line is marked and sent to the display terminal for recording and storage.
6. A packaging design training system based on visual information technology, characterized in that: include: The image information acquisition module is used to send the physical image of the material to be packaged to the display terminal for the trainees when receiving the physical image of the material to be packaged sent by the camera terminal; A contour recognition module is used to recognize and divide the contour information of the material to be packaged from the physical image; The element calling module is used to identify the element calling information and filter out the element data to be called from the element database when receiving the element calling information sent by the display terminal, and send the element data to the display terminal; A rendering recognition module is used to, when receiving a rendering instruction issued by a display terminal, obtain element data and a pre-selected rendering area from the rendering instruction, and render the element data into the outline area of the instruction of the material to be packaged; The rendering recognition module includes: The dragging association submodule is used to identify the selected element data from the selection and drag instruction when receiving the selection and drag instruction sent by the display terminal; The support recognition submodule is used to trigger a prompt instruction when the element data moves to the outer edge contour of the material product to be packaged; The prompt submodule is used to identify the pre-selected contour area when the prompt instruction is triggered, and mark the contour area in the picture of the display terminal, wherein the marking process includes contour edge processing, contour area scaling processing, or fuzzy processing outside the contour area; The placement submodule is used to render the feature data into the outline area when the placement instruction is triggered.
7. The packaging design training system based on visual information technology according to claim 6 is characterized in that: The contour recognition module includes: The contour comparison submodule is used to identify the outer edge contour data of all physical objects in the real picture information based on the image gray value of the physical image; The contour screening submodule is used to call a preset contour comparison model, input the outer edge contour data into the contour comparison model, and identify and screen the outer edge contour data that occupies the largest area in the entity image based on all the outer edge contour data; The contour determination submodule is used to determine that the screened outer edge contour data is the outer edge contour data of the material to be packaged; The contour matching submodule is used to identify the edge line within the outer edge contour of the material to be packaged based on the outer edge contour data and perform contour line marking processing to obtain contour information of the material to be packaged.
8. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the packaging design training method based on visual information technology as described in any one of claims 1 to 5 are implemented.
9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the packaging design training method based on visual information technology as described in any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Shoe logo design method and device based on associated elements
CN114882167A
Wall column identification method and device based on prefabricated building AI design
CN115797962A