CN118297904A - Carbon fiber cloth cover light-color foreign matter detection system and method - Google Patents

Carbon fiber cloth cover light-color foreign matter detection system and method Download PDF

Info

Publication number
CN118297904A
CN118297904A CN202410414378.XA CN202410414378A CN118297904A CN 118297904 A CN118297904 A CN 118297904A CN 202410414378 A CN202410414378 A CN 202410414378A CN 118297904 A CN118297904 A CN 118297904A
Authority
CN
China
Prior art keywords
image
area
light
carbon fiber
threshold
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
CN202410414378.XA
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.)
Changzhou New Intelligent Technology Co Ltd
Original Assignee
Changzhou New Intelligent 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 Changzhou New Intelligent Technology Co Ltd filed Critical Changzhou New Intelligent Technology Co Ltd
Priority to CN202410414378.XA priority Critical patent/CN118297904A/en
Publication of CN118297904A publication Critical patent/CN118297904A/en
Pending legal-status Critical Current

Links

Landscapes

  • Treatment Of Fiber Materials (AREA)

Abstract

The invention relates to the technical field of visual detection, in particular to a carbon fiber cloth cover light-color foreign matter detection system and method, comprising the following steps: collecting a picture of the carbon fiber cloth cover, and converting the picture into a gray image; the gray level image is subjected to mean value filtering and recorded as an image A, whether a light area with the area larger than a first threshold value exists in the image A is judged, and if so, the alarm is given out; if not, carrying out longitudinal mean filtering on the image A, and marking the image A as an image B; subtracting the image B from the image A, and recording as an image C; and (3) carrying out threshold segmentation on the image C, searching the area with the largest area in the image, judging whether the area exceeds a second threshold, and if so, alarming and stopping. According to the invention, the area with the largest area in the image is found out through threshold segmentation, whether the area exceeds the second threshold value is judged, if yes, the alarm is stopped, the light-colored foreign matters on the carbon fiber cloth cover can be effectively detected, and the influence on the product quality is prevented.

Description

