Method for detecting linear density of spandex for sock production

Through Canny edge detection and contour recognition technology combined with image segmentation algorithm, the problem of low accuracy of spandex linear density detection is solved, real-time and efficient density detection is achieved, and the quality and efficiency of sock production are improved.

CN119295441AInactive Publication Date: 2025-01-10ZHUJI CHANGYOU KNITTING CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411804720.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-10
Publication Date
2025-01-10
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The prior art has problems in spandex linear density detection with low accuracy, inability to detect in real time, and affect production efficiency.

Method used

Canny edge detection and contour recognition technology to obtain the geometric parameters of spandex cylindrical lines, combine image segmentation algorithm and grayscale symbiosis matrix analysis to evaluate surface uniformity, calculate the density of spandex lines through volume strain equations, and use line density deviation index and error Rate determination is qualified.

Benefits of technology

It realizes efficient and accurate spandex line density detection, optimizes production process, and improves sock quality and production efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119295441A_ABST
    Figure CN119295441A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of spandex linear density detection, and provides a spandex linear density detection method for sock production. The method comprises the specific implementation steps that firstly, geometric parameters of a target spandex cylinder line are obtained through the Canny edge detection and contour recognition technology, and the ideal volume of the cylinder line is calculated according to the geometric parameters; secondly, evaluating the surface uniformity of the cylinder line through an image segmentation algorithm and gray-level co-occurrence matrix analysis, and calculating the actual volume in combination with the ideal volume; then, based on the stretching uniformity, the pixel diameter, the total pixel length and other parameters of the spandex thread, the traction volume of the single spandex thread is calculated, and the original volume of the single spandex thread is calculated according to a volume strain equation; and finally, calculating linear density according to the original volume and mass, and judging whether the spandex thread is qualified or not according to a linear density deviation index and an error rate. According to the method, the spandex linear density can be efficiently and accurately detected, the production process is optimized, and the production quality of socks is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of spandex linear density detection, in particular to a spandex linear density detection method for socks production. Background Art

[0002] Spandex thread is widely used in the production of tight clothing such as socks and sportswear due to its excellent elasticity and recovery properties to maintain the shape of the fabric and provide a comfortable fit. Especially in sock production, spandex thread can enhance the elasticity, durability and comfort of socks, so as to better meet the needs of different foot shapes. With the growing market demand for high-quality and high-comfort socks, the quality control of spandex thread used in sock production has become particularly important. The density of spandex thread, as one of the key indicators to measure its quality, can directly affect the elasticity and durability of socks. Therefore, accurate detection of the density of spandex thread is crucial to ensure the quality of sock products. By conducting density detection on spandex thread, the quality of core materials in the production process can be effectively controlled to avoid quality problems such as deformation of socks and decreased comfort caused by uneven density.

[0003] At present, the existing technology usually adopts the weighing method to detect the density of spandex thread, which has the problem of low density detection accuracy; in addition, this method not only requires a large number of spandex thread samples for testing, but also cannot perform real-time density detection of the spandex thread, thereby reducing the detection efficiency and further affecting the production efficiency of socks.

[0004] Therefore, a method for detecting the linear density of spandex used in sock production is proposed. Summary of the invention

[0005] The purpose of the present invention is to provide a method for detecting the spandex line density for sock production, which is used to detect the spandex line density for sock production. In order to solve the problems existing in the prior art, the present invention first obtains the geometric parameters of the target spandex cylindrical line through Canny edge detection and contour recognition technology, and calculates the ideal volume of the cylindrical line according to the geometric parameters; then, the surface uniformity of the cylindrical line is evaluated through image segmentation algorithm and gray level co-occurrence matrix analysis, and the actual volume is calculated in combination with the ideal volume; then, based on the parameters such as the stretching uniformity, pixel diameter and total pixel length of the spandex line, the traction volume of the single spandex line is calculated, and the original volume of the single spandex line is deduced according to the volume strain equation; finally, the line density is calculated according to the original volume and mass, and the spandex line is judged to be qualified by the line density deviation index and error rate. This method can efficiently and accurately detect the spandex line density, optimize the production process, and improve the production quality of socks.

[0006] A method for detecting the linear density of spandex used in sock production, comprising: Collecting the top, bottom and side images of the target spandex cylindrical line; collecting a number of single spandex line images of the target spandex cylindrical line within a predetermined time by a high-speed camera, and obtaining the cylinder speed and cylinder line quality of the target spandex cylindrical line; According to the top, bottom and side images of the target spandex cylindrical line, the geometric parameters and surface uniformity of the target spandex cylindrical line are obtained; the ideal volume of the cylindrical line is calculated by the geometric parameters; and the actual volume of the cylindrical line is obtained in combination with the surface uniformity; In combination with the drum rotation speed and the predetermined time, the pulling length of the single spandex line is obtained; according to the single spandex line image, the stretching uniformity of the single spandex line, the pixel diameter of the single spandex line and the total pixel length of the single spandex line are obtained; in combination with the pulling length of the single spandex line, the pulling diameter of the single spandex line is calculated; according to the pulling length of the single spandex line and the pulling diameter of the single spandex line, the pulling volume of the single spandex line is calculated; The original volume of the single spandex line is obtained by combining the traction volume and volume strain equation of the single spandex line; the mass of the single spandex line is calculated according to the actual volume of the cylindrical line and the mass of the cylindrical line; the linear density of the single spandex line is calculated by combining the total pixel length of the single spandex line and the mass of the single spandex line; The calibrated linear density of the spandex line is obtained, and the linear density deviation index and the linear density error rate of the single spandex line are calculated in combination with the stretching uniformity of the single spandex line and the linear density of the single spandex line, and it is determined whether the spandex line is qualified.

[0007] Preferably, the high-speed camera is mounted in a plane parallel to the moving direction of the target spandex cylindrical line; when the target spandex cylindrical line rotates, the high-speed camera collects several single spandex line images that are rotated out of the spandex line within the predetermined time; the cylindrical line mass represents the net weight of the pure spandex line of the target spandex cylindrical line excluding the cylinder.

[0008] Preferably, the specific implementation process of calculating the ideal volume of the cylinder line through the geometric parameters includes: The top, bottom and side images of the target spandex cylindrical line are preprocessed, and the geometric parameters of the target spandex cylindrical line, including the top diameter, bottom diameter, side inclination angle and side length, are obtained through the Canny edge detection algorithm and contour recognition; the difference between the top diameter and the bottom diameter is calculated to obtain the cylindrical line diameter difference; if the cylindrical line diameter difference is less than the predetermined thickness difference threshold, the ideal volume of the cylindrical line is calculated, and the specific formula is: ; in, represents the ideal volume of the cylinder line; Indicates the side length; denote the top diameter and bottom diameter respectively; is the base diameter of a pure cylinder; If the diameter difference of the cylindrical wire is greater than or equal to the predetermined thickness difference threshold, the ideal volume of the cylindrical wire is calculated according to the geometric parameters. The specific formula is: ; in, represents the ideal volume of the cylinder line; represents the pure spandex coil thickness of the target spandex cylindrical line and , is the upper base diameter of the pure cylinder, is the lower base diameter of the pure cylinder; represents the sine function; Indicates the side tilt angle.

[0009] Preferably, the process of obtaining the actual volume of the cylinder line by combining the surface uniformity and the cylinder line quality comprises: The top, bottom and side images of the target spandex cylindrical line are segmented by an image segmentation algorithm to obtain the top, bottom and side images of the pure spandex coil; the grayscale co-occurrence matrices of the top, bottom and side images of the pure spandex coil are obtained respectively, and the uniformity of the coil top, the uniformity of the coil bottom and the uniformity of the coil side are obtained according to the homogeneity calculation formula; combined with the ideal volume of the cylindrical line, the actual volume of the cylindrical line is obtained.

[0010] Preferably, the process of obtaining the stretching uniformity of the single spandex thread, the pixel diameter of the single spandex thread and the total pixel length of the single spandex thread comprises: Combined with the rotation speed of the cylinder and the scheduled time ,pass , calculate the pulling length of the single spandex line ; Perform edge detection and binarization operations on the single spandex line image to obtain a single spandex line mask; obtain a number of single spandex line center points of the single spandex line mask according to a skeletonization algorithm; obtain the single spandex line mask diameter by average calculation of the vertical distances from all the single spandex line center points to the edge of the long axis of the single spandex line mask through distance transformation; calculate the average of the single spandex line mask diameters of all the single spandex line images to obtain the single spandex line pixel diameter; calculate the single spandex line stretching uniformity by combining the single spandex line mask diameter and the single spandex line pixel diameter; obtain the single spandex line pixel length according to the starting point and ending point coordinates of the single spandex line center point in the single spandex line mask; calculate the sum of the single spandex line pixel lengths of all the single spandex line images to obtain the single spandex line total pixel length.

[0011] Preferably, the specific implementation process of calculating the traction volume of the single spandex line includes: According to the pulling length of the single spandex line and the total pixel length of the single spandex line , calculate the image pixel size ; Combine the pixel diameter of the single spandex line to obtain the traction diameter of the single spandex line; calculate the traction volume of the single spandex line based on the traction length of the single spandex line and the traction diameter of the single spandex line.

[0012] Preferably, the process of obtaining the original volume of the single spandex line by combining the traction volume of the single spandex line and the volume strain equation comprises: The elastic modulus and traction force of the single spandex line are obtained, and the strain index of the single spandex line is calculated in combination with the traction diameter of the single spandex line; the original volume of the single spandex line is obtained through the volume strain equation according to the traction volume of the single spandex line and the strain index of the single spandex line. The specific formula is expressed as follows: ; in, Represents the original volume of the single spandex line; represents the traction volume of the single spandex line; represents the strain index of the single spandex line; It represents the Poisson's ratio of spandex material; represents said traction force; Indicates the pulling diameter of the single spandex line; Indicates the elastic modulus of spandex material.

[0013] Preferably, the process of calculating the mass of the single spandex line and the linear density of the single spandex line includes: According to the original volume of the single spandex line , the actual volume of the cylinder line and the cylinder line quality ,pass , the mass of the single spandex line is calculated Combined with the single spandex line traction length ,pass , the linear density of the single spandex is obtained .

[0014] Preferably, the specific implementation process of calculating the line density deviation index and the line density error rate includes: According to the stretching uniformity of the single spandex line, the linear density deviation index of the single spandex line is calculated, and the specific calculation formula is: ; in, represents the linear density deviation index; represents the number of said single spandex line images; Indicates The stretching uniformity of the single spandex thread of the single spandex thread image; The spandex line calibration density of the target spandex cylindrical line is obtained; the line density error rate is calculated in combination with the line density of the single spandex line. The specific formula is expressed as follows: ; in, represents the linear density error rate; represents the linear density of the single spandex line; It represents the nominal linear density of the spandex thread.

