CN111665244B - Method based on textile fiber identification and component detection system - Google Patents
Method based on textile fiber identification and component detection system Download PDFInfo
- Publication number
- CN111665244B CN111665244B CN201910163581.3A CN201910163581A CN111665244B CN 111665244 B CN111665244 B CN 111665244B CN 201910163581 A CN201910163581 A CN 201910163581A CN 111665244 B CN111665244 B CN 111665244B
- Authority
- CN
- China
- Prior art keywords
- fiber
- images
- neural network
- fibers
- abnormal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 239000000835 fiber Substances 0.000 title claims abstract description 367
- 239000004753 textile Substances 0.000 title claims abstract description 30
- 238000000034 method Methods 0.000 title claims abstract description 23
- 238000001514 detection method Methods 0.000 title claims abstract description 21
- 230000002159 abnormal effect Effects 0.000 claims abstract description 57
- 238000004458 analytical method Methods 0.000 claims abstract description 24
- 238000001914 filtration Methods 0.000 claims abstract description 24
- 238000012634 optical imaging Methods 0.000 claims abstract description 22
- 238000013528 artificial neural network Methods 0.000 claims description 51
- 238000012795 verification Methods 0.000 claims description 27
- 238000012549 training Methods 0.000 claims description 23
- 230000003287 optical effect Effects 0.000 claims description 7
- 238000002372 labelling Methods 0.000 claims description 6
- 238000004519 manufacturing process Methods 0.000 claims description 3
- 238000012545 processing Methods 0.000 claims description 3
- 238000012217 deletion Methods 0.000 claims 1
- 230000037430 deletion Effects 0.000 claims 1
- 239000000126 substance Substances 0.000 description 5
- 239000011521 glass Substances 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 210000004209 hair Anatomy 0.000 description 3
- 239000012188 paraffin wax Substances 0.000 description 3
- 210000002268 wool Anatomy 0.000 description 3
- 241001465754 Metazoa Species 0.000 description 2
- QAOWNCQODCNURD-UHFFFAOYSA-N Sulfuric acid Chemical compound OS(O)(=O)=O QAOWNCQODCNURD-UHFFFAOYSA-N 0.000 description 2
- 230000004075 alteration Effects 0.000 description 2
- 239000006059 cover glass Substances 0.000 description 2
- 238000007689 inspection Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 229920002994 synthetic fiber Polymers 0.000 description 2
- 239000012209 synthetic fiber Substances 0.000 description 2
- 235000017166 Bambusa arundinacea Nutrition 0.000 description 1
- 235000017491 Bambusa tulda Nutrition 0.000 description 1
- 241000282836 Camelus dromedarius Species 0.000 description 1
- 244000025254 Cannabis sativa Species 0.000 description 1
- 235000012766 Cannabis sativa ssp. sativa var. sativa Nutrition 0.000 description 1
- 235000012765 Cannabis sativa ssp. sativa var. spontanea Nutrition 0.000 description 1
- 229920003043 Cellulose fiber Polymers 0.000 description 1
- 229920000742 Cotton Polymers 0.000 description 1
- 241000196324 Embryophyta Species 0.000 description 1
- 244000068988 Glycine max Species 0.000 description 1
- 235000010469 Glycine max Nutrition 0.000 description 1
- 241000219146 Gossypium Species 0.000 description 1
- 229920000433 Lyocell Polymers 0.000 description 1
- 241000283973 Oryctolagus cuniculus Species 0.000 description 1
- 244000082204 Phyllostachys viridis Species 0.000 description 1
- 235000015334 Phyllostachys viridis Nutrition 0.000 description 1
- 239000004952 Polyamide Substances 0.000 description 1
- 239000004743 Polypropylene Substances 0.000 description 1
- 241001416177 Vicugna pacos Species 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000004913 activation Effects 0.000 description 1
- 239000010425 asbestos Substances 0.000 description 1
- 239000011425 bamboo Substances 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 235000009120 camo Nutrition 0.000 description 1
- 210000000085 cashmere Anatomy 0.000 description 1
- 235000005607 chanvre indien Nutrition 0.000 description 1
- 239000003153 chemical reaction reagent Substances 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000004090 dissolution Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 229920001971 elastomer Polymers 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000003203 everyday effect Effects 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 239000003365 glass fiber Substances 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 239000011487 hemp Substances 0.000 description 1
- 239000012535 impurity Substances 0.000 description 1
- 239000007788 liquid Substances 0.000 description 1
- 239000008267 milk Substances 0.000 description 1
- 210000004080 milk Anatomy 0.000 description 1
- 235000013336 milk Nutrition 0.000 description 1
- 239000002557 mineral fiber Substances 0.000 description 1
- 238000003062 neural network model Methods 0.000 description 1
- 238000010606 normalization Methods 0.000 description 1
- 229920002239 polyacrylonitrile Polymers 0.000 description 1
- 229920002647 polyamide Polymers 0.000 description 1
- 229920000728 polyester Polymers 0.000 description 1
- -1 polypropylene Polymers 0.000 description 1
- 229920001155 polypropylene Polymers 0.000 description 1
- 229920006306 polyurethane fiber Polymers 0.000 description 1
- 238000011176 pooling Methods 0.000 description 1
- 239000004627 regenerated cellulose Substances 0.000 description 1
- 229920006297 regenerated protein fiber Polymers 0.000 description 1
- 229910052895 riebeckite Inorganic materials 0.000 description 1
- 239000011492 sheep wool Substances 0.000 description 1
- 241000894007 species Species 0.000 description 1
- 238000003756 stirring Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/01—Arrangements or apparatus for facilitating the optical investigation
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/01—Arrangements or apparatus for facilitating the optical investigation
- G01N2021/0106—General arrangement of respective parts
- G01N2021/0112—Apparatus in one mechanical, optical or electronic block
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
- G01N2021/8444—Fibrous material
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Chemical & Material Sciences (AREA)
- Analytical Chemistry (AREA)
- Biochemistry (AREA)
- General Health & Medical Sciences (AREA)
- General Physics & Mathematics (AREA)
- Immunology (AREA)
- Pathology (AREA)
- Treatment Of Fiber Materials (AREA)
- Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
Abstract
The invention discloses a method based on a textile fiber identification and component detection system, which mainly comprises the following steps: 1) And establishing a fiber intersection positioning model, an abnormal fiber filtering model and a fiber identification and quality analysis model. 2) And determining a sample to be detected. 3) An image of a sample to be detected is acquired using an optical imaging system. 4) Several images were obtained containing only individual fibers. 5) Several normal fiber images are obtained. 6) Introducing a plurality of normal fiber images into a fiber identification and quality analysis model, identifying the types of fibers in each normal fiber image, and calculating the fiber quality; 7) The upper computer obtains the component ratio of each type of fiber based on the type and quality of the fiber. The invention realizes the automatic identification of the textile components to be detected and the automatic analysis of the component mass proportion.
Description
Technical Field
The invention relates to the field of textile fiber component detection, in particular to a method based on a textile fiber identification and component detection system.
Background
Currently, textile component detection is mainly performed manually, and conventional methods include chemical methods and microscopic observation methods. The chemical method mainly utilizes the dissolution characteristics of different chemical reagents on different fibers at different temperatures to quantitatively analyze the components of part of the fibers. The microscopic observation method includes the steps that a inspector makes a textile sample to be measured into a glass slide, manually adjusts the movement of the microscope, and uses naked eyes to distinguish microscopic shapes of textile fibers, judge types of sample fabrics and measure sizes. The traditional textile component detection method mainly has the following defects:
1) The chemical method can generate a large amount of sulfuric acid waste liquid and the like, seriously pollute the detection place and harm the health of detection personnel, and can not be discharged and is difficult to recycle according to the national environmental protection requirement;
2) The whole process is implemented manually, the efficiency is low, a large amount of manpower resources are required to be consumed, and the manpower cost is high;
3) The textile inspection staff observe for 8-10 hours by using a microscope every day, and the textile inspection staff has long time, high strength and strong repeatability, can generate fatigue after long-time work, and causes the accuracy to be reduced.
Therefore, there is a need to introduce new pollution-free, automated, unmanned new technologies into the textile component detection industry to address various drawbacks of conventional detection methods.
Disclosure of Invention
The object of the present invention is to solve the problems of the prior art.
The technical scheme adopted for realizing the aim of the invention is that the method based on the textile fiber identification and component detection system mainly comprises the following steps:
1) And establishing a fiber intersection positioning model, an abnormal fiber filtering model and a fiber identification and quality analysis model, and storing the fiber intersection positioning model, the abnormal fiber filtering model and the fiber identification and quality analysis model in an upper computer.
The main steps for establishing the fiber intersection point positioning model are as follows:
i) And acquiring a plurality of crossed fiber images with the same size by using an optical imaging system, marking fiber crossing points in the crossed fiber images, and labeling.
II) based on the marked cross fiber image, respectively establishing a cross fiber training set and a cross fiber verification set.
III) inputting the crossed fiber training set into a neural network to train the neural network.
And IV) inputting the crossed fiber verification set into a neural network, verifying the neural network, and adjusting parameters of the neural network according to a verification result so as to obtain a fiber cross point positioning model.
The main steps of building the abnormal fiber filter model are as follows:
i) And acquiring a plurality of images with the same size and containing abnormal fibers by using an optical imaging system, marking according to the abnormal conditions in the images, and labeling. The image containing abnormal fibers is a square convolution kernel with equal length and width.
II) based on a plurality of images containing abnormal fibers, establishing an abnormal fiber training set and an abnormal fiber verification set.
III) inputting the abnormal fiber training set into a neural network, and training the neural network.
And IV) inputting the abnormal fiber verification set into a neural network, verifying the neural network, and adjusting parameters of the neural network according to a verification result so as to obtain an abnormal fiber filtering model.
The main steps for establishing the fiber identification and quality analysis model are as follows:
i) The method comprises the steps of obtaining a plurality of images containing various fibers with the same size by using an optical imaging system, and positioning and splitting a plurality of fibers in the images into a plurality of single fiber images by using a fiber intersection positioning module.
II) processing a plurality of single fiber images to obtain a plurality of images with equal length and width and same size. The processed single fiber image is a square convolution kernel with equal length and width. The processed single fiber images are classified and marked according to the fiber types, and the single fiber images are labeled.
III) acquiring training sets and verification sets of different types of fibers based on the classified single fiber images.
IV) inputting training sets of different types of fibers into the neural network to train the neural network.
And V) inputting the verification set of different types of fibers into a neural network, verifying the neural network, and adjusting parameters of the neural network according to a verification result to obtain a fiber identification and quality analysis model.
2) And determining a sample to be detected, and manufacturing the sample to be detected into a slide.
The sample to be detected is a textile.
3) An image of a sample to be detected is acquired using an optical imaging system.
The optical imaging system is a microscope.
4) The camera shoots the optical image of the sample to be detected, and a plurality of images of the sample to be detected are obtained and sent to the upper computer.
5) The upper computer inputs images of a plurality of samples to be detected into the fiber intersection point positioning model.
6) The fiber crossing point positioning model positions and deletes fiber crossing points in the image of the sample to be detected.
The main steps of the fiber intersection point positioning model for deleting fiber intersection points are as follows:
i) The center position of the crossing point is found according to the fiber crossing point positioning model, and the width of the fiber is dynamically predicted by a neural network and is marked as D.
II) in the image, a circular area C with the center of the crossing point as the center is determined, and the radius size is mainly determined by the fiber width D and the neural network prediction dynamics.
III) replacing the original pixels of the C area with pixel values similar to the background color of the image, and deleting the cross points. Wherein the ideal value of the pixel RGB close to the background color is the average value of all the pixel RGB values except the fiber, and the three channel values are marked as [ R, G, B ].
And the upper computer splits the image after deleting the fiber crossing points to obtain a plurality of images containing single fibers.
7) Inputting a plurality of images containing single fibers into an abnormal fiber filtering model, and filtering the abnormal fiber images by using a softmax function in the abnormal fiber filtering model to obtain a plurality of normal fiber images. The normal fiber image is a complete single fiber or an incomplete single fiber.
8) And (3) introducing a plurality of normal fiber images into a fiber identification and quality analysis model, identifying the types of the fibers in each normal fiber image, and calculating the fiber quality.
9) The upper computer obtains the component ratio of each type of fiber based on the type and quality of the fiber.
i=1, 2,3, …, n. n is the total number of fiber categories.
The technical effect of the invention is undoubted. The invention realizes the automatic identification of the textile components to be detected and the automatic analysis of the component mass proportion, solves the problem that the traditional identification system can not effectively identify the cross fiber types and the quality through the fiber cross point positioning model, and improves the efficiency and the accuracy of fiber identification.
Drawings
FIG. 1 is an image of a sample to be tested;
FIG. 2 is a complete single fiber image;
FIG. 3 is an incomplete single fiber image;
FIG. 4 is a fiber crossing point positioning model;
FIG. 5 is an abnormal fiber filtration model;
FIG. 6 is an abnormal fiber filtration model process flow;
fig. 7 is a fiber identification and mass analysis model.
Detailed Description
The present invention is further described below with reference to examples, but it should not be construed that the scope of the above subject matter of the present invention is limited to the following examples. Various substitutions and alterations are made according to the ordinary skill and familiar means of the art without departing from the technical spirit of the invention, and all such substitutions and alterations are intended to be included in the scope of the invention.
Example 1:
referring to fig. 1-3, a method based on a textile fiber identification and component detection system, generally comprises the steps of:
1) And establishing a fiber intersection positioning model, an abnormal fiber filtering model and a fiber identification and quality analysis model, and storing the fiber intersection positioning model, the abnormal fiber filtering model and the fiber identification and quality analysis model in an upper computer.
The main steps for establishing the fiber intersection point positioning model are as follows:
i) And acquiring a plurality of crossed fiber images with the same size by using an optical imaging system, marking fiber crossing points in the crossed fiber images, and labeling.
II) based on the marked cross fiber image, respectively establishing a cross fiber training set and a cross fiber verification set.
III) inputting the crossed fiber training set into a neural network to train the neural network.
IV) inputting the crossed fiber verification set into a neural network, verifying the neural network, and adjusting parameters of the neural network according to the verification result, thereby obtaining a fiber cross point positioning model, as shown in fig. 4.
The fiber crossing point positioning model includes:
a first layer: the neural network model used in the embodiment mainly comprises LeNet-5, alexNet, googLeNet, VGG, etc., and VGG_base is adopted in the embodiment.
Second to eleven layers:
Conv6-Conv7-Conv8_2-Conv9_2-Conv10_2-Conv11_2。
third layer: full link layer.
The main steps of building the abnormal fiber filter model are as follows:
i) And acquiring a plurality of images with the same size and containing abnormal fibers by using an optical imaging system, marking according to the abnormal conditions in the images, and labeling. The image containing abnormal fibers is a square convolution kernel with equal length and width.
II) based on a plurality of images containing abnormal fibers, establishing an abnormal fiber training set and an abnormal fiber verification set.
III) inputting the abnormal fiber training set into a neural network, and training the neural network.
IV) inputting the abnormal fiber verification set into the neural network, verifying the neural network, and adjusting parameters of the neural network according to the verification result, thereby obtaining an abnormal fiber filtering model, as shown in fig. 5 and 6.
The structure of the abnormal fiber filter model comprises:
a first layer: 2D convolution of 5x5, 32 depths.
A second layer: 2D convolution at 5x5, 64 depth.
Third layer: a fluttentizer.
Fourth layer: full connection layer without activation function.
Fifth layer: softmax classification.
The main steps for establishing the fiber identification and quality analysis model are as follows:
i) The method comprises the steps of obtaining a plurality of images containing various fibers with the same size by using an optical imaging system, and positioning and splitting a plurality of fibers in the images into a plurality of single fiber images by using a fiber intersection positioning module.
II) processing a plurality of single fiber images to obtain a plurality of images with equal length and width and same size. The processed single fiber image is a square convolution kernel with equal length and width. The processed single fiber images are classified and marked according to the fiber types, and the single fiber images are labeled.
III) acquiring training sets and verification sets of different types of fibers based on the classified single fiber images.
IV) inputting training sets of different types of fibers into the neural network to train the neural network.
V) inputting the verification set of different types of fibers into the neural network, verifying the neural network, and adjusting parameters of the neural network according to the verification result, so as to obtain a fiber identification and quality analysis model, as shown in figure 7. The fiber identification and mass analysis model comprises:
(Input)-(Stem)-(5×Inception-resnet-A)-(Reduction-A)-(10×Inceptio n-resnet-B)-(Reduction-B)-(5×Inception-resnet-C)-(Average-Pooling)-(Dropout)-(Softmax)
wherein input is a 3-channel picture with the resolution of 299 multiplied by 299, stem consists of 11 convolution layers and 2 Maxpool layers, the Reduction-resnet-A consists of 7 convolution layers and 1 direct communication path, the Reduction-A consists of 4 convolution layers and 1 MaxPool layer, the Reduction-resnet-B consists of 5 convolution layers and 1 direct communication path, the Reduction-B consists of 7 convolution layers and 1 MaxPool layer, and the Reduction-resnet-C consists of 5 convolution layers and 1 direct communication path.
2) Determining a sample to be detected, and manufacturing the sample to be detected into a slide, wherein the main steps are as follows:
2.1 Splitting the textile to be observed into samples of suitable size, and subsequently placing the samples into a slicer.
2.2 A small amount of paper towels were placed over the fibers.
2.3 The slicers are closed and no gap is determined between the slicers, so that the fiber can be clamped stably.
2.4 Before and after cutting off the excess fibers.
2.5 Rotating the push button so that a small portion of the fibers are pushed out of the slicer.
2.6 Cutting off the part to push out the fiber, ensuring that the subsequent rotary pushing action effectively pushes out the fiber.
2.7 Rotary push button), 10 lattice (2 lattice) of wool fiber and 8 lattice (2 lattice) of cotton-flax fiber
2.8 The fiber is cut out after being pushed out by rotation and torsion and is placed in the center of the glass slide.
2.9 Paraffin is taken. The rubber head dropper is suspended above the center of the glass slide, paraffin is slowly dripped into the glass slide, and the amount of the paraffin is controlled to be smaller.
2.10 Needle-used to stir the fiber uniformly
2.11 Cover glass, use the needle to support the cover glass, cover slowly, finish the pelleter.
The sample to be detected is a textile.
3) An image of the sample to be detected is acquired by an optical imaging system and is input into a fiber intersection positioning model.
The optical imaging system is a microscope.
4) The camera shoots the optical image of the sample to be detected, and a plurality of images of the sample to be detected are obtained and sent to the upper computer.
5) The upper computer inputs images of a plurality of samples to be detected into the fiber intersection point positioning model.
6) The fiber crossing point positioning model positions and deletes fiber crossing points in the image of the sample to be detected.
The main steps of the fiber intersection point positioning model for deleting fiber intersection points are as follows:
i) The center position of the crossing point is found according to the fiber crossing point positioning model, and the width of the fiber is dynamically predicted by a neural network and is marked as D. The width of the fibers ranges from 0 to 50 microns.
II) in the image, a circular area C taking the center position of the cross point as the center of the circle is determined, and the radius size is mainly determined by the fiber width D and the neural network prediction dynamics, and the range is between 0.3D and 1.5D.
III) replacing the original pixels of the C area with pixel values similar to the background color of the image, and deleting the cross points. Wherein the ideal value of the pixel RGB close to the background color is the average value of all the pixel RGB values except the fiber, and the three channel values are marked as [ R, G, B ]. The background color close pixel RGB error range should be practically determined to be no more than + -20, i.e., [ R + -20, G + -20, B + -20 ].
And the upper computer splits the image after deleting the fiber crossing points to obtain a plurality of images containing single fibers.
7) Inputting a plurality of images containing single fibers into an abnormal fiber filtering model, and filtering the abnormal fiber images by using a softmax function in the abnormal fiber filtering model to obtain a plurality of normal fiber images. Abnormal fiberThe image refers to the case where the fiber in the image is broken or the image is blurred, and the image contains impurities, bubbles, and the like. The normal fiber image is a complete single fiber or an incomplete single fiber, and the fiber length ranges from [0.1mm,0.5mm]The fiber width is less than 50um. Softmax function σ (z) = (σ) 1 (z),…,σ m (z)) is defined as follows:
wherein m is the total number of categories. j represents an arbitrary category. Z is Z j And the linear prediction result of the j-th category.
Wherein,is the linear prediction result of the g category, the formula is substituted into the formula to be nonnegative, and the sum of all terms is divided for normalization to obtain a value sigma g =σ g (z) is the probability that data x belongs to category g. x is training set data.
The goal of Softmax regression is then to minimize the loss function in the objective function according to the principle of maximizing likelihood function, so the principle of minimizing log likelihood function is used. The definition of the Softmax-Loss function is therefore as follows:
L(y,o)=-log(o y )
y is the output of the abnormal fiber filter model. O (O) y Representing the output function.
Z y Is the linear prediction result of the y-th class.
By minimizing the loss function, an optimal model of the fitted data can be obtained.
8) And (3) introducing a plurality of normal fiber images into a fiber identification and quality analysis model, identifying the types of the fibers in each normal fiber image, and calculating the fiber quality.
In a fiber picture in which the fiber species has been identified, equidistant scanning is performed along the width of the picture (shorter side of the picture), and in each scanning direction, the distance d of the two edges of the fiber from the same side (longer side of the picture) is detected 1 And d 2 The absolute value of the difference between the two distances is |d 1 -d 2 | d obtained for each scanning direction 1 -d 2 And taking an average value, wherein the average value is recorded as the width of the fiber, and finally, the wide band of the fiber is put into a mass calculation formula corresponding to the fiber to obtain the relative mass of the fiber.
9) The upper computer obtains the component ratio of each type of fiber based on the type and quality of the fiber.
i=1, 2,3, …, n. n is the total number of fiber categories.
The mass proportion of the textile components is calculated in detail as follows.
The average diameter D and standard deviation S of a component fiber are calculated according to the following formula:
wherein D is the average diameter of the fiber in micrometers (μm), A is the group median in micrometers (μm), F is the number of measured roots, S is the standard deviation in micrometers (μm), and the test results of the average diameter and standard deviation are trimmed to two decimal places according to GB/T8170.
The mass percentages of the components are calculated according to the following formula:
wherein P is i Is the mass percentage of a certain component fiber, N i Count the number of the fibers of a certain component, D i The average diameter of the fiber is given in micrometers (mum), S i The average diameter standard deviation of the fibers of a certain component is expressed as micrometers (mu m) and ρ i The density of a component fiber is given in grams per cubic centimeter (g/cm 3).
Common animal fiber density meter
Fiber type | Density g/cm3 |
Cashmere (wool) | 1.30 |
Alpaca hair | 1.30 |
Sheep wool | 1.31 |
The textile category mainly includes natural fibers and chemical fibers. The natural fibers mainly comprise plant fibers such as cotton, hemp, bamboo, etc., animal fibers such as wool, silk, camel hair, rabbit hair, etc., mineral fibers such as glass fibers, asbestos, etc. The chemical fibers mainly include regenerated fibers and synthetic fibers. The regenerated fiber mainly comprises regenerated cellulose fiber such as tencel, modal, etc., regenerated protein fiber such as soybean fiber, milk fiber, etc. The synthetic fibers mainly comprise polyester fibers, polyamide fibers, polyacrylonitrile fibers, polyurethane fibers and polypropylene fibers.
Example 2:
a method based on a textile fiber identification and component detection system mainly comprises the following steps:
1) The optical imaging system performs optical imaging on a sample to be detected.
The camera shoots the optical image of the sample to be detected, obtains a plurality of images of the sample to be detected, and sends the images to the upper computer.
2) The upper computer sequentially guides the images of the samples to be detected into the fiber intersection point positioning model, and realizes automatic positioning and deleting of the fiber intersection points in the images.
The main steps of the fiber intersection point positioning model for deleting fiber intersection points are as follows:
i) And finding the center position of the crossing point according to the fiber crossing point positioning model.
II) in the image, a circular area C is determined which takes the center position of the crossing point as the center and takes the width dimension of the fiber in the image as the radius. The radius error is [ xx, xx ].
III) replacing the original pixels of the C area with pixel values similar to the background color of the image, and deleting the cross points.
3) And the upper computer splits the image after deleting the fiber crossing points to obtain a plurality of images containing single fibers.
4) And the upper computer guides a plurality of images containing single fibers into an abnormal fiber filtering model, filters the abnormal fiber images and obtains a plurality of normal fiber images. The fibers in the normal fiber image are all complete single fibers or incomplete single fibers, and in the embodiment, the length of the single fibers is 0.1mm, and the width of the fibers is 49um.
5) And the upper computer guides a plurality of normal fiber images into a fiber identification and quality analysis model, identifies the types of the fibers in each normal fiber image and calculates the fiber quality.
6) The upper computer obtains the component ratio of each type of fiber based on the type and the quality of the fiber;
i=1, 2,3, …, n; n is the total number of fiber categories.
Example 3:
a method based on a textile fiber identification and component detection system mainly comprises the following steps:
1) The optical imaging system performs optical imaging on a sample to be detected.
The camera shoots the optical image of the sample to be detected, obtains a plurality of images of the sample to be detected, and sends the images to the upper computer.
2) The upper computer sequentially guides the images of the samples to be detected into the fiber intersection point positioning model, and realizes automatic positioning and deleting of the fiber intersection points in the images.
The main steps of the fiber intersection point positioning model for deleting fiber intersection points are as follows:
i) And finding the center position of the crossing point according to the fiber crossing point positioning model.
II) in the image, a circular area C is determined which takes the center position of the crossing point as the center and takes the width dimension of the fiber in the image as the radius. The radius error is [ xx, xx ].
III) replacing the original pixels of the C area with pixel values similar to the background color of the image, and deleting the cross points.
3) And the upper computer splits the image after deleting the fiber crossing points to obtain a plurality of images containing single fibers.
4) And the upper computer guides a plurality of images containing single fibers into an abnormal fiber filtering model, filters the abnormal fiber images and obtains a plurality of normal fiber images. The fibers in the normal fiber image are all complete single fibers or incomplete single fibers, and in the embodiment, the length of the single fibers is 0.5mm, and the width of the fibers is 49um.
5) And the upper computer guides a plurality of normal fiber images into a fiber identification and quality analysis model, identifies the types of the fibers in each normal fiber image and calculates the fiber quality.
6) The upper computer obtains the component ratio of each type of fiber based on the type and the quality of the fiber;
i=1, 2,3, …, n; n is the total number of fiber categories.
Example 4:
a method based on a textile fiber identification and component detection system mainly comprises the following steps:
1) The optical imaging system performs optical imaging on a sample to be detected.
The camera shoots the optical image of the sample to be detected, obtains a plurality of images of the sample to be detected, and sends the images to the upper computer.
2) The upper computer sequentially guides the images of the samples to be detected into the fiber intersection point positioning model, and realizes automatic positioning and deleting of the fiber intersection points in the images.
The main steps of the fiber intersection point positioning model for deleting fiber intersection points are as follows:
i) And finding the center position of the crossing point according to the fiber crossing point positioning model.
II) in the image, a circular area C is determined which takes the center position of the crossing point as the center and takes the width dimension of the fiber in the image as the radius. The radius error is [ xx, xx ].
III) replacing the original pixels of the C area with pixel values similar to the background color of the image, and deleting the cross points.
3) And the upper computer splits the image after deleting the fiber crossing points to obtain a plurality of images containing single fibers.
4) And the upper computer guides a plurality of images containing single fibers into an abnormal fiber filtering model, filters the abnormal fiber images and obtains a plurality of normal fiber images. The fibers in the normal fiber image are all complete single fibers or incomplete single fibers, and in the embodiment, the length of the single fibers is 0.25mm, and the width of the fibers is 49um.
5) And the upper computer guides a plurality of normal fiber images into a fiber identification and quality analysis model, identifies the types of the fibers in each normal fiber image and calculates the fiber quality.
6) The upper computer obtains the component ratio of each type of fiber based on the type and the quality of the fiber;
i=1, 2,3, …, n; n is the total number of fiber categories.
Claims (5)
1. A method based on a textile fiber identification and component detection system, characterized by mainly comprising the following steps:
1) Establishing a fiber intersection positioning model, an abnormal fiber filtering model and a fiber identification and quality analysis model, and storing the fiber intersection positioning model, the abnormal fiber filtering model and the fiber identification and quality analysis model in an upper computer;
2) Determining a sample to be detected, and manufacturing the sample to be detected into a slide;
3) Acquiring an optical image of a sample to be detected by using an optical imaging system;
4) Shooting an optical image of a sample to be detected by a camera to obtain a plurality of images of the sample to be detected, and sending the images to an upper computer;
5) The upper computer inputs images of a plurality of samples to be detected into a fiber intersection point positioning model;
6) The fiber intersection point positioning model is used for positioning and deleting fiber intersection points in an image of a sample to be detected;
the main steps of the fiber intersection point positioning model for deleting fiber intersection points are as follows:
i) Finding the center position of the crossing point according to the fiber crossing point positioning model, dynamically predicting the width of the fiber by a neural network, and marking as D;
II) in the image, determining a circular area C taking the center position of the cross point as the center of a circle, wherein the radius size of the circular area C is mainly determined by the fiber width D and the neural network prediction dynamics;
III) adopting a pixel value similar to the background color of the image to replace the original pixel of the C area, so as to realize the deletion of the cross point; wherein the ideal value of the pixel RGB similar to the background color is the average value of all pixel RGB values except the fiber, and the three channel values are marked as [ R, G, B ];
the upper computer splits the image after deleting the fiber crossing points to obtain a plurality of images containing single fibers;
7) Inputting a plurality of images containing single fibers into an abnormal fiber filtering model, and filtering the abnormal fiber images by using a softmax function in the abnormal fiber filtering model to obtain a plurality of normal fiber images; the normal fiber image is a complete single fiber or an incomplete single fiber;
8) Introducing a plurality of normal fiber images into a fiber identification and quality analysis model, identifying the types of fibers in each normal fiber image, and calculating the fiber quality;
9) The upper computer obtains the component ratio of each type of fiber based on the type and the quality of the fiber;
n is the total number of fiber categories;
the main steps for establishing the fiber intersection point positioning model are as follows:
a1 Acquiring a plurality of crossed fiber images with the same size by utilizing an optical imaging system, marking fiber crossing points in the crossed fiber images, and labeling;
a2 Based on the marked cross fiber images, respectively establishing a cross fiber training set and a cross fiber verification set;
a3 Inputting the cross fiber training set into a neural network to train the neural network;
a4 Inputting the cross fiber verification set into a neural network, verifying the neural network, and adjusting parameters of the neural network according to a verification result so as to obtain a fiber cross point positioning model;
the main steps of building the abnormal fiber filter model are as follows:
b1 Acquiring a plurality of images with the same size and containing abnormal fibers by using an optical imaging system, marking according to abnormal conditions in the images, and labeling;
b2 Based on a plurality of images containing abnormal fibers, establishing an abnormal fiber training set and an abnormal fiber verification set;
b3 Inputting the abnormal fiber training set into a neural network, and training the neural network;
b4 Inputting the abnormal fiber verification set into the neural network, verifying the neural network, and adjusting parameters of the neural network according to the verification result, thereby obtaining an abnormal fiber filtering model.
2. A method based on a textile fiber identification and component detection system according to claim 1, wherein: the optical imaging system is a microscope.
3. A method based on a textile fibre identification and component detection system according to claim 1 or 2, characterized by: the sample to be detected is a textile.
4. A method based on a textile fiber identification and component detection system according to claim 1, wherein: the image containing abnormal fibers is a square convolution kernel with equal length and width.
5. A method based on a textile fiber identification and component detection system according to claim 1, wherein: the main steps for establishing the fiber identification and quality analysis model are as follows:
1) Acquiring a plurality of images with the same size and containing various fibers by using an optical imaging system, and positioning and splitting a plurality of fibers in the images into a plurality of single fiber images by using a fiber intersection positioning module;
2) Processing a plurality of single fiber images to obtain a plurality of images with the same length and width and the same size; the processed single fiber image is a square convolution kernel with equal length and width; classifying and marking the processed single fiber images according to fiber types, and marking the single fiber images;
3) Acquiring training sets and verification sets of different types of fibers based on the classified single fiber images;
4) Inputting training sets of different types of fibers into a neural network, and training the neural network;
5) Inputting the verification set of different types of fibers into the neural network, verifying the neural network, and adjusting parameters of the neural network according to the verification result to obtain a fiber identification and quality analysis model.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910163581.3A CN111665244B (en) | 2019-03-05 | 2019-03-05 | Method based on textile fiber identification and component detection system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910163581.3A CN111665244B (en) | 2019-03-05 | 2019-03-05 | Method based on textile fiber identification and component detection system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111665244A CN111665244A (en) | 2020-09-15 |
CN111665244B true CN111665244B (en) | 2024-03-19 |
Family
ID=72381209
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910163581.3A Active CN111665244B (en) | 2019-03-05 | 2019-03-05 | Method based on textile fiber identification and component detection system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111665244B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114693680A (en) * | 2022-05-31 | 2022-07-01 | 季华实验室 | Method for detecting textile fibers, electronic device and computer-readable storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012093206A (en) * | 2010-10-27 | 2012-05-17 | Toray Ind Inc | Inspection device of fiber-reinforced base material |
CN103673923A (en) * | 2013-12-25 | 2014-03-26 | 裘钧 | Curve fiber network structural morphology feature measurement method based on digital image processing |
CN106096613A (en) * | 2016-05-31 | 2016-11-09 | 哈尔滨工业大学深圳研究生院 | Image multi-target detection method and device based on corner feature |
CN106373119A (en) * | 2016-09-05 | 2017-02-01 | 广东工业大学 | Fiber detection method and system |
CN107909107A (en) * | 2017-11-14 | 2018-04-13 | 深圳码隆科技有限公司 | Fiber check and measure method, apparatus and electronic equipment |
CN108038838A (en) * | 2017-11-06 | 2018-05-15 | 武汉纺织大学 | A kind of cotton fibriia species automatic testing method and system |
CN108305287A (en) * | 2018-02-02 | 2018-07-20 | 天津工业大学 | A kind of textile material fibre diameter measurement method based on phase information |
-
2019
- 2019-03-05 CN CN201910163581.3A patent/CN111665244B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012093206A (en) * | 2010-10-27 | 2012-05-17 | Toray Ind Inc | Inspection device of fiber-reinforced base material |
CN103673923A (en) * | 2013-12-25 | 2014-03-26 | 裘钧 | Curve fiber network structural morphology feature measurement method based on digital image processing |
CN106096613A (en) * | 2016-05-31 | 2016-11-09 | 哈尔滨工业大学深圳研究生院 | Image multi-target detection method and device based on corner feature |
CN106373119A (en) * | 2016-09-05 | 2017-02-01 | 广东工业大学 | Fiber detection method and system |
CN108038838A (en) * | 2017-11-06 | 2018-05-15 | 武汉纺织大学 | A kind of cotton fibriia species automatic testing method and system |
CN107909107A (en) * | 2017-11-14 | 2018-04-13 | 深圳码隆科技有限公司 | Fiber check and measure method, apparatus and electronic equipment |
CN108305287A (en) * | 2018-02-02 | 2018-07-20 | 天津工业大学 | A kind of textile material fibre diameter measurement method based on phase information |
Non-Patent Citations (2)
Title |
---|
木棉和棉的自动识别;高亮;王旭;王荣武;;东华大学学报(自然科学版)(第01期);全文 * |
高亮 ; 王旭 ; 王荣武 ; .木棉和棉的自动识别.东华大学学报(自然科学版).2017,(第01期),全文. * |
Also Published As
Publication number | Publication date |
---|---|
CN111665244A (en) | 2020-09-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111665243B (en) | Textile fiber identification and component detection system | |
EP3785021B1 (en) | System and method for performing automated analysis of air samples | |
Álvarez et al. | Routine determination of plankton community composition and size structure: a comparison between FlowCAM and light microscopy | |
CN110383038B (en) | System and method for automated analysis of air samples | |
EP2239557B1 (en) | Method for measuring airborne biological hazardous agents | |
CN111289512B (en) | Rice grain alkali elimination value high-throughput determination method based on deep convolutional neural network | |
CN102637258A (en) | Method for creating online surface quality detection system defect library | |
CN111665244B (en) | Method based on textile fiber identification and component detection system | |
CN110020691A (en) | LCD screen defect inspection method based on the training of convolutional neural networks confrontation type | |
Gulfan et al. | Evaluating the usability and user experience of phytoplankton cell counter prototype | |
CN111833296A (en) | Automatic detection and verification system and method for bone marrow cell morphology | |
Gislason et al. | Comparison between automated analysis of zooplankton using ZooImage and traditional methodology | |
CN102628759A (en) | Preparation and detection method of textile fiber digitized slice and microscopic examination simulation method | |
PP et al. | Automated quality assessment of cocoons using a smart camera based system | |
CN111721765A (en) | Textile fiber identification and component detection system and use method thereof | |
Poulton et al. | Imaging flow cytometry for quantitative phytoplankton analysis-FlowCAM | |
CN115839954A (en) | Automatic gem producing area identification method based on gem inclusion combination | |
CN113418919A (en) | Textile fiber component qualitative and quantitative online analysis system and method | |
CN106918488A (en) | The method for quick identification of raw silks of fresh cocoons and dried cocoon raw silk | |
TWI654424B (en) | Method for improving gem identification efficiency | |
Li | Bivariate and trivariate analysis in flow cytometry: Phytoplankton size and fluorescence | |
CN111507954A (en) | Statistical method and machine-readable storage medium for reservoir fractures | |
DE102021004734B3 (en) | Method for automatic inspection of a variety of sheet-like plastic substrates | |
DE102012215806A1 (en) | Method for providing glass information and glass material | |
CN104132840A (en) | Rapid celloidin embedding method for discriminating special animal hair fibers |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |