CN114324354A - Textile flaw detection method based on machine vision template - Google Patents

Textile flaw detection method based on machine vision template Download PDF

Info

Publication number
CN114324354A
CN114324354A CN202111618425.5A CN202111618425A CN114324354A CN 114324354 A CN114324354 A CN 114324354A CN 202111618425 A CN202111618425 A CN 202111618425A CN 114324354 A CN114324354 A CN 114324354A
Authority
CN
China
Prior art keywords
textile
data
worn
detected
wearing
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.)
Pending
Application number
CN202111618425.5A
Other languages
Chinese (zh)
Inventor
焦阳博翰
沈人
朱聪强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Xinchang Information Technology Co ltd
Original Assignee
Hangzhou Xinchang Information Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hangzhou Xinchang Information Technology Co ltd filed Critical Hangzhou Xinchang Information Technology Co ltd
Priority to CN202111618425.5A priority Critical patent/CN114324354A/en
Publication of CN114324354A publication Critical patent/CN114324354A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)

Abstract

The invention discloses a textile flaw detection method based on a machine vision template, which comprises the following steps: s1, detecting template data, preparing a visual detection device, placing the qualified textile without defects on a detection table of the visual detection device, detecting various data of the qualified textile, recording S2 template data, obtaining various data of the qualified textile after the step S1 is finished, and recording the data into an analysis comparison computer, and S3, placing the textile. The invention has the beneficial effects that: by adopting the method, the length, the width, the thickness and the textile line gap of the textile are measured and compared respectively, the flaw detection precision can be ensured, the data detection when the textile is not worn and the textile is worn is simulated respectively, the service condition of the textile when people wear the textile can be simulated, the precision of a final detection result is improved, and the flaw detection precision can be ensured.

Description