[0015] Preferably, the process of judging whether the spandex thread is qualified includes: If the line density error rate is greater than or equal to the predetermined error threshold, it indicates that the target spandex cylindrical line is unqualified; if the line density error rate is less than the predetermined error threshold, determine whether the line density deviation index meets the standard; if the line density deviation index is greater than or equal to the predetermined deviation threshold, it indicates that the target spandex cylindrical line is unqualified; if the line density deviation index is less than the predetermined deviation threshold, it indicates that the spandex line transmitted within the predetermined time is qualified, and the spandex line data is recollected and judged.

[0016] Compared with the prior art, the present invention has the following beneficial effects: 1. The present invention realizes the effective detection of the ideal volume and actual volume of the spandex cylindrical line through accurate geometric parameter calculation and image processing technology. Through Canny edge detection and contour recognition, the geometric parameters of the target spandex cylindrical line, including the top diameter, bottom diameter, side inclination angle and side length, can be accurately obtained, and the ideal volume can be calculated in combination with the preset thickness difference threshold; the image segmentation algorithm and grayscale co-occurrence matrix analysis are used to further evaluate the surface uniformity of the spandex coil, thereby calculating the actual volume of the spandex cylindrical line. This method can accurately reflect the actual volume of the spandex cylindrical line, provide data support for the subsequent spandex line density calculation, and improve the accuracy of spandex line density detection.

[0017] 2. The present invention combines image processing technology and physical parameter calculation to accurately detect the linear density of spandex threads. By performing edge detection, binarization and skeletonization algorithms on the single spandex thread image, the geometric parameters of the single spandex thread, including pixel diameter, mask diameter and pixel length, etc., can be accurately obtained, thereby achieving an accurate assessment of the stretching uniformity, traction volume and stretching quality of the single spandex thread; by combining physical properties such as elastic modulus and traction force, the original volume of the spandex thread can be further calculated, thereby calculating the linear density of the spandex thread, thereby improving the accuracy and reliability of the detection. This method not only optimizes the material quality control in the production process, but also can achieve refined monitoring of the spandex thread density in the production of socks, thereby improving product quality and reducing the production of defective products.

[0018] 3. The linear density deviation index and linear density error rate proposed in the present invention can effectively improve the control accuracy of spandex thread quality in sock production. The linear density deviation index is obtained by the stretching uniformity of a single spandex thread, and combined with the linear density error rate, it can accurately determine whether the spandex thread meets the production standards; the dual standards of the linear density error rate and the linear density deviation index are comprehensively considered, which not only ensures the quality of the spandex thread in the production process, but also can timely identify and eliminate unqualified products, reduce quality fluctuations in the production process, and effectively improve production efficiency and product stability. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 A flow chart of a method for detecting the linear density of spandex used in sock production provided in an embodiment of the present invention; Figure 2 Schematic diagram of two spandex cylindrical yarns provided in the embodiments of the present invention; Figure 3 A flow chart for determining whether the spandex linear density is qualified is provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0020] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0021] Spandex thread plays a vital role in sock production due to its excellent elasticity and comfort. It can provide extremely high stretchability, making the socks have good fit and resilience, while effectively supporting the shape of the socks to avoid loosening or deformation. The linear density of spandex thread, as an important indicator for evaluating the quality of spandex thread, not only determines the comfort of socks, but also affects the wearing effect and service life of socks. If the spandex thread density does not meet the sock production standards, it may cause problems such as uneven stretching, deformation or excessive wear of the socks. Therefore, accurate detection of spandex thread density can not only help manufacturers identify and control quality fluctuations in the sock production process, but also improve production efficiency and finished product consistency.

[0022] The present invention provides a method for detecting the density of spandex lines used in sock production, and performs density detection on spandex lines used in sock production, so as to prevent the socks from being unqualified due to differences in spandex line density. In order to illustrate the effectiveness of the method of the present invention, it will be specifically described in conjunction with the accompanying drawings of this embodiment and the following two embodiments.

[0023] Embodiment 1 The present application embodiment discloses a method for detecting the linear density of spandex used in sock production, so as to detect the linear density of spandex in the sock production process of a textile factory A, referring to Figure 1 The specific steps of the method proposed in the present invention include: S1, collecting the target spandex cylinder line image and several single spandex line images, and obtaining the cylinder rotation speed and cylinder line quality; S2, obtaining the geometric parameters and surface uniformity of the target spandex cylinder line, and calculating the ideal volume of the cylinder line and the actual volume of the cylinder line; S3, obtaining the traction length of the single spandex line, the stretching uniformity of the single spandex line, the pixel diameter of the single spandex line and the total pixel length of the single spandex line, and calculating the traction diameter of the single spandex line and the traction volume of the single spandex line; S4, combining the traction volume of the single spandex line and the volume strain equation to obtain the original volume of the single spandex line; S5, calculating the mass of the single spandex line according to the actual volume of the cylinder line and the mass of the cylinder line, and combining the total pixel length of the single spandex line to obtain the line density of the single spandex line; S6, calculating the line density deviation index and line density error rate of the single spandex line to determine whether the spandex line is qualified.

[0024] Furthermore, the top, bottom and side images of the target spandex cylindrical thread required for the socks production of textile factory A are collected; a high-speed camera is used to collect several single spandex line images of the target spandex cylindrical thread within a predetermined time, and the cylinder rotation speed and cylinder line quality of the target spandex cylindrical thread are obtained, corresponding to the above-mentioned step S1.

[0025] In the production process of socks at Textile Factory A, the image of the spandex cylindrical thread can be captured before knitting the socks, that is, the camera can be installed near the fixed position of the spandex cylindrical thread to obtain the original image of the target spandex cylindrical thread; the image of the spandex cylindrical thread can also be captured and numbered when the raw materials are put into storage. Before the socks are knitted, the corresponding top, bottom and side images are obtained according to the number of the target spandex cylindrical thread.

