CN111929327A - Cloth defect detection method and device - Google Patents

Cloth defect detection method and device Download PDF

Info

Publication number
CN111929327A
CN111929327A CN202010939606.7A CN202010939606A CN111929327A CN 111929327 A CN111929327 A CN 111929327A CN 202010939606 A CN202010939606 A CN 202010939606A CN 111929327 A CN111929327 A CN 111929327A
Authority
CN
China
Prior art keywords
cloth
product
image
data set
sample data
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
CN202010939606.7A
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.)
Shenlan Artificial Intelligence Application Research Institute Shandong Co ltd
Original Assignee
Deep Blue Technology Shanghai Co Ltd
DeepBlue AI Chips Research Institute Jiangsu 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 Deep Blue Technology Shanghai Co Ltd, DeepBlue AI Chips Research Institute Jiangsu Co Ltd filed Critical Deep Blue Technology Shanghai Co Ltd
Priority to CN202010939606.7A priority Critical patent/CN111929327A/en
Publication of CN111929327A publication Critical patent/CN111929327A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/95Investigating the presence of flaws or contamination characterised by the material or shape of the object to be examined
    • G01N21/956Inspecting patterns on the surface of objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Software Systems (AREA)
  • Evolutionary Computation (AREA)
  • Computational Linguistics (AREA)
  • Molecular Biology (AREA)
  • Biophysics (AREA)
  • General Engineering & Computer Science (AREA)
  • Biomedical Technology (AREA)
  • Mathematical Physics (AREA)
  • Data Mining & Analysis (AREA)
  • Artificial Intelligence (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Abstract

The invention provides a cloth defect detection method and a device, wherein the method comprises the following steps: acquiring a sample data set, wherein the sample data set comprises a plurality of sample product images with cloth defects and a plurality of sample product images without cloth defects; determining a cloth type corresponding to the sample data set; training the neural network in a corresponding training mode through the sample data set according to the cloth type to obtain a corresponding cloth defect detection model; acquiring an image of a product to be detected, and determining the type of cloth in the image of the product to be detected; and inputting the image of the product to be detected with the determined cloth type into a corresponding cloth defect detection model to judge whether the cloth defect exists. The invention has the advantages of high detection speed, high efficiency, low labor cost, high detection accuracy and wide applicability.

Description

Cloth defect detection method and device
Technical Field
The invention relates to the technical field of deep learning, in particular to a cloth defect detection method, a cloth defect detection device, computer equipment, a non-transitory computer readable storage medium and a computer program product.
Background
With the rapid development of the textile industry, the yield of pieces of cloth is becoming greater and greater. After the cloth is produced, some defects such as defects, silks, wrong warps and wefts and the like may exist, so that defect detection is necessary before the cloth is put into the market or further processed.
At present, the detection of the defects of the cloth is mostly finished by a manual visual observation mode, the speed is low, the efficiency is low, the labor cost is high, and the machine auxiliary mode has the problems of frequent false alarm and difficult application to various kinds of cloth.
Disclosure of Invention
The invention aims to solve the technical problems and provides a method and a device for detecting cloth defects, which have the advantages of high detection speed, high efficiency, low labor cost, high detection accuracy and wide applicability.
The technical scheme adopted by the invention is as follows:
a cloth defect detection method comprises the following steps: acquiring a sample data set, wherein the sample data set comprises a plurality of sample product images with cloth defects and a plurality of sample product images without cloth defects; determining the cloth type corresponding to the sample data set; training a neural network in a corresponding training mode through the sample data set according to the cloth type to obtain a corresponding cloth defect detection model; acquiring an image of a product to be detected, and determining the type of cloth in the image of the product to be detected; and inputting the image of the product to be detected with the determined cloth type into a corresponding cloth defect detection model to judge whether the cloth defect exists.
The images in the sample data set for training and the images of the product to be detected for detection are both gray level images.
The neural network is a VGG (a deep convolutional neural network) network or an inclusion network.
The cloth types include pure color cloth and colored woven cloth.
When the cloth type is pure color cloth, training the neural network in a corresponding training mode through the sample data set, wherein the training mode comprises the following steps: combining 4 pixels of the original sample product image into a pixel point with an average value by using variable-scale fuzzy average, then carrying out specific value taking on the value point of the whole image, heightening the attention of the region with the specific value, and carrying out matting operation on the region with the specific value; and constructing a classification algorithm in the neural network, and training the neural network through an image obtained by matting operation.
When the cloth type is colored woven cloth, training the neural network in a corresponding training mode through the sample data set, wherein the training mode comprises the following steps: marking the defects on the colored woven fabric manually; and constructing a target detection algorithm in the neural network, and training the neural network through the image after the defect marking, wherein the target is presented through a target central point.
A cloth defect detecting apparatus comprising: the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring a sample data set, and the sample data set comprises a plurality of sample product images with cloth defects and a plurality of sample product images without cloth defects; a first determining module, configured to determine a type of cloth corresponding to the sample data set; the training module is used for training a neural network in a corresponding training mode through the sample data set according to the cloth type to obtain a corresponding cloth defect detection model; the second acquisition module is used for acquiring an image of a product to be detected; the second determining module is used for determining the cloth type in the image of the product to be detected; and the detection module is used for inputting the image of the product to be detected with the determined cloth type into the corresponding cloth defect detection model so as to judge whether the cloth defect exists or not.
A computer device comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein when the processor executes the program, the cloth defect detection method is realized.
A non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the cloth defect detection method described above.
A computer program product, wherein instructions when executed by a processor perform the above cloth defect detection method.
The invention has the beneficial effects that:
the invention adopts corresponding training modes to train the neural network aiming at different cloth types to obtain the cloth defect detection model, and detects whether the cloth to be detected of the corresponding type has cloth defects through the cloth defect detection model, thereby having the advantages of higher detection speed, higher efficiency, lower labor cost, higher detection accuracy and wider applicability.
Drawings
FIG. 1 is a flow chart of a method for detecting defects in a piece of cloth according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a matrixed image according to an embodiment of the invention;
fig. 3 is a block diagram of a cloth defect detecting apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, the method for detecting a cloth defect of the embodiment of the present invention includes the following steps:
and S1, acquiring a sample data set, wherein the sample data set comprises a plurality of sample product images with cloth defects and a plurality of sample product images without cloth defects.
In one embodiment of the present invention, a large number of sample products can be photographed by a camera, for example, a piece of cloth can be photographed by an industrial camera, and the piece of cloth can be lighted by an artificial or natural light source during photographing, so as to obtain a high-quality sample product image. Whether the sample product has cloth defects or not can be used as a sample label and stored together with the sample product image to form a sample data set.
In an embodiment of the present invention, a line scan camera may be selected to photograph the rolled sample cloth, that is, photograph the sample cloth in a line shape, and then splice the sample cloth into the whole sample cloth image.
In one embodiment of the invention, the ratio of the presence of cloth defects to the absence of cloth defects in the sample product may be at or near 1: 1.
And S2, determining the cloth type corresponding to the sample data set.
Wherein, the cloth type comprises pure color cloth and colored woven cloth. In one embodiment of the invention, the cloth type of the sample product in the sample data set can be automatically determined through image recognition, and the cloth type of the sample product in the sample data set can also be manually input.
And S3, training the neural network in a corresponding training mode through the sample data set according to the cloth type to obtain a corresponding cloth defect detection model.
In one embodiment of the present invention, the neural network is a convolutional neural network, which may be, for example, a VGG network or an inclusion network.
The convolutional neural network includes an input layer, a hidden layer, and an output layer, wherein the hidden layer includes convolutional layers. At the beginning of training, the filter of the convolutional layer is completely random and will not activate, i.e., detect, any features. A blank filter is modified in weight to detect a specific mode, and the whole process is like feedback in engineering. Through such feedback, the convolutional neural network can learn the core features to be judged by itself.
For each sample product image data, the training process may include image input, feature extraction, result prediction, result comparison, and feature memorization. Specifically, the convolutional neural network can match each feature with a corresponding sample label, the correctly matched features are retained by the memory module, the incorrectly matched features are ignored through the loss parameter, and a large number of pictures are continuously iterated through multilayer convolutional deep learning, so that the core features which the convolutional neural network wants to memorize are finally learned, and different core features are classified. The finally trained neural network, namely the cloth defect detection model, can detect a new image according to the characteristics.
In one embodiment of the invention, the images in the sample data set being trained are grayscale images.
When the cloth type is pure-color cloth, firstly, variable-scale fuzzy averaging is used, 4 pixels of an original sample product image are combined into a pixel point with an average value, then specific value taking is carried out on the value point of the whole image, the attention degree of the specific value area is raised, matting operation is carried out on the specific value area, then a classification algorithm is built in a neural network, and the neural network is trained through an image obtained through the matting operation.
When the cloth type is colored woven cloth, the defects on the colored woven cloth can be labeled manually, a target detection algorithm is constructed in the neural network, and the neural network is trained through the image after the defects are labeled. Wherein, the target can be presented through the center point of the target, and then some attributes of the target, such as size, dimension, orientation, and pos, are regressed at the position of the center point. The target detection problem becomes a standard key point estimation problem, only the image is transmitted into a full convolution network to obtain a thermodynamic diagram, the peak point of the thermodynamic diagram is a central point, and the peak point position of each characteristic diagram predicts the width and height information of the target. The model training adopts standard supervised learning, and the inference is a single forward propagation network.
The algorithm optimization aiming at the two different types of cloth is based on the requirement of a target scene on the recognition speed. The fuzzy average can reduce the processing time of the image, and the central point presenting target can also obviously improve the processing speed of the image.
And S4, acquiring the image of the product to be detected, and determining the cloth type in the image of the product to be detected.
In one embodiment of the invention, the defect detection can be carried out on the rolled cloth to be detected, and the image of the product to be detected can be obtained by shooting with a line scanning camera, namely shooting through one line and splicing into the whole image of the cloth to be detected.
The mode of determining the cloth type in the image of the product to be detected is the same as the mode of determining the cloth type of the sample data set sample product.
Further, in the embodiment of the present invention, if the sample product image acquired in step S1 and the product image to be detected acquired in this step include an object other than cloth, for example, an environmental background, it is also possible to acquire a cloth region in the image by a template matching method and intercept the cloth region as an image for training and detection. Specifically, referring to fig. 2, the sample product image may first be decomposed into a matrix form, and the features in the matrix form image may be arranged according to coordinates. After the matrixing process, the features in the image are obvious, for example, as shown in fig. 2, the pixel with the pixel value of 30 can be selected conveniently and quickly. The method can run a function matchTemplate through OpenCV, and match the cloth template image with the regions of the whole image with corresponding sizes one by one, so as to obtain the pixel region and the pixel coordinates of the cloth.
And S5, inputting the image of the product to be detected with the determined cloth type into a corresponding cloth defect detection model to judge whether the cloth defect exists.
In one embodiment of the invention, the image of the product to be inspected for which the inspection is performed is a gray scale image. And inputting the gray-scale cloth image to be detected into the cloth defect detection model to obtain an output result of whether the cloth defect exists or not.
According to the embodiment of the invention, through training and recognition of the gray level image, the cloth defect detection model is sensitive to gray level change, so that the method can be used for realizing cloth hole, stain and warp miss weft detection and filtering the influence of wrinkles, dust and shadows on detection, is not sensitive to color, and can be suitable for cloth with different colors, and is wide in application; through the training of a large amount of sample product images, the cloth defect detection model is sensitive to lines and shapes in specific shapes, so that the cloth defect detection model can be used for realizing the silk drawing and stain detection of cloth, is insensitive to repeated gray patterns, and can screen out the interference of original patterns of the yarn-dyed fabric.
In an embodiment of the invention, the cloth defect detection method can be used for detecting the defects of cloth rolled at 30m/min in a host configured by a 2080ti display card, an i5CPU and a 16G memory.
In addition, when the detection result is obtained, corresponding detection result information can be sent out, for example, alarm information can be sent out when the cloth defect is detected, high and low level signals can be output, or operation indication signals can be sent out.
According to the cloth defect detection method provided by the embodiment of the invention, the neural network training is carried out by adopting the corresponding training mode aiming at different cloth types to obtain the cloth defect detection model, and whether cloth defects exist in the cloth to be detected of the corresponding type is detected through the cloth defect detection model, so that the detection speed is high, the efficiency is high, the labor cost is low, the detection accuracy is high, and the applicability is wide.
Corresponding to the cloth defect detection method of the embodiment, the invention also provides a cloth defect detection device.
As shown in fig. 3, the cloth defect detecting apparatus according to the embodiment of the present invention includes a first obtaining module 10, a first determining module 20, a training module 30, a second obtaining module 40, a second determining module 50, and a detecting module 60. The first obtaining module 10 is configured to obtain a sample data set, where the sample data set includes a plurality of sample product images with cloth defects and a plurality of sample product images without cloth defects; the first determining module 20 is configured to determine a cloth type corresponding to the sample data set; the training module 30 is configured to train the neural network in a corresponding training manner through the sample data set according to the type of the piece goods, so as to obtain a corresponding piece goods defect detection model; the second obtaining module 40 is used for obtaining an image of a product to be detected; the second determining module 50 is used for determining the cloth type in the image of the product to be detected; the detection module 60 is configured to input the image of the to-be-detected product with the determined cloth type into a corresponding cloth defect detection model to determine whether a cloth defect exists.
The detailed implementation of the cloth defect detecting device according to the embodiment of the present invention can refer to the embodiments of the cloth defect detecting method, and will not be described herein again.
According to the cloth defect detection device provided by the embodiment of the invention, the neural network training is carried out by adopting the corresponding training mode aiming at different cloth types to obtain the cloth defect detection model, and whether the cloth to be detected of the corresponding type has defects is detected through the cloth defect detection model, so that the detection speed is high, the efficiency is high, the labor cost is low, the detection accuracy is high, and the applicability is wide.
The invention further provides a computer device corresponding to the embodiment.
The computer device of the embodiment of the invention comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, and when the processor executes the computer program, the cloth defect detection method according to the embodiment of the invention can be realized.
The computer equipment of the embodiment of the invention also comprises a display card, a mainboard and the like, which are connected with the camera through the connecting piece to run a linux or Windows10 system.
According to the computer equipment provided by the embodiment of the invention, when the processor executes the computer program stored on the memory, the neural network training is carried out by adopting the corresponding training mode aiming at different cloth types to obtain the cloth defect detection model, and whether the cloth to be detected of the corresponding type has defects is detected by the cloth defect detection model, so that the detection speed is high, the efficiency is high, the labor cost is low, the detection accuracy is high, and the applicability is wide.
The invention also provides a non-transitory computer readable storage medium corresponding to the above embodiment.
A non-transitory computer-readable storage medium of an embodiment of the present invention has stored thereon a computer program which, when executed by a processor, can implement the cloth defect detection method according to the above-described embodiment of the present invention.
According to the non-transitory computer-readable storage medium of the embodiment of the invention, when the processor executes the computer program stored on the processor, the neural network training is performed by adopting the corresponding training mode according to different cloth types to obtain the cloth defect detection model, and the cloth defect detection model is used for detecting whether the cloth to be detected of the corresponding type has defects or not, so that the detection speed is high, the efficiency is high, the labor cost is low, the detection accuracy is high, and the applicability is wide.
The present invention also provides a computer program product corresponding to the above embodiments.
When the instructions in the computer program product of the embodiment of the present invention are executed by the processor, the cloth defect detecting method according to the above-mentioned embodiment of the present invention can be performed.
According to the computer program product of the embodiment of the invention, when the processor executes the instruction, the neural network training is carried out by adopting the corresponding training mode aiming at different cloth types to obtain the cloth defect detection model, and whether the cloth to be detected of the corresponding type has defects is detected by the cloth defect detection model, so that the detection speed is high, the efficiency is high, the labor cost is low, the detection accuracy is high, and the applicability is wide.
In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. The meaning of "plurality" is two or more unless specifically limited otherwise.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the present invention, unless otherwise expressly stated or limited, the first feature "on" or "under" the second feature may be directly contacting the first and second features or indirectly contacting the first and second features through an intermediate. Also, a first feature "on," "over," and "above" a second feature may be directly or diagonally above the second feature, or may simply indicate that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature may be directly under or obliquely under the first feature, or may simply mean that the first feature is at a lesser elevation than the second feature.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (10)

1. A cloth defect detection method is characterized by comprising the following steps:
acquiring a sample data set, wherein the sample data set comprises a plurality of sample product images with cloth defects and a plurality of sample product images without cloth defects;
determining the cloth type corresponding to the sample data set;
training a neural network in a corresponding training mode through the sample data set according to the cloth type to obtain a corresponding cloth defect detection model;
acquiring an image of a product to be detected, and determining the type of cloth in the image of the product to be detected;
and inputting the image of the product to be detected with the determined cloth type into a corresponding cloth defect detection model to judge whether the cloth defect exists.
2. The cloth defect detection method of claim 1, wherein the images in the training sample data set and the images of the product to be detected are grayscale images.
3. The cloth defect detection method of claim 2, wherein the neural network is a VGG network or an inclusion network.
4. The cloth defect detecting method of claim 3, wherein the cloth types include solid color cloth and colored woven cloth.
5. The cloth defect detecting method of claim 4, wherein when the cloth type is a pure color cloth, training a neural network in a corresponding training mode through the sample data set comprises:
combining 4 pixels of the original sample product image into a pixel point with an average value by using variable-scale fuzzy average, then carrying out specific value taking on the value point of the whole image, heightening the attention of the region with the specific value, and carrying out matting operation on the region with the specific value;
and constructing a classification algorithm in the neural network, and training the neural network through an image obtained by matting operation.
6. The cloth defect detecting method of claim 4, wherein when the cloth type is colored woven cloth, training a neural network in a corresponding training mode through the sample data set comprises:
marking the defects on the colored woven fabric manually;
and constructing a target detection algorithm in the neural network, and training the neural network through the image after the defect marking, wherein the target is presented through a target central point.
7. A cloth defect detecting device, comprising:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring a sample data set, and the sample data set comprises a plurality of sample product images with cloth defects and a plurality of sample product images without cloth defects;
a first determining module, configured to determine a type of cloth corresponding to the sample data set;
the training module is used for training a neural network in a corresponding training mode through the sample data set according to the cloth type to obtain a corresponding cloth defect detection model;
the second acquisition module is used for acquiring an image of a product to be detected;
the second determining module is used for determining the cloth type in the image of the product to be detected;
and the detection module is used for inputting the image of the product to be detected with the determined cloth type into the corresponding cloth defect detection model so as to judge whether the cloth defect exists or not.
8. Computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor, when executing the program, implements a cloth defect detection method according to any of claims 1-6.
9. A non-transitory computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements a cloth defect detection method according to any one of claims 1 to 6.
10. A computer program product, characterized in that instructions in the computer program product, when executed by a processor, perform a cloth defect detection method according to any of claims 1-6.
CN202010939606.7A 2020-09-09 2020-09-09 Cloth defect detection method and device Pending CN111929327A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010939606.7A CN111929327A (en) 2020-09-09 2020-09-09 Cloth defect detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010939606.7A CN111929327A (en) 2020-09-09 2020-09-09 Cloth defect detection method and device

Publications (1)

Publication Number Publication Date
CN111929327A true CN111929327A (en) 2020-11-13

Family

ID=73308677

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010939606.7A Pending CN111929327A (en) 2020-09-09 2020-09-09 Cloth defect detection method and device

Country Status (1)

Country Link
CN (1) CN111929327A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112767400A (en) * 2021-04-08 2021-05-07 常州微亿智造科技有限公司 Defect detection method and device
CN113096130A (en) * 2021-06-09 2021-07-09 常州微亿智造科技有限公司 Method and device for detecting object defects
CN113758426A (en) * 2021-08-17 2021-12-07 深圳新视智科技术有限公司 Method and device for determining width of cloth, electronic equipment and readable storage medium
CN113780484A (en) * 2021-11-12 2021-12-10 常州微亿智造科技有限公司 Industrial product defect detection method and device
CN114091620A (en) * 2021-12-01 2022-02-25 常州市宏发纵横新材料科技股份有限公司 Template matching detection method, computer equipment and storage medium
CN114170226A (en) * 2022-01-24 2022-03-11 谱为科技(常州)有限公司 Linen detection method and device based on image enhancement and convolutional neural network

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107220649A (en) * 2017-05-27 2017-09-29 江苏理工学院 A kind of plain color cloth defects detection and sorting technique
CN107248154A (en) * 2017-05-27 2017-10-13 江苏理工学院 A kind of cloth aberration real-time on-line detecting method
CN107451993A (en) * 2017-07-24 2017-12-08 武汉纺织大学 A kind of fabric color fastness Classified Protection and system
CN107833220A (en) * 2017-11-28 2018-03-23 河海大学常州校区 Fabric defect detection method based on depth convolutional neural networks and vision significance
CN107870172A (en) * 2017-07-06 2018-04-03 黎明职业大学 A kind of Fabric Defects Inspection detection method based on image procossing
CN107895363A (en) * 2017-10-31 2018-04-10 常州大学 Textile flaw detection method based on template characteristic
CN107977954A (en) * 2017-10-12 2018-05-01 常州信息职业技术学院 Textile flaw detection method based on local optimum analysis
CN108154508A (en) * 2018-01-09 2018-06-12 北京百度网讯科技有限公司 Method, apparatus, storage medium and the terminal device of product defects detection positioning
CN109064454A (en) * 2018-07-12 2018-12-21 上海蝶鱼智能科技有限公司 Product defects detection method and system
CN110490874A (en) * 2019-09-04 2019-11-22 河海大学常州校区 Weaving cloth surface flaw detecting method based on YOLO neural network
CN110827277A (en) * 2019-11-26 2020-02-21 山东浪潮人工智能研究院有限公司 Cloth flaw detection method based on yolo3 network
CN110827260A (en) * 2019-11-04 2020-02-21 燕山大学 Cloth defect classification method based on LBP (local binary pattern) features and convolutional neural network
CN111062925A (en) * 2019-12-18 2020-04-24 华南理工大学 Intelligent cloth defect identification method based on deep learning
CN111127383A (en) * 2019-03-15 2020-05-08 杭州电子科技大学 Digital printing online defect detection system and implementation method thereof
CN111402203A (en) * 2020-02-24 2020-07-10 杭州电子科技大学 Fabric surface defect detection method based on convolutional neural network

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107248154A (en) * 2017-05-27 2017-10-13 江苏理工学院 A kind of cloth aberration real-time on-line detecting method
CN107220649A (en) * 2017-05-27 2017-09-29 江苏理工学院 A kind of plain color cloth defects detection and sorting technique
CN107870172A (en) * 2017-07-06 2018-04-03 黎明职业大学 A kind of Fabric Defects Inspection detection method based on image procossing
CN107451993A (en) * 2017-07-24 2017-12-08 武汉纺织大学 A kind of fabric color fastness Classified Protection and system
CN107977954A (en) * 2017-10-12 2018-05-01 常州信息职业技术学院 Textile flaw detection method based on local optimum analysis
CN107895363A (en) * 2017-10-31 2018-04-10 常州大学 Textile flaw detection method based on template characteristic
CN107833220A (en) * 2017-11-28 2018-03-23 河海大学常州校区 Fabric defect detection method based on depth convolutional neural networks and vision significance
CN108154508A (en) * 2018-01-09 2018-06-12 北京百度网讯科技有限公司 Method, apparatus, storage medium and the terminal device of product defects detection positioning
CN109064454A (en) * 2018-07-12 2018-12-21 上海蝶鱼智能科技有限公司 Product defects detection method and system
CN111127383A (en) * 2019-03-15 2020-05-08 杭州电子科技大学 Digital printing online defect detection system and implementation method thereof
CN110490874A (en) * 2019-09-04 2019-11-22 河海大学常州校区 Weaving cloth surface flaw detecting method based on YOLO neural network
CN110827260A (en) * 2019-11-04 2020-02-21 燕山大学 Cloth defect classification method based on LBP (local binary pattern) features and convolutional neural network
CN110827277A (en) * 2019-11-26 2020-02-21 山东浪潮人工智能研究院有限公司 Cloth flaw detection method based on yolo3 network
CN111062925A (en) * 2019-12-18 2020-04-24 华南理工大学 Intelligent cloth defect identification method based on deep learning
CN111402203A (en) * 2020-02-24 2020-07-10 杭州电子科技大学 Fabric surface defect detection method based on convolutional neural network

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112767400A (en) * 2021-04-08 2021-05-07 常州微亿智造科技有限公司 Defect detection method and device
CN113096130A (en) * 2021-06-09 2021-07-09 常州微亿智造科技有限公司 Method and device for detecting object defects
CN113758426A (en) * 2021-08-17 2021-12-07 深圳新视智科技术有限公司 Method and device for determining width of cloth, electronic equipment and readable storage medium
CN113780484A (en) * 2021-11-12 2021-12-10 常州微亿智造科技有限公司 Industrial product defect detection method and device
CN114091620A (en) * 2021-12-01 2022-02-25 常州市宏发纵横新材料科技股份有限公司 Template matching detection method, computer equipment and storage medium
CN114091620B (en) * 2021-12-01 2022-06-03 常州市宏发纵横新材料科技股份有限公司 Template matching detection method, computer equipment and storage medium
CN114170226A (en) * 2022-01-24 2022-03-11 谱为科技(常州)有限公司 Linen detection method and device based on image enhancement and convolutional neural network
CN114170226B (en) * 2022-01-24 2022-08-19 谱为科技(常州)有限公司 Linen detection method and device based on image enhancement and convolutional neural network

Similar Documents

Publication Publication Date Title
CN111929327A (en) Cloth defect detection method and device
KR101895873B1 (en) Method and apparatus for fabric inspection
CN111047655B (en) High-definition camera cloth defect detection method based on convolutional neural network
CN111951253B (en) Method, device and readable storage medium for detecting surface defects of lithium battery
CN112070746A (en) Steel strip defect detection method and device
CN112070747A (en) LED lamp bead defect detection method and device
CN112070749A (en) Paper defect detection method and device
CN113034488B (en) Visual inspection method for ink-jet printed matter
CN112819844B (en) Image edge detection method and device
CN114119591A (en) Display screen picture quality detection method
CN113780484B (en) Industrial product defect detection method and device
CN106770322A (en) Calibration point depth detection method and temperature controller appearance detecting method
CN114612418A (en) Method, device and system for detecting surface defects of mouse shell and electronic equipment
JP2002140694A (en) Image processor, its method and recording medium with recorded image processing program
CN116091506B (en) Machine vision defect quality inspection method based on YOLOV5
CN112070748A (en) Metal oil pipe defect detection method and device
CN112070750A (en) Leather product defect detection method and device
CN114226262A (en) Flaw detection method, flaw classification method and flaw detection system
CN116542963A (en) Float glass defect detection system and detection method based on machine learning
CN115947066A (en) Belt tearing detection method, device and system
CN112488986A (en) Cloth surface flaw identification method, device and system based on Yolo convolutional neural network
CN115861259A (en) Lead frame surface defect detection method and device based on template matching
JPS62231069A (en) Method for detecting defect of cloth inspecting machine
CN112070164A (en) Dry and wet sludge classification method and device
CN110349133B (en) Object surface defect detection method and device

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
TA01 Transfer of patent application right

Effective date of registration: 20220707

Address after: 250000 room 103, building 4, Chuangyan port, Changzhou science and Education City, No. 18, Changwu Middle Road, Wujin District, Jinan City, Shandong Province

Applicant after: Shenlan Artificial Intelligence Application Research Institute (Shandong) Co.,Ltd.

Address before: 213000 No.103, building 4, Chuangyan port, Changzhou science and Education City, No.18, middle Changwu Road, Wujin District, Changzhou City, Jiangsu Province

Applicant before: SHENLAN ARTIFICIAL INTELLIGENCE CHIP RESEARCH INSTITUTE (JIANGSU) Co.,Ltd.

Applicant before: DEEPBLUE TECHNOLOGY (SHANGHAI) Co.,Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20201113

RJ01 Rejection of invention patent application after publication