Textile flaw detection method based on machine vision template
Technical Field
The invention relates to the technical field of textile detection, in particular to a textile flaw detection method based on a machine vision template.
Background
Textile, i.e. a product made by textile processing. The method comprises the steps of yarn, woven fabric, knitted fabric, braided fabric and the like, flaw sampling detection needs to be carried out on the textile in the production and manufacturing process of the textile, the conventional detection adopts a manual mode, and the mode is time-consuming, labor-consuming and low in efficiency. In the existing textile flaw detection, a visual detection mode is adopted for detection. Visual inspection is to use a robot to replace human eyes for measurement and judgment. The visual detection means that a machine vision product (namely an image shooting device which is divided into a CMOS (complementary metal oxide semiconductor) product and a CCD (charge coupled device) product) converts a shot target into an image signal, transmits the image signal to a special image processing system, and converts the image signal into a digital signal according to information such as pixel distribution, brightness, color and the like; in the existing textile visual detection method, only flaw detection of the textile when the textile is not worn is carried out, the detection result is general in accuracy, and the detection has certain limitation.
Disclosure of Invention
The invention mainly aims to provide a textile flaw detection method based on a machine vision template, which can effectively solve the problems in the background technology.
In order to achieve the purpose, the invention adopts the technical scheme that:
a textile flaw detection method based on a machine vision template comprises the following steps:
s1, detecting template data, preparing a visual detection device, placing the qualified textile without defects on a detection table of the visual detection device, and detecting each item of data of the qualified textile;
s2, inputting template data, obtaining various data of qualified textiles after the step S1 is completed, and inputting the data into an analysis comparison computer;
s3, placing the textile, and after the step S2 is finished, placing the textile needing visual detection on a detection table of a visual detection device to enable the textile to be consistent with the template in placement position and guarantee the textile to be consistent with the template in placement mode;
s4, measuring the length and width of the textile when the textile is not worn, after the step S3 is completed, measuring the length and width of the textile to be detected respectively by using a visual detection device, and feeding the measurement result back to the computer for storage;
s5, measuring the thickness of the textile when the textile is not worn, changing the orientation of a detection camera in a visual detection device after the step S4 is completed, measuring the thickness of the textile to be detected by using the visual detection device respectively, and feeding the measurement result back to a computer for storage;
s6, measuring the gaps of the textile threads when the textile threads are not worn, measuring the gaps of the textile threads in the textile to be detected by using a visual detection device after the step S5 is finished, and feeding back the measured data to a computer;
s7, comparing the data for the first time, and after the data of the textile is detected when the textile is not worn, transmitting the length and width data detected in the step S3, the thickness data detected in the step S4 and the textile line maintenance data detected in the step S5 to a comparison module of a computer, and comparing the data of the textile to be detected with the data of the qualified textile to obtain a comparison result;
s8, simulating the length and width measurement of the textile when the textile is worn, after the step S7 is completed, performing simulated wearing, placing the textile to be detected during the simulated wearing on a detection table of a visual detection device, measuring the length and width of the textile during the simulated wearing, and feeding the measurement result back to a computer;
s9, thickness measurement of the textile during wearing is simulated, when length and width detection of the textile during wearing is finished, the thickness measurement of the textile during wearing is carried out, and the measurement result is fed back to the computer;
s10, measuring the textile thread gap during the simulated wearing, after the step S9 is finished, measuring the textile thread gap of the textile during the simulated wearing by using a visual detection device, and feeding the measurement result back to the computer;
s11, comparing the data for the second time, namely comparing the data of the textile during the simulated wearing with the data of the qualified textile during the simulated wearing after the data of the textile during the simulated wearing are detected;
s12, comparing comprehensive data, namely after the step S11 is finished, putting the comparison result of the textile when the textile is not worn and the comparison result of the textile when the textile is simulated to be worn together for comparison;
and S13, outputting results, and outputting all comparison results after the step S12 is finished.
In step S1, when detecting the template data, each item of data is detected when the qualified textile is not worn and each item of data is detected when the textile is worn.
In the step S1, when detecting each item of data of the qualified textile, the length, width, thickness, and textile thread gap of the qualified textile in both the unworn state and the worn state are detected.
In step S1, the detection table of the visual detection device is a rotary structure, and rotates with the textile during detection.
In step S3, when the textile is placed, the textile is laid on the detection table of the visual detection device to avoid wrinkles.
In step S8, when wearing the simulation, different wearing simulations can be performed according to different body shapes to ensure that more data can be detected for comparison.
In the step S12, when the comparison of the integrated data is performed, the data of the textile when the textile is not worn and the data of the textile when the textile is simulated to be worn are respectively compared correspondingly.
Compared with the prior art, the invention has the following beneficial effects: by adopting the method, the length, the width, the thickness and the textile line gap of the textile are measured and compared respectively, the flaw detection precision can be ensured, the data detection when the textile is not worn and the textile is worn is simulated respectively, the service condition of the textile when people wear the textile can be simulated, the precision of a final detection result is improved, and the flaw detection precision can be ensured.
Drawings
FIG. 1 is a schematic process flow diagram of a textile defect detection method based on a machine vision template according to the present invention.
Detailed Description
In order to make the technical means, the creation characteristics, the achievement purposes and the effects of the invention easy to understand, the invention is further described with the specific embodiments.
Example 1
A method for detecting textile defects based on a machine vision template as shown in fig. 1 comprises the following steps:
s1, detecting template data, preparing a visual detection device, placing the qualified textile without defects on a detection table of the visual detection device, and detecting each item of data of the qualified textile;
s2, inputting template data, obtaining various data of qualified textiles after the step S1 is completed, and inputting the data into an analysis comparison computer;
s3, placing the textile, and after the step S2 is finished, placing the textile needing visual detection on a detection table of a visual detection device to enable the textile to be consistent with the template in placement position and guarantee the textile to be consistent with the template in placement mode;
s4, measuring the length and width of the textile when the textile is not worn, after the step S3 is completed, measuring the length and width of the textile to be detected respectively by using a visual detection device, and feeding the measurement result back to the computer for storage;
s5, measuring the thickness of the textile when the textile is not worn, changing the orientation of a detection camera in a visual detection device after the step S4 is completed, measuring the thickness of the textile to be detected by using the visual detection device respectively, and feeding the measurement result back to a computer for storage;
s6, measuring the gaps of the textile threads when the textile threads are not worn, measuring the gaps of the textile threads in the textile to be detected by using a visual detection device after the step S5 is finished, and feeding back the measured data to a computer;
s7, comparing the data for the first time, and after the data of the textile is detected when the textile is not worn, transmitting the length and width data detected in the step S3, the thickness data detected in the step S4 and the textile line maintenance data detected in the step S5 to a comparison module of a computer, and comparing the data of the textile to be detected with the data of the qualified textile to obtain a comparison result;
s8, simulating the length and width measurement of the textile when the textile is worn, after the step S7 is completed, performing simulated wearing, placing the textile to be detected during the simulated wearing on a detection table of a visual detection device, measuring the length and width of the textile during the simulated wearing, and feeding the measurement result back to a computer;
s9, thickness measurement of the textile during wearing is simulated, when length and width detection of the textile during wearing is finished, the thickness measurement of the textile during wearing is carried out, and the measurement result is fed back to the computer;
s10, measuring the textile thread gap during the simulated wearing, after the step S9 is finished, measuring the textile thread gap of the textile during the simulated wearing by using a visual detection device, and feeding the measurement result back to the computer;
s11, comparing the data for the second time, namely comparing the data of the textile during the simulated wearing with the data of the qualified textile during the simulated wearing after the data of the textile during the simulated wearing are detected;
s12, comparing comprehensive data, namely after the step S11 is finished, putting the comparison result of the textile when the textile is not worn and the comparison result of the textile when the textile is simulated to be worn together for comparison;
and S13, outputting results, and outputting all comparison results after the step S12 is finished.
In step S1, when detecting the template data, each item of data is detected when the qualified textile is not worn and each item of data is detected when the textile is worn, and in step S1, when detecting each item of data of the qualified textile, the length, width, thickness and textile line gap of the qualified textile in two states of being not worn and worn are detected, in step S1, the detection table of the visual detection device is a rotary structure, and the textile is driven to rotate during detection, in step S3, during the placement of the textile, the textile is laid on the detection table of the visual detection device to avoid the occurrence of wrinkles, and in step S8, when the simulation wearing is performed, different wearing simulations can be performed according to different body shapes to ensure that more data can be detected for comparison, in step S12, when the comparison of the comprehensive data is carried out, the data of the textile when the textile is not worn and the data of the textile when the textile is worn in a simulation mode are respectively and correspondingly compared.
It should be understood that the above examples are only for clarity of illustration and are not intended to limit the embodiments. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. And obvious variations or modifications therefrom are within the scope of the invention.