[0026] Furthermore, the high-speed camera is set up in a plane parallel to the moving direction of the target spandex cylindrical line; when the target spandex cylindrical line rotates, the high-speed camera collects several single spandex line images that are rotated out of the spandex line within the predetermined time; the cylindrical line mass represents the net weight of the pure spandex line of the target spandex cylindrical line excluding the cylinder.

[0027] During the production of socks at textile factory A, a high-speed camera is set up in a plane parallel to the direction of motion of the target spandex cylindrical line, so that the camera can capture each segment of the single spandex line image that is pulled out during the rotation of the spandex cylindrical line. Since different segments of the spandex line are continuously stretched and transmitted within a certain period of time during the high-speed rotation and traction process of the spandex line, the high-speed camera can capture multiple images of the single spandex line within a preset time. In order to avoid overlapping or missing images, the camera's shooting angle and distance must be accurately calculated to ensure that the camera's field of view covers the entire spandex line's motion trajectory. The camera's image acquisition frequency needs to be adjusted according to the spandex cylindrical line's rotation speed and image processing speed to ensure that continuous and non-repetitive single spandex line images can be captured for each rotation or each transmission distance.

[0028] In the embodiment of the present application, a high-speed camera is mounted in a plane parallel to the movement direction of the target spandex cylindrical line, which can accurately capture the image of a single spandex line pulled out during the rotation of the spandex cylindrical line, facilitate real-time monitoring of the spandex line production process, ensure that the state and quality of each section of spandex line are accurately recorded, and provide reliable data support for subsequent spandex line density detection.

[0029] Further, according to the top, bottom and side images of the target spandex cylindrical yarn, the geometric parameters and surface uniformity of the target spandex cylindrical yarn are obtained; the ideal volume of the cylindrical yarn is calculated by the geometric parameters; corresponding to the above step S2, the specific implementation process includes: The top, bottom and side images of the target spandex cylindrical line are preprocessed, and the geometric parameters of the target spandex cylindrical line, including the top diameter, bottom diameter, side inclination angle and side length, are obtained through the Canny edge detection algorithm and contour recognition; the difference between the top diameter and the bottom diameter is calculated to obtain the cylindrical line diameter difference; if the cylindrical line diameter difference is less than the predetermined thickness difference threshold, the ideal volume of the cylindrical line is calculated, and the specific formula is: ; in, represents the ideal volume of the cylinder line; Indicates the side length; denote the top diameter and bottom diameter respectively; is the base diameter of a pure cylinder; If the diameter difference of the cylindrical wire is greater than or equal to the predetermined thickness difference threshold, the ideal volume of the cylindrical wire is calculated according to the geometric parameters. The specific formula is: ; in, represents the ideal volume of the cylinder line; represents the pure spandex coil thickness of the target spandex cylindrical line and , is the upper base diameter of the pure cylinder, is the lower base diameter of the pure cylinder; represents the sine function; It indicates the side inclination angle, that is, the angle between the side of the spandex cylinder and the diameter of the bottom surface. .

[0030] Specifically, Figure 2 Two spandex cylindrical yarn packaging styles are given. If the diameter difference of the cylindrical yarn is less than the predetermined thickness difference threshold, it means that the target spandex cylindrical yarn style is Figure 2 If the diameter difference of the cylindrical line is greater than or equal to the predetermined thickness difference threshold, it means that the target spandex cylindrical line pattern is Figure 2 Type II spandex cylindrical thread.

[0031] The embodiment of the present application uses Canny edge detection and contour recognition technology to obtain the geometric parameters of the target spandex cylindrical line, which can accurately calculate the ideal volume of the cylindrical line, thereby effectively evaluating its surface uniformity and geometric consistency. By comparing the difference between the top and bottom diameters, the cylindrical line packaging style can be determined, which helps to accurately calculate the ideal volume of the target spandex cylindrical line and provide reliable data support for subsequent processing and adjustment.

[0032] Furthermore, the actual volume of the cylinder line is obtained by combining the surface uniformity and the quality of the cylinder line; corresponding to the above step S2, the specific process includes: The top, bottom and side images of the target spandex cylindrical line are segmented by an image segmentation algorithm to obtain the top, bottom and side images of the pure spandex coil; the grayscale co-occurrence matrices of the top, bottom and side images of the pure spandex coil are obtained respectively, and the uniformity of the top, bottom and side of the coil is obtained according to the homogeneity calculation formula; the actual volume of the cylindrical line is obtained in combination with the ideal volume of the cylindrical line, and the specific calculation formula is: ; in, Indicates the actual volume of the cylinder line; represents the ideal volume of the cylinder line; Indicates the uniformity of the coil top; Indicates the uniformity of the coil bottom; Indicates the uniformity of the coil side; represents the upper base diameter of a pure cylinder; It represents the lower base diameter of a pure cylinder; represents the sine function; is the adjustment factor and , obtained by fitting the experimental data.

[0033] The embodiment of the present application combines the surface uniformity and the quality of the cylindrical line, and uses the image segmentation algorithm to process different parts of the target spandex cylindrical line, so as to accurately calculate the actual volume of the cylindrical line. The method analyzes the uniformity of the coil through the gray level co-occurrence matrix, thereby effectively improving the accuracy of the actual volume measurement of the cylindrical line.

[0034] Furthermore, the pulling length of the single spandex line is obtained by combining the drum rotation speed and the predetermined time; the stretching uniformity of the single spandex line, the pixel diameter of the single spandex line and the total pixel length of the single spandex line are obtained according to the single spandex line image; corresponding to the above step S3, the specific implementation process includes: Combined with the rotation speed of the cylinder and the scheduled time ,pass , calculate the pulling length of the single spandex line ; Perform edge detection and binarization operations on the single spandex line image to obtain a single spandex line mask; obtain a number of single spandex line center points of the single spandex line mask according to the skeletonization algorithm; obtain the single spandex line mask diameter by average calculation of the vertical distances from all the single spandex line center points to the long axis edge of the single spandex line mask through distance transformation; calculate the average of the single spandex line mask diameters of all the single spandex line images to obtain the single spandex line pixel diameter; calculate the single spandex line stretching uniformity by combining the single spandex line mask diameter and the single spandex line pixel diameter, and the specific calculation formula is expressed as: ; in, Indicates The stretching uniformity of the single spandex thread of the single spandex thread image; Indicates The number of center points of the single spandex line in the single spandex line mask; represents the pixel diameter of the single spandex line; Indicates The single spandex thread mask The mask diameter of the single spandex line corresponding to the center point of each single spandex line; The pixel length of the single spandex line is obtained according to the starting point and ending point coordinates of the center point of the single spandex line in the single spandex line mask; the sum of the pixel lengths of the single spandex line of all the single spandex line images is calculated to obtain the total pixel length of the single spandex line.

[0035] The embodiment of the present application combines the drum speed and the predetermined time to calculate the pulling length of the single spandex line, and performs a series of processing based on the single spandex line image, including edge detection, binarization operation, skeletonization algorithm and distance transformation, etc., to accurately obtain the stretching uniformity, pixel diameter and total pixel length of the single spandex line. This method can not only effectively quantify the physical properties of the single spandex line, but also provide data support for subsequent line density detection.

[0036] Further, the traction diameter of the single spandex line is calculated in combination with the traction length of the single spandex line; the traction volume of the single spandex line is calculated according to the traction length of the single spandex line and the traction diameter of the single spandex line; corresponding to the above step S3, the specific process includes: According to the pulling length of the single spandex line and the total pixel length of the single spandex line, the image pixel size is calculated; in combination with the pixel diameter of the single spandex line, the pulling diameter of the single spandex line is obtained; according to the pulling length of the single spandex line and the pulling diameter of the single spandex line, the pulling volume of the single spandex line is calculated, and the specific formula is expressed as follows: ; in, represents the traction volume of the single spandex line; Indicates the pulling diameter of the single spandex line; Indicates the pulling length of the single spandex line; represents the pixel diameter of the single spandex line; Indicates the image pixel size; Represents the total pixel length of the single spandex line.

[0037] The embodiment of the present application can effectively improve the accuracy and reliability of spandex line density detection by accurately calculating the pulling length, pulling diameter and pulling volume of a single spandex line. According to the relationship between the pulling length of a single spandex line and the total pixel length, the image pixel size can be accurately calculated, thereby further obtaining the pulling diameter of the spandex line, which helps to accurately grasp the geometric characteristics of the spandex line; according to the pulling diameter, the pulling volume of the spandex line can be further accurately calculated through the relationship between the pulling length and the diameter, thereby providing reliable data support for the density detection of the spandex line.

[0038] Furthermore, the original volume of the single spandex line is obtained by combining the traction volume and volume strain equation of the single spandex line; Figure 1 The S4 step includes: The elastic modulus and traction force of the single spandex line are obtained, and the strain index of the single spandex line is calculated in combination with the traction diameter of the single spandex line; the original volume of the single spandex line is obtained through the volume strain equation according to the traction volume of the single spandex line and the strain index of the single spandex line. The specific formula is expressed as follows: ; in, Represents the original volume of the single spandex line; represents the traction volume of the single spandex line; represents the strain index of the single spandex line; It represents the Poisson's ratio of spandex material; represents said traction force; Indicates the pulling diameter of the single spandex line; Indicates the elastic modulus of spandex material.

[0039] In order to further illustrate the role of the volume strain equation proposed in the present invention, the original volume of a single spandex thread in the production process of different types of socks at Textile Factory A is given as an example. Refer to Table 1 which lists the original volumes of a single spandex thread of different batches of spandex threads required for different types of socks at Textile Factory A.

[0040] Table 1. Original volume of single spandex line of different batches of spandex line in A textile factory

[0041] When the elastic modulus of spandex is large, it means that the material is more rigid and has a stronger ability to resist deformation. The Poisson's ratio is the ratio of the strain in the tensile direction to the transverse strain of the material. When the spandex with a large Poisson's ratio expands in the transverse direction when stretched, its volume increases significantly. For example, the PC03 batch in Table 1 has an elastic modulus of 50. , but the Poisson's ratio is 0.45, indicating that the volume expansion of this batch of spandex thread is also obvious during the stretching process.

[0042] The embodiment of the present application can accurately calculate the original volume of a single spandex line by combining the traction volume of a single spandex line and the volume strain equation, thereby realizing accurate detection of the spandex line density. The method obtains the elastic modulus, traction force and traction diameter of a single spandex line, and further derives the original volume of the spandex line by combining the strain index, thereby improving the accuracy of subsequent spandex line density measurement.

