An automated evaluation system for cotton fabric design
Through the cotton fabric design automated evaluation system, the problem of low efficiency of traditional manual evaluation has been solved, the consistency and accuracy of evaluation have been achieved, the design efficiency has been improved and the cost has been reduced, which has promoted the intelligentization of textile design.
Patent Information
- Application Number
- CN202411989220.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-09-12
- Estimated Expiration
- 2044-12-31
AI Technical Summary
Traditional cotton fabric design evaluation relies on manual visual inspection and empirical judgment, resulting in low efficiency, inconsistent and inaccurate evaluation.
An automated evaluation system for cotton fabric design was designed, including data acquisition, preprocessing, database, import, data processing, and data output modules. By collecting real-time data information, performing image processing and analysis, and generating evaluation reports and opinion reports, the consistency and accuracy of the evaluation were ensured.
It improves the efficiency and accuracy of cotton cloth design evaluation, reduces labor costs, and promotes the personalized and intelligent development of textile design.
Smart Images

Figure CN119904143B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent evaluation, and in particular to an automatic evaluation system for cotton cloth design. Background Art
[0002] Cotton design evaluation plays a vital role in ensuring that products meet market demand. It helps designers and manufacturers identify and optimize designs at an early stage to ensure that cotton products meet functionality and production feasibility requirements. It also ensures product quality, protects consumer rights, and enhances brand image and competitiveness.
[0003] In the traditional textile industry, the cotton fabric design evaluation process often relies on manual visual inspection and empirical judgment. This is not only inefficient, but also limited by personal subjective factors, making it difficult to ensure the consistency and accuracy of the evaluation. To solve this problem, an automated cotton fabric design evaluation system is proposed. Summary of the Invention
[0004] The technical problem to be solved by the present invention is: how to solve the problem that the existing safety protection system has a single protection type, resulting in poor protection effect and bringing certain impacts on the use of the safety protection system, and provides an automatic evaluation system for cotton cloth design.
[0005] The present invention solves the above technical problems through the following technical solutions, which include a data acquisition module, a preprocessing module, a database module, an import module, a data processing module, and a data output module;
[0006] The data acquisition module is used to collect real-time data information of cotton cloth in different states, and the real-time data information includes real-time image data;
[0007] The pre-processing module is used to receive real-time image data and perform denoising and enhancement on the real-time image data;
[0008] The database module is used to store historical data information;
[0009] The import module is used to import the design usage data of the cotton cloth and match the index threshold of the cotton cloth according to the usage data of the cotton cloth;
[0010] The data processing module is used to receive real-time data information, historical data information and indicator thresholds, analyze the real-time data information according to the indicator thresholds, obtain the performance data of the cotton cloth, and generate an evaluation report; then obtain historical data information, compare and screen the evaluation report based on the historical data information, and generate an opinion report;
[0011] The data output module is used to receive and output evaluation reports and opinion reports.
[0012] Preferably, the specific processing process of the pre-processing module is:
[0013] Import real-time image data to obtain real-time image data;
[0014] Divide the image evenly into multiple block units;
[0015] Use the multithreaded programming library to create threads;
[0016] Distribute the divided block units evenly to each thread;
[0017] In each thread, the mean filtering algorithm and histogram equalization algorithm are applied to the assigned block units for processing;
[0018] After all threads have completed processing, the processed block units are merged into a complete image and output.
[0019] Preferably, the real-time data information also includes real-time brightness data, and the evaluation report includes an excellent evaluation report and a defect evaluation report. The generation process of the evaluation report is:
[0020] Collecting real-time image data of the cotton cloth in a natural state to obtain first cotton cloth image data;
[0021] Segmenting the first cotton cloth image using a first preset unit size to divide the first cotton cloth image into a plurality of first sub-regions;
[0022] Count the number of warp yarns a and the number of weft yarns b in the cotton cloth to obtain the warp and weft density S = a·b;
[0023] Calculating the longitude and latitude density of each first sub-region respectively and obtaining an average longitude and latitude density S of the plurality of first sub-regions;
[0024] Import the index threshold W1 of warp and weft density and evaluate the first quality E1 of warp and weft density. The specific calculation process is as follows:
[0025]
[0026] Collecting real-time impact data of the cotton cloth on the transparent carrier at a first angle to obtain second cotton cloth image data;
[0027] Segmenting the second cotton cloth image using a second preset unit size to divide the second cotton cloth image into a plurality of second sub-regions;
[0028] A second sub-region is randomly selected, and real-time brightness data of the second sub-region is obtained. The brightness difference ΔU at different positions in the second sub-region is calculated. When ΔU is greater than a preset threshold Q1, the second sub-region is segmented, and the area with low brightness data is segmented into a flat area, and the area with high brightness data is segmented into a wrinkled area.
[0029] Using a third preset unit size to divide the second sub-region into a plurality of unit rectangles;
[0030] Count the number of complete unit rectangles C1 and the number of incomplete unit rectangles C2 in the wrinkle area;
[0031] Then count the number D1 of complete unit rectangles and the number D2 of incomplete unit rectangles in the second sub-region;
[0032] The second quality E2 of cotton cloth flatness is evaluated by the following calculation process:
[0033]
[0034] Assign a correction value r1 to the first quality E1, and then assign a correction value r2 to the second quality E2, and calculate the performance parameter F of the cotton cloth. The specific calculation process is:
[0035] F=r1·E1+r2·E2;
[0036] Where r1+r2=1, and r1>r2;
[0037] When the performance parameter F is less than the preset threshold Q2, it indicates that the cotton cloth is reasonably designed and an excellent evaluation report is generated;
[0038] When the performance parameter F is used ≥ the preset threshold Q2, it indicates that there is a defect in the cotton cloth design, and a defect assessment report is generated.
[0039] Preferably, when the performance parameter F is less than the preset threshold value Q2, the evaluation process of the warp and weft density of the cotton cloth further includes:
[0040] collecting real-time image data of the cotton cloth after a first processing to obtain third cotton cloth image data, wherein the first processing process comprises: polishing the cotton cloth along a circular arc trajectory using a friction head at a certain pressure and speed, and marking a boundary line of the circular arc trajectory on the cotton cloth;
[0041] Multiple unit detection areas are randomly established within the circular trajectory;
[0042] Count the number of hair balls in each unit detection area, namely M1, M2, M3, ..., Mn;
[0043] Get the average number of hair balls
[0044] When the average number of hair balls When , it means that the warp and weft yarns of the cotton cloth are not arranged tightly, the cotton cloth design has defects, and a defect assessment report is generated.
[0045] Preferably, when the average number of hair balls When the real-time data information also includes real-time size data, the evaluation process of the warp and weft density of the cotton cloth further includes:
[0046] Import the third cotton cloth image data and obtain the arc trajectory;
[0047] Three reference points are randomly obtained on the outer boundary of the arc trajectory, two adjacent reference points are connected to obtain two line segments, and perpendicular bisectors of the two line segments are respectively drawn to obtain the intersection point T of the two perpendicular bisectors;
[0048] Collect the dimension Lr1 from the intersection point T to the inner boundary of the arc track, and collect the dimension Lr2 from the intersection point T to the outer boundary of the arc track;
[0049] With the intersection point T as the center, an arc is made with a radius Rt = (Lr1 + Lr2) / 2 to obtain the virtual center line of the circular trajectory;
[0050] Select a point on the virtual center line as the center to create multiple tangent standard circles of the same size. The standard circles are located within the arc trajectory.
[0051] Label the standard circles in sequence;
[0052] Create a rectangular coordinate system, with the ordinate representing the number of hair balls within the standard circle and the abscissa representing the standard circle number, and establish a curve graph P;
[0053] Continuously obtain several checkpoints on the curve P and calculate the slope K of adjacent checkpoints respectively. The specific calculation process is as follows:
[0054] K = ΔMr / ΔL;
[0055] Where ΔMr is the difference in the number of hair balls between two adjacent standard circles, and ΔL is the distance between the horizontal coordinates of the calibration points.
[0056] Calculate the rate of change K' of the slope K. The specific calculation process is:
[0057]
[0058] Among them, Ka and Kb are the slope values of two adjacent slopes respectively;
[0059] When the change rate K' is greater than the preset threshold Q4, it indicates that the density distribution of the warp and weft yarns of the cotton cloth is uneven, and there are defects in the cotton cloth design, and a defect assessment report is generated.
[0060] Preferably, the process of obtaining the checkpoint position is:
[0061] Read the curve graph P;
[0062] Create a virtual tangent line on the graph P and mark it when it is parallel to the horizontal axis.
[0063] Read the marked virtual tangent line and obtain the tangent point between the virtual tangent line and the curve graph;
[0064] The cut points are marked to generate checkpoint bits.
[0065] Preferably, the process of generating the evaluation report further includes:
[0066] When the purpose data is the first purpose:
[0067] Collecting real-time image data of the cotton cloth under a preset tension to obtain fourth cotton cloth image data;
[0068] segmenting the fourth cotton cloth image using a first preset unit size, and segmenting the fourth cotton cloth image into a plurality of first-type sub-regions;
[0069] Counting the longitude and latitude densities of each first-type sub-area and obtaining the average longitude and latitude density Sr;
[0070] Calculate the deformation rate E3 of cotton cloth. The specific calculation process is:
[0071]
[0072] When the deformation rate E3 is greater than the preset threshold value Q5, it indicates that there is a problem with the cotton cloth weaving structure and a defect in the cotton cloth design, and a defect assessment report is generated.
[0073] Preferably, the real-time data information also includes real-time dimension data, and the process of generating the evaluation report further includes:
[0074] collecting real-time image data of the cotton cloth after it is kept under a preset tension for a preset period of time and then stored again in a natural state for a preset period of time, to obtain fifth cotton cloth image data;
[0075] segmenting the fifth cotton cloth image using the first preset unit size, and segmenting the fifth cotton cloth image into a plurality of second-type sub-regions;
[0076] Randomly collect the longitude and latitude densities of multiple second-type sub-areas as sample data, namely Se1, Se2, Se3, ..., Sen;
[0077] Get any longitude and latitude density Sen, when When , the latitude and longitude density is marked as abnormal data, and V is the preset standard value;
[0078] Count the number of sample data N1, and then count the number of abnormal data N2;
[0079] Use E4=N2 / N1 to calculate the abnormal data production ratio;
[0080] When the abnormal data proportion E4 is greater than the preset threshold Q6, it indicates that there is a problem with the tensile strength of the cotton cloth and there is a defect in the design of the cotton cloth, and a defect assessment report is generated.
[0081] Preferably, the real-time data information also includes real-time air flow data, and the real-time data information also includes real-time. The generation process of the evaluation report also includes:
[0082] When the usage data is for secondary use:
[0083] Collecting real-time airflow data after the cotton cloth undergoes a second treatment process, wherein the second treatment process includes placing the sample between the upper and lower test chambers of the air permeability tester under specified conditions of sample area, pressure drop, and time, and clamping to ensure a tight seal.
[0084] Calculate the air permeability E5 of cotton cloth. The specific calculation process is:
[0085] E5=Lq / As×0.167;
[0086] Among them, Lq is the air flow data, As is the test area;
[0087] When the air permeability E5 is less than the preset threshold Q7, it indicates that there is a problem with the air permeability of the cotton cloth and there is a defect in the design of the cotton cloth, and a defect assessment report is generated.
[0088] Preferably, the process of generating the opinion report is:
[0089] Read historical data information and defect assessment reports, obtain defect parameter indicators in the defect assessment report, search for good assessment reports in historical data, and then read parameter information in the good assessment report; obtain first type indicator data of defect parameter indicators in the good assessment report, mark the first type indicator data to generate an opinion report.
[0090] Compared with the existing technology, the present invention has the following advantages: the system collects parameter information of newly designed cotton cloth in different states, processes and analyzes different parameter information to quantitatively deduce the cotton cloth design, judges the rationality and practicality of different parameter designs, and automatically evaluates them, which can effectively improve the efficiency of cotton cloth design evaluation; at the same time, the whole process unifies the measurement standards, which can ensure the consistency and accuracy of the evaluation and avoid errors caused by human subjective judgment; it can not only improve design efficiency and reduce labor costs, but also promote the personalized and intelligent development of textile design, making the system more worthy of promotion and use. BRIEF DESCRIPTION OF THE DRAWINGS
[0091] Figure 1 It is the overall module diagram of the present invention. DETAILED DESCRIPTION
[0092] The following is a detailed description of an embodiment of the present invention. This embodiment is implemented based on the technical solution of the present invention, and provides a detailed implementation method and specific operation process. However, the protection scope of the present invention is not limited to the following embodiment.
[0093] like Figure 1 As shown, this embodiment provides a technical solution: a cotton cloth design automation evaluation system, including a data acquisition module, a preprocessing module, a database module, an import module, a data processing module, and a data output module;
[0094] The data acquisition module is used to collect real-time data information of cotton cloth in different states, and the real-time data information includes real-time image data;
[0095] The pre-processing module is used to receive real-time image data and perform denoising and enhancement on the real-time image data;
[0096] The database module is used to store historical data information;
[0097] The import module is used to import the design usage data of the cotton cloth and match the index threshold of the cotton cloth according to the usage data of the cotton cloth;
[0098] The data processing module is used to receive real-time data information, historical data information and indicator thresholds, analyze the real-time data information according to the indicator thresholds, obtain the performance data of the cotton cloth, and generate an evaluation report; then obtain historical data information, compare and screen the evaluation report based on the historical data information, and generate an opinion report;
[0099] The data output module is used to receive and output evaluation reports and opinion reports.
[0100] This system collects parameter information of newly designed cotton cloth in different states, processes and analyzes different parameter information to quantitatively deduce the cotton cloth design, judges the rationality and practicality of different parameter designs, and automatically evaluates them, which can effectively improve the efficiency of cotton cloth design evaluation; at the same time, the unified measurement standards throughout the entire process can ensure the consistency and accuracy of the evaluation and avoid errors caused by human subjective judgment; it can not only improve design efficiency and reduce labor costs; it can also promote the personalized and intelligent development of textile design, making the system more worthy of promotion and use.
[0101] Among them, the specific processing process of the preprocessing module is:
[0102] Import real-time image data to obtain real-time image data;
[0103] Divide the image evenly into multiple block units;
[0104] Use the multithreaded programming library to create threads;
[0105] It should be noted that the multi-threaded programming library can be C++'s std::thread module, Python's threading module, etc., which is the existing technology and will not be described in detail.
[0106] Distribute the divided block units evenly to each thread;
[0107] In each thread, the mean filtering algorithm and histogram equalization algorithm are applied to the assigned block units for processing;
[0108] After all threads have completed processing, the processed block units are merged into a complete image and output.
[0109] The real-time data information also includes real-time brightness data. The evaluation report includes an excellent evaluation report and a defect evaluation report. The generation process of the evaluation report is as follows:
[0110] Collecting real-time image data of the cotton cloth in a natural state to obtain first cotton cloth image data;
[0111] Segmenting the first cotton cloth image using a first preset unit size to divide the first cotton cloth image into a plurality of first sub-regions;
[0112] Count the number of warp yarns a and the number of weft yarns b in the cotton cloth to obtain the warp and weft density S = a·b;
[0113] Calculating the longitude and latitude density of each first sub-region respectively and obtaining an average longitude and latitude density S of the plurality of first sub-regions;
[0114] The greater the warp and weft density of the cotton cloth, the thicker and tighter the cotton cloth, and the higher the wear resistance and tear resistance; however, too high a warp and weft density may result in a hard feel and reduced breathability, and is generally used for keeping warm in winter; the smaller the warp and weft density, the lighter and softer the cotton cloth, and the relatively better the breathability, and is generally used for heat dissipation in summer; therefore, it needs to be designed reasonably according to the intended use of the cotton cloth.
[0115] Import the index threshold W1 of warp and weft density and evaluate the first quality E1 of warp and weft density. The specific calculation process is as follows:
[0116]
[0117] It should be noted that the index threshold of warp and weft density is a relatively ideal index reference value pre-made based on historical data, which can ensure the practical performance of cotton cloth. Therefore, the closer the warp and weft density is to the index threshold, the better the practicality.
[0118] Collecting real-time impact data of the cotton cloth on the transparent carrier at a first angle to obtain second cotton cloth image data;
[0119] It should be noted that the first angle is to shoot the cotton cloth picture vertically upward from below the transparent plate;
[0120] Segmenting the second cotton cloth image using a second preset unit size to divide the second cotton cloth image into a plurality of second sub-regions;
[0121] A second sub-region is randomly selected, and real-time brightness data of the second sub-region is obtained. The brightness difference ΔU at different positions in the second sub-region is calculated. When ΔU is greater than a preset threshold Q1, the second sub-region is segmented, and the area with low brightness data is segmented into a flat area, and the area with high brightness data is segmented into a wrinkled area.
[0122] It should be noted that when the cotton cloth has wrinkles, the wrinkled part does not fit the transparent plate, and the image taken is brighter than when the cotton cloth is flat and fits the transparent plate.
[0123] Using a third preset unit size to divide the second sub-region into a plurality of unit rectangles;
[0124] Count the number of complete unit rectangles C1 and the number of incomplete unit rectangles C2 in the wrinkle area;
[0125] Then count the number D1 of complete unit rectangles and the number D2 of incomplete unit rectangles in the second sub-region;
[0126] The second quality E2 of cotton cloth flatness is evaluated by the following calculation process:
[0127]
[0128] Assign a correction value r1 to the first quality E1, and then assign a correction value r2 to the second quality E2, and calculate the performance parameter F of the cotton cloth. The specific calculation process is:
[0129] F=r1·E1+r2·E2;
[0130] Where r1+r2=1, and r1>r2;
[0131] When the performance parameter F is less than the preset threshold Q2, it indicates that the cotton cloth is reasonably designed and an excellent evaluation report is generated;
[0132] When the performance parameter F is used ≥ the preset threshold Q2, it indicates that there is a defect in the cotton cloth design, and a defect assessment report is generated.
[0133] In this solution, image data of cotton cloth is collected, and the warp and weft density and flatness of the cotton cloth are estimated respectively. Then, the performance of the cotton cloth is comprehensively evaluated based on the warp and weft density and flatness. An evaluation report is issued based on the performance of the cotton cloth. At the same time, the measurement standards are unified throughout the whole process to ensure the consistency and accuracy of the evaluation and avoid errors caused by human subjective judgment. It can also improve design efficiency and reduce labor costs.
[0134] Furthermore, when the performance parameter F is less than the preset threshold Q2, the evaluation process of the warp and weft density of the cotton cloth further includes:
[0135] collecting real-time image data of the cotton cloth after the first processing to obtain third cotton cloth image data, wherein the first processing process comprises: polishing the cotton cloth along an arc-shaped trajectory using a friction head at a certain pressure and speed, and marking a boundary line of the arc-shaped trajectory on the cotton cloth;
[0136] It should be noted that the arc-shaped trajectory allows the friction head to polish the warp and weft yarns of the cotton cloth in different directions, which can improve the representativeness and comprehensiveness of the test data;
[0137] Multiple unit detection areas are randomly established within the circular trajectory;
[0138] Count the number of hair balls in each unit detection area, namely M1, M2, M3, ..., Mn;
[0139] Get the average number of hair balls
[0140] When the average number of hair balls When , it means that the warp and weft yarns of the cotton cloth are not arranged tightly, the cotton cloth design has defects, and a defect assessment report is generated.
[0141] This solution analyzes the pilling level of cotton fabric to determine whether the weave is reasonable. When the fabric's structure is loose, the spaces between fibers are large, resulting in a fluffier overall appearance. This type of fabric is typically soft to the touch, but may be less sturdy, less abrasion-resistant, and prone to pilling, resulting in poor quality. Conversely, when the fabric's structure is tight, the spaces between fibers are smaller, resulting in a tighter, lighter, and more durable overall appearance. This type of fabric is typically more durable, wrinkle-resistant, and crisp. The rationality of the fabric's weave is determined by the number of pills per unit area. If the weave is unreasonable, a defect assessment report is issued, further enhancing the reliability of the system's assessment.
[0142] The test areas in the above scheme are somewhat random and cannot reflect the structural differences of the cotton fabric in the warp and weft directions. When the number of pilling per unit area is small, but the distribution of pilling in different areas varies greatly, it indicates that the warp and weft density design of the cotton fabric is unbalanced. When polished in different directions, the degree of damage to the cotton fabric varies greatly, indicating an unstable structure. When the force angle changes, the cotton fabric may suffer greater damage. To improve the accuracy of the assessment, the following further solutions are proposed:
[0143] Furthermore, when the average number of hair balls When the real-time data information also includes real-time size data, the evaluation process of the warp and weft density of cotton cloth also includes:
[0144] Import the third cotton cloth image data and obtain the arc trajectory;
[0145] Three reference points are randomly obtained on the outer boundary of the arc trajectory, two adjacent reference points are connected to obtain two line segments, and perpendicular bisectors of the two line segments are respectively drawn to obtain the intersection point T of the two perpendicular bisectors;
[0146] Collect the dimension Lr1 from the intersection point T to the inner boundary of the arc track, and collect the dimension Lr2 from the intersection point T to the outer boundary of the arc track;
[0147] With the intersection point T as the center, an arc is made with a radius Rt = (Lr1 + Lr2) / 2 to obtain the virtual center line of the circular trajectory;
[0148] Select a point on the virtual center line as the center to create multiple tangent standard circles of the same size. The standard circles are located within the arc trajectory.
[0149] Label the standard circles in sequence;
[0150] Create a rectangular coordinate system, with the ordinate representing the number of hair balls within the standard circle and the abscissa representing the standard circle number, and establish a curve graph P;
[0151] Continuously obtain several checkpoints on the curve P and calculate the slope K of adjacent checkpoints respectively. The specific calculation process is as follows:
[0152] K = ΔMr / ΔL;
[0153] Where ΔMr is the difference in the number of hair balls between two adjacent standard circles, and ΔL is the distance between the horizontal coordinates of the calibration points.
[0154] Calculate the rate of change K' of the slope K. The specific calculation process is:
[0155]
[0156] Among them, Ka and Kb are the slope values of two adjacent slopes respectively;
[0157] When the change rate K' is greater than the preset threshold Q4, it indicates that the density distribution of the warp and weft yarns of the cotton cloth is uneven, and there are defects in the cotton cloth design, and a defect assessment report is generated.
[0158] In this technical solution, a curve graph of the number and position of hair balls is established, verification points are obtained at different positions, the slope between adjacent verification points is calculated, and the growth rate of hair balls between adjacent verification points is determined; the rate of change between different slopes can be used to determine the fragility of different positions of the cotton cloth; the greater the rate of change, the more susceptible the corresponding position is to damage; at the same time, it can reflect whether the warp and weft yarns of the cotton cloth are balanced. If they are unbalanced, the cotton cloth design is judged to be unreasonable, which can further improve the comprehensiveness and reliability of the system evaluation.
[0159] The process of obtaining the checkpoints is as follows:
[0160] Read the curve graph P;
[0161] Create a virtual tangent line on the graph P and mark it when it is parallel to the horizontal axis.
[0162] Read the marked virtual tangent line and obtain the tangent point between the virtual tangent line and the curve graph;
[0163] The cut points are marked to generate checkpoint bits.
[0164] By screening out the inflection points on the curve graph, which represent the extreme values of the area, we can more accurately evaluate the rate of change of the hypotenuse at each detection point and improve the judgment accuracy of the system.
[0165] The evaluation report generation process also includes:
[0166] When the usage data is the first usage, the first usage is heat dissipation in summer;
[0167] Collecting real-time image data of the cotton cloth under a preset tension to obtain fourth cotton cloth image data;
[0168] segmenting the fourth cotton cloth image using a first preset unit size, and segmenting the fourth cotton cloth image into a plurality of first-type sub-regions;
[0169] It should be noted that the first type of area has the same size as the first area;
[0170] Counting the longitude and latitude densities of each first-type sub-area and obtaining the average longitude and latitude density Sr;
[0171] Calculate the deformation rate E3 of cotton cloth. The specific calculation process is:
[0172]
[0173] When the deformation rate E3> the preset threshold Q5, it means that there is a problem with the cotton weaving structure and the cotton design has defects, and a defect assessment report is generated.
[0174] The degree of variability of cotton cloth is determined by analyzing the warp and weft density of cotton cloth in a stretched state. When the warp and weft density in a stretched state varies greatly compared to the warp and weft density in a natural state, it indicates that the cotton cloth is volatile and the structural design is unreasonable. Feedback is provided to improve the system evaluation dimension and ensure the accuracy of the system.
[0175] Real-time data information also includes real-time dimensional data, and the evaluation report generation process also includes:
[0176] collecting real-time image data of the cotton cloth after it is kept under a preset tension for a preset period of time and then stored again in a natural state for a preset period of time, to obtain fifth cotton cloth image data;
[0177] segmenting the fifth cotton cloth image using the first preset unit size, and segmenting the fifth cotton cloth image into a plurality of second-type sub-regions;
[0178] It should be noted that the second type of sub-area has the same size as the first area;
[0179] Randomly collect the longitude and latitude densities of multiple second-type sub-areas as sample data, namely Se1, Se2, Se3, ..., Sen;
[0180] Get any longitude and latitude density Sen. When Sen < V·S, mark the longitude and latitude density as abnormal data, where V is the preset standard value.
[0181] Count the number of sample data N1, and then count the number of abnormal data N2;
[0182] Use E4=N2 / N1 to calculate the abnormal data production ratio;
[0183] When the abnormal data proportion E4 is greater than the preset threshold Q6, it indicates that there is a problem with the tensile strength of the cotton cloth and there is a defect in the design of the cotton cloth, and a defect assessment report is generated.
[0184] The recovery performance of the cotton cloth can be judged by analyzing the changes in the warp and weft density of the cotton cloth after stretching. When the warp and weft density of the cotton cloth after standing for a period of time changes significantly compared with the warp and weft density in its natural state, it indicates that the cotton cloth has undergone permanent deformation and the structural design is unreasonable. Feedback is provided to further improve the evaluation capability of the system.
[0185] Real-time data information also includes real-time gas flow data. The real-time data information also includes the generation process of real-time assessment reports.
[0186] When the usage data is the second usage, the second usage is winter warmth;
[0187] Collect real-time airflow data of the cotton cloth after the second treatment. The second treatment process is as follows: under the specified sample area, pressure drop, and time conditions, place the sample between the upper and lower test chambers of the air permeability tester and clamp it to ensure sealing;
[0188] Calculate the air permeability E5 of cotton cloth. The specific calculation process is:
[0189] E5=Lq / As×0.167;
[0190] Among them, Lq is the air flow data, As is the test area;
[0191] It should be noted that Lq is the air flow rate (L / min), As is the test area (cm 2 ), 0.167 is the conversion factor, L / min×cm 2 Convert to mm / s;
[0192] For example, if the measured air flow rate Lq is 10 L / min and the test area As is 20 cm 2 , then the air permeability E5 = 10 / 20 × 0.167 = 0.835 mm / s.
[0193] When the air permeability E5 is less than the preset threshold Q7, it indicates that there is a problem with the air permeability of the cotton cloth and there is a defect in the design of the cotton cloth, and a defect assessment report is generated.
[0194] When the warp and weft density is high and the structure is tight, the breathability of cotton cloth is relatively weak; however, in actual use, a certain degree of breathability is required to ensure wearing comfort; testing the breathability of cotton cloth can improve the practicality of system evaluation.
[0195] The process of generating the opinion report is as follows:
[0196] Read historical data information and defect assessment reports, obtain defect parameter indicators in the defect assessment report, search for good assessment reports in historical data, and then read parameter information in the good assessment report; obtain first type indicator data of defect parameter indicators in the good assessment report, mark the first type indicator data to generate an opinion report.
[0197] The first type of indicator data is the defect indicator data that appears during cotton cloth testing. Appropriate indicator data is screened out through historical data for recommendation, which assists designers in designing cotton cloth and improves the use value of the system.
[0198] Among them, the import module stores standard indicator parameters, and the specific processing process of the import module is as follows:
[0199] Obtain usage data of the cotton cloth design, compare the usage data with standard index parameters, and obtain the index threshold value of the cotton cloth.
[0200] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of the technical features being referred to. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "plurality" means at least two, such as two, three, etc., unless otherwise specifically defined.
[0201] In the description of this specification, the reference terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" mean that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art can combine and combine different embodiments or examples described in this specification and features of different embodiments or examples without contradiction.
[0202] Although the embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are illustrative and are not to be construed as limitations on the present invention. A person skilled in the art may change, modify, replace and modify the above embodiments within the scope of the present invention.
Claims
1. A cotton fabric design automated evaluation system, characterized in that: Including data acquisition module, preprocessing module, database module, import module, data processing module, data output module; The data acquisition module is used to collect real-time data information of cotton cloth in different states, and the real-time data information includes real-time image data; The pre-processing module is used to receive real-time image data and perform denoising and enhancement on the real-time image data; The database module is used to store historical data information; The import module is used to import the design usage data of the cotton cloth and match the index threshold of the cotton cloth according to the usage data of the cotton cloth; The data processing module is used to receive real-time data information, historical data information and indicator thresholds, analyze the real-time data information according to the indicator thresholds, obtain the performance data of the cotton cloth, and generate an evaluation report; then obtain historical data information, compare and screen the evaluation report based on the historical data information, and generate an opinion report; The data output module is used to receive and output evaluation reports and opinion reports; The real-time data information also includes real-time brightness data. The evaluation report includes an excellent evaluation report and a defect evaluation report. The generation process of the evaluation report is as follows: Collecting real-time image data of the cotton cloth in a natural state to obtain first cotton cloth image data; Segmenting the first cotton cloth image using a first preset unit size to divide the first cotton cloth image into a plurality of first sub-regions; Count the number of warp yarns a and the number of weft yarns b in the cotton cloth to obtain the warp and weft density S = a·b; Calculate the latitude and longitude density of each first sub-region separately and obtain the average latitude and longitude density of multiple first sub-regions Import the index threshold W1 of warp and weft density and evaluate the first quality E1 of warp and weft density. The specific calculation process is as follows: Collecting real-time impact data of the cotton cloth on the transparent carrier at a first angle to obtain second cotton cloth image data; Segmenting the second cotton cloth image using a second preset unit size to divide the second cotton cloth image into a plurality of second sub-regions; A second sub-region is randomly selected, and real-time brightness data of the second sub-region is obtained. The brightness difference ΔU at different positions in the second sub-region is calculated. When ΔU is greater than a preset threshold Q1, the second sub-region is segmented, and the area with low brightness data is segmented into a flat area, and the area with high brightness data is segmented into a wrinkled area. Using a third preset unit size to divide the second sub-region into a plurality of unit rectangles; Count the number of complete unit rectangles C1 and the number of incomplete unit rectangles C2 in the wrinkle area; Then count the number D1 of complete unit rectangles and the number D2 of incomplete unit rectangles in the second sub-region; The second quality E2 of cotton cloth flatness is evaluated by the following calculation process: Assign a correction value r1 to the first quality E1, and then assign a correction value r2 to the second quality E2, and calculate the performance parameter F of the cotton cloth. The specific calculation process is: F=r1·E1+r2·E2; Where r1+r2=1, and r1>r2; When the performance parameter F is less than the preset threshold Q2, it indicates that the cotton cloth is reasonably designed and an excellent evaluation report is generated; When the performance parameter F is used ≥ the preset threshold Q2, it indicates that there is a defect in the cotton cloth design, and a defect assessment report is generated.
2. The automated cotton fabric design evaluation system according to claim 1, characterized in that: The specific processing process of the pre-processing module is as follows: Import real-time image data to obtain real-time image data; Divide the image evenly into multiple block units; Use the multithreaded programming library to create threads; Distribute the divided block units evenly to each thread; In each thread, the mean filtering algorithm and histogram equalization algorithm are applied to the assigned block units for processing; After all threads have completed processing, the processed block units are merged into a complete image and output.
3. The automated cotton fabric design evaluation system according to claim 1, wherein: When the performance parameter F is less than the preset threshold Q2, the evaluation process of the warp and weft density of the cotton cloth further includes: collecting real-time image data of the cotton cloth after a first processing to obtain third cotton cloth image data, wherein the first processing process comprises: polishing the cotton cloth along a circular arc trajectory using a friction head at a certain pressure and speed, and marking a boundary line of the circular arc trajectory on the cotton cloth; Multiple unit detection areas are randomly established within the circular trajectory; Count the number of hair balls in each unit detection area, namely M1, M2, M3, ..., Mn; Get the average number of hair balls When the average number of hair balls When , it means that the warp and weft yarns of the cotton cloth are not arranged tightly, the cotton cloth design has defects, and a defect assessment report is generated.
4. The automated cotton fabric design evaluation system according to claim 3, wherein: When the average number of hair balls When the real-time data information also includes real-time size data, the evaluation process of the warp and weft density of the cotton cloth further includes: Import the third cotton cloth image data to obtain the arc trajectory; Three reference points are randomly obtained on the outer boundary of the arc trajectory, two adjacent reference points are connected to obtain two line segments, and perpendicular bisectors of the two line segments are respectively drawn to obtain the intersection point T of the two perpendicular bisectors; Collect the dimension Lr1 from the intersection point T to the inner boundary of the arc track, and collect the dimension Lr2 from the intersection point T to the outer boundary of the arc track; With the intersection point T as the center, an arc is made with a radius Rt = (Lr1 + Lr2) / 2 to obtain the virtual center line of the circular trajectory; Select a point on the virtual center line as the center to create multiple tangent standard circles of the same size. The standard circles are located within the arc trajectory. Label the standard circles in sequence; Create a rectangular coordinate system, with the ordinate representing the number of hair balls within the standard circle and the abscissa representing the standard circle number, and establish a curve graph P; Continuously obtain several checkpoints on the curve P and calculate the slope K of adjacent checkpoints respectively. The specific calculation process is as follows: K = ΔMr / ΔL; Where ΔMr is the difference in the number of hair balls between two adjacent standard circles, and ΔL is the distance between the horizontal coordinates of the calibration points. Calculate the rate of change K' of the slope K. The specific calculation process is: Among them, Ka and Kb are the slope values of two adjacent slopes respectively; When the change rate K'> the preset threshold Q4, it indicates that the density distribution of the warp and weft yarns of the cotton cloth is uneven, and there are defects in the design of the cotton cloth, and a defect assessment report is generated.
5. The automated cotton fabric design evaluation system according to claim 4, characterized in that: The process of obtaining the checkpoints is as follows: Read the curve graph P; Create a virtual tangent line on the graph P and mark it when the virtual tangent line is parallel to the horizontal axis; Read the marked virtual tangent line and obtain the tangent point between the virtual tangent line and the curve graph; The cut points are marked to generate checkpoint bits.
6. The cotton fabric design automated evaluation system according to claim 1, characterized in that: The generation process of the assessment report further includes: When the purpose data is the first purpose: Collecting real-time image data of the cotton cloth under a preset tension to obtain fourth cotton cloth image data; segmenting the fourth cotton cloth image using a first preset unit size, and segmenting the fourth cotton cloth image into a plurality of first-type sub-regions; Count the longitude and latitude densities of each first-type sub-area and obtain the average longitude and latitude density Calculate the deformation rate E3 of cotton cloth. The specific calculation process is: When the deformation rate E3 is greater than the preset threshold value Q5, it indicates that there is a problem with the cotton cloth weaving structure and a defect in the cotton cloth design, and a defect assessment report is generated.
7. The automated cotton fabric design evaluation system according to claim 6, characterized in that: The real-time data information also includes real-time dimension data, and the generation process of the evaluation report further includes: collecting real-time image data of the cotton cloth after it is kept under a preset tension for a preset period of time and then stored again in a natural state for a preset period of time, to obtain fifth cotton cloth image data; segmenting the fifth cotton cloth image using the first preset unit size, and segmenting the fifth cotton cloth image into a plurality of second-type sub-regions; Randomly collect the longitude and latitude densities of multiple second-type sub-areas as sample data, namely Se1, Se2, Se3, ..., Sen; Get any longitude and latitude density Sen, when When , the latitude and longitude density is marked as abnormal data, and V is the preset standard value; Count the number of sample data N1, and then count the number of abnormal data N2; Use E4=N2 / N1 to calculate the abnormal data production ratio; When the abnormal data proportion E4 is greater than the preset threshold Q6, it indicates that there is a problem with the tensile strength of the cotton cloth and there is a defect in the design of the cotton cloth, and a defect assessment report is generated.
8. The automated cotton fabric design evaluation system according to claim 1, characterized in that: The real-time data information also includes real-time air flow data. The real-time data information also includes real-time. The generation process of the evaluation report also includes: When the usage data is for secondary use: Collecting real-time airflow data after the cotton cloth undergoes a second treatment process, wherein the second treatment process includes placing the sample between the upper and lower test chambers of the air permeability tester under specified conditions of sample area, pressure drop, and time, and clamping to ensure a tight seal. Calculate the air permeability E5 of cotton cloth. The specific calculation process is: E5=Lq / As×0.167; Among them, Lq is the air flow data, As is the test area; When the air permeability E5 is less than the preset threshold Q7, it indicates that there is a problem with the air permeability of the cotton cloth and there is a defect in the design of the cotton cloth, and a defect assessment report is generated.
9. The cotton fabric design automated evaluation system according to claim 1, characterized in that: The process of generating the opinion report is as follows: Read historical data information and defect assessment reports, obtain defect parameter indicators in the defect assessment report, search for good assessment reports in historical data, and then read parameter information in the good assessment report; obtain first type indicator data of defect parameter indicators in the good assessment report, mark the first type indicator data to generate an opinion report.
Citation Information
Patent Citations
Textile defect detection system based on automation
CN118731045A