Carbon fiber cloth cover light-color foreign matter detection system and method
Technical Field
The invention relates to the technical field of visual detection, in particular to a system and a method for detecting light-colored foreign matters on a carbon fiber cloth cover.
Background
The carbon fiber cloth is a textile made of carbon fibers through processes such as braiding, weaving, laminating and the like, is a high-performance material, has excellent characteristics such as light weight, high strength, high rigidity, corrosion resistance and the like, and is widely applied to the fields such as aerospace, automobiles, sports equipment, buildings, electronics and the like.
On the production line of the carbon fiber warp knitting machine, light-colored foreign matters such as a white adhesive tape, a yellow adhesive tape, a white broken yarn, paper scraps and the like can exist, and if the light-colored foreign matters exist in the production process but are not removed in time, the production quality of the carbon fiber cloth can be affected, so that the carbon fiber cloth needs to be detected.
The information disclosed in this background section is only for enhancement of understanding of the general background of the invention and should not be taken as an acknowledgement or any form of suggestion that this information forms the prior art already known to a person skilled in the art.
Disclosure of Invention
The invention provides a system and a method for detecting light-colored foreign matters on a carbon fiber cloth cover, which effectively solve the problems in the background technology.
In order to achieve the above purpose, the technical scheme adopted by the invention is as follows: a method for detecting light-colored foreign matters on a carbon fiber cloth cover comprises the following steps:
collecting a picture of the carbon fiber cloth cover, and converting the picture into a gray image;
The gray level image is subjected to mean value filtering and recorded as an image A, whether a light area with the area larger than a first threshold value exists in the image A or not is judged, and if so, the vehicle stops in an alarming mode;
If not, carrying out longitudinal mean filtering on the image A, and marking the image A as an image B;
subtracting the image B from the image A, and recording as an image C;
And carrying out threshold segmentation on the image C, searching for the area with the largest area in the image, judging whether the area exceeds a second threshold, and if so, alarming and stopping.
Further, the first threshold is greater than the second threshold.
Further, the determining whether the image a has a light area with an area greater than a first threshold value includes:
Performing threshold segmentation on the image A, and extracting pixel points with gray values exceeding a first set value;
separating the extracted pixel points into non-connected areas, and dividing the pixel points into a plurality of light-colored areas;
and judging whether the area of the light-colored region is larger than the first threshold value.
Further, the performing threshold segmentation on the image C and searching the area with the largest area in the image includes:
Threshold segmentation is carried out on the image C, and pixel points with gray values exceeding a second set value are extracted to be an area;
Performing open operation on the region, and separating non-connected regions;
And searching the area with the largest area in the non-connected area for judgment.
Further, subtracting the gray value of each pixel in the image a from the gray value of the corresponding pixel in the image B.
The invention also comprises a carbon fiber cloth cover light-color foreign matter detection system, which comprises the following steps:
The image acquisition unit is used for acquiring pictures of the carbon fiber cloth cover and converting the pictures into gray images;
The first judging unit is used for carrying out mean value filtering on the gray level image, marking the gray level image as an image A, judging whether a light area with the area larger than a first threshold value exists in the image A, and if so, alarming and stopping;
If not, carrying out longitudinal mean filtering on the image A, and marking the image A as an image B;
an image processing unit for subtracting image B from image a, denoted as image C;
And the second judging unit is used for carrying out threshold segmentation on the image C, searching the area with the largest area in the image, judging whether the area exceeds a second threshold, and alarming and stopping if the area exceeds the second threshold.
The invention also includes a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, which processor implements the method as described above when executing the computer program.
The invention also includes a storage medium having stored thereon a computer program which, when executed by a processor, implements a method as described above.
The beneficial effects of the invention are as follows: according to the invention, the image is subjected to mean filtering, then whether the light-colored area with the area larger than the first threshold value exists in the image is judged, if the light-colored area with the area larger than the first threshold value exists in the image, the alarm is stopped, then the image is subjected to longitudinal mean filtering, gray value differences of different longitudinal areas in the image caused by illumination are prevented, then the filtered image is subtracted from the longitudinally mean filtered image, so that longitudinal white yarns in the carbon fiber cloth cover are removed, interference is prevented, the area with the largest area in the image is found out through threshold segmentation, whether the second threshold value is exceeded is judged, if the area is exceeded, the alarm is stopped, light-colored foreign matters on the carbon fiber cloth cover can be effectively detected, and the influence on the product quality is prevented.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments described in the present invention, and other drawings may be obtained according to the drawings without inventive effort to those skilled in the art.
FIG. 1 is a flow chart of the method of the present invention;
FIG. 2 is a schematic diagram of the system of the present invention;
FIG. 3 is a schematic view of the carbon fiber cloth cover collected in example 2;
FIG. 4 is a schematic view of an image B in example 2;
FIG. 5 is a schematic view of image C in example 2;
FIG. 6 is a schematic view of a detected foreign object region;
Fig. 7 is a schematic structural diagram of a computer device.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments.
As shown in fig. 1: a method for detecting light-colored foreign matters on a carbon fiber cloth cover comprises the following steps:
collecting a picture of the carbon fiber cloth cover, and converting the picture into a gray image;
The gray level image is subjected to mean value filtering and recorded as an image A, whether a light area with the area larger than a first threshold value exists in the image A is judged, and if so, the alarm is given out;
If not, carrying out longitudinal mean filtering on the image A, and marking the image A as an image B;
subtracting the image B from the image A, and recording as an image C;
and (3) carrying out threshold segmentation on the image C, searching the area with the largest area in the image, judging whether the area exceeds a second threshold, and if so, alarming and stopping.
The method comprises the steps of firstly carrying out average filtering on an image, judging whether a light area with the area larger than a first threshold value exists in the image, alarming and stopping if the light area with the area larger than the first threshold value exists in the image, then carrying out longitudinal average filtering on the image, preventing gray value differences of different longitudinal areas caused by illumination in the image, subtracting the filtered image from the longitudinal average filtered image, removing longitudinal white yarns in the carbon fiber cloth cover, preventing interference, finding out the area with the largest area in the image through threshold segmentation, judging whether the area exceeds a second threshold value, and if the area exceeds the second threshold value, alarming and stopping, so that light-colored foreign matters on the carbon fiber cloth cover can be effectively detected, and the influence on the product quality is prevented.
In this embodiment, the first threshold is greater than the second threshold.
Wherein determining whether there is a light-colored region in the image a having an area greater than a first threshold includes:
performing threshold segmentation on the image A, and extracting pixel points with gray values exceeding a first set value;
separating the extracted pixel points into non-connected areas, and dividing the pixel points into a plurality of light-colored areas;
and judging whether the area of the light-colored region is larger than a first threshold value.
Threshold segmentation is carried out on the image C, and a region with the largest area in the image is searched, which comprises the following steps:
performing threshold segmentation on the image C, and extracting pixel points with gray values exceeding a second set value as an area;
Performing open operation on the regions, and separating non-connected regions;
And searching the area with the largest area in the non-connected area for judgment.
As a preference of the above embodiment, the gray value of each pixel in image a is subtracted from the gray value of the corresponding pixel in image B by subtracting the gray value of each pixel in image a from image B.
As shown in fig. 2, the embodiment further includes a carbon fiber cloth cover light-color foreign matter detection system, which includes:
The image acquisition unit is used for acquiring pictures of the carbon fiber cloth cover and converting the pictures into gray images;
the first judging unit is used for carrying out mean value filtering on the gray level image, recording the gray level image as an image A, judging whether a light area with the area larger than a first threshold value exists in the image A, and if so, alarming and stopping;
If not, carrying out longitudinal mean filtering on the image A, and marking the image A as an image B;
An image processing unit for subtracting the image B from the image a, and recording as an image C;
and the second judging unit is used for carrying out threshold segmentation on the image C, searching the area with the largest area in the image, judging whether the area exceeds a second threshold, and alarming and stopping if the area exceeds the second threshold.
Example 2:
the embodiment comprises a method for detecting light-colored foreign matters on a carbon fiber cloth cover, which comprises the following steps:
S1: setting a monitoring area, determining preset parameters and obtaining a picture of the carbon fiber cloth cover;
S2: converting the color image data into gray scale image data;
S3: the gray level image is subjected to mean value filtering and recorded as an image A, whether large-area light-colored foreign matters exist in the image A is judged, and if so, an alarm is given;
s4: if the large-area light-colored foreign matters are not present, carrying out longitudinal mean filtering on the gray level image, and marking the gray level image as an image B;
s5: subtracting the image B from the image A, wherein the obtained picture C is the picture after the yarns are removed;
s6: performing threshold segmentation on the graph C, performing open operation on the segmented region, and then separating the non-connected region to obtain a foreign object region;
s7: and selecting an area with the largest area, judging whether the area threshold value is exceeded, and if the area threshold value is larger than the area threshold value, alarming and stopping.
As shown in fig. 3, setting a monitoring area and determining preset parameters to obtain a picture of the carbon fiber cloth cover;
S3: the gray scale image is mean filtered and the filter kernel 5*5 is denoted as image a. Judging whether large-area light-colored foreign matters exist: the method comprises the steps of (1) carrying out threshold segmentation on a region A, extracting pixel points with gray values of more than 200 as regions, carrying out open operation on the region, opening operation on the diameter of a kernel by 3.5, separating a non-connected region, then selecting a region with the largest area, judging whether the area of the region reaches 2000, if so, carrying out alarming and stopping, otherwise, carrying out the next step;
S4: if there is no large area of light foreign matter, longitudinal average filtering is performed on the gray level image, the filtering kernel 1×30 (width×height) is marked as an image B, and the image B is shown in fig. 4;
S5: subtracting the image B from the image A, wherein the obtained picture C is a picture after yarn removal, and the picture C is shown in fig. 5;
S6: performing threshold segmentation on the graph C, extracting pixel points with gray values of more than 150 as a region, performing open operation on the region, opening the radius of an operation kernel to be 3.5, and then separating non-connected regions, as shown in FIG. 6;
S7: and selecting one area with the largest area, judging whether the area of the area exceeds an area threshold, and if the area exceeds the area threshold, alarming to stop the vehicle, wherein the area threshold is set to be 500 pixels.
The method in the embodiment can effectively detect the light-colored foreign matters on the carbon fiber cloth cover, can eliminate white yarn interference on the carbon fiber cloth cover, and improves detection accuracy.
Fig. 7 is a schematic structural diagram of a computer device according to an embodiment of the present application. The computer device 400 provided in the embodiment of the present application includes: a processor 410 and a memory 420, the memory 420 storing a computer program executable by the processor 410, which when executed by the processor 410 performs the method as described above.
The embodiment of the present application also provides a storage medium 430, on which storage medium 430 a computer program is stored which, when executed by the processor 410, performs a method as above.
The storage medium 430 may be implemented by any type or combination of volatile or nonvolatile Memory devices, such as static random access Memory (Static Random Access Memory, SRAM), electrically erasable Programmable Read-Only Memory (ELECTRICALLY ERASABLE PROGRAMMABLE READ-Only Memory, EEPROM), erasable Programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), programmable Read-Only Memory (PROM), read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk, or optical disk.
In the description of the present invention, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. The meaning of "a plurality of" is two or more, unless specifically defined otherwise.
In the present invention, unless explicitly specified and limited otherwise, the terms "mounted," "connected," "secured," and the like are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communicated with the inside of two elements or the interaction relationship of the two elements. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means 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 present invention. In this specification, schematic representations of the above terms are not necessarily for 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, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those 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 further 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.
Logic and/or steps represented in the flowcharts or otherwise described herein, e.g., a ordered listing of executable instructions for implementing 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). In addition, the computer readable medium may even be paper or other suitable medium on which the program is printed, as the program may 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 is to be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
Those of ordinary skill in the art will appreciate that all or a portion of the steps carried out in the method of the above-described embodiments may be implemented by a program to instruct related hardware, where the program may be stored in a computer readable storage medium, and where the program, when executed, includes one or a combination of the steps of the method embodiments.
The above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, or the like. While embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the invention, and that variations, modifications, alternatives and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the invention.

