Method, device and equipment for detecting distance from demolding cloth to edge in carbon plate forming process

By automatically detecting the surface image of the carbon plate, and calculating the distance between the demolding cloth and the edge of the carbon plate, the problem of omissions in manual inspection is solved, efficient and accurate detection results are achieved, and the stability of product quality is improved.

CN119515871APending Publication Date: 2025-02-25CHANGZHOU HONGFA ZONGHENG ADVANCED MATERIAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411829240.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-12
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

During the carbon plate production process, there are omissions in the distance between the demolding cloth and the edge of the carbon plate, which affects the product quality.

Method used

By obtaining the surface image of the carbon plate, decompose it into three channels R, G, and B, the G channel image is extracted and average filtered, the area where the demolding cloth is not covered on both sides of the carbon plate is extracted, the actual distance between the width average of the central area of ​​the demolding cloth and the adjacent center line is calculated, and the actual distance between the uncovered cloth is not covered on both sides of the carbon plate is calculated.

Benefits of technology

It realizes automated inspection, improves the accuracy and efficiency of inspection, and ensures the consistency and stability of product quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119515871A_ABST
    Figure CN119515871A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of composite material production and detection, in particular to a method, device and equipment for detecting the distance from demolding cloth to an edge in the carbon plate forming process, and the method comprises the steps: obtaining a surface image of a carbon plate, decomposing the image according to R, G and B channels, extracting an image under the G channel, and recording the image as an initial image; performing mean filtering on the initial image to obtain a filtered image; pixel points in the filtered image are extracted through set conditions, areas, not covered with the demolding cloth, on the two sides of the carbon plate are extracted, and the widths of the two areas are calculated; based on the centerline on the demolding cloth, extracting a central area of the demolding cloth, and calculating a width mean value of the central area of the demolding cloth; obtaining the actual distance between the adjacent center lines on the demolding cloth, and calculating the actual distance between the two sides of the carbon plate not covered with the demolding cloth according to the calculated width of the areas, not covered with the demolding cloth, of the two sides of the carbon plate, the average width value of the center area of the demolding cloth and the actual distance between the adjacent center lines on the demolding cloth.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of composite material production detection, and in particular to a method, device and equipment for detecting the distance from a demoulding cloth to an edge in a carbon plate forming process. Background Art

[0002] Carbon fiber has a series of excellent properties such as high specific strength, high specific modulus, fatigue resistance, creep resistance, corrosion resistance and small thermal expansion coefficient. Therefore, it is widely used as the reinforcement of carbon fiber reinforced resin-based composites (CFRP) in cutting-edge defense technologies such as aerospace and aviation. It is also a new material for the upgrading of civilian industries.

[0003] During the production process of pultruded carbon plate, the surface of the carbon plate needs to be covered with a release cloth, and the release cloth will have several center lines during the weaving process, and the distance between adjacent center lines is equal. The process requires that the release cloth needs to be kept in the middle of the carbon plate, otherwise it will affect the demoulding of the release cloth and the product quality. Therefore, it is necessary to monitor the distance from the edge of the release cloth to the edge of the carbon plate. Due to the continuity of carbon plate production, manual inspection often has omissions, so an automatic detection method is needed.

[0004] The information disclosed in this background technology section is only intended to deepen the understanding of the overall background technology of the present invention, and should not be regarded as acknowledging or suggesting in any form that the information constitutes the prior art already known to those skilled in the art. Summary of the invention

[0005] The present invention provides a method, device and equipment for detecting the distance from a demoulding cloth to an edge during a carbon plate forming process, thereby effectively solving the problems in the background technology.

[0006] In order to achieve the above object, the technical solution adopted by the present invention is: a method for detecting the distance from the demoulding cloth to the edge during the carbon plate forming process, comprising the following steps: Obtain the surface image of the carbon plate covered with the release cloth, decompose the image into three channels: R, G, and B, extract the image under the G channel, and record it as the initial image; Performing mean filtering on the initial image to obtain a filtered image; Extracting pixel points in the filtered image by setting conditions, extracting areas on both sides of the carbon plate that are not covered by the release cloth, and calculating the widths of the two areas; Based on the center line of the release cloth, the center area of ​​the release cloth is extracted, and the average width of the center area of ​​the release cloth is calculated; The actual distance between adjacent center lines on the release cloth is obtained, and the actual distance between the two sides of the carbon plate not covered by the release cloth is calculated according to the calculated width of the area on both sides of the carbon plate not covered by the release cloth, the average width of the central area of ​​the release cloth and the actual distance between adjacent center lines on the release cloth.

[0007] Furthermore, the performing mean filtering on the initial image includes: Extracting the height of the initial image; Using a filter kernel with a width of one pixel and a height of the initial image, perform mean filtering on the initial image; When the filter kernel performs mean filtering, the image is filtered from left to right.

[0008] Furthermore, extracting the pixel points in the filtered image by setting conditions to extract the areas on both sides of the carbon plate not covered by the release cloth includes the following steps: By using a gray value threshold, extracting the pixel points on the center line of the release cloth and the two ends of the carbon plate not covered by the release cloth in the filtered image; The above pixel points are segmented into connected domains to obtain the centerline area and the areas at both ends of the carbon plate that are not covered with the release cloth; The centerline area is removed by using the width threshold to obtain the areas at both ends of the carbon plate that are not covered with the release cloth.

[0009] Furthermore, the extracting of the central area of ​​the release cloth based on the center line of the release cloth comprises the following steps: After obtaining the centerline area and the areas at both ends of the carbon plate not covered with the release cloth, the obtained regional image is recorded as Aregion; The filtered image is recorded as Allregion; Obtain the difference between the Allregion and Aregion; Segmenting the connected domains of the pixel points in the difference set to obtain a plurality of sub-region sets; Filter the sub-regions located in the central region among several sub-region sets.

[0010] Furthermore, the screening of the sub-region located in the central region in the plurality of sub-region sets includes: Calculate the mean width of several sub-region sets, denoted as meanwidth; Get the image width of the initial image, denoted as width; In the sub-region set, the sub-region whose column coordinate range is [width / 2-meanwidth, width / 2+meanwidth] is screened, that is, the sub-region of the central region.

[0011] Furthermore, the calculation of the actual distance between the two sides of the carbon plate not covered by the release cloth includes: ; ; Wherein, distance1 and distance2 are the actual distances on both sides of the carbon plate that are not covered by the release cloth; Bwidth1 and Bwidth2 are the widths of the areas on both sides of the carbon plate that are not covered by the release cloth; Tmean is the mean width of the central area of ​​the release cloth; Distance is the actual distance between adjacent center lines on the release cloth.

[0012] The present invention also includes a device for detecting the distance from the demoulding cloth to the edge during the carbon plate forming process, using the above method, the device includes: An acquisition unit is used to acquire the surface image of the carbon plate covered with the release cloth, decompose the image into three channels of R, G, and B, extract the image under the G channel, and record it as the initial image; A filtering unit, used for performing mean filtering on the initial image to obtain a filtered image; A region extraction unit, used to extract pixel points in the filtered image by setting conditions, extract the regions on both sides of the carbon plate that are not covered by the release cloth, and calculate the widths of the two regions; A width calculation unit, used for extracting the central area of ​​the release cloth based on the center line of the release cloth, and calculating the average width of the central area of ​​the release cloth; The distance calculation unit is used to obtain the actual distance between adjacent center lines on the release cloth, and calculate the actual distance between the two sides of the carbon plate not covered by the release cloth according to the calculated width of the area on both sides of the carbon plate not covered by the release cloth, the average width of the central area of ​​the release cloth and the actual distance between the adjacent center lines on the release cloth.

[0013] The present invention also includes a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method described above is implemented.

[0014] The present invention also includes a storage medium on which a computer program is stored. When the computer program is executed by a processor, the method described above is implemented.

[0015] The beneficial effects of the present invention are: extracting the G channel image to provide better contrast, facilitating subsequent processing, smoothing the image by mean filtering, enhancing the boundary contrast between the demoulding cloth and the carbon plate area, accurately segmenting the demoulding cloth and the carbon plate area through pixel features and edge detection, and using the mean center width of the demoulding cloth and the distance between the center lines to ensure the accuracy of the detection results. The method has the advantages of high efficiency, accuracy, and automation, and can well meet the real-time detection needs in the carbon plate production process, while improving the consistency and stability of product quality. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0017] Figure 1 is a flow chart of the method of the present invention; Figure 2 This is the surface image of the carbon plate covered with release cloth; Figure 3 is the initial image; Figure 4 is the filtered image; Figure 5 The images show the midline area and the areas at both ends of the carbon plate that are not covered with release cloth; Figure 6 This is the image of the area of ​​the carbon plate not covered with release cloth; Figure 7 Assemble images for several sub-regions; Figure 8 is the sub-region image located in the central area; Fig. 9 It is a structural schematic diagram of the device of the present invention; Fig.10 It is a schematic diagram of the structure of the computer device of the present invention. DETAILED DESCRIPTION

[0018] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.

[0019] like Figure 1 As shown: A method for detecting the distance from the demoulding cloth to the edge during the carbon plate forming process, comprising the following steps: To obtain an image of the carbon plate surface covered with a release cloth, please refer to Figure 2 , where the carbon plate is covered with a release cloth, on which there are several center lines, and the image is decomposed into three channels of R, G, and B, and the image under the G channel is extracted. The extracted image is as follows Figure 3 As shown, it is recorded as the initial image; Perform mean filtering on the initial image to obtain the filtered image. Please refer to Figure 4 ; By setting conditions, the pixel points in the filtered image are extracted, the areas on both sides of the carbon plate that are not covered by the release cloth are extracted, and the widths of the two areas are calculated; Based on the center line of the release cloth, the center area of ​​the release cloth is extracted, and the average width of the center area of ​​the release cloth is calculated; The actual distance between adjacent center lines on the release cloth is obtained, and the actual distance between the two sides of the carbon plate not covered by the release cloth is calculated according to the calculated width of the area on both sides of the carbon plate not covered by the release cloth, the average width of the central area of ​​the release cloth and the actual distance between adjacent center lines on the release cloth.

[0020] Use an industrial camera to obtain the surface image of the carbon plate covered with the release cloth, decompose the image into three channels, R (red), G (green) and B (blue), extract the image of the G channel as the initial image (the reason is that the green channel usually has a higher contrast in distinguishing grayscale details), and perform mean filtering on the initial image to reduce image noise and improve the uniformity of the pixel area, so that it is easier to extract edge features. Then extract the carbon plate area on both sides of the filtered image that is not covered with the release cloth, calculate the width of the area between the two edges, as the width of the area on both sides of the carbon plate that is not covered with the release cloth, detect the center line of the release cloth surface, extract the center area of ​​the release cloth by image segmentation method, obtain the actual distance between adjacent center lines on the release cloth, usually determine the true value of the center line spacing by template calibration or direct measurement, and use geometric relationship or proportional formula to calculate the actual distance between the two sides of the carbon plate that is not covered with the release cloth.

[0021] The G channel image is extracted to provide better contrast, and the mean filter is used to smooth the image, enhance the boundary contrast between the stripping cloth and the carbon plate area, and accurately segment the stripping cloth and the carbon plate area through pixel features and edge detection. The mean center width of the stripping cloth and the distance between the center lines are used to ensure the accuracy of the detection results. This method has the advantages of high efficiency, accuracy, and automation, and can well meet the real-time detection needs in the carbon plate production process, while improving the consistency and stability of product quality.

[0022] In this embodiment, the initial image is subjected to mean filtering, including: Extract the height of the initial image; Perform mean filtering on the initial image using a filter kernel with a width of one pixel and a height equal to the height of the initial image; When the filter kernel performs mean filtering, the image is filtered from left to right.

[0023] The filtered image is an image with the same pixel value in each column, which retains the vertical characteristics of the image and enhances the horizontal contrast. The filtered image can more clearly present the edges of the carbon plate and the horizontal distribution characteristics of the release cloth. Column-by-column filtering (from left to right) can conform to the natural scanning order of the image and reduce abnormal data caused by boundary effects.

[0024] The pixel points in the filtered image are extracted by setting conditions to extract the areas on both sides of the carbon plate that are not covered by the release cloth, including the following steps: Through the gray value threshold, the pixel points on the center line of the release cloth and the two ends of the carbon plate that are not covered by the release cloth in the filtered image are extracted; The above pixel points are segmented into connected domains to obtain the centerline area and the areas at both ends of the carbon plate that are not covered with the release cloth; The centerline area is removed by using the width threshold to obtain the areas at both ends of the carbon plate that are not covered with the release cloth.

[0025] The grayscale value is used to distinguish the center line of the demoulding cloth and the area not covered by the carbon plate, which simplifies the difficulty of segmentation under complex backgrounds. The connected domain segmentation ensures the integrity of the region, so that the center line and the area not covered by the carbon plate can be marked and analyzed independently. The width characteristic of the center line is used to remove the area, avoiding the problem of misidentifying the center line of the demoulding cloth as the area not covered by the carbon plate.