Claims (7)

1. A textile flaw detection method based on a machine vision template is characterized by comprising the following steps:
s1, detecting template data, preparing a visual detection device, placing the qualified textile without defects on a detection table of the visual detection device, and detecting each item of data of the qualified textile;
s2, inputting template data, obtaining various data of qualified textiles after the step S1 is completed, and inputting the data into an analysis comparison computer;
s3, placing the textile, and after the step S2 is finished, placing the textile needing visual detection on a detection table of a visual detection device to enable the textile to be consistent with the template in placement position and guarantee the textile to be consistent with the template in placement mode;
s4, measuring the length and width of the textile when the textile is not worn, after the step S3 is completed, measuring the length and width of the textile to be detected respectively by using a visual detection device, and feeding the measurement result back to the computer for storage;
s5, measuring the thickness of the textile when the textile is not worn, changing the orientation of a detection camera in a visual detection device after the step S4 is completed, measuring the thickness of the textile to be detected by using the visual detection device respectively, and feeding the measurement result back to a computer for storage;
s6, measuring the gaps of the textile threads when the textile threads are not worn, measuring the gaps of the textile threads in the textile to be detected by using a visual detection device after the step S5 is finished, and feeding back the measured data to a computer;
s7, comparing the data for the first time, and after the data of the textile is detected when the textile is not worn, transmitting the length and width data detected in the step S3, the thickness data detected in the step S4 and the textile line maintenance data detected in the step S5 to a comparison module of a computer, and comparing the data of the textile to be detected with the data of the qualified textile to obtain a comparison result;
s8, simulating the length and width measurement of the textile when the textile is worn, after the step S7 is completed, performing simulated wearing, placing the textile to be detected during the simulated wearing on a detection table of a visual detection device, measuring the length and width of the textile during the simulated wearing, and feeding the measurement result back to a computer;
s9, thickness measurement of the textile during wearing is simulated, when length and width detection of the textile during wearing is finished, the thickness measurement of the textile during wearing is carried out, and the measurement result is fed back to the computer;
s10, measuring the textile thread gap during the simulated wearing, after the step S9 is finished, measuring the textile thread gap of the textile during the simulated wearing by using a visual detection device, and feeding the measurement result back to the computer;
s11, comparing the data for the second time, namely comparing the data of the textile during the simulated wearing with the data of the qualified textile during the simulated wearing after the data of the textile during the simulated wearing are detected;
s12, comparing comprehensive data, namely after the step S11 is finished, putting the comparison result of the textile when the textile is not worn and the comparison result of the textile when the textile is simulated to be worn together for comparison;
and S13, outputting results, and outputting all comparison results after the step S12 is finished.
2. The method of claim 1, wherein in step S1, when detecting the template data, the method detects the data of the qualified textile when the textile is not worn and the data of the qualified textile when the textile is worn.
3. The method for detecting textile defects based on machine vision template as claimed in claim 2, wherein in step S1, the length, width, thickness and textile thread gap of the qualified textile are detected when the data of the qualified textile is detected.
4. The method of claim 1, wherein in step S1, the inspection table of the vision inspection apparatus is a rotary structure, and the textile is rotated during inspection.
5. The method for detecting textile defects based on machine vision template as claimed in claim 1, wherein in step S3, the textile is laid on the detection table of the vision detection device to avoid wrinkles when placing the textile.
6. The method of claim 1, wherein in step S8, when the wearing simulation is performed, different wearing simulations can be performed according to different shapes, so as to ensure that more data can be detected for comparison.
7. The method of claim 1, wherein in step S12, when comparing the integrated data, each item of data of the textile when the textile is not worn is compared with each item of data of the textile when the textile is simulated to be worn.
CN202111618425.5A 2021-12-29 2021-12-29 Textile flaw detection method based on machine vision template Pending CN114324354A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111618425.5A CN114324354A (en) 2021-12-29 2021-12-29 Textile flaw detection method based on machine vision template

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111618425.5A CN114324354A (en) 2021-12-29 2021-12-29 Textile flaw detection method based on machine vision template