Claims (8)

1. The method for detecting the light-colored foreign matter on the carbon fiber cloth cover is characterized by comprising the following steps of:
collecting a picture of the carbon fiber cloth cover, and converting the picture into a gray image;
The gray level image is subjected to mean value filtering and recorded as an image A, whether a light area with the area larger than a first threshold value exists in the image A or not is judged, and if so, the vehicle stops in an alarming mode;
If not, carrying out longitudinal mean filtering on the image A, and marking the image A as an image B;
subtracting the image B from the image A, and recording as an image C;
And carrying out threshold segmentation on the image C, searching for the area with the largest area in the image, judging whether the area exceeds a second threshold, and if so, alarming and stopping.
2. The method for detecting a light-colored foreign matter on a carbon fiber cloth cover according to claim 1, wherein the first threshold value is larger than the second threshold value.
3. The method according to claim 1, wherein the determining whether the image a has a light-colored region having an area larger than a first threshold value comprises:
Performing threshold segmentation on the image A, and extracting pixel points with gray values exceeding a first set value;
separating the extracted pixel points into non-connected areas, and dividing the pixel points into a plurality of light-colored areas;
and judging whether the area of the light-colored region is larger than the first threshold value.
4. The method for detecting light-colored foreign matter on a carbon fiber cloth cover according to claim 1, wherein the performing threshold segmentation on the image C and searching for a region with the largest area in the image includes:
Threshold segmentation is carried out on the image C, and pixel points with gray values exceeding a second set value are extracted to be an area;
Performing open operation on the region, and separating non-connected regions;
And searching the area with the largest area in the non-connected area for judgment.
5. The method according to claim 1, wherein the gray value of each pixel in the image a is subtracted from the gray value of the corresponding pixel in the image B by subtracting the image a from the image B.
6. A carbon fiber cloth cover light-colored foreign matter detection system, characterized by using the method as claimed in any one of claims 1 to 5, comprising:
The image acquisition unit is used for acquiring pictures of the carbon fiber cloth cover and converting the pictures into gray images;
The first judging unit is used for carrying out mean value filtering on the gray level image, marking the gray level image as an image A, judging whether a light area with the area larger than a first threshold value exists in the image A, and if so, alarming and stopping;
If not, carrying out longitudinal mean filtering on the image A, and marking the image A as an image B;
an image processing unit for subtracting image B from image a, denoted as image C;
And the second judging unit is used for carrying out threshold segmentation on the image C, searching the area with the largest area in the image, judging whether the area exceeds a second threshold, and alarming and stopping if the area exceeds the second threshold.
7. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any of claims 1-5 when the computer program is executed.
8. A storage medium having stored thereon a computer program which, when executed by a processor, implements the method of any of claims 1-5.
CN202410414378.XA 2024-04-08 2024-04-08 Carbon fiber cloth cover light-color foreign matter detection system and method Pending CN118297904A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410414378.XA CN118297904A (en) 2024-04-08 2024-04-08 Carbon fiber cloth cover light-color foreign matter detection system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410414378.XA CN118297904A (en) 2024-04-08 2024-04-08 Carbon fiber cloth cover light-color foreign matter detection system and method

