A visual inspection system during the production process of varicose vein stockings
Through the visual detection system, the contour integrity, stress balance and structural integrity of varicose veins socks are analyzed, and the problem that the existing technology cannot accurately detect the performance of varicose veins socks is solved, and accurate quality detection of varicose veins socks is achieved.
Patent Information
- Application Number
- CN202411729617.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-06-17
- Estimated Expiration
- 2044-11-29
AI Technical Summary
The prior art fails to effectively consider the special structure of varicose veins socks, resulting in the detection process being unable to accurately detect product performance.
A visual detection system in the production process of varicose veins is proposed. The sample surface image is obtained through the varicose veins image acquisition module, and combined with the contour integrity analysis module, the force balance analysis module and the structural integrity analysis module, the information of the spinning area and the spinning gap area is analyzed to evaluate the contour integrity, force balance and structural integrity.
Accurate detection of the performance of varicose veins socks products is achieved, and the product can be judged based on the three characteristics of the product (contour integrity, stress balance and structural integrity).
Smart Images

Figure CN119223965B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of visual inspection of product quality, and particularly to a visual inspection system in the production process of varicose vein stockings. Background Art
[0002] Varicose vein stockings are a kind of medical treatment devices, which have the function of promoting the return of venous blood to the heart. During the production process of varicose vein stockings, it is necessary to randomly inspect samples to evaluate the quality of this production batch. For textile products such as varicose vein stockings, in order to avoid the subjective influence caused by manual quality inspection, computer vision technology is adopted. By extracting the surface image of the sample and identifying the distribution state of the spun yarns, the quality of the textile product is determined. However, compared with ordinary textile products, varicose vein stockings have special functions and structures. The prior art determines the distribution of the spun yarns according to the texture change trend to evaluate the product, without considering the special structure of varicose vein stockings, and only surface quality information can be obtained, resulting in the inability to accurately and effectively detect the product performance of varicose vein stockings during the detection process. Summary of the Invention
[0003] In order to solve the technical problem that the prior art does not consider the special structure of varicose vein stockings, resulting in the inability to accurately detect the sample performance during the detection process, the purpose of the present invention is to provide a visual inspection system in the production process of varicose vein stockings, and the specific technical solution adopted is as follows:
[0004] The present invention proposes a visual inspection system in the production process of varicose vein stockings, and the system includes:
[0005] A varicose vein stocking image acquisition module, which is used to obtain the surface image of the varicose vein stocking sample on the production line; and obtain the spun yarn area and the spun yarn gap area according to the edge information in the surface image;
[0006] A contour integrity analysis module; which is used to obtain the gap uniformity parameter according to the size difference between the spun yarn gap areas, and combine the brightness uniformity of the spun yarn area to obtain the contour integrity; if the contour integrity meets the production requirements, it enters the force balance analysis module for analysis, otherwise it is marked as a non-conforming product;
[0007] A force balance analysis module, which is used to obtain the shape change trend between adjacent spun yarn gap areas at the same spun yarn height along the direction from the bottom to the mouth of the varicose vein stocking, and obtain the force balance according to the shape change trend at all heights and the contour integrity; if the force balance meets the production requirements, it enters the structural integrity analysis module for analysis, otherwise it is marked as a non-conforming product;
[0008] A structural integrity analysis module is used to obtain the structural integrity based on the decreasing trend of the size of the spinning gap area between adjacent heights; if the structural integrity meets the production requirements, it is determined as a qualified product, otherwise it is an unqualified product.
[0009] Further, the method for obtaining the spinning area and the spinning gap area includes:
[0010] Obtain the edge pixel points of the surface image, take the edge pixel points that are adjacent and the pixel value difference is less than or equal to the preset pixel value threshold as the edge pixel points of the same edge line, obtain all the edge lines in the surface image, the edge lines are the spinning areas, and the non-edge pixel points between the spinning areas constitute the spinning gap area.
[0011] Further, the method for obtaining the gap uniformity parameter includes:
[0012] Perform a negative correlation mapping on the variance of the area of the spinning gap area to obtain the gap uniformity parameter.
[0013] Further, the method for obtaining the brightness uniformity includes:
[0014] Perform a negative correlation mapping on the standard deviation of the pixel values of the edge pixel points to obtain the brightness uniformity.
[0015] Further, the method for obtaining the contour integrity includes:
[0016] Multiply the gap uniformity parameter and the brightness uniformity and then normalize to obtain the contour integrity.
[0017] Further, the method for obtaining the shape change trend includes:
[0018] For two adjacent spinning gap areas at the same spinning height, use a shape matching algorithm to obtain the shape difference value between the two adjacent spinning gap areas, obtain the centroid distance between the two adjacent spinning gap areas, and take the product of the centroid distance and the shape difference value as the shape change trend.
[0019] Further, the method for obtaining the force balance includes:
[0020] At the same spinning height, sort the shape change trends according to the positions of the corresponding spinning gap areas to obtain a shape change trend sequence. In the shape change trend sequence, obtain the differences between adjacent elements, perform a negative correlation mapping and normalization on the cumulative value of the differences between adjacent elements to obtain the shape change uniformity, multiply the shape change uniformity and the contour integrity and then perform a normalization process to obtain the force balance.
[0021] Further, the method for obtaining the structural integrity includes:
[0022] At each spinning height, statistically calculate the average centroid distance between all adjacent yarn gap regions; obtain the difference in the average centroid distance between adjacent spinning heights. If the difference in the average centroid distance is negative, set the marking value between adjacent spinning heights to 0, otherwise set it to 1; accumulate the marking values between all adjacent spinning heights to obtain the structural integrity.
[0023] Further, the production requirements are: the profile integrity is greater than a preset first threshold, the force balance is greater than a preset second threshold, and the structural integrity is equal to 0.
[0024] Further, the method for obtaining edge pixel points includes: after preprocessing the surface image, performing edge detection using the canny operator to obtain the edge pixel points.
[0025] The present invention has the following beneficial effects:
[0026] Based on the special structure and function of varicose vein stockings, the present invention mainly analyzes from three aspects: profile integrity, force balance, and structural integrity. Considering that varicose vein stockings are textiles, and for textiles, the integrity of the surface yarns is an important quality evaluation criterion. Therefore, the present invention first determines the profile integrity based on the information of the yarn gap region and the yarn region. Further considering that varicose vein stockings also need to ensure comfort, the arrangement of the yarn gaps should be uniform. Therefore, the force balance can be further obtained. Considering that varicose vein stockings tighten and squeeze the venous blood vessels through the structural characteristics of being loose at the top and tight at the bottom to achieve the function of promoting the return of venous blood vessels to the heart, the structural integrity is further determined according to the decreasing characteristic of the size of the directional gap region between adjacent heights, and then it is determined whether the sample is a qualified product. Based on the three characteristics of varicose vein stockings, the present invention detects varicose vein stockings from three dimensions: the profile surface, the force performance, and the structural characteristics, and can realize accurate and effective quality detection during the production process of varicose vein stockings based on the visual detection principle combined with the characteristics of varicose vein stockings. Description of the Drawings
[0027] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0028] Figure 1 It is a structural block diagram of a visual detection system during the production of varicose vein stockings provided by an embodiment of the present invention;
[0029] Figure 2 A sample diagram of a varicose vein sock provided by an embodiment of the present invention;
[0030] Figure 3 A spinning line distribution diagram of a varicose vein sock provided by an embodiment of the present invention;
[0031] Figure 4 An edge image of a varicose vein sock provided by an embodiment of the present invention;
[0032] Figure 5 A schematic diagram of the tightening structure of a varicose vein sock provided by an embodiment of the present invention. Detailed implementation manners
[0033] In order to further elaborate on the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following, in combination with the accompanying drawings and preferred embodiments, details the specific implementation manners, structures, features and effects of a visual inspection system in the production process of a varicose vein sock according to the present invention. In the following description, different "one embodiment" or "another embodiment" do not necessarily refer to the same embodiment. In addition, the specific features, structures or characteristics in one or more embodiments can be combined in any suitable form.
[0034] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field to which the present invention belongs.
[0035] The embodiments of the present invention are directed to the quality inspection in the production process of varicose vein socks. During the production process, a random sample can be taken from a production batch of varicose vein socks, and the quality of the sampled samples can be inspected using the visual inspection system in the production process of varicose vein socks provided by the embodiments of the present invention to determine the product qualification rate.
[0036] The following specifically describes the specific solution of a visual inspection system in the production process of a varicose vein sock provided by the present invention with reference to the accompanying drawings.
[0037] Please refer to Figure 1 , which shows a structural block diagram of a visual inspection system in the production process of a varicose vein sock provided by an embodiment of the present invention. The system includes a varicose vein sock image acquisition module 101, a contour integrity analysis module 102, a force balance analysis module 103, and a structural integrity analysis module 104.
[0038] The varicose vein sock image acquisition module 101 is used to obtain the surface image of the varicose vein sock sample on the production line; and obtain the spinning line area and the spinning line gap area according to the edge information in the surface image.
[0039] In an embodiment of the present invention, considering that the image quality has a great influence on the visual detection effect, in order to avoid the influence of light on the image quality, the varicose vein stocking image acquisition module 101 in the embodiment of the present invention specifically includes a light-shielding dark box. A circular light source is placed in the light-shielding dark box, and cameras are installed on both sides inside the light-shielding dark box. The surface images on both sides of the varicose veins are obtained through the cameras on both sides. It should be noted that the processing methods of the surface images on both sides in the system provided by the embodiment of the present invention are the same. For the convenience of subsequent data processing, the two images can be spliced together and merged into one surface image before continuing with the analysis of subsequent modules.
[0040] Please refer to Figure 2 , which shows a sample diagram of a varicose vein stocking provided by an embodiment of the present invention. As can be seen from the Figure 2 local enlarged area in, the varicose vein stocking is mainly made of uniform spun yarn and is a textile process product. Please refer to Figure 3 , which shows a spun yarn distribution diagram of a varicose vein stocking provided by an embodiment of the present invention. For textiles, the main reference information for their quality is the distribution information of the spun yarn. Therefore, the varicose vein stocking image acquisition module 101 needs to further process the surface image to extract the spun yarn area and the spun yarn gap area in the image for the analysis of subsequent modules.
[0041] Preferably, in an embodiment of the present invention, the method for obtaining the spun yarn area and the spun yarn gap area includes:
[0042] Obtain the edge pixel points of the surface image, and use the edge pixel points that are adjacent and the pixel value difference is less than or equal to a preset pixel value threshold as the edge pixel points of the same edge line to obtain all the edge lines in the surface image. The edge lines are the spun yarn areas, and the non-edge pixel points between the spun yarn areas constitute the spun yarn gap areas. In the embodiment of the present invention, the pixel value threshold is set to 0, that is, the adjacent and continuously identical pixel value edge pixel points constitute an edge line.
[0043] In the embodiment of the present invention, after preprocessing the surface image, the canny operator is used for edge detection to obtain the edge pixel points. It should be noted that the method of image preprocessing is a well-known technical means for those skilled in the art. It can improve the quality of the image through the preprocessing method, thereby improving the accuracy of edge detection. The specific preprocessing methods in the embodiment of the present invention include: extracting the varicose vein stocking area in the surface image through semantic segmentation technology to prevent the interference of background information; further performing Gaussian sharpening processing on the varicose vein stocking area to enhance the edge details of the image, compensate the clarity of the image contour, and improve the overall image resolution. Please refer to Figure 4 , which shows an edge image of a varicose vein stocking provided by an embodiment of the present invention, and Figure 2Correspondingly, Figure 4 It also includes a partial enlarged view in the edge image of the varicose vein stocking. It should be noted that after obtaining the edge image by using the edge detection algorithm, the edge pixel points in the edge image correspond to the pixel points in the surface image, which are the edge pixel points in the surface image.
[0044] The varicose vein stocking is a textile fabric woven from criss-crossed threads such as Lycra and polyamide. The stocking tube runs through from the top to the bottom, mainly longitudinally and supplemented laterally, and the adjacent threads are closely connected; at the same time, the same varicose vein stocking generally uses threads of the same material and color for weaving, so that the surface brightness difference of the stocking under uniform illumination is small or there is no difference. Therefore, for the surface information of the varicose vein stocking, the surface brightness information and the density distribution between the yarn gap regions are important reference information for surface quality evaluation. The contour integrity analysis module 102 is used to obtain the gap uniformity parameter according to the size difference between the yarn gap regions, and combine the brightness uniformity of the yarn region to obtain the contour integrity. The greater the size difference between the yarn gap regions, the more chaotic the yarn distribution, indicating that there is a textile defect at a certain position, which in turn leads to an obvious difference between the gap and other gaps, so the gap uniformity parameter is smaller and the contour integrity is smaller; under uniform illumination, the greater the brightness uniformity of the yarn region, the more uniform the yarn distribution of the varicose vein stocking, and there is no brightness fluctuation caused by the intersection of the yarns distributed in the same direction, so the contour integrity is stronger.
[0045] The stronger the contour integrity, the more compliant the sample is in the surface quality inspection process. Therefore, the contour integrity analysis module 102 further determines whether the contour integrity meets the production requirements. If it meets, it enters the force balance analysis module 103 for further performance analysis of the varicose vein stocking. Otherwise, it indicates that the sample does not meet the basic surface quality requirements and is marked as a non-conforming product.
[0046] Preferably, in the embodiment of the present invention, the variance of the area of the yarn gap region is negatively correlated and mapped to obtain the gap uniformity parameter. That is, the smaller the variance, the more uniform the area of the yarn gap region, and there are no obvious local defects. It should be noted that the negative correlation mapping can be implemented by various basic mathematical algorithms such as reciprocal and opposite number, which are well-known technical means to those skilled in the art. In the embodiment of the present invention, the reciprocal method is used for negative correlation mapping. At the same time, in order to avoid the denominator being 0, the reciprocal of the data after adding a positive integer 1 is used as the final negative correlation mapping result.
[0047] Preferably, on the basis of obtaining the edge pixel points in the surface image in the embodiment of the present invention, the method for obtaining the brightness uniformity includes: performing a negative correlation mapping on the standard deviation of the pixel values of the edge pixel points to obtain the brightness uniformity. The edge pixel points can be regarded as the spinning thread pixel points. Therefore, the larger the standard deviation of the pixel values of the spinning thread pixel points, the more uneven the brightness of the spinning thread pixel points, and the more likely there are surface defect problems, and the smaller the brightness uniformity. It should be noted that the specific implementation process of the negative correlation mapping method has been given in the above embodiment and will not be elaborated here.
[0048] Preferably, in an embodiment of the present invention, since both the gap uniformity parameter and the brightness uniformity parameter are positively correlated with the contour integrity, the gap uniformity parameter and the brightness uniformity are multiplied and then normalized to obtain the contour integrity. It should be noted that in the embodiment of the present invention, the hyperbolic tangent function mapping method is selected to implement the normalization. Those skilled in the art can also select basic mathematical methods such as sigmoid function mapping and range normalization, which will not be elaborated here.
[0049] The varicose vein stockings are different from traditional ordinary socks and have the function of preventing or improving varicose veins. Therefore, to ensure the functionality and reliability of the varicose vein stockings, the system in the embodiment of the present invention further needs to analyze the performance of the sample. Since the principle of the varicose vein stockings is to promote blood circulation through a special structure by closely adhering to the patient's body, the tightness of the varicose vein stockings against the skin is one of the important quality evaluation criteria. For textiles, the more balanced the force they receive, the stronger the stretchability of the product, which can be suitable for different users and enable the user to wear it closely against the skin after wearing. In order to ensure the stretchability, the arrangement of the spinning threads in the varicose vein stockings should be tight and the intervals should be similar, so as to provide a uniform contraction force after the user wears it. Therefore, the force balance analysis module 103 analyzes along the direction from the bottom to the mouth of the varicose vein stockings, divides the varicose vein stockings area into different heights, and performs the same analysis for each height to obtain the shape change trend between the adjacent spinning thread gap areas at the same spinning thread height. The more stable the shape change trend, the more normal the interval distribution at the current height and the better the force balance of the varicose vein stockings. Furthermore, according to the shape change trends and the contour integrity at all heights, the force balance is obtained. Similar to the evaluation of the contour integrity, if the force balance meets the production requirements, it enters the structural integrity analysis module 104 for analysis, otherwise it is marked as a non-conforming product.
[0050] Preferably, in an embodiment of the present invention, the method for obtaining the shape change trend includes:
[0051] In two adjacent yarn-spinning gap regions at the same yarn-spinning height, the shape difference value between the two adjacent yarn-spinning gap regions is obtained by using a shape matching algorithm, and the centroid distance between the two adjacent yarn-spinning gap regions is obtained. The product of the centroid distance and the shape difference value is used as the shape change trend. That is, the larger the shape difference value, the farther the centroid distance, indicating that the current shape change trend is greater. It should be noted that the shape matching algorithm and the method for obtaining the distance between centroids are technical means well-known to those skilled in the art and will not be elaborated herein.
[0052] Preferably, in an embodiment of the present invention, considering that for varicose vein stockings, the shape change trend between adjacent yarn-spinning gap regions at the same height should be small or even zero. If there is a defect at a certain place, it will lead to a large shape change trend at that position and a significant difference from the shape change trends corresponding to other surrounding regions. Therefore, the method for obtaining the force balance of the embodiment of the present invention includes:
[0053] At the same yarn-spinning height, the shape change trends are sorted according to the positions of the corresponding yarn-spinning gap regions to obtain a shape change trend sequence. In the shape change trend sequence, the differences between adjacent elements are obtained. The difference is the absolute value of the difference between the two elements. The larger the difference, the more likely it is that there is a defect in the uneven distribution of the yarn-spinning gap region at that position at this height, resulting in a poor shrinkage of the varicose vein stockings. Therefore, the cumulative value of the differences between adjacent elements is subjected to a negative correlation mapping and normalization to obtain the shape uniformity. That is, the smaller the cumulative value of the differences, the more uniform the shape of the yarn-spinning gap region at this height, and the greater the shape uniformity. Further, in combination with the contour integrity, the shape uniformity and the contour integrity are multiplied and then normalized to obtain the force balance.
[0054] It should be noted that the negative correlation mapping, normalization and other mathematical operations in different steps of the embodiment of the present invention all adopt the same method and will not be elaborated one by one herein.
[0055] Please refer to Figure 5 , which shows a schematic diagram of the tightening structure of a varicose vein stocking provided by an embodiment of the present invention. As shown by Figure 5It can be known that the varicose vein stockings have the characteristic of being loose at the top and tight at the bottom. During their use, due to this structural characteristic of being loose at the top and tight at the bottom, the blood in the vein blood vessels below the limb is squeezed due to the tightening, and is sent to the blood vessels in the relatively loose pressure area at the upper end of the limb, thus realizing the function of promoting the return of vein blood vessels to the heart. The direction of the change in the tightness degree gradually becomes looser along the direction from the bottom to the sock mouth. That is, in this direction, the area of the spinning gap region will become larger and larger, and the degree of restraint of the sock on the user's limb will be lower and lower as it goes up. At the same time, since the part of the human body's morphological structure extending from the limb end to the trunk gradually becomes thinner from thicker. Therefore, the structural integrity analysis module 104 obtains the structural integrity according to the decreasing trend of the size of the spinning gap region between adjacent heights. If the spinning gap region between adjacent heights is in an obvious decreasing trend, it indicates that the structural integrity better meets the production requirements. If the structural integrity meets the production requirements, it is determined to be a qualified product, otherwise it is an unqualified product.
[0056] Preferably, in the embodiment of the present invention, the method for obtaining the structural integrity includes:
[0057] At each spinning height, the average centroid distance between all adjacent spinning gap regions is statistically calculated; the difference in the average centroid distance between adjacent spinning heights is obtained. If the difference in the average centroid distance is negative, the marked value between adjacent spinning heights is set to 0, otherwise it is set to 1; the marked values between all adjacent spinning heights are accumulated to obtain the structural integrity. That is, the closer the structural integrity is to 0, the more the structural shape of the varicose vein stockings meets the product requirements.
[0058] Furthermore, in the embodiment of the present invention, the production requirements are: the profile integrity is greater than a preset first threshold, the force balance is greater than a preset second threshold, and the structural integrity is equal to 0. Since the profile integrity and the force balance are both normalized data in some embodiments of the present invention, the first threshold is set to 0.8 and the second threshold is set to 0.8 in the embodiment of the present invention.
[0059] In summary, based on the special structure and function of the varicose vein socks, the embodiments of the present invention mainly analyze from three aspects: contour integrity, force balance, and structural integrity. Considering that the varicose vein socks are textiles, for textiles, the integrity of the yarns on the surface is an important quality evaluation criterion. Therefore, the present invention first determines the contour integrity based on the information of the yarn gap area and the yarn area. Further considering that the varicose vein socks also need to ensure comfort, the arrangement of the yarn gaps should be uniform, so the force balance can be further obtained. Considering that the varicose vein socks tighten and squeeze the venous blood vessels through the structural characteristics of being loose at the top and tight at the bottom, and achieve the function of promoting the venous blood vessels to return to the heart, the structural integrity is further determined according to the decreasing characteristic of the size of the direction gap area between adjacent heights, and then it is determined whether the sample is a qualified product. Based on the three characteristics of the varicose vein socks, the present invention detects the varicose vein socks from three dimensions: the contour surface, the force performance, and the structural characteristics, and can realize accurate and effective quality detection during the production process of the varicose vein socks based on the visual detection principle combined with the characteristics of the varicose vein socks.
[0060] It should be noted that the above sequence of the embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0061] Each embodiment in this specification is described in a progressive manner, and the same or similar parts among the embodiments can be referred to each other. The key points of each embodiment are the differences from other embodiments.
Claims
1. A visual inspection system for varicose vein socks during production, characterized in that: The system comprises: The varicose vein socks image acquisition module is used to obtain the surface image of the varicose vein socks sample on the production line; and obtain the spinning area and the spinning gap area according to the edge information in the surface image; A profile integrity analysis module; used to obtain gap uniformity parameters according to the size difference between the yarn gap areas, and to obtain profile integrity in combination with the brightness uniformity of the yarn areas; if the profile integrity meets the production requirements, the force balance analysis module is entered for analysis, otherwise it is marked as a substandard product; The force balance analysis module is used to obtain the shape change trend between adjacent yarn gap areas at the same yarn height along the direction from the bottom of the varicose vein socks to the sock opening, and obtain the force balance according to the shape change trend at all heights and the contour integrity; if the force balance meets the production requirements, enter the structural integrity analysis module for analysis, otherwise it is marked as a substandard product; The structural integrity analysis module is used to obtain the structural integrity according to the decreasing trend of the size of the yarn gap area between adjacent heights; if the structural integrity meets the production requirements, it is judged as a qualified product, otherwise it is an unqualified product.
2. A visual inspection system for varicose vein socks production according to claim 1, characterized in that: The method for obtaining the spinning area and the spinning gap area comprises: Obtain edge pixel points of the surface image, take adjacent edge pixel points whose pixel value difference is less than or equal to a preset pixel value threshold as edge pixel points of the same edge line, obtain all edge lines in the surface image, the edge lines are the spinning areas, and the non-edge pixel points between the spinning areas constitute the spinning gap areas.
3. The visual inspection system for varicose vein socks production process according to claim 1, characterized in that: The method for obtaining the gap uniformity parameter includes: The variance of the spinning gap area is negatively correlated to obtain the gap uniformity parameter.
4. A visual inspection system for varicose vein socks production according to claim 2, characterized in that: The method for obtaining brightness uniformity includes: The standard deviation of the pixel values of the edge pixels is negatively correlated to obtain the brightness uniformity.
5. The visual inspection system for varicose vein socks production process according to claim 1, characterized in that: The method for obtaining the contour integrity comprises: The gap uniformity parameter and the brightness uniformity are multiplied and then normalized to obtain the profile integrity.
6. The visual inspection system for varicose vein socks production process according to claim 1, characterized in that: The method for obtaining the shape change trend includes: For two adjacent spinning gap areas at the same spinning height, a shape matching algorithm is used to obtain shape difference values of the two adjacent spinning gap areas, and the center of mass distance of the two adjacent spinning gap areas is obtained, and the product of the center of mass distance and the shape difference value is used as the shape change trend.
7. The visual inspection system for varicose vein socks production process according to claim 1, characterized in that: The method for obtaining the force balance includes: At the same spinning height, the shape change trends are sorted according to the positions of the corresponding spinning gap areas to obtain a shape change trend sequence. In the shape change trend sequence, the absolute values of the differences between adjacent elements are obtained, and the accumulated values of the differences between adjacent elements are negatively correlated and normalized to obtain the shape change uniformity. The shape change uniformity is multiplied by the contour integrity and then normalized to obtain the force balance.
8. The visual inspection system for varicose vein socks production process according to claim 6, characterized in that: The method for obtaining the structural integrity comprises: At each spinning line height, the average center of mass distance between all adjacent spinning line gap areas is counted; the difference in the average center of mass distance between adjacent spinning line heights is obtained, and if the difference in the average center of mass distance is a negative number, the mark value between the adjacent spinning line heights is set to 0, otherwise it is set to 1; the mark values between all adjacent spinning line heights are accumulated to obtain the structural integrity.
9. A visual inspection system for varicose vein socks production according to claim 8, characterized in that: The production requirements are: the contour integrity is greater than a preset first threshold, the force balance is greater than a preset second threshold, and the structural integrity is equal to 0.
10. A visual inspection system for varicose vein socks production according to claim 2, characterized in that: The method for obtaining edge pixel points includes: after preprocessing the surface image, performing edge detection using a canny operator to obtain the edge pixel points.
Citation Information
Patent Citations
Sock weaving texture online detection device and method based on machine vision
CN104535573A
Visual inspection method for quality of digital school uniform processing production line
CN118822994A