[0043] Further, the mass of the single spandex line is calculated according to the actual volume of the cylindrical line and the mass of the cylindrical line; the linear density of the single spandex line is calculated by combining the total pixel length of the single spandex line and the mass of the single spandex line; correspondingly Figure 1 The S5 step includes: According to the original volume of the single spandex line , the actual volume of the cylinder line and the cylinder line quality ,pass , the mass of the single spandex line is calculated Combined with the single spandex line traction length , calculated by the standard linear density formula , the linear density of the single spandex is obtained ; Wherein, the unit of linear density of the single spandex is denier , Indicates each The quality of meters of spandex thread.

[0044] The embodiment of the present application can accurately calculate the mass and linear density of a single spandex line by detecting the linear density of spandex, thereby effectively evaluating its physical properties and performance. Combined with the actual volume and mass information of the cylindrical line, the mass of a single spandex line can be accurately inferred, and the linear density calculated by further using the traction length of the single spandex line helps to ensure the uniformity and consistency of the spandex line during the production process. This method not only improves the quality control level of the spandex line, but also reduces material waste, improves the stability and reliability of sock production, and ensures that the spandex line meets the standard requirements.

[0045] Further, the spandex line calibration density is obtained, and the line density deviation index and line density error rate of the single spandex line are calculated by combining the stretching uniformity of the single spandex line and the line density of the single spandex line, corresponding to Figure 1 Step S6 of Figure 3 The specific implementation process includes: According to the stretching uniformity of the single spandex line, the linear density deviation index of the single spandex line is calculated, and the specific calculation formula is: ; in, represents the linear density deviation index; represents the number of said single spandex line images; Indicates The stretching uniformity of the single spandex thread of the single spandex thread image; The spandex line calibration density of the target spandex cylindrical line is obtained; the line density error rate is calculated in combination with the line density of the single spandex line. The specific formula is expressed as follows: ; in, represents the linear density error rate; represents the linear density of the single spandex line; It represents the nominal linear density of the spandex thread.

[0046] The embodiment of the present application can effectively evaluate the quality and uniformity of the spandex thread by calculating the linear density deviation index and linear density error rate of the single spandex thread, thereby providing a powerful basis for quality control in the socks production process. By combining the analysis of stretching uniformity and linear density, it can not only accurately reflect the quality change of the single spandex thread during the stretching process, but also perform error correction based on the actual spandex thread calibration linear density, thereby ensuring the consistency and stability of socks production and reducing quality problems caused by uneven linear density.

[0047] Further, combining the linear density deviation index and the linear density error rate, it is judged whether the spandex line is qualified; corresponding Figure 1 The specific implementation process of step S6 includes: If the line density error rate is greater than or equal to the predetermined error threshold, it indicates that the target spandex cylindrical line is unqualified; if the line density error rate is less than the predetermined error threshold, determine whether the line density deviation index meets the standard; if the line density deviation index is greater than or equal to the predetermined deviation threshold, it indicates that the target spandex cylindrical line is unqualified; if the line density deviation index is less than the predetermined deviation threshold, it indicates that the spandex line transmitted within the predetermined time is qualified, and the spandex line data is recollected and judged.

[0048] The embodiment of the present application can effectively improve the accuracy and reliability of detection by combining the linear density deviation index and the linear density error rate to judge the quality of the spandex thread. The method can eliminate unqualified products to the greatest extent through layer-by-layer screening, and improve the accuracy of detection by re-collecting data, thereby ensuring the stability of the quality of sock production.

[0049] The embodiment of the present application realizes effective detection of spandex line density through accurate geometric parameter calculation and image processing technology. The specific implementation process mainly includes the following steps: (i) combining Canny edge detection and contour recognition technology to calculate the actual volume of the target spandex cylindrical line; (ii) combining the physical parameters and geometric parameters of the spandex line to calculate the linear density of the spandex line; (iii) calculating the linear density deviation index and linear density error rate of the spandex line, and judging whether it is qualified. The present invention proposes accurate calculation methods for the actual volume of the spandex cylindrical line, the linear density of the spandex line, the linear density deviation index and the linear density error rate for the above three processes. The actual volume calculation of the spandex cylindrical line realizes accurate detection of the target spandex cylindrical line and improves the reliability of subsequent linear density detection; the linear density calculation of the spandex line further improves the accuracy of spandex line density detection; the linear density deviation index and linear density error rate calculation further improve the accuracy of spandex line quality control, ensure the uniformity and stability of the material in the socks production process, and effectively improve the production efficiency and socks quality.

[0050] Embodiment 2 In Example 1, the method of the present invention performs real-time detection of the spandex line density in the socks production process of textile factory A. In the embodiment of this application, the method proposed by the present invention will be described again to realize the density detection of the spandex line used for socks production when the raw materials of textile factory B are put into storage. The specific implementation process is as follows: The top, bottom and side images of the target spandex cylindrical line to be stored are collected; a plurality of single spandex line images of the target spandex cylindrical line within a predetermined time are collected by a high-speed camera, and the cylinder rotation speed and cylinder line quality of the target spandex cylindrical line are obtained; the geometric parameters and surface uniformity of the target spandex cylindrical line are obtained according to the top, bottom and side images of the target spandex cylindrical line; the ideal volume of the cylindrical line is calculated through the geometric parameters; and the actual volume of the cylindrical line is obtained in combination with the surface uniformity.

[0051] Specifically, the spandex cylinder to be stored is placed on a conveyor belt and sent to a designated area via the conveyor belt for top, bottom and side image acquisition; the acquired spandex cylinder line is placed in a stretching detection area, and real-time image data of the spandex line during the stretching process is continuously obtained through the installed high-speed camera and image acquisition system; wherein, the stretching detection area rotates the target spandex cylinder line through traction force, so that the output spandex line is in a stretched state during socks production.