Publications (1)

Publication Number Publication Date
CN118297904A true CN118297904A (en) 2024-07-05

Family

ID=91682517

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410414378.XA Pending CN118297904A (en) 2024-04-08 2024-04-08 Carbon fiber cloth cover light-color foreign matter detection system and method

Country Status (1)

Country Link
CN (1) CN118297904A (en)

Similar Documents

Publication Publication Date Title
CN116109642B (en) Method, equipment and storage medium for detecting carbon fiber broken wire defect
CN109071121B (en) Method for monitoring the condition of a conveyor belt and conveyor belt monitoring system
CN113780185B (en) Weft angle detection method and device based on carbon fibers and storage medium
CN113870233A (en) Binding yarn detection method, computer equipment and storage medium
CN113838038A (en) Carbon fiber cloth cover defect detection method and device, electronic equipment and storage medium
CN113781447B (en) Weft yarn gap detection method and device based on carbon fibers and storage medium
CN115131348B (en) Method and system for detecting textile surface defects
WO2023039781A1 (en) Method for detecting abandoned object, apparatus, electronic device, and storage medium
CN113870295A (en) Hole diameter detection method, computer equipment and storage medium
CN116563223B (en) Glass fiber yarn winding roller detection method, equipment and storage medium
CN118297904A (en) Carbon fiber cloth cover light-color foreign matter detection system and method
CN116596802B (en) Binding yarn extraction method, device, equipment and medium under complex background
CN112150438A (en) Disconnection detection method, disconnection detection device, electronic device and storage medium
CN113516608A (en) Tire defect detection method and device, and tire detection device
CN113936242B (en) Video image interference detection method, system, device and medium
CN115661194A (en) Moving object extraction method, system, electronic device and medium
CN117670843B (en) Method, device, equipment and storage medium for detecting broken yarn of color yarn
CN117670840A (en) Method, device, equipment and storage medium for detecting black foreign matter on edge
CN117745702A (en) Carbon fiber cloth cover horizontal bar detection method, device, equipment and storage medium
CN117670842B (en) Cloth cover horizontal bar detection method, device, equipment and storage medium
CN117350999A (en) White binding yarn breakage detection method, device, equipment and storage medium
CN116485789B (en) Method, equipment and storage medium for detecting carbon fiber splitting defect
CN116523915B (en) Method, equipment and storage medium for detecting defects of carbon fiber joints
CN118297903A (en) Dry fiber width detecting system
CN112232283B (en) Bubble detection method and system based on optical flow and C3D network

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