A method and system for issuing labels
Patent Information
- Application Number
- CN202510932011.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-07
- Publication Date
- 2026-10-27
- Estimated Expiration
- 2045-07-07
AI Technical Summary
[0004]在货物运输的过程中,传送带上的货物位置存在变化,货物上的标签随着货物位置变化而出现变化,导致摄像头不容易识别标签,降低标签识别的效率
1.通过对包装图像上的标签图像进行分析以得到标签比例,再通过标签比例与标签图像生成虚拟标签,控制扫描装置对虚拟标签进行扫描,从而能够对不同位置形态的货物所展示的标签进行重新整合以方便扫描装置进行扫描,提高标签识别的效率;
Smart Images

Figure CN120822532B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the technical field of labels, and in particular to a method and system for issuing labels. Background Technology
[0002] A label is a symbol / carrier used to carry information and facilitate identification and classification.
[0003] During the transportation of goods, it is usually necessary to identify the information of the items inside the goods, combine the information into a label for printing, and then manually affix the label to the packaging of the goods to facilitate subsequent transportation. When the goods arrive at their destination, the labels on the goods are scanned by a camera while the goods are being transported by a conveyor belt for identification and recording.
[0004] During the transportation of goods, the position of the goods on the conveyor belt changes, and the labels on the goods also change with the position of the goods, making it difficult for the camera to recognize the labels and reducing the efficiency of label recognition. Summary of the Invention
[0005] To improve the efficiency of tag recognition, this invention provides a tag issuance method and system.
[0006] In a first aspect, the present invention provides a method for issuing tags, employing the following technical solution: A method for issuing tags, comprising: S1: Capture packaging images; S2: Respond to the packaging image and preset label features to obtain a label image; S3: Obtain the label ratio by comparing the label image with a preset reference image; S4: Generate a virtual label using the label ratio and label image, and control a preset scanning device to scan the virtual label.
[0007] By adopting the above technical solution, the label image on the packaging image is analyzed to obtain the label ratio, and then a virtual label is generated based on the label ratio and the label image. The scanning device is then controlled to scan the virtual label, thereby enabling the labels displayed on goods in different positions and forms to be reorganized to facilitate scanning by the scanning device and improve the efficiency of label recognition.
[0008] Optionally, the method for generating the virtual tags further includes: S30: Retrieve the scanned text range from the reference image; S31: Obtain the label missing range by comparing the label image with the reference image; S32: When the missing label range includes the scanned text range, the missing direction is obtained in response to the missing label range; S33: Responding to the packaging image and the label features to obtain the label position; S34: Obtain the shooting position by the label position and the missing direction, and control the scanning device to move to the shooting position to acquire the image of the missing label; S35: Generate the virtual label by combining the missing label image and the label image.
[0009] Optional, also includes: S10: Packaging type; S11: Obtain stacking information and historical transportation information through the packaging type; S12: Obtain the pasting position in response to the stacking information and the packaging type; S13: Retrieve the marked packaging from the stacking information, and define the packaging stacked on the marked packaging as stacked packaging; S14: Obtain packaging change information through the marked packaging, the stacked packaging, and the historical shipping information; S15: Obtain the gap pasting parameters through the packaging change information, and control the preset pasting device to paste the label on the packaging according to the gap pasting parameters.
[0010] By adopting the above technical solution, the stacking information and historical transportation information are obtained by analyzing the packaging type, and then the packaging change information is obtained by using the stacking information and historical transportation information. Based on the packaging change information, the gap pasting parameters are obtained, and the pasting device is controlled to paste the label on the packaging according to the gap pasting parameters. Thus, during the transportation of goods, the gap pasting label can be used to cope with the deformation of the packaging, so that the label can still be identified normally on the deformed packaging.
[0011] Optionally, methods for obtaining the packaging change information include: S140: Retrieve the marked weight value of the marked package; S141: Retrieve the total stacked weight of the stacked packages; S142: Calculate the sum of the marked weight value and the total weight of the stack to obtain the total weight under force; S143: In response to the historical transport information and the stacking information, an average acceleration is obtained; S144: Obtain the offset direction in response to the historical transport information and the average acceleration; S145: Obtain the side of the mark by means of the offset direction and the mark wrapping; S146: When the marking side includes the pasting position, the marking pressure on the marking side is obtained in response to the total stack weight and the average acceleration; S147: The degree of packaging deformation is obtained by applying pressure to the mark and the side of the mark, and the degree of packaging deformation is defined as the packaging change information.
[0012] Optionally, the method for determining the marked pressure includes: S1460: A marked inertial force is obtained in response to the total weight of the stack and the average acceleration; S1461: Obtain the overlapping area and stacking friction coefficient by means of the stacked packaging and the marked packaging; S1462: Obtain the stacking friction force based on the stacking friction coefficient and the total stacking weight; S1463: The displacement vector is obtained by combining the stacking friction force, the marking inertial force, and the offset direction; S1464: Update the overlapping area using the displacement vector; S1465: The mark pressure is obtained in response to the overlapping area and the total weight of the stack.
[0013] Optionally, the method for obtaining the gap pasting parameters includes: S150: Obtain the pasting scan range by comparing the reference image with the pasting position; S151: In response to the degree of packaging deformation, obtain the range of packaging changes; S152: Combine the adhesive scanning range with the packaging change range to obtain the overlapping range; S153: Obtain the baseline variation based on the said pasting scan range; S154: The gap pasting parameters are obtained by measuring the degree of packaging deformation, the degree of reference change, and the overlap range.
[0014] Optionally, the method for obtaining the gap pasting parameters further includes: S15401: When the degree of packaging deformation is a preset concave type, the degree of wrinkling and the concave translation distance are obtained in response to the degree of packaging deformation and the preset packaging material. S15402: The label rebound force is obtained by the degree of wrinkling, the concave translation distance, and the preset label material; S15403: The minimum adhesive area is obtained based on the label's rebound force and the preset adhesive force; S15404: In response to the minimum adhesive area and the overlapping range to obtain the gap adhesive position, and define the gap adhesive position as the gap adhesive parameter.
[0015] Optional, also includes: S15411: When the degree of packaging deformation is a preset convex type, the lateral displacement distance of the convexity is obtained by comparing the degree of packaging deformation with the degree of reference change. S15412: The gap curvature is obtained by the lateral displacement distance of the outward convexity and the overlapping range; S15413: Responding to the gap curvature to obtain the gap pasting position, and defining the gap pasting position as the gap pasting parameter.
[0016] Optionally, the method for verifying the degree of packaging deformation includes: S1471: Based on the marked side, retrieve the target offset direction near the marked side from the historical transportation information; S1472: Obtain the target packaging by means of the marked packaging and the target offset direction; S1473: In response to the target packaging and the target offset direction, an offset packaging is obtained; S1474: When the degree of packaging deformation is a preset convex type, a convex shape is obtained in response to the target packaging, the degree of packaging deformation, and the marked side. S1475: Retrieve the stacking gap distance from the stacking information; S1476: Responding to the convex shape, the offset packaging, and the stacking gap distance to obtain an abutment convex angle; S1477: Obtain the offset angle based on the offset packaging and the target offset direction; S1478: When the offset angle is greater than the abutting outward convex angle, the angle deviation value is obtained by comparing the offset angle and the abutting outward convex angle; S1479: Update the degree of packaging deformation in response to the angle deviation value and the convex shape.
[0017] By adopting the above technical solution, the offset packaging and the target offset direction are obtained by analyzing the target packaging around the marked packaging. Then, the offset angle is obtained by the offset packaging and the target offset direction. The contact angle of the outward convex shape, stacked packaging and stacking gap distance are obtained. The new packaging deformation degree is obtained by comparing the offset angle and the contact angle of the outward convex shape. This can reduce the influence of the deformation degree caused by other packaging contacting the outward convex deformation of the packaging and improve the accuracy of the packaging deformation degree.
[0018] Secondly, this application provides a label issuance system, which adopts the following technical solution: A tag issuance system, comprising: The acquisition module is used to acquire packaging images; A memory used to store a program for a method of issuing tags; The processor is used to load and execute programs stored in memory.
[0019] In summary, this application includes at least one of the following beneficial technical effects: 1. By analyzing the label image on the packaging image to obtain the label ratio, and then generating a virtual label based on the label ratio and the label image, the scanning device is controlled to scan the virtual label. This allows the labels displayed on goods in different positions and forms to be reorganized to facilitate scanning by the scanning device and improve the efficiency of label recognition. 2. By controlling the pasting device to paste the label onto the packaging with the aforementioned gap pasting parameters, the label can be pasted onto the packaging during the transportation of goods to cope with the deformation of the packaging, so that the label can still be identified normally on the deformed packaging; 3. By analyzing the target packaging around the marked packaging, the offset packaging and the target offset direction are obtained. Then, the offset angle is obtained from the offset packaging and the target offset direction. Based on the outward convex shape, stacked packaging, and stacking gap distance, the contact outward convex angle is obtained. By comparing the offset angle and the contact outward convex angle, a new packaging deformation degree is obtained. This can reduce the influence of other packaging contacting the outward convex deformation of the packaging and improve the accuracy of the packaging deformation degree. Attached Figure Description
[0020] Figure 1 This is a flowchart of a method for issuing a tag according to an embodiment of the present invention; Figure 2 This is a simplified schematic diagram illustrating the gap-stitching of labels according to an embodiment of the present invention.
[0021] The parts referred to by the numbers in the above attached diagrams are as follows: 1. Packaging markings; 2. Labels. Detailed Implementation
[0022] The present invention will now be described in further detail with reference to the accompanying drawings and embodiments.
[0023] Reference Figure 1 This application discloses a method for issuing tags, including the following steps: S1: Capture packaging images.
[0024] Packaging images refer to images of goods packaging that require label 2 scanning, which can be obtained by taking pictures of the goods packaging with a camera set at a preset detection position.
[0025] S2: Responds to the packaging image and preset label features to obtain a label image.
[0026] The label features are the shape, color, and other characteristics of label 2 as defined by the technicians. The label image refers to the image of label 2 on the goods packaging, obtained by selecting the label features from the packaging image. The image recognition methods are common knowledge to those skilled in the art and will not be elaborated upon here.
[0027] S3: Obtain the label ratio by comparing the label image with a preset reference image.
[0028] The reference image is a normal label image scanned by a scanning device set by the technician. The label ratio refers to the scale value of the label image that needs to be adjusted. The label ratio is obtained by analyzing the label image and the reference image. The method for analyzing the label ratio is common knowledge to those skilled in the art and will not be elaborated here.
[0029] In this embodiment, the label scaling is not only used to correct for the proportional adjustment of the label 2 size due to the distance between the goods and the scanning device, but also to adjust the label image according to different tilt angles when the goods are tilted. The scanning device is an infrared scanner used to scan the label 2.
[0030] S4: Generate virtual labels by adjusting the label ratio and label image, and control a preset scanning device to scan the virtual labels.
[0031] New label images are obtained by integrating and analyzing the label images according to their proportions.
[0032] A virtual tag is a label used to display a scannable image of a label 2. The virtual tag is obtained by combining the label's proportions with the label image, and the scanning device is then controlled to scan the virtual tag. The method for generating virtual tags is common knowledge to those skilled in the art and will not be elaborated upon here.
[0033] Methods for generating virtual tags also include: S30: Retrieve the scanned text range from the reference image.
[0034] The scanned text range refers to the area on label 2 that contains important text, which is retrieved from the reference image. Examples of scanned text ranges include: order name, order number, barcode or QR code on label 2, etc.
[0035] S31: Obtain the label missing range by comparing the label image with the reference image.
[0036] The missing label area refers to the area where label 2 is bent during application due to the shape of the packaging. The missing label area is determined by comparing the integrity of the label image with a reference image. The method for determining the missing label area is common knowledge to those skilled in the art and will not be elaborated upon here.
[0037] S32: When the missing label range includes the scanned text range, respond to the missing label range to obtain the missing direction.
[0038] In this embodiment, the scanning text range is a barcode or QR code within the label's missing range only if and only if the scanned text range is within the missing range of the barcode or QR code.
[0039] The missing direction refers to the direction in which the label is missing from the packaging. When the missing label area includes the scanned text area, it indicates that the scanning device cannot easily scan and recognize the label image directly. Therefore, the missing direction is determined by analyzing the missing label area. The method for analyzing the missing direction is common knowledge to those skilled in the art and will not be elaborated here.
[0040] S33: Respond to the packaging image and label features to obtain the label location.
[0041] The label position refers to the location of label 2 on the packaging. The label position is determined by identifying the location of the label features from the packaging image.
[0042] S34: Obtain the shooting position by the label position and the direction of the missing label, and control the scanning device to move to the shooting position to acquire the image of the missing label.
[0043] The missing label image refers to the image of label 2 that is missing due to bending caused by the shape of the packaging. The shooting position refers to the location where the camera captures the bent and missing part of label 2. The shooting position is obtained by analyzing the label position and the direction of the missing part, and the scanning device is controlled to move to the shooting position to capture an image of label 2 using a camera pre-installed on the scanning device. The method for analyzing the shooting position is common knowledge to those skilled in the art and will not be elaborated here.
[0044] S35: Generate virtual labels by combining the missing label image with the label image.
[0045] Virtual labels are obtained by combining images with missing labels with labeled images.
[0046] Reference Figure 2 A method for issuing a label also includes the following steps: S10: Collection packaging type.
[0047] Packaging type refers to the type of packaging for the goods to be transported, which can be obtained in advance by the operator.
[0048] S11: Obtain stacking information and historical transportation information by packaging type.
[0049] Stacking information refers to the location and form of packaged goods during transportation and stacking. Historical transportation information refers to the routes and speeds of packaged goods transported in the past. Stacking information and historical transportation information are retrieved from the system based on the packaging type.
[0050] S12: Responds to stacking information and packaging type to obtain the paste position.
[0051] The affixing location refers to the position on the packaging where label 2 is affixed. This location is determined by analyzing the stacking information and packaging type. In this embodiment, there are multiple affixing locations, which are not necessarily on the overlapping surfaces of the stacked packaging; they can be locations such as the packaging seal.
[0052] S13: Retrieve the marked package 1 from the stacking information and define the packages stacked on the marked package 1 as stacked packages.
[0053] "Labeled Packaging 1" refers to one of the packages in a vertically stacked layer of packaging. By retrieving Labeled Packaging 1 from the stacking information, Labeled Packaging 1 can be any package in a vertically stacked layer of packaging. "Stacked Packaging" refers to packages stacked on top of Labeled Packaging 1. In this embodiment, if Labeled Packaging 1 is the top package in a vertically stacked layer of packaging, then there is no stacked packaging.
[0054] S14: Obtain packaging change information by marking package 1, stacked packages, and historical shipping information.
[0055] Packaging change information refers to the parameter information of packaging that has undergone permanent deformation due to compression during transportation. Packaging change information is obtained by analyzing marked packaging 1, stacked packaging, and historical transportation information.
[0056] S15: Obtain the gap pasting parameters by means of packaging change information, and control the preset pasting device to paste the label 2 onto the packaging according to the gap pasting parameters.
[0057] The gap adhesion parameter refers to the control parameter that requires a gap between the label 2 and the packaging when affixing label 2 to the packaging. This gap adhesion parameter is obtained by analyzing packaging change information, and the preset adhesion device is controlled to adhere label 2 to the packaging according to the gap adhesion parameter. The adhesion device includes a propulsion device, which can be a pusher block that extends and retracts using pneumatic or hydraulic principles.
[0058] Methods for obtaining information on packaging changes include: S140: Retrieve the marked weight value of marked package 1.
[0059] The marked weight value refers to the weight of the marked package 1, which is obtained by retrieving the weight of the marked package 1.
[0060] S141: Retrieve the total stack weight of the stacked packages.
[0061] Stacked packaging refers to the total weight of all stacked packages on package 1. The total weight of the stack is obtained by retrieving the weight of each stacked package and calculating the sum of the weights.
[0062] S142: Calculate the sum of the marked weight value and the total stacked weight to obtain the total weight under force.
[0063] The total weight under stress refers to the total weight of the marked package 1 under inertia during transportation. The total weight under stress is obtained by calculating the sum of the marked weight and the total weight of the stack.
[0064] S143: Response to historical transport and stacking information to obtain average acceleration.
[0065] Average acceleration refers to the average acceleration of the means of transporting goods during the transportation process. It is obtained by analyzing corresponding stacking information and historical transportation information. In this embodiment, while analyzing the average acceleration, it is necessary to retrieve real-time acceleration data from historical transportation information and to eliminate the influence of the total weight of the stacked packaging on the acceleration. This allows us to obtain the individual accelerations of the actual transporting means, thus facilitating the calculation of the average acceleration. The method for eliminating the influence of weight on acceleration is common knowledge to those skilled in the art and will not be elaborated here.
[0066] S144: Response to historical transport information and average acceleration to obtain the offset direction.
[0067] The offset direction refers to the direction in which the marked package 1 deviates due to inertia when subjected to average acceleration. This offset direction is obtained by retrieving the direction of inertia generated by average acceleration from historical transportation information. In this embodiment, the routes for transporting the same goods are the same.
[0068] S145: Obtain the marking side by offsetting the direction with the marking package 1.
[0069] The marking side refers to the side of the marking package 1 closest to the offset direction, and is defined as the side of the marking package 1 closest to it. The marking side is perpendicular to the contact surface between the marking package 1 and the stacked package.
[0070] S146: When the marking side contains the adhesive position, the marking pressure on the marking side is obtained in response to the total stacked weight and average acceleration.
[0071] Marking pressure refers to the pressure exerted on the side of the mark when subjected to inertia. When the side of the mark includes the adhesive position, it means that the position of label 2 is prone to deformation due to the deformation of the side of the mark. Therefore, the marking pressure is obtained by analyzing the total weight and average acceleration under force.
[0072] S147: The degree of packaging deformation is obtained by marking pressure and marking the side, and the degree of packaging deformation is defined as packaging change information.
[0073] The degree of packaging deformation refers to the degree of deformation that occurs when the marked side is subjected to pressure. This is determined by retrieving a reference pressure from the packaging type and calculating the difference between the marked pressure and the reference pressure as a pressure deviation value. This pressure deviation value is then matched against a pre-defined deformation lookup table to determine the degree of packaging deformation, which is defined as packaging change information. The deformation lookup table stores the degree of packaging deformation corresponding to different pressure deviation values; the larger the pressure deviation value, the greater the degree of packaging deformation. The parameters in the deformation lookup table are pre-set experimentally by those skilled in the art based on actual conditions and will not be elaborated upon here.
[0074] Methods for determining the marked pressure include: S1460: Response to the total weight of the stack and the average acceleration to obtain the marked inertial force.
[0075] The marking inertial force refers to the inertial force experienced by the marking package 1. The marking inertial force is obtained by analyzing and calculating the total weight and average acceleration. The method for analyzing and calculating the marking inertial force is common knowledge to those skilled in the art and will not be elaborated here.
[0076] S1461: Obtain the overlapping area and stacking friction coefficient by stacking and marking the packaging 1.
[0077] The overlapping area refers to the contact area between the marked package 1 and the stacked package. The stacking friction coefficient refers to the friction coefficient between the stacked package and the marked package 1. The overlapping area and stacking friction coefficient are obtained by analyzing the materials of the stacked package and the marked package 1. The analysis methods for the overlapping area and stacking friction coefficient are common knowledge to those skilled in the art and will not be elaborated here.
[0078] S1462: The stacking friction force is obtained based on the stacking friction coefficient and the total stacking weight.
[0079] Stacking friction refers to the friction between the marked package 1 and the stacked packages. The stacking friction is calculated by the stacking friction coefficient and the total weight of the force. The calculation method of stacking friction is common knowledge to those skilled in the art and will not be elaborated here.
[0080] S1463: The displacement vector is obtained by stacking frictional forces, marking inertial forces, and offset directions.
[0081] The displacement vector refers to the direction and distance of displacement when the marked package 1 is subjected to inertia. The displacement distance is matched from the preset displacement lookup table by the stacking friction force and the inertial force of the mark, and the displacement distance is combined with the offset direction to obtain the displacement vector.
[0082] S1464: Update the overlapping area using the displacement vector.
[0083] The displacement vector is used to analyze the displacement of the marked package 1 to obtain the new overlapping area.
[0084] S1465: Response to overlapping area and total stacked weight to obtain marked pressure.
[0085] The marking pressure is calculated and analyzed by combining the overlapping area and the total weight of the stack. The method for calculating the marking pressure is common knowledge to those skilled in the art and will not be elaborated here.
[0086] Methods for obtaining gap pasting parameters include: S150: Obtain the paste scan range by using the reference image and the paste position.
[0087] The adhesive scanning range refers to the area on the packaging where the important text of label 2 is located. The adhesive scanning range is obtained by analyzing the reference image and the adhesive position. The method for analyzing the adhesive scanning range is common knowledge to those skilled in the art and will not be elaborated upon here.
[0088] S151: Response to the degree of packaging deformation to obtain the range of packaging changes.
[0089] The packaging change range refers to the extent of deformation on the side of the label. This range is determined by matching the degree of packaging deformation to a deformation lookup table. The table stores different packaging change ranges corresponding to different degrees of deformation; the greater the deformation, the larger the change range. This will not be elaborated upon further. In this embodiment, the packaging change range generally begins to diffuse from the center of the label side.
[0090] S152: Combine the pasting scan range with the packaging change range to obtain the overlapping range.
[0091] The overlapping area refers to the range of overlap between the pasting scanning area and the packaging change area. The overlapping area is determined by analyzing these two ranges. The methods for analyzing the overlapping area are common knowledge to those skilled in the art and will not be elaborated upon here.
[0092] S153: Obtain the baseline change based on the pasted scan range.
[0093] The baseline change level refers to the maximum extent to which the important text in label 2 can withstand packaging deformation. The baseline change level is retrieved by pasting the scan range.
[0094] S154: The gap bonding parameters are obtained by considering the degree of packaging deformation, the degree of reference change, and the overlap range.
[0095] The gap bonding parameters are obtained by analyzing the degree of packaging deformation, the degree of reference change, and the overlap range.
[0096] Other methods for obtaining gap pasting parameters include: S15401: When the degree of packaging deformation is a preset concave type, the degree of wrinkling and the concave translation distance are obtained in response to the degree of packaging deformation and the preset packaging material.
[0097] The packaging material refers to the material corresponding to the packaging type specified by the technicians. The recessed type refers to the type where the markings appear recessed towards the center of the packaging, as specified by the technicians.
[0098] The degree of wrinkling refers to the extent of wrinkles appearing within the overlapping area. The concave translation distance refers to the distance from which the side of the mark is concave towards the center of the packaging. When the degree of packaging deformation is concave, it means that label 2 will have wrinkles due to the concavity of the packaging. The degree of wrinkling and the concave translation distance are matched with the packaging deformation and packaging material from the deformation lookup table. The deformation lookup table also stores the degree of wrinkling and the concave translation distance corresponding to different degrees of packaging deformation and packaging materials. The greater the degree of packaging deformation, the greater the degree of wrinkling and the concave translation distance. This will not be elaborated here.
[0099] S15402: The label rebound force is obtained by adjusting the degree of wrinkling, the concave translation distance, and the preset label material.
[0100] The label material is the material of label 2 as set by the technicians. Label rebound force refers to the force required for label 2 to spring back to its normal state after being dented. The label rebound force is matched from the deformation lookup table by the degree of wrinkling, the indentation displacement distance, and the label material. The deformation lookup table also stores the label rebound force corresponding to different degrees of wrinkling, indentation displacement distances, and label materials. The greater the degree of wrinkling and the indentation displacement distance, the greater the label rebound force, which will not be elaborated here.
[0101] S15403: The minimum adhesive area is obtained based on the label's rebound force and the preset adhesive force.
[0102] The adhesive force is the adhesion force per unit area of label 2 set by the technician. The minimum adhesive area refers to the minimum area that label 2 can be pasted on the packaging within the overlapping range. The minimum adhesive area is determined by matching the label rebound force with the adhesive force from a preset rebound reference table. The rebound reference table stores the minimum adhesive area corresponding to different label rebound forces and adhesive forces. The greater the label rebound force, the smaller the minimum adhesive area. The parameters in the rebound reference table are set in advance by those skilled in the art based on actual conditions through experiments, and will not be elaborated here.
[0103] S15404: Responds to the minimum adhesive area and overlapping range to obtain the gap adhesive position, and defines the gap adhesive position as the gap adhesive parameter.
[0104] The gap pasting position refers to the position point where the pasting device needs to push the label 2 when the label 2 is pasted with the gap curvature in the overlapping area. When the packaging deformation is concave, the center point of the overlapping area is used as the reference point for analysis. Then, based on the width or length of the overlapping area, the quotient calculated by the minimum pasting area is used as the reference point for diffusion. Each point in the diffusion range is used as the gap pasting position, and the gap pasting position is defined as the gap pasting parameter.
[0105] Also includes: S15411: When the degree of packaging deformation is a preset convex type, the lateral displacement distance of the convexity is obtained by comparing the degree of packaging deformation with the degree of reference change.
[0106] The convex type is a type where the markings, set by technicians, protrude from the center of the packaging.
[0107] The lateral displacement distance refers to the distance by which the side of the label is recessed away from the center of the packaging when the label 2 is stretched and the scanning device has difficulty recognizing it. When the packaging deformation is of the lateral displacement type, it means that the label 2 will be stretched and difficult to recognize due to the lateral displacement of the packaging. The difference between the packaging deformation degree and the baseline change degree is calculated, and the horizontal distance of the packaging away from the center of the packaging when the difference is not 0 is taken as the lateral displacement distance.
[0108] S15412: The gap curvature is obtained by the lateral displacement distance of the outward convexity and the overlapping range.
[0109] The gap curvature refers to the curvature of the gap that needs to be reserved in the overlapping range of label 2. The gap curvature is matched from the preset gap lookup table by the lateral displacement distance of the convexity and the overlapping range. The gap lookup table stores the gap curvature corresponding to different lateral displacement distances of the convexity and the overlapping range. When the overlapping range remains unchanged, the larger the lateral displacement distance of the convexity, the larger the gap curvature. The parameters in the gap lookup table are set in advance by those skilled in the art based on actual conditions and will not be described in detail here.
[0110] S15413: Responds to the gap curvature to obtain the gap pasting position and defines the gap pasting position as the gap pasting parameter.
[0111] The gap pasting position refers to the point at which the pasting device needs to push the label 2 when it is pasted with a gap curvature within the overlapping area. This gap pasting position is determined by analyzing the gap curvature and defined as a gap pasting parameter. For example, a larger gap curvature means more content from the label 2 is included within the overlapping area. In this case, the point at which the pasting device pushes the label 2 changes with the gap curvature, which will not be elaborated further here. In this embodiment, the analysis method for the gap pasting position differs depending on the type of packaging deformation.
[0112] Methods for verifying the degree of packaging deformation include: S1471: Retrieve the target offset direction near the side of the marker from historical transportation information based on the side of the marker.
[0113] The target offset direction refers to the direction of offset towards the side of the marker. The target offset direction is obtained by retrieving the direction of acceleration close to the side of the marker from historical transportation information. For example, if the side of the marker is located on the right side of marker package 1, then the direction of acceleration towards the left side is the target offset direction, which will not be elaborated here.
[0114] S1472: Obtain the target package by marking package 1 and the target offset direction.
[0115] The target package refers to the marked package 1 that is not subject to acceleration and inertia in the target offset direction to make displacement. The target package is obtained by analyzing the marked package 1 and the target offset direction. For example, when the target offset direction is to the left, the marked package 1 that abuts the side of the tool that transports the goods is the target package.
[0116] S1473: Respond to the target package and the target offset direction to obtain the offset package.
[0117] Offset packaging refers to packaging that is offset towards a target packaging. Offset packaging is identified by analyzing the target packaging and the target offset direction. For example, retrieve a layer of packaging surrounding the target packaging from stacking information, and designate the layer of packaging in the target offset direction as the offset packaging. When the target packaging is located at the upper left corner of the transport vehicle, the target offset direction is to the right, and the layer of packaging facing the target packaging is defined as the offset packaging, assuming the target offset direction is the direction of travel of the transport vehicle.
[0118] S1474: When the degree of packaging deformation is a preset convex type, respond to the target packaging, the degree of packaging deformation, and the marked side to obtain a convex shape.
[0119] A convex shape refers to a shape where the target packaging bulges outward on the side of the marking. When the packaging deformation is of the convex type, it means that the target packaging tilts and abuts against the convex side of the marking. The convex shape is then matched with the marking side of the target packaging and the degree of packaging deformation from the deformation lookup table. The deformation lookup table also stores convex shapes corresponding to different degrees of packaging deformation. The greater the degree of packaging deformation, the larger the volume of the convex shape. This will not be elaborated on here.
[0120] S1475: Retrieve stacking gap distance from stacking information.
[0121] The stacking gap distance refers to the distance between each layer of packaging, which is obtained by retrieving the stacking gap distance from the stacking information.
[0122] S1476: Responds to convex shape, offset packaging, and stacking gap distance to obtain an abutment convex angle.
[0123] The contact convexity angle refers to the side of the offset direction corresponding to the maximum angle that the offset packaging needs to tilt when it can contact the convex shape. The contact convexity angle is matched from the deformation lookup table by the convex shape, the offset packaging, and the stacking gap distance. The deformation lookup table also stores the contact convexity angles corresponding to the convex shape, the offset packaging, and the stacking gap distance. When the offset packaging remains unchanged, the larger the volume of the convex shape protruding, the longer the distance of the convex shape protruding, and the smaller the stacking gap distance, the smaller the contact convexity angle. This will not be elaborated here.
[0124] S1477: Obtain the offset angle based on the offset package and the target offset direction.
[0125] The offset angle refers to the angle at which the offset package deviates in the target offset direction. It is calculated by taking the corresponding displacement vector from the average acceleration of the offset package in the target offset direction, and then matching the offset angle from the displacement lookup table based on the displacement vector. The displacement lookup table also stores the offset angles corresponding to different displacement vectors. The larger the displacement distance in the displacement vector, the larger the offset angle, which will not be elaborated here.
[0126] S1478: When the offset angle is greater than the contact convex angle, the angle deviation value is obtained by comparing the offset angle and the contact convex angle.
[0127] The angle deviation value refers to the deviation between the offset angle and the contact convex angle. When the offset angle is greater than the contact convex angle, it means that the offset packaging will contact the convex side of the marking on the target packaging. The difference between the offset angle and the contact convex angle is then calculated as the angle deviation value.
[0128] S1479: Update the degree of packaging deformation in response to angular deviation values and convex shape.
[0129] The new degree of packaging deformation is determined by matching the angle deviation value with the convex shape from the deformation reference table. The deformation reference table also stores the degree of packaging deformation corresponding to different angle deviation values and convex shapes. When the convex shape remains unchanged, the larger the angle deviation value, the greater the force that offsets the packaging and squeezes the convex shape, and the smaller the degree of packaging deformation. This will not be elaborated here.
[0130] Based on the same inventive concept, embodiments of the present invention provide a tag issuance system, comprising: The acquisition module is used to acquire packaging images, images of missing labels, and packaging type; A memory used to store a program for a method of issuing tags; The processor is used to load and execute programs stored in memory.
[0131] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device, and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0132] The above description is merely a preferred embodiment of the present invention. The scope of protection of the present invention is not limited to the above embodiments. All technical solutions falling within the scope of the present invention's concept are within the scope of protection of the present invention. It should be noted that for those skilled in the art, any improvements and modifications made without departing from the principles of the present invention should also be considered within the scope of protection of the present invention.
Claims
1. A method for issuing labels, characterized in that, include: S1: Capture packaging images; S2: Respond to the packaging image and preset label features to obtain a label image; S3: Obtain the label ratio by comparing the label image with a preset reference image; S4: Generate a virtual label using the label ratio and label image, and control a preset scanning device to scan the virtual label; The method for generating the virtual tags further includes: S30: Retrieve the scanned text range from the reference image; S31: Obtain the label missing range by comparing the label image with the reference image; S32: When the missing label range includes the scanned text range, the missing direction is obtained in response to the missing label range; S33: Responding to the packaging image and the label features to obtain the label position; S34: Obtain the shooting position by the label position and the missing direction, and control the scanning device to move to the shooting position to acquire the image of the missing label; S35: Generate the virtual label by combining the missing label image and the label image; Also includes: S10: Packaging type; S11: Obtain stacking information and historical transportation information through the packaging type; S12: Obtain the pasting position in response to the stacking information and the packaging type; S13: Retrieve the marked package (1) from the stacking information, and define the package stacked on the marked package (1) as a stacked package; S14: Obtain packaging change information through the marked packaging (1), the stacked packaging, and the historical transportation information; S15: Obtain the gap pasting parameters through the packaging change information, and control the preset pasting device to paste the label (2) on the packaging with the gap pasting parameters; The methods for obtaining the packaging change information include: S140: Retrieve the marked weight value of the marked package (1); S141: Retrieve the total stacked weight of the stacked packages; S142: Calculate the sum of the marked weight value and the total weight of the stack to obtain the total weight under force; S143: In response to the historical transport information and the stacking information, an average acceleration is obtained; S144: Obtain the offset direction in response to the historical transport information and the average acceleration; S145: Obtain the mark side by means of the offset direction and the mark packaging (1); S146: When the marking side includes the pasting position, the marking pressure on the marking side is obtained in response to the total stack weight and the average acceleration; S147: The degree of packaging deformation is obtained by applying pressure to the mark and the side of the mark, and the degree of packaging deformation is defined as the packaging change information.
2. The method for issuing a label according to claim 1, characterized in that, The method for determining the marked pressure includes: S1460: A marked inertial force is obtained in response to the total weight of the stack and the average acceleration; S1461: Obtain the overlapping area and stacking friction coefficient by means of the stacked packaging and the marked packaging (1); S1462: Obtain the stacking friction force based on the stacking friction coefficient and the total stacking weight; S1463: The displacement vector is obtained by combining the stacking friction force, the marking inertial force, and the offset direction; S1464: Update the overlapping area using the displacement vector; S1465: The mark pressure is obtained in response to the overlapping area and the total weight of the stack.
3. The method for issuing a label according to claim 1, characterized in that, The methods for obtaining the gap pasting parameters include: S150: Obtain the pasting scan range by comparing the reference image with the pasting position; S151: In response to the degree of packaging deformation, obtain the range of packaging changes; S152: Combine the adhesive scanning range with the packaging change range to obtain the overlapping range; S153: Obtain the baseline variation based on the said pasting scan range; S154: The gap pasting parameters are obtained by measuring the degree of packaging deformation, the degree of reference change, and the overlap range.
4. The label issuance method according to claim 3, characterized in that, The method for obtaining the gap pasting parameters also includes: S15401: When the degree of packaging deformation is a preset concave type, the degree of wrinkling and the concave translation distance are obtained in response to the degree of packaging deformation and the preset packaging material. S15402: The label rebound force is obtained by the degree of wrinkling, the concave translation distance, and the preset label material; S15403: The minimum adhesive area is obtained based on the label's rebound force and the preset adhesive force; S15404: In response to the minimum adhesive area and the overlapping range to obtain the gap adhesive position, and define the gap adhesive position as the gap adhesive parameter.
5. The method for issuing a label according to claim 4, characterized in that, Also includes: S15411: When the degree of packaging deformation is a preset convex type, the lateral displacement distance of the convexity is obtained by comparing the degree of packaging deformation with the degree of reference change. S15412: The gap curvature is obtained by the lateral displacement distance of the outward convexity and the overlapping range; S15413: Responding to the gap curvature to obtain the gap pasting position, and defining the gap pasting position as the gap pasting parameter.
6. The method for issuing a label according to claim 5, characterized in that, The method for verifying the degree of packaging deformation includes: S1471: Based on the marked side, retrieve the target offset direction near the marked side from the historical transportation information; S1472: Obtain the target package by means of the marked package (1) and the target offset direction; S1473: In response to the target packaging and the target offset direction, an offset packaging is obtained; S1474: When the degree of packaging deformation is a preset convex type, a convex shape is obtained in response to the target packaging, the degree of packaging deformation, and the marked side. S1475: Retrieve the stacking gap distance from the stacking information; S1476: Responding to the convex shape, the offset packaging, and the stacking gap distance to obtain an abutment convex angle; S1477: Obtain the offset angle based on the offset packaging and the target offset direction; S1478: When the offset angle is greater than the abutting outward convex angle, the angle deviation value is obtained by comparing the offset angle and the abutting outward convex angle; S1479: Update the degree of packaging deformation in response to the angle deviation value and the convex shape.
7. A label issuance system, characterized in that, include: The acquisition module is used to acquire packaging images; A memory for storing a program for implementing a tag issuance method as described in any one of claims 1 to 6; The processor is used to load and execute programs stored in memory.
Citation Information
Patent Citations
Distortion image correction based two-dimensional code decoding method and system
CN105046184A
Express barcode splicing and correcting method
CN112183134A
3D modeling system and method for automatically generating photo-realistic virtual 3D packaging and product models from three-dimensional (3D) and two-dimensional (2D) imaging assets
CN115735207A
Image splicing method and related device
CN116320219A
Logistics cargo identification device and identification method
CN118060194A