[0052] Furthermore, in combination with the drum rotation speed and the predetermined time, the traction length of the single spandex line is obtained; based on the single spandex line image, the stretching uniformity of the single spandex line, the pixel diameter of the single spandex line and the total pixel length of the single spandex line are obtained; in combination with the traction length of the single spandex line, the traction diameter of the single spandex line is calculated; based on the traction length of the single spandex line and the traction diameter of the single spandex line, the traction volume of the single spandex line is calculated.

[0053] Furthermore, the original volume of the single spandex line is obtained by combining the traction volume and volume strain equation of the single spandex line; the mass of the single spandex line is calculated according to the actual volume of the cylindrical line and the mass of the cylindrical line; the linear density of the single spandex line is calculated by combining the total pixel length of the single spandex line and the mass of the single spandex line; the specific implementation process of obtaining the linear density of the single spandex line includes: According to the original volume of the single spandex line , the actual volume of the cylinder line and the cylinder line quality ,pass , the mass of the single spandex line is calculated Combined with the single spandex line traction length , calculated by the standard linear density formula , the linear density of the single spandex is obtained ; Wherein, the unit of linear density of the single spandex is denier , Indicates each The quality of meter spandex thread; According to the stretching uniformity of the single spandex line, the linear density deviation index of the single spandex line is calculated, and the specific calculation formula is: ; in, represents the linear density deviation index; represents the number of said single spandex line images; Indicates The stretching uniformity of the single spandex thread of the single spandex thread image; The spandex line calibration density of the target spandex cylindrical line is obtained; the line density error rate is calculated in combination with the line density of the single spandex line. The specific formula is expressed as follows: ; in, represents the linear density error rate; represents the linear density of the single spandex line; It represents the nominal linear density of the spandex thread.

[0054] In order to further illustrate the role of the single spandex line density proposed in the present invention, the single spandex line density of different types of spandex lines to be stored in Textile Factory B is given as an example. Refer to Table 2 for a list of the single spandex line densities of different types of spandex lines to be stored in Textile Factory B.

[0055] Table 2. Linear density of single spandex yarns of different types of spandex yarns to be stored in textile factory B

[0056] According to the data in Table 2, it can be seen that the linear density of spandex thread has a certain relationship with its mass and pulling length. Under the condition of a certain length, the higher the mass, the greater the linear density. For example, LX01 has the lightest mass and the smallest linear density, while LX04 has the heaviest mass and the largest linear density.

[0057] Furthermore, the calibrated linear density of the spandex thread is obtained, and the linear density deviation index and the linear density error rate of the single spandex thread are calculated in combination with the stretching uniformity of the single spandex thread and the linear density of the single spandex thread, and it is determined whether the spandex thread is qualified.

[0058] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A method for detecting the linear density of spandex for sock production, characterized in that: include: Collecting the top, bottom and side images of the target spandex cylindrical line; collecting a number of single spandex line images of the target spandex cylindrical line within a predetermined time by a high-speed camera, and obtaining the cylinder speed and cylinder line quality of the target spandex cylindrical line; According to the top, bottom and side images of the target spandex cylindrical line, the geometric parameters and surface uniformity of the target spandex cylindrical line are obtained; the ideal volume of the cylindrical line is calculated by the geometric parameters; and the actual volume of the cylindrical line is obtained in combination with the surface uniformity; In combination with the drum rotation speed and the predetermined time, the pulling length of the single spandex line is obtained; according to the single spandex line image, the stretching uniformity of the single spandex line, the pixel diameter of the single spandex line and the total pixel length of the single spandex line are obtained; in combination with the pulling length of the single spandex line, the pulling diameter of the single spandex line is calculated; according to the pulling length of the single spandex line and the pulling diameter of the single spandex line, the pulling volume of the single spandex line is calculated; The original volume of the single spandex line is obtained by combining the traction volume and volume strain equation of the single spandex line; the mass of the single spandex line is calculated according to the actual volume of the cylindrical line and the mass of the cylindrical line; the linear density of the single spandex line is calculated by combining the total pixel length of the single spandex line and the mass of the single spandex line; The calibrated linear density of the spandex line is obtained, and the linear density deviation index and the linear density error rate of the single spandex line are calculated in combination with the stretching uniformity of the single spandex line and the linear density of the single spandex line, and it is determined whether the spandex line is qualified.

2. The method for detecting the linear density of spandex for sock production according to claim 1, characterized in that: The high-speed camera is set up in a plane parallel to the moving direction of the target spandex cylindrical line; when the target spandex cylindrical line rotates, the high-speed camera collects several single spandex line images that are rotated out of the spandex line within the predetermined time; the cylindrical line mass represents the net weight of the pure spandex line of the target spandex cylindrical line excluding the cylinder.

3. The method for detecting the linear density of spandex for sock production according to claim 1, characterized in that: The specific implementation process of calculating the ideal volume of the cylinder line through the geometric parameters includes: The top, bottom and side images of the target spandex cylindrical line are preprocessed, and the geometric parameters of the target spandex cylindrical line, including the top diameter, bottom diameter, side inclination angle and side length, are obtained through the Canny edge detection algorithm and contour recognition; the difference between the top diameter and the bottom diameter is calculated to obtain the cylindrical line diameter difference; if the cylindrical line diameter difference is less than the predetermined thickness difference threshold, the ideal volume of the cylindrical line is calculated, and the specific formula is: ; in, represents the ideal volume of the cylinder line; Indicates the side length; denote the top diameter and bottom diameter respectively; is the base diameter of a pure cylinder; If the diameter difference of the cylindrical wire is greater than or equal to the predetermined thickness difference threshold, the ideal volume of the cylindrical wire is calculated according to the geometric parameters. The specific formula is: ; in, represents the ideal volume of the cylinder line; represents the pure spandex coil thickness of the target spandex cylindrical line and , is the upper base diameter of the pure cylinder, is the lower base diameter of the pure cylinder; represents the sine function; Indicates the side tilt angle.