Publications (1)

Publication Number Publication Date
CN114324354A true CN114324354A (en) 2022-04-12

Family

ID=81014956

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111618425.5A Pending CN114324354A (en) 2021-12-29 2021-12-29 Textile flaw detection method based on machine vision template

Country Status (1)

Country Link
CN (1) CN114324354A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6369896B1 (en) * 1997-11-03 2002-04-09 Cognivision Research, S.L. Method for visually inspecting textile garments, and a system for implementing said method
CN102967606A (en) * 2012-11-02 2013-03-13 海宁市科威工业电子科技有限公司 Textile machine fabric defect visual inspection system
CN109174694A (en) * 2018-08-22 2019-01-11 杰克缝纫机股份有限公司 Cut-parts Defect Detection system, method, electric terminal and storage medium
CN111177929A (en) * 2019-12-31 2020-05-19 江西服装学院 Textile fabric physical characteristic digital attribute simulation system and measuring method
CN111784691A (en) * 2020-07-27 2020-10-16 泉州迈斯特新材料科技有限公司 Textile flaw detection method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6369896B1 (en) * 1997-11-03 2002-04-09 Cognivision Research, S.L. Method for visually inspecting textile garments, and a system for implementing said method
CN102967606A (en) * 2012-11-02 2013-03-13 海宁市科威工业电子科技有限公司 Textile machine fabric defect visual inspection system
CN109174694A (en) * 2018-08-22 2019-01-11 杰克缝纫机股份有限公司 Cut-parts Defect Detection system, method, electric terminal and storage medium
CN111177929A (en) * 2019-12-31 2020-05-19 江西服装学院 Textile fabric physical characteristic digital attribute simulation system and measuring method
CN111784691A (en) * 2020-07-27 2020-10-16 泉州迈斯特新材料科技有限公司 Textile flaw detection method

Similar Documents

Publication Publication Date Title
CN108269255B (en) Electric connector detection method based on machine vision
CN103529051B (en) A kind of Woven textiles flaw automatic on-line detection method
CN103163150B (en) Online cable surface defect detection device and online cable surface defect detection method
CN104441526B (en) Mould in-service monitoring protection system and method based on appearance profile coupling
CN103557807B (en) The method of cigarette filter rod end surface shape quality testing and device thereof
CN103630554B (en) Detection device and method for defects on double faces of lens
CN205183172U (en) A visual inspection device for remote controller button
CN104315977B (en) Rubber stopper quality detection device and detection method
CN103051872A (en) Method for detecting conveyor belt deviation based on image edge extraction
CN103234978B (en) Tapered roller surface defect detecting system
US11205262B2 (en) Online detection method of circular weft knitting stripe defects based on gray gradient method
CN110310275A (en) A kind of chain conveyor defect inspection method based on image procossing
CN103076345A (en) Detection method and full-automatic optical detection system for ITO conductive glass
CN107133983A (en) Bundled round steel end face binocular vision system and space orientation and method of counting
CN109297412A (en) A kind of image collecting device and spline detection method of the spline end face of splined shaft
CN204182595U (en) A kind of lithium ion battery surface defect detection equipment
CN102890093A (en) Machine vision detecting device of surface quality of master cylinder piston of automobile brake
CN106886989A (en) The automatic optical detection method of keyboard
CN106596562A (en) Magnet ring appearance quality on-line detection apparatus based on machine visual sense and method thereof
CN110458809B (en) Yarn evenness detection method based on sub-pixel edge detection
CN206229736U (en) Product labelling online detection instrument
CN105783813B (en) The detection method of LCD screen rear panel dimension automatic detection device
CN205015287U (en) Product appearance defect detecting equipment
CN108195847A (en) A kind of relief pattern Online Video detection device and its detection method
CN114324354A (en) Textile flaw detection method based on machine vision template

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