[0026] In this embodiment, the region with a gray value range of [0,80] is extracted. Please refer to Figure 5 , and select the area with a width greater than 20, that is, the area where the carbon plate is not covered with the release cloth. For the area where the carbon plate is not covered with the release cloth, please refer to Figure 6 .

[0027] As a preferred embodiment of the above, based on the center line of the release cloth, the central area of ​​the release cloth is extracted, including the following steps: After obtaining the centerline area and the areas at both ends of the carbon plate that are not covered with the release cloth, the obtained regional image is recorded as Aregion. Please refer to Figure 5 ; The filtered image is recorded as Allregion, please refer to Figure 4 ; Find the difference between Allregion and Aregion; Segment the connected domains of the pixels in the difference set to obtain several sub-region sets. Please refer to Figure 7 ; Filter the sub-regions located in the central region among several sub-region sets.

[0028] The use of regional difference avoids the interference of the center line and the edge area of ​​the carbon plate, directly locates the central area of ​​the release cloth, and the connected domain segmentation accurately extracts the independent central area features. The irrelevant areas are further excluded through geometric screening. The definition of the central area range can be adjusted according to the actual working conditions to adapt to release cloths of different sizes and positions.

[0029] like Figure 8 As shown, in this embodiment, the sub-regions located in the central region of the plurality of sub-region sets are screened, including: Calculate the mean width of several sub-region sets, denoted as meanwidth; Get the image width of the initial image, recorded as width; In the filter sub-region set, the sub-region whose column coordinate range is [width / 2-meanwidth, width / 2+meanwidth] is the sub-region of the central region.

[0030] The middle area of ​​the image width width is used as the reference position of the central area to ensure that the algorithm is robust to image offset. The column coordinate range of the central area is dynamically adjusted by the width mean to adapt to the width change of the release cloth in the actual scene.

[0031] The actual distance between the two sides of the carbon plate that is not covered with the release cloth is calculated, including: ; ; Wherein, distance1 and distance2 are the actual distances on both sides of the carbon plate that are not covered by the release cloth; Bwidth1 and Bwidth2 are the widths of the areas on both sides of the carbon plate that are not covered by the release cloth; Tmean is the mean width of the central area of ​​the release cloth; Distance is the actual distance between adjacent center lines on the release cloth.

[0032] like Fig. 9 As shown, this embodiment also includes a device for detecting the distance from the demoulding cloth to the edge during the carbon plate forming process, using the above method, the device includes: An acquisition unit is used to acquire the surface image of the carbon plate covered with the release cloth, decompose the image into three channels of R, G, and B, extract the image under the G channel, and record it as the initial image; A filtering unit, used for performing mean filtering on the initial image to obtain a filtered image; The area extraction unit is used to extract pixel points in the filtered image by setting conditions, extract the areas on both sides of the carbon plate that are not covered by the release cloth, and calculate the widths of the two areas; A width calculation unit, used for extracting the central area of ​​the release cloth based on the center line of the release cloth, and calculating the average width of the central area of ​​the release cloth; The distance calculation unit is used to obtain the actual distance between adjacent center lines on the release cloth, and calculate the actual distance between the two sides of the carbon plate not covered by the release cloth according to the calculated width of the area on both sides of the carbon plate not covered by the release cloth, the average width of the central area of ​​the release cloth and the actual distance between the adjacent center lines on the release cloth.

[0033] See also Fig.10A computer device 400 provided in an embodiment of the present application includes: a processor 410 and a memory 420, wherein the memory 420 stores a computer program executable by the processor 410, and when the computer program is executed by the processor 410, the above method is executed.

[0034] The embodiment of the present application further provides a storage medium 430 on which a computer program is stored. When the computer program is run by the processor 410, the above method is executed.

[0035] Among them, the storage medium 430 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable red-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, disk or optical disk.

[0036] In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. "Multiple" means two or more, unless otherwise clearly and specifically defined.

[0037] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0038] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.

[0039] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention belong.

[0040] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples (non-exhaustive list) of computer-readable media include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0041] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0042] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0043] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present invention. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present invention.

Claims