4. The method for detecting the linear density of spandex for sock production according to claim 1, characterized in that: The process of obtaining the actual volume of the cylinder line by combining the surface uniformity and the cylinder line quality includes: The top, bottom and side images of the target spandex cylindrical line are segmented by an image segmentation algorithm to obtain the top, bottom and side images of the pure spandex coil; the grayscale co-occurrence matrices of the top, bottom and side images of the pure spandex coil are obtained respectively, and the uniformity of the coil top, the uniformity of the coil bottom and the uniformity of the coil side are obtained according to the homogeneity calculation formula; combined with the ideal volume of the cylindrical line, the actual volume of the cylindrical line is obtained.

5. The method for detecting the linear density of spandex for sock production according to claim 1, characterized in that: The process of obtaining the stretching uniformity of the single spandex line, the pixel diameter of the single spandex line and the total pixel length of the single spandex line includes: Combined with the rotation speed of the cylinder and the scheduled time ,pass , calculate the pulling length of the single spandex line ; Perform edge detection and binarization operations on the single spandex line image to obtain a single spandex line mask; obtain a number of single spandex line center points of the single spandex line mask according to a skeletonization algorithm; obtain the single spandex line mask diameter by average calculation of the vertical distances from all the single spandex line center points to the edge of the long axis of the single spandex line mask through distance transformation; calculate the average of the single spandex line mask diameters of all the single spandex line images to obtain the single spandex line pixel diameter; calculate the single spandex line stretching uniformity by combining the single spandex line mask diameter and the single spandex line pixel diameter; obtain the single spandex line pixel length according to the starting point and ending point coordinates of the single spandex line center point in the single spandex line mask; calculate the sum of the single spandex line pixel lengths of all the single spandex line images to obtain the single spandex line total pixel length.

6. The method for detecting the linear density of spandex for sock production according to claim 1, characterized in that: The specific implementation process of calculating the traction volume of the single spandex line includes: According to the pulling length of the single spandex line and the total pixel length of the single spandex line , calculate the image pixel size ; Combine the pixel diameter of the single spandex line to obtain the traction diameter of the single spandex line; calculate the traction volume of the single spandex line based on the traction length of the single spandex line and the traction diameter of the single spandex line.

7. The method for detecting the linear density of spandex for sock production according to claim 1, characterized in that: Combining the traction volume of the single spandex line and the volume strain equation, the process of obtaining the original volume of the single spandex line includes: The elastic modulus and traction force of the single spandex line are obtained, and the strain index of the single spandex line is calculated in combination with the traction diameter of the single spandex line; the original volume of the single spandex line is obtained through the volume strain equation according to the traction volume of the single spandex line and the strain index of the single spandex line. The specific formula is expressed as follows: ; in, Represents the original volume of the single spandex line; represents the traction volume of the single spandex line; represents the strain index of the single spandex line; It represents the Poisson's ratio of spandex material; represents said traction force; Indicates the pulling diameter of the single spandex line; Indicates the elastic modulus of spandex material.

8. The method for detecting the linear density of spandex for sock production according to claim 1, characterized in that: The implementation process of calculating the mass of the single spandex line and the linear density of the single spandex line includes: According to the original volume of the single spandex line , the actual volume of the cylinder line and the cylinder line quality ,pass , the mass of the single spandex line is calculated Combined with the single spandex line traction length ,pass , the linear density of the single spandex is obtained .

9. The method for detecting the linear density of spandex for sock production according to claim 1, characterized in that: The specific implementation process of calculating the line density deviation index and the line density error rate includes: According to the stretching uniformity of the single spandex line, the linear density deviation index of the single spandex line is calculated, and the specific calculation formula is: ; in, represents the linear density deviation index; represents the number of said single spandex line images; Indicates The stretching uniformity of the single spandex thread of the single spandex thread image; The spandex line calibration density of the target spandex cylindrical line is obtained; the line density error rate is calculated in combination with the line density of the single spandex line. The specific formula is expressed as follows: ; in, represents the linear density error rate; represents the linear density of the single spandex line; It represents the nominal linear density of the spandex thread.

10. The method for detecting the linear density of spandex for sock production according to claim 1, characterized in that: The process of judging whether the spandex thread is qualified includes: If the line density error rate is greater than or equal to the predetermined error threshold, it indicates that the target spandex cylindrical line is unqualified; if the line density error rate is less than the predetermined error threshold, determine whether the line density deviation index meets the standard; if the line density deviation index is greater than or equal to the predetermined deviation threshold, it indicates that the target spandex cylindrical line is unqualified; if the line density deviation index is less than the predetermined deviation threshold, it indicates that the spandex line transmitted within the predetermined time is qualified, and the spandex line data is re-collected and judged.

Citation Information

Patent Citations

  • Polyester filament broken filament detection method and system based on image processing technology

    CN117745730A

  • System and method for calculating the volume and mass of a pile of materials based on image recognition technology

    FR3122941A3

  • Measuring device, measuring method and program

    JP2012189574A

  • Systems and methods for bollard cover media advertising

    WO2015031390A1

  • Method for determining values of a physical phenomenon in an environment

    WO2016193621A1