A method and device for evaluating the forming quality of a three-dimensional cigarette case and an electronic device
By calculating multidimensional geometric evaluation parameters through three-dimensional scanning and coordinate matrix calibration, and constructing a scoring model by combining the weight fusion method, the problems of insufficient accuracy and strong subjectivity in the quality inspection of three-dimensional cigarette box molding are solved, and high-precision quantitative evaluation and intelligent management are realized.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHANGHAI TOBACCO GROUP CO LTD
- Filing Date
- 2026-04-30
- Publication Date
- 2026-07-31
AI Technical Summary
Existing methods for inspecting the quality of 3D cigarette box molding rely on manual measurement, which is not very accurate and cannot fully reflect the geometry of the box. Furthermore, contact measurement can lead to deformation, making it difficult to assess the overall quality level.
A point cloud dataset is generated using 3D scanning technology. Multidimensional geometric evaluation parameters are calculated using the coordinate matrix calibration method. A comprehensive scoring model for molding quality is constructed using the weight fusion method to achieve quantitative comprehensive evaluation.
It improves the accuracy and consistency of testing, realizes digital management and intelligent control of cigarette box forming quality, and guides production improvement.
Smart Images

Figure CN122486512A_ABST
Abstract
Description
Technical Field
[0001] This specification relates to the field of packaging quality inspection technology, and in particular to a method for evaluating the molding quality of a three-dimensional cigarette box. Background Technology
[0002] In the process of forming three-dimensional cigarette boxes, in order to facilitate the horizontal comparison of the quality of different batches of products and improve consumer satisfaction, it is necessary to inspect the forming quality of the finished three-dimensional cigarette boxes. The existing monitoring methods mainly rely on manual labor and simple tools. However, traditional manual methods rely on caliper measurement or template comparison, which has limited measurement points and low accuracy, and cannot fully reflect the geometric shape of the box. Subjective factors lead to large errors. Furthermore, when using calipers or other contact methods to measure paper cigarette boxes, the measurement contact will cause deformation of the cigarette box, affecting the accuracy of the measurement results. Existing inspections mainly focus on the linear dimensions of the box, such as length, width, and height, ignoring indicators such as flatness and squareness, making it difficult to assess the overall level of cigarette box forming quality. Summary of the Invention
[0003] This application provides a method, apparatus, and electronic device for evaluating the molding quality of a three-dimensional cigarette box, the technical solution of which is as follows:
[0004] In a first aspect, embodiments of this application provide a method for evaluating the molding quality of a three-dimensional cigarette box, the method comprising:
[0005] The three-dimensional geometric model of the three-dimensional cigarette box to be tested is determined based on the point cloud dataset of the three-dimensional cigarette box to be tested;
[0006] The multidimensional geometric evaluation parameters corresponding to the three-dimensional geometric model are calculated based on the coordinate matrix calibration method. The multidimensional geometric evaluation parameters include external dimension evaluation parameters, flatness evaluation parameters, and squareness evaluation parameters.
[0007] A comprehensive molding quality scoring model is constructed based on the weighted fusion method, and the target molding quality score corresponding to the multidimensional geometric evaluation parameters is determined based on the comprehensive molding quality scoring model.
[0008] Secondly, a molding quality evaluation device for three-dimensional cigarette boxes is provided, the device comprising:
[0009] The determination module is used to determine the three-dimensional geometric model of the three-dimensional cigarette box to be tested based on the point cloud dataset of the three-dimensional cigarette box to be tested;
[0010] The calculation module is used to calculate the multidimensional geometric evaluation parameters corresponding to the three-dimensional geometric model based on the coordinate matrix calibration method. The multidimensional geometric evaluation parameters include external dimension evaluation parameters, flatness evaluation parameters, and squareness evaluation parameters.
[0011] The evaluation module is used to construct a comprehensive molding quality scoring model based on the weighted fusion method, and to determine the target molding quality score corresponding to the multidimensional geometric evaluation parameters based on the comprehensive molding quality scoring model.
[0012] Thirdly, an electronic device is provided, including a device processor and a memory;
[0013] The device processor is connected to the memory;
[0014] The memory is used to store executable program code;
[0015] The device processor runs a program corresponding to the executable program code stored in the memory to perform the steps of the method provided as in the first aspect or any possible implementation thereof.
[0016] Fourthly, a computer-readable storage medium is provided having a computer program stored thereon, the computer-readable storage medium storing instructions that, when executed on a computer or device processor, cause the computer or device processor to perform the method provided as in the first aspect or any possible implementation thereof.
[0017] The beneficial effects of the technical solutions provided in some embodiments of this application include at least the following:
[0018] In one or more embodiments of this application, a three-dimensional geometric model of the three-dimensional cigarette box to be tested is determined based on the point cloud dataset of the three-dimensional cigarette box. Then, multi-dimensional geometric evaluation parameters corresponding to the three-dimensional geometric model are calculated based on the coordinate matrix calibration method. Finally, a comprehensive molding quality scoring model is constructed using the weighted fusion method, and the target molding quality score corresponding to the multi-dimensional geometric evaluation parameters is determined based on the comprehensive molding quality scoring model. This overcomes the problems of existing detection methods, such as single dimension, insufficient accuracy, and strong subjectivity, and achieves a quantitative comprehensive evaluation of the molding quality of cigarette boxes. Simultaneously, by constructing a comprehensive molding quality scoring model, multiple indicators are fused into a single score, improving the consistency of detection and the effectiveness of guiding production improvements. Furthermore, this method can form a digital closed-loop management system, linking quality scoring results with the production process, achieving proactive and intelligent quality control. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0020] Figure 1A flowchart illustrating a method for evaluating the molding quality of a three-dimensional cigarette box, as provided in this application embodiment;
[0021] Figure 2 A schematic diagram of a three-dimensional measurement model of a three-dimensional cigarette box provided in an embodiment of this application;
[0022] Figure 3 A schematic diagram of the molding quality evaluation device for a three-dimensional cigarette box provided in an embodiment of this application;
[0023] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0024] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.
[0025] The terms "first," "second," "third," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or apparatuses.
[0026] The following description provides examples and does not limit the scope, applicability, or examples set forth in the claims. Changes may be made to the function and arrangement of the described elements without departing from the scope of this application. Various processes or components may be appropriately omitted, substituted, or added to the examples. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Furthermore, features described with respect to some examples may be combined into other examples.
[0027] Please see Figure 1 , Figure 1 This paper presents an overall flowchart of a method for evaluating the molding quality of a three-dimensional cigarette box according to an embodiment of this application.
[0028] like Figure 1 As shown, the method for evaluating the molding quality of this three-dimensional cigarette box may include at least the following steps:
[0029] Step 101: Determine the three-dimensional geometric model of the three-dimensional cigarette box to be tested based on the point cloud dataset of the three-dimensional cigarette box to be tested.
[0030] In this embodiment of the application, to address the problems of limited detection dimensions, insufficient accuracy, and strong human subjectivity in the quality inspection of cigarette box molding, a three-dimensional data analysis method can be used to evaluate the molding quality of the three-dimensional cigarette box under test. Specifically, as shown... Figure 2 The diagram shows a three-dimensional measurement model of a three-dimensional cigarette box. A three-dimensional scanning device (such as an industrial-grade 3D scanner) is used to perform a full-range scan of the three-dimensional cigarette box to be measured to obtain a complete point cloud dataset.
[0031] The 3D scanning equipment utilizes an industrial-grade high-precision structured light 3D scanner, achieving a measurement accuracy within 0.01 mm. During the scanning process, the 3D cigarette box to be measured is placed on an automatic turntable. Multi-angle automatic scanning is achieved by controlling the turntable's rotation. The scanning angles are typically set to no fewer than six directions (e.g., one viewpoint every 60°) to ensure that all areas of the cigarette box surface are covered. After obtaining a local point cloud from each scan, a marker point stitching algorithm is used to accurately register the point cloud data from different viewpoints. The stitching error is controlled to ≤0.01 mm. The registered point cloud then undergoes denoising, smoothing, and hole-filling processing to eliminate scanning noise and missing data, ultimately generating a complete and continuous 3D geometric model. This model is stored in STL or OBJ format and contains millions of 3D coordinate points on the cigarette box surface, providing a high-precision data foundation for subsequent parameter extraction.
[0032] Step 103: Calculate the multidimensional geometric evaluation parameters corresponding to the three-dimensional geometric model based on the coordinate matrix calibration method.
[0033] The multidimensional geometric evaluation parameters include external dimension evaluation parameters, flatness evaluation parameters, and squareness evaluation parameters.
[0034] In this embodiment, after determining the three-dimensional geometric model of the cigarette box to be tested, to facilitate subsequent evaluation of the molding quality of the cigarette box, corresponding coordinate matrices can be established for the six main planes (front, back, left, right, top, and bottom) of the cigarette box based on the coordinate matrix calibration method. Then, the multi-dimensional geometric evaluation parameters corresponding to the three-dimensional geometric model are calculated based on the calibrated coordinate data. Specifically, the multi-dimensional geometric evaluation parameters include external dimension evaluation parameters, flatness evaluation parameters, and squareness evaluation parameters.
[0035] Among them, the external dimension evaluation parameter is used to evaluate the overall dimensional accuracy of the cigarette box and the consistency of the dimensions of each part; the flatness evaluation parameter is used to evaluate the flatness of each plane of the cigarette box; and the squareness evaluation parameter is used to evaluate the geometric squareness and symmetry of the cigarette box.
[0036] In one possible implementation, the calculation of the multidimensional geometric evaluation parameters corresponding to the three-dimensional geometric model based on the coordinate matrix calibration method includes:
[0037] The coordinates of each measurement point in the three-dimensional geometric model are obtained based on the coordinate matrix calibration method.
[0038] The external dimension evaluation parameters are calculated based on the coordinates of each measurement point. The external dimension evaluation parameters include global deviation, matrix dimension deviation, and matrix surface root mean square deviation.
[0039] The flatness evaluation parameters are calculated based on the coordinates of each measurement point. The flatness evaluation parameters include plane curvature, plane drop, and plane twist.
[0040] The squareness evaluation parameters are calculated based on the coordinates of each measurement point. The squareness evaluation parameters include the box-shaped right angle deviation, diagonal deviation, and side length symmetry deviation.
[0041] By integrating the external dimension evaluation parameters, the flatness evaluation parameters, and the squareness evaluation parameters, the multidimensional geometric evaluation parameters corresponding to the three-dimensional geometric model are obtained.
[0042] In this embodiment, when calculating the multidimensional geometric evaluation parameters corresponding to the three-dimensional geometric model based on the coordinate matrix calibration method, corresponding coordinate matrices can first be established for the six main planes (front, back, left, right, top, and bottom) of the three-dimensional cigarette box under test, and measurement points at fixed positions can be set in each coordinate matrix to obtain the coordinates of each measurement point in the three-dimensional geometric model. Then, the external dimension evaluation parameters, flatness evaluation parameters, and squareness evaluation parameters are calculated based on the coordinates of each measurement point. The external dimension evaluation parameters include, but are not limited to, the global deviation of the three-dimensional cigarette box under test from the ideal model, the matrix dimension deviation of each plane, and the root mean square deviation of the matrix surface, used to evaluate the overall dimensional accuracy of the three-dimensional cigarette box under test and the consistency of the dimensions of each part. The flatness evaluation parameters include, but are not limited to, the plane curvature measuring the degree of plane bending, the plane drop degree reflecting the height difference of the plane, and the plane twist degree detecting the plane distortion, used to evaluate the flatness of each plane of the three-dimensional cigarette box under test. Squareness evaluation parameters include, but are not limited to, the box shape right angle deviation reflecting the perpendicularity of adjacent faces, the diagonal deviation of a single plane, and the side length symmetry deviation reflecting the consistency of the box's edge lengths. These parameters are used to assess the geometric squareness and symmetry of the three-dimensional cigarette box under test. Finally, by integrating the external dimension evaluation parameters, flatness evaluation parameters, and squareness evaluation parameters, a three-dimensional geometric model is obtained, which represents the multi-dimensional geometric evaluation parameters corresponding to the three-dimensional cigarette box under test.
[0043] In one possible implementation, the calculation of the external dimension evaluation parameters based on the coordinates of each of the measurement points includes:
[0044] Calculate the root mean square deviation and standard deviation of the coordinates of each measurement point;
[0045] The global deviation, matrix size deviation, and matrix surface root mean square deviation are determined based on the root mean square deviation and standard deviation.
[0046] In this embodiment of the application, when calculating the external dimension evaluation parameters based on the coordinates of each measurement point, the root mean square deviation (RMS) and standard deviation (SD) corresponding to the coordinates of each measurement point are first calculated. The specific calculation formula is as follows:
[0047]
[0048]
[0049] Where N is the total number of all measurement points, which is 130 in this embodiment (the sum of six planar measurement points). The deviation value of the i-th measurement point is expressed in millimeters (mm). It can be positive or negative. A positive value indicates that the actual point is outside the ideal point, and a negative value indicates that it is inside the ideal point. The actual coordinates of the i-th measurement point (components in a certain dimension, such as the height direction, or the overall distance). These are the coordinates of the corresponding point on the ideal model. This is the arithmetic mean of all deviation values, reflecting the systematic shift.
[0050] RMS reflects the average magnitude of the overall deviation; the smaller the value, the closer the overall dimensions of the cigarette box are to the ideal state. SD measures the dispersion of the deviation; the smaller the SD, the better the consistency of the dimensions of each part.
[0051] Next, when determining the global deviation, matrix size deviation, and matrix surface root mean square deviation based on the root mean square deviation and standard deviation, the global deviation is not a single value but is jointly characterized by RMS and SD. The RMS value is directly calculated using the above formula, and the SD value is also calculated using the formula. In practical applications, RMS and SD can be normalized separately and used as two independent evaluation indicators in the comprehensive score, or they can be combined into a single comprehensive indicator, for example, using... As a comprehensive measure of global deviation, this embodiment preferably processes RMS and SD separately to retain more information.
[0052] Matrix dimensional deviation is used to locate areas with out-of-tolerance dimensions. For each plane, the number of measurement points on that plane whose absolute deviation exceeds a preset tolerance threshold (e.g., ±0.2mm) is counted, and the percentage of these points relative to the total number of points on that plane is calculated. The higher this percentage, the more out-of-tolerance points there are on that plane, indicating concentrated molding errors and requiring targeted process adjustments. For example, if the out-of-tolerance percentage on the front plane reaches 30%, it indicates a significant dimensional deviation problem on the front plane. This percentage is directly used as the matrix dimensional deviation value (in percentage form) for that plane. If the overall matrix dimensional deviation is required, the average or maximum out-of-tolerance percentages of the six planes can be taken.
[0053] The root mean square deviation of a matrix surface is calculated by taking a single plane as the object and determining the root mean square value of the deviation of all measurement points on that plane. The formula is as follows:
[0054]
[0055] Where n is the number of measurement points on the plane. This index reflects the overall dimensional deviation level of the plane. By comparing the RMS surface values of the six planes, the plane with the largest deviation can be identified, guiding further optimization.
[0056] In one possible implementation, the calculation of the flatness evaluation parameters based on the coordinates of each of the measurement points includes:
[0057] The coordinates of each measurement point are fitted using the least squares method to obtain the parameters of the fitted plane.
[0058] The plane curvature, plane drop, and plane twist are determined based on the fitted plane parameters.
[0059] In this embodiment, the flatness evaluation parameters include plane curvature, plane height difference, and plane twist, which quantify the flatness of each plane of the cigarette box from three perspectives: degree of curvature, height difference, and torsional deformation. Specifically, plane curvature is used to measure the overall curvature of the plane. The specific calculation method is as follows: for all point cloud data on each plane, an ideal plane is fitted using the least squares method, and the parameters of the fitted plane are set as follows. By minimizing the sum of squared errors Solve for parameters a, b, and c, and then calculate the perpendicular distance from each point to the fitted plane. The difference between the maximum and minimum values of all distances is taken as the plane radian value. This reflects the degree of undulation of the plane relative to the fitted plane; the larger the value, the more severe the curvature of the plane.
[0060] Among them, the plane elevation difference directly measures the maximum height difference on a plane. For all points on the plane, the maximum and minimum values of their height coordinates (i.e., z-values, or components perpendicular to the plane) are found, and the difference is calculated. This reflects whether there are local bumps or depressions on the plane; the larger the value, the more uneven the plane is.
[0061] Planar distortion is used to detect whether a plane undergoes a seesaw-like torsional deformation. Taking a rectangular plane as an example, consider four corner points A, B, C, and D, whose heights are respectively... , , , Ideally, the height difference along the diagonal should be equal. The twist degree T is defined as the absolute value of the difference in height between the two diagonals. If T=0, then the four corners are coplanar and there is no distortion; the larger T is, the more severe the distortion. This index is sensitive to defects such as warped corners. By using the above three indexes, the flatness of each plane of the three-dimensional cigarette box under test can be comprehensively evaluated, providing a basis for process adjustment.
[0062] In one possible implementation, calculating the squareness evaluation parameters based on the coordinates of each of the measurement points includes:
[0063] Calculate the included angle between each adjacent plane based on the coordinates of each measurement point;
[0064] The box-shaped right angle deviation, diagonal deviation, and side length symmetry deviation are determined based on the included angles between the adjacent planes.
[0065] In the embodiments of this application, the squareness evaluation parameters include box shape right angle deviation, diagonal deviation, and side length symmetry deviation, which are used to evaluate the orthogonality and symmetry of the cigarette box geometry.
[0066] Specifically, the right angle deviation of the box shape measures the perpendicularity between adjacent faces. It can be calculated by extracting the normal vectors of each adjacent plane from the 3D model and then calculating the angle between each adjacent plane. An ideal right angle should be 90°, therefore the deviation of each included angle is... The absolute values of the deviations of the included angles of all adjacent faces of the cigarette box (usually 12, that is, the edges of all six adjacent faces) are summed to obtain the overall right angle deviation D. The specific calculation formula is as follows:
[0067]
[0068] Where m is the number of included angles measured. The larger the D value, the more serious the deviation of the box from orthogonality and the worse the squareness.
[0069] Specifically, for each plane, the diagonal deviation is measured by measuring the actual length of its two diagonals. and Calculate the absolute value of the difference If the plane is an ideal rectangle, then the diagonals should be equal. If the value is zero, a difference will appear in the diagonal if the plane undergoes a rhomboid deformation. This index can reflect the shape distortion of a single plane.
[0070] Specifically, the deviation in side length symmetry measures the consistency of the corresponding edge lengths. The 12 edges of the cigarette box are divided into three groups according to their length, width, and height, with four edges in each group. For example, the long edge group: , , , For each pair of edges, calculate the absolute value of the difference between the relative edges, i.e. and Then, the average or maximum value is taken as the side length symmetry deviation for that group. Finally, the deviation values of the three groups can be combined (e.g., summed or the maximum value is taken) to obtain the overall side length symmetry index. The smaller this value, the more uniform the edge lengths and the more symmetrical and square the box is.
[0071] Step 105: Construct a comprehensive molding quality scoring model based on the weighted fusion method, and determine the target molding quality score corresponding to the multidimensional geometric evaluation parameters based on the comprehensive molding quality scoring model.
[0072] In this embodiment, the weight coefficients corresponding to each evaluation parameter can be determined first. Then, a comprehensive scoring model for molding quality is constructed according to the weight fusion method. After obtaining the multi-dimensional geometric evaluation parameters, they are used as input to the model and transmitted to the comprehensive scoring model for molding quality to obtain the corresponding target molding quality score. This overcomes the problems of single detection dimension, insufficient accuracy and strong subjectivity in the existing detection methods, and realizes a quantitative comprehensive evaluation of the molding quality of cigarette boxes. It integrates multiple indicators into a single score, improves the consistency of detection and the effectiveness of guiding production improvement.
[0073] In one possible implementation, determining the target molding quality score corresponding to the multidimensional geometric evaluation parameters based on the molding quality comprehensive scoring model includes:
[0074] The standardized score corresponding to each evaluation parameter in the multidimensional geometric evaluation parameters is determined based on the index score normalization.
[0075] The standardized scores are fused and calculated based on the molding quality comprehensive scoring model to obtain the target molding quality score.
[0076] In this embodiment, the standardized score corresponding to each evaluation parameter in the multidimensional geometric evaluation parameters is determined based on the index score normalization. Specifically, a score of 0 to 100 is used, where 100 points represents complete compliance with the ideal requirements and 0 points represents serious deviation. The normalization formula can be selected as a linear or nonlinear function according to the parameter characteristics. For example, for deviation-type parameters (such as RMS and perpendicularity deviation), an allowable upper limit can be set. and the ideal lower limit Then the linear normalized score is:
[0077]
[0078] in, These are the measured values of the parameters. To be the maximum allowed, This is the ideal lower limit.
[0079] Then, based on the comprehensive scoring model for molding quality, the weight coefficients corresponding to each standardized score are first determined. And satisfy Finally, the standardized scores are integrated and calculated to obtain the target molding quality score T:
[0080]
[0081] Where n is the total number of evaluation parameters, the closer the T value is to 100, the better the quality of the cigarette box forming. If it is below a certain threshold (such as 60 points), it is judged as unqualified and the machine needs to be stopped for inspection.
[0082] In one possible implementation, after determining the target molding quality score corresponding to the multidimensional geometric evaluation parameters based on the molding quality comprehensive scoring model, the method further includes:
[0083] The target molding quality score is visualized, and the cigarette box production process is adjusted based on the target molding quality score.
[0084] In this embodiment, after obtaining the target molding quality score, the results can be visualized and used to control the cigarette box production process. Specifically, the overall score and scores of each sub-parameter can be displayed in chart form on the quality inspection interface. Quality inspectors can intuitively view the current sample's quality status and the detailed deviation values of each indicator. Simultaneously, the system can set a quality threshold; when the overall score falls below a set value (e.g., 80 points), an early warning is automatically triggered, and a feedback signal is sent to the molding equipment on the production line via the industrial network. The equipment adjusts corresponding parameters based on the feedback information, such as die-cutting pressure, folding angle, and glue volume, achieving closed-loop quality control. Furthermore, the system can store quality data long-term, generating quality trend analysis reports to provide data support for process optimization. Through this digital closed-loop management, a shift from passive inspection to proactive prevention is achieved, effectively improving product consistency and production efficiency.
[0085] The foregoing has described specific embodiments of this application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired results. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0086] Please refer to the following. Figure 3 , Figure 3 A schematic diagram of the molding quality evaluation device for a three-dimensional cigarette box provided in an embodiment of this application is shown. It should be noted that... Figure 3 The molding quality evaluation device for the three-dimensional cigarette box shown is used to perform the present application. Figure 1The methods shown in the embodiments are for illustrative purposes only, illustrating the parts relevant to the embodiments of this application. For specific technical details not disclosed, please refer to this application. Figure 1 The example shown.
[0087] like Figure 3 As shown, the molding quality evaluation device for the three-dimensional cigarette box may include at least:
[0088] The determination module 301 is used to determine the three-dimensional geometric model of the three-dimensional cigarette box to be tested based on the point cloud dataset of the three-dimensional cigarette box to be tested;
[0089] Calculation module 302 is used to calculate the multidimensional geometric evaluation parameters corresponding to the three-dimensional geometric model based on the coordinate matrix calibration method. The multidimensional geometric evaluation parameters include external dimension evaluation parameters, flatness evaluation parameters, and squareness evaluation parameters.
[0090] Evaluation module 303 is used to construct a comprehensive molding quality scoring model based on the weighted fusion method, and to determine the target molding quality score corresponding to the multidimensional geometric evaluation parameters based on the comprehensive molding quality scoring model.
[0091] In one possible implementation, the computing module 302 is specifically used for:
[0092] The coordinates of each measurement point in the three-dimensional geometric model are obtained based on the coordinate matrix calibration method.
[0093] The external dimension evaluation parameters are calculated based on the coordinates of each measurement point. The external dimension evaluation parameters include global deviation, matrix dimension deviation, and matrix surface root mean square deviation.
[0094] The flatness evaluation parameters are calculated based on the coordinates of each measurement point. The flatness evaluation parameters include plane curvature, plane drop, and plane twist.
[0095] The squareness evaluation parameters are calculated based on the coordinates of each measurement point. The squareness evaluation parameters include the box-shaped right angle deviation, diagonal deviation, and side length symmetry deviation.
[0096] By integrating the external dimension evaluation parameters, the flatness evaluation parameters, and the squareness evaluation parameters, the multidimensional geometric evaluation parameters corresponding to the three-dimensional geometric model are obtained.
[0097] In one possible implementation, the computing module 302 is further configured to:
[0098] Calculate the root mean square deviation and standard deviation of the coordinates of each measurement point;
[0099] The global deviation, matrix size deviation, and matrix surface root mean square deviation are determined based on the root mean square deviation and standard deviation.
[0100] In one possible implementation, the computing module 302 is further configured to:
[0101] The coordinates of each measurement point are fitted using the least squares method to obtain the parameters of the fitted plane.
[0102] The plane curvature, plane drop, and plane twist are determined based on the fitted plane parameters.
[0103] In one possible implementation, the computing module 302 is further configured to:
[0104] Calculate the included angle between each adjacent plane based on the coordinates of each measurement point;
[0105] The box-shaped right angle deviation, diagonal deviation, and side length symmetry deviation are determined based on the included angles between the adjacent planes.
[0106] In one possible implementation, the evaluation module 303 is specifically used for:
[0107] The standardized score corresponding to each evaluation parameter in the multidimensional geometric evaluation parameters is determined based on the index score normalization.
[0108] The standardized scores are fused and calculated based on the molding quality comprehensive scoring model to obtain the target molding quality score.
[0109] In one possible implementation, the evaluation module 303 is specifically used for:
[0110] The target molding quality score is visualized, and the cigarette box production process is adjusted based on the target molding quality score.
[0111] Those skilled in the art will clearly understand that the technical solutions of the embodiments of this application can be implemented by means of software and / or hardware. In this application, "unit" and "module" refer to software and / or hardware that can independently complete or cooperate with other components to complete a specific function, wherein the hardware may be, for example, a field-programmable gate array (FPGA), an integrated circuit (IC), etc.
[0112] Each processing unit and / or module in the embodiments of this application can be implemented by an analog circuit that implements the functions described in the embodiments of this application, or by software that executes the functions described in the embodiments of this application.
[0113] Please refer to the following. Figure 4 , Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of this application is shown.
[0114] like Figure 4As shown, the electronic device 400 may include: at least one device processor 401, at least one network interface 404, user interface 403, memory 405, and at least one communication bus 402.
[0115] The communication bus 402 can be used to realize the connection and communication of the above components.
[0116] The user interface 403 may include buttons, and the optional user interface may also include a standard wired interface or a wireless interface.
[0117] Among them, network interface 404 may include, but is not limited to, Bluetooth module, NFC module, Wi-Fi module, etc.
[0118] The device processor 401 may include one or more processing cores. The device processor 401 connects to various parts within the electronic device 400 using various interfaces and lines. It executes various functions and processes data of the electronic device 400 by running or executing instructions, programs, code sets, or instruction sets stored in the memory 405, and by calling data stored in the memory 405. Optionally, the device processor 401 may be implemented using at least one hardware form of DSP, FPGA, or PLA. The device processor 401 may integrate one or more of the following: CPU, GPU, and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content required for display; and the modem handles wireless communication. It is understood that the modem may also not be integrated into the device processor 401 and may be implemented as a separate chip.
[0119] The memory 405 may include RAM or ROM. Optionally, the memory 405 may include a non-transitory computer-readable medium. The memory 405 may be used to store instructions, programs, code, code sets, or instruction sets. The memory 405 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the above-described method embodiments, etc.; the data storage area may store data involved in the above-described method embodiments, etc. Optionally, the memory 405 may also be at least one storage device located remotely from the aforementioned device processor 401. Figure 4 As shown, the memory 405, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and program instructions.
[0120] Specifically, the device processor 401 can call the molding quality evaluation application of the three-dimensional cigarette box stored in the memory 405, and specifically perform the following operations:
[0121] The three-dimensional geometric model of the three-dimensional cigarette box to be tested is determined based on the point cloud dataset of the three-dimensional cigarette box to be tested;
[0122] The multidimensional geometric evaluation parameters corresponding to the three-dimensional geometric model are calculated based on the coordinate matrix calibration method. The multidimensional geometric evaluation parameters include external dimension evaluation parameters, flatness evaluation parameters, and squareness evaluation parameters.
[0123] A comprehensive molding quality scoring model is constructed based on the weighted fusion method, and the target molding quality score corresponding to the multidimensional geometric evaluation parameters is determined based on the comprehensive molding quality scoring model.
[0124] As an optional embodiment of this application, the calculation of the multidimensional geometric evaluation parameters corresponding to the three-dimensional geometric model based on the coordinate matrix calibration method includes:
[0125] The coordinates of each measurement point in the three-dimensional geometric model are obtained based on the coordinate matrix calibration method.
[0126] The external dimension evaluation parameters are calculated based on the coordinates of each measurement point. The external dimension evaluation parameters include global deviation, matrix dimension deviation, and matrix surface root mean square deviation.
[0127] The flatness evaluation parameters are calculated based on the coordinates of each measurement point. The flatness evaluation parameters include plane curvature, plane drop, and plane twist.
[0128] The squareness evaluation parameters are calculated based on the coordinates of each measurement point. The squareness evaluation parameters include the box-shaped right angle deviation, diagonal deviation, and side length symmetry deviation.
[0129] By integrating the external dimension evaluation parameters, the flatness evaluation parameters, and the squareness evaluation parameters, the multidimensional geometric evaluation parameters corresponding to the three-dimensional geometric model are obtained.
[0130] As an optional embodiment of this application, the calculation of the external dimension evaluation parameters based on the coordinates of each measurement point includes:
[0131] Calculate the root mean square deviation and standard deviation of the coordinates of each measurement point;
[0132] The global deviation, matrix size deviation, and matrix surface root mean square deviation are determined based on the root mean square deviation and standard deviation.
[0133] As an optional embodiment of this application, the calculation of flatness evaluation parameters based on the coordinates of each measurement point includes:
[0134] The coordinates of each measurement point are fitted using the least squares method to obtain the parameters of the fitted plane.
[0135] The plane curvature, plane drop, and plane twist are determined based on the fitted plane parameters.
[0136] As an optional embodiment of this application, the step of calculating the squareness evaluation parameters based on the coordinates of each measurement point includes:
[0137] Calculate the included angle between each adjacent plane based on the coordinates of each measurement point;
[0138] The box-shaped right angle deviation, diagonal deviation, and side length symmetry deviation are determined based on the included angles between the adjacent planes.
[0139] As an optional embodiment of this application, determining the target molding quality score corresponding to the multidimensional geometric evaluation parameters based on the molding quality comprehensive scoring model includes:
[0140] The standardized score corresponding to each evaluation parameter in the multidimensional geometric evaluation parameters is determined based on the index score normalization.
[0141] The standardized scores are fused and calculated based on the molding quality comprehensive scoring model to obtain the target molding quality score.
[0142] As an optional embodiment of this application, after determining the target molding quality score corresponding to the multidimensional geometric evaluation parameters based on the molding quality comprehensive scoring model, the method further includes:
[0143] The target molding quality score is visualized, and the cigarette box production process is adjusted based on the target molding quality score.
[0144] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the above-described method. The computer-readable storage medium may include, but is not limited to, any type of disk, including floppy disks, optical disks, DVDs, CD-ROMs, microdrives, as well as magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, magnetic cards or optical cards, nanosystems (including molecular memory ICs), or any type of medium or device suitable for storing instructions and / or data.
[0145] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0146] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0147] In the several embodiments provided in this application, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some service interface; the indirect coupling or communication connection between devices or units may be electrical or other forms.
[0148] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0149] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0150] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage device (CMD). Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned memory includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0151] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0152] The foregoing has described specific embodiments of this application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired results. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
Claims
1. A method for evaluating the molding quality of a three-dimensional cigarette box, characterized in that, The method includes: The three-dimensional geometric model of the three-dimensional cigarette box to be tested is determined based on the point cloud dataset of the three-dimensional cigarette box to be tested; The multidimensional geometric evaluation parameters corresponding to the three-dimensional geometric model are calculated based on the coordinate matrix calibration method. The multidimensional geometric evaluation parameters include external dimension evaluation parameters, flatness evaluation parameters, and squareness evaluation parameters. A comprehensive molding quality scoring model is constructed based on the weighted fusion method, and the target molding quality score corresponding to the multidimensional geometric evaluation parameters is determined based on the comprehensive molding quality scoring model.
2. The method according to claim 1, characterized in that, The calculation of the multidimensional geometric evaluation parameters corresponding to the three-dimensional geometric model based on the coordinate matrix calibration method includes: The coordinates of each measurement point in the three-dimensional geometric model are obtained based on the coordinate matrix calibration method. The external dimension evaluation parameters are calculated based on the coordinates of each measurement point. The external dimension evaluation parameters include global deviation, matrix dimension deviation, and matrix surface root mean square deviation. The flatness evaluation parameters are calculated based on the coordinates of each measurement point. The flatness evaluation parameters include plane curvature, plane drop, and plane twist. The squareness evaluation parameters are calculated based on the coordinates of each measurement point. The squareness evaluation parameters include the box-shaped right angle deviation, diagonal deviation, and side length symmetry deviation. By integrating the external dimension evaluation parameters, the flatness evaluation parameters, and the squareness evaluation parameters, the multidimensional geometric evaluation parameters corresponding to the three-dimensional geometric model are obtained.
3. The method according to claim 2, characterized in that, The calculation of external dimension evaluation parameters based on the coordinates of each measurement point includes: Calculate the root mean square deviation and standard deviation of the coordinates of each measurement point; The global deviation, matrix size deviation, and matrix surface root mean square deviation are determined based on the root mean square deviation and standard deviation.
4. The method according to claim 2, characterized in that, The calculation of flatness evaluation parameters based on the coordinates of each measurement point includes: The coordinates of each measurement point are fitted using the least squares method to obtain the parameters of the fitted plane. The plane curvature, plane drop, and plane twist are determined based on the fitted plane parameters.
5. The method according to claim 2, characterized in that, The calculation of squareness evaluation parameters based on the coordinates of each measurement point includes: Calculate the included angle between each adjacent plane based on the coordinates of each measurement point; The box-shaped right angle deviation, diagonal deviation, and side length symmetry deviation are determined based on the included angles between the adjacent planes.
6. The method according to claim 1, characterized in that, The determination of the target molding quality score corresponding to the multidimensional geometric evaluation parameters based on the molding quality comprehensive scoring model includes: The standardized score corresponding to each evaluation parameter in the multidimensional geometric evaluation parameters is determined based on the index score normalization. The standardized scores are fused and calculated based on the molding quality comprehensive scoring model to obtain the target molding quality score.
7. The method according to claim 1, characterized in that, After determining the target molding quality score corresponding to the multidimensional geometric evaluation parameters based on the molding quality comprehensive scoring model, the method further includes: The target molding quality score is visualized, and the cigarette box production process is adjusted based on the target molding quality score.
8. A molding quality evaluation device for a three-dimensional cigarette box, characterized in that, The device includes: The determination module is used to determine the three-dimensional geometric model of the three-dimensional cigarette box to be tested based on the point cloud dataset of the three-dimensional cigarette box to be tested; The calculation module is used to calculate the multidimensional geometric evaluation parameters corresponding to the three-dimensional geometric model based on the coordinate matrix calibration method. The multidimensional geometric evaluation parameters include external dimension evaluation parameters, flatness evaluation parameters, and squareness evaluation parameters. The evaluation module is used to construct a comprehensive molding quality scoring model based on the weighted fusion method, and to determine the target molding quality score corresponding to the multidimensional geometric evaluation parameters based on the comprehensive molding quality scoring model.
9. An electronic 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, it implements the steps of the method as described in any one of claims 1-7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, The computer-readable storage medium stores instructions that, when executed on a computer or processor, cause the computer or processor to perform the steps of the method as described in any one of claims 1-7.