1. A method for detecting the distance from the demoulding cloth to the edge during the carbon plate forming process, characterized in that: The steps include: Obtain the surface image of the carbon plate covered with the release cloth, decompose the image into three channels: R, G, and B, extract the image under the G channel, and record it as the initial image; Performing mean filtering on the initial image to obtain a filtered image; Extracting pixel points in the filtered image by setting conditions, extracting areas on both sides of the carbon plate that are not covered by the release cloth, and calculating the widths of the two areas; Based on the center line of the release cloth, the center area of ​​the release cloth is extracted, and the average width of the center area of ​​the release cloth is calculated; The actual distance between adjacent center lines on the release cloth is obtained, and the actual distance between the two sides of the carbon plate not covered by the release cloth is calculated according to the calculated width of the area on both sides of the carbon plate not covered by the release cloth, the average width of the central area of ​​the release cloth and the actual distance between adjacent center lines on the release cloth.

2. The method for detecting the distance from the release cloth to the edge during the carbon plate forming process according to claim 1, characterized in that: The performing mean filtering on the initial image comprises: Extracting the height of the initial image; Using a filter kernel with a width of one pixel and a height of the initial image, perform mean filtering on the initial image; When the filter kernel performs mean filtering, the image is filtered from left to right.

3. The method for detecting the distance from the release cloth to the edge during the carbon plate forming process according to claim 1, characterized in that: The step of extracting pixel points in the filtered image by setting conditions to extract areas on both sides of the carbon plate that are not covered with release cloth comprises the following steps: By using a gray value threshold, extracting the pixel points on the center line of the release cloth and the two ends of the carbon plate not covered by the release cloth in the filtered image; The above pixel points are segmented into connected domains to obtain the centerline area and the areas at both ends of the carbon plate that are not covered with the release cloth; The centerline area is removed by using the width threshold to obtain the areas at both ends of the carbon plate that are not covered with the release cloth.

4. The method for detecting the distance from the demoulding cloth to the edge during the carbon plate forming process according to claim 3, characterized in that: The method of extracting the central area of ​​the release cloth based on the center line of the release cloth comprises the following steps: After obtaining the centerline area and the areas at both ends of the carbon plate not covered with the release cloth, the obtained regional image is recorded as Aregion; The filtered image is recorded as Allregion; Obtain the difference between the Allregion and Aregion; Segmenting the connected domains of the pixel points in the difference set to obtain a plurality of sub-region sets; Filter the sub-regions located in the central region among several sub-region sets.

5. The method for detecting the distance from the demoulding cloth to the edge during the carbon plate forming process according to claim 4, characterized in that: The screening of the sub-regions located in the central region of the plurality of sub-region sets includes: Calculate the mean width of several sub-region sets, denoted as meanwidth; Get the image width of the initial image, denoted as width; In the sub-region set, the sub-region whose column coordinate range is [width / 2-meanwidth, width / 2+meanwidth] is screened, that is, the sub-region of the central region.

6. The method for detecting the distance from the demoulding cloth to the edge during the carbon plate forming process according to claim 1, characterized in that: The calculation of the actual distance between the two sides of the carbon plate not covered with the release cloth includes: ; ; Wherein, distance1 and distance2 are the actual distances on both sides of the carbon plate that are not covered by the release cloth; Bwidth1 and Bwidth2 are the widths of the areas on both sides of the carbon plate that are not covered by the release cloth; Tmean is the mean width of the central area of ​​the release cloth; Distance is the actual distance between adjacent center lines on the release cloth.

7. A device for detecting the distance from the demoulding cloth to the edge during the carbon plate forming process, characterized in that: Using the method according to any one of claims 1 to 6, the device comprises: An acquisition unit is used to acquire the surface image of the carbon plate covered with the release cloth, decompose the image into three channels of R, G, and B, extract the image under the G channel, and record it as the initial image; A filtering unit, used for performing mean filtering on the initial image to obtain a filtered image; A region extraction unit, used to extract pixel points in the filtered image by setting conditions, extract the regions on both sides of the carbon plate that are not covered by the release cloth, and calculate the widths of the two regions; A width calculation unit, used for extracting the central area of ​​the release cloth based on the center line of the release cloth, and calculating the average width of the central area of ​​the release cloth; The distance calculation unit is used to obtain the actual distance between adjacent center lines on the release cloth, and calculate the actual distance between the two sides of the carbon plate not covered by the release cloth according to the calculated width of the area on both sides of the carbon plate not covered by the release cloth, the average width of the central area of ​​the release cloth and the actual distance between the adjacent center lines on the release cloth.

8. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 6 is implemented.

9. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.