Plate dimension measurement method and system based on edge detection and curve fitting

Through edge detection and curve fitting methods, a linear array camera and edge detection algorithm are used to extract features and compensate for plate size, solving the problems of low plate measurement efficiency and large errors, and achieving efficient and accurate plate size measurement.

CN120852504APending Publication Date: 2025-10-28CHENGDU UNION BIG DATA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510877000.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-27
Publication Date
2025-10-28

AI Technical Summary

Technical Problem

The existing technology for measuring plate size has low efficiency and large errors, and manual measurement is easily affected by subjective factors and cannot meet the needs of industrial production.

Method used

An edge detection and curve fitting method is adopted. The image of the board material is acquired by a linear scan camera, the edge detection algorithm is used to extract features, and the size is compensated by the fitted curve to reduce measurement error.

Benefits of technology

It improves the efficiency of sheet metal size measurement, reduces measurement errors, and enhances measurement accuracy and product yield.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120852504A_ABST
    Figure CN120852504A_ABST
Patent Text Reader

Abstract

The invention provides a plate size measurement method and system based on edge detection and curve fitting, and relates to the technical field of plate size automatic measurement, and the method comprises the steps: carrying out the segmentation processing of a transmission mechanism, so as to obtain a plurality of segmented regions; a line-scan digital camera is adopted to carry out image acquisition on the plate placed on the surface of the transmission mechanism to obtain a plurality of plate images; wherein the placing positions of the plates correspond to different segmented areas of the conveying mechanism respectively; performing feature extraction on the plate image based on an edge detection algorithm to obtain measurement values of different segmented regions; carrying out distribution fitting on the measured values and the true values of the different segmented areas to construct a fitting curve; and performing size compensation on the measured values of the different segmented areas based on the fitted curve to obtain a final size measurement result of the plate. The plate size is automatically measured based on the edge detection technology and the curve fitting technology, and the problems that the plate size measurement efficiency is poor and the measurement error is large are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of automatic sheet metal dimension measurement technology, and more specifically, to a sheet metal dimension measurement method and system based on edge detection and curve fitting. Background Technology

[0002] In the production of furniture and cabinet panels, the panels undergo processing steps such as cutting, edge banding, and assembly. Each of these processing steps introduces dimensional errors; therefore, verifying that the dimensions of the finished panels conform to the intended design is crucial and a key factor in ensuring the proper assembly of the furniture and cabinets.

[0003] Currently, most factories still rely on manual measurement to control the dimensions of sheet materials, using measuring tapes or calipers to determine whether the dimensions are up to standard. However, manual measurement is susceptible to subjective factors, leading to errors in the measured dimensions. Furthermore, manual measurement is inefficient and cannot meet the needs of industrial production. Summary of the Invention

[0004] This invention provides a method and system for measuring the dimensions of sheet metal based on edge detection and curve fitting, in order to solve the problems of poor efficiency and large measurement error in sheet metal dimension measurement.

[0005] In a first aspect, the present invention provides a method for measuring the dimensions of sheet metal based on edge detection and curve fitting, the method flow being as follows:

[0006] The transmission mechanism is segmented to obtain several segmented regions;

[0007] A line scan camera is used to acquire images of the plates placed on the surface of the transmission mechanism to obtain several images of the plates; wherein the placement positions of the plates correspond to different segmented areas of the transmission mechanism.

[0008] Feature extraction of board images is performed based on edge detection algorithms to obtain measurement values ​​of different segmented regions;

[0009] Distribution fitting is performed on the measured values ​​and the true values ​​of different segmented regions to construct a fitting curve;

[0010] The measured values ​​of different segmented regions are compensated based on the fitted curve to obtain the final dimensional measurement results of the board.

[0011] In the above embodiments, the present invention acquires images of the plate material on the surface of the transmission mechanism and extracts features from the plate material images using an edge detection algorithm, thereby obtaining the measured values ​​of the plate material, which can improve the measurement efficiency of the plate material size. At the same time, by dividing the transmission mechanism into regions and obtaining size compensation for different segmented regions using curve fitting technology, the measurement error of the plate material size can be reduced.

[0012] As some optional embodiments of this application, the process for segmenting the transmission mechanism is as follows:

[0013] Obtain the length of the transmission mechanism, and divide the transmission mechanism into several segmented regions on an equal basis according to the length of the transmission mechanism;

[0014] Sensors are installed in each segment area to obtain the segment area of ​​the transmission mechanism corresponding to the placement position of the board.

[0015] In the above embodiments, the present invention divides the conveying mechanism into regions and sets sensors in each region, thereby enabling the sensors to detect the segmented regions corresponding to the placement positions of the sheet metal.

[0016] As some optional embodiments of this application, the process of using a line scan camera to acquire images of the plate material placed on the surface of the transmission mechanism is as follows:

[0017] The same piece of material is placed on each segmented area of ​​the surface of the transmission mechanism;

[0018] A line scan camera is used to acquire images of the board material within the camera's field of view, so as to obtain images of the board material in different segmented areas.

[0019] In the above embodiments, the present invention uses a line scan camera to acquire image features of the board material, which facilitates subsequent feature extraction of the board material.

[0020] As some optional implementations of this application, the process of feature extraction from the board image based on the edge detection algorithm is as follows:

[0021] Preprocessing, edge contour extraction, Hough line detection, and geometric calculation are performed on the images of the board material in different segmented regions to obtain virtual values ​​of the board material dimensions.

[0022] The transformation matrix based on the line scan camera is used to perform dimensional transformation on the virtual value of the plate size to obtain the measurement value of different segmented regions.

[0023] In the above embodiments, the present invention employs image feature extraction and size conversion techniques to quickly obtain measurement values ​​of the board material in different segmented regions.

[0024] As some optional embodiments of this application, the equation of the fitted curve is expressed as:

[0025] y = ax 3 +bx 2 +cx+d

[0026] Where y represents the deviation between the measured value and the true value of the plate, x represents the position of the plate placed in the corresponding segment area of ​​the transmission mechanism, and a, b, c, and d represent curve parameters.

[0027] In the above embodiments, by drawing a scatter plot of the distribution of measured values ​​in different segmented regions, it can be seen that the measured values ​​of the board in different segmented regions of the entire transmission mechanism present the shape of a cubic curve. Therefore, by fitting the distribution of the difference between the measured values ​​and the true values ​​in different segmented regions, the measurement accuracy of the board size and the yield rate of the board products can be improved.

[0028] As some optional embodiments of this application, the process of performing size compensation on the measured values ​​of different segmented regions based on the fitted curve is as follows:

[0029] The plate to be measured is placed on the surface of the transmission mechanism, and the segmented area corresponding to the plate placement position is obtained by the sensor;

[0030] A line scan camera is used to acquire images of the board material to be measured, so as to obtain images of the board material;

[0031] The image of the board material is preprocessed, edge contours are extracted, Hough lines are detected, and geometric calculations are performed to obtain virtual values ​​of the board material dimensions.

[0032] The virtual values ​​of the board size are transformed using the transformation matrix of a line scan camera to obtain the measured values ​​of the board to be inspected.

[0033] Input the measured values ​​of the board to be tested and the positions of the segmented regions into the equation of the fitting curve to obtain the size compensation parameters of the board to be tested.

[0034] The measured values ​​and dimensional compensation parameters of the material to be tested are added together to obtain the final dimensional measurement results of the material to be tested.

[0035] In the above embodiments, the present invention adds the measured values ​​and size compensation parameters obtained based on the line scan camera to calculate the accurate width and length of the plate.

[0036] As some optional embodiments of this application, the final dimensional measurement results of the plate include the width and length of the plate.

[0037] In a second aspect, the present invention provides a plate size measurement system based on edge detection and curve fitting, the system comprising:

[0038] A region segmentation marking unit is used to segment the transmission mechanism to obtain several segmented regions.

[0039] The plate image acquisition unit uses a line scan camera to acquire images of the plate placed on the surface of the transmission mechanism to obtain several plate images; wherein the placement positions of the plate correspond to different segmented areas of the transmission mechanism.

[0040] A measurement value acquisition unit extracts features from the board image based on an edge detection algorithm to obtain measurement values ​​for different segmented regions.

[0041] A distribution curve fitting unit is used to fit the distribution of measured values ​​and true values ​​in different segmented regions to construct a fitting curve.

[0042] The board size compensation unit performs size compensation on the measured values ​​of different segmented regions based on the fitted curve to obtain the final size measurement result of the board.

[0043] In a third aspect, the present invention provides a computer device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the aforementioned method for measuring sheet metal dimensions based on edge detection and curve fitting.

[0044] In a fourth aspect, the present invention provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the method for measuring the dimensions of sheet metal based on edge detection and curve fitting.

[0045] The beneficial effects of the present invention are as follows:

[0046] This invention improves the efficiency of measuring the size of the sheet material by acquiring images of the sheet material on the surface of the transmission mechanism and extracting features from the sheet material images using an edge detection algorithm. At the same time, by dividing the transmission mechanism into regions and obtaining size compensation for different segmented regions using curve fitting technology, the measurement error of the sheet material size can be reduced. Attached Figure Description

[0047] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0048] Figure 1 This is a schematic diagram of the computer device structure of the hardware operating environment described in the embodiments of the present invention;

[0049] Figure 2 This is a flowchart of the plate size measurement method described in the embodiments of the present invention;

[0050] Figure 3 This is a schematic diagram of the material image with respect to dimensions as described in the embodiments of the present invention;

[0051] Figure 4 This is a schematic diagram of belt segmentation measurement according to an embodiment of the present invention;

[0052] Figure 5 This is a scatter plot of the measured values ​​when the board placement position corresponds to different segmented areas according to the embodiments of the present invention;

[0053] Figure 6 This is a structural block diagram of the plate size measurement system described in an embodiment of the present invention. Detailed Implementation

[0054] It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit this application.

[0055] To address the issues of poor efficiency and large measurement errors in sheet metal dimension measurement, this application provides a method and system for sheet metal dimension measurement based on edge detection and curve fitting. Before introducing the specific technical solution of this application, the hardware operating environment involved in the embodiments of this application will be described first.

[0056] Please see Figure 1 , Figure 1 This is a schematic diagram of the computer device structure of the hardware operating environment involved in the embodiments of this application.

[0057] like Figure 1 As shown, the computer device may include: a processor, such as a central processing unit (CPU), a communication bus, a user interface, a network interface, and memory. The communication bus is used to enable communication between these components. The user interface may include a display screen and an input unit such as a keyboard; optionally, the user interface may also include a standard wired interface or a wireless interface. The network interface may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory may be high-speed random access memory (RAM) or stable non-volatile memory (NVM), such as a disk storage device; optionally, the memory may also be a storage device independent of the aforementioned processor.

[0058] Those skilled in the art will understand that Figure 1 The structure shown does not constitute a limitation on the computer device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0059] like Figure 1 As shown, a memory, as a storage medium, may include an operating system, a network communication module, a user interface module, and a data storage module.

[0060] exist Figure 1 In the computer device shown, the network interface is mainly used for data communication with the network server; the user interface is mainly used for data interaction with the user; the processor and memory in the computer device of this application can be set in the computer device, and the computer device calls the software products stored in the data storage module in the memory through the processor, and executes the plate size measurement method based on edge detection and curve fitting provided in the embodiment of this application.

[0061] Based on the hardware environment of the foregoing embodiments, embodiments of this application provide a method for measuring the dimensions of sheet metal based on edge detection and curve fitting. Please refer to [link to relevant documentation]. Figure 2 , Figure 2 The flowchart of the plate size measurement method is as follows:

[0062] (1) The transmission mechanism is segmented to obtain several segmented regions.

[0063] In this embodiment of the invention, the process of segmenting the transmission mechanism is as follows:

[0064] (1.1) Obtain the length of the transmission mechanism, and divide the transmission mechanism into several segmented regions on an average basis according to the length of the transmission mechanism. The transmission mechanism includes, but is not limited to, belts, etc.

[0065] (1.2) A sensor is installed in each segmented area to obtain the segmented area of ​​the transmission mechanism corresponding to the placement position of the board. The sensor includes, but is not limited to, a laser sensor.

[0066] Specifically, when the board is placed on the surface of multiple segmented areas, the sensors in multiple segmented areas detect the board, but ultimately the first or last segmented area is taken as the final placement position of the board.

[0067] (2) A line scan camera is used to acquire images of the plates placed on the surface of the transmission mechanism to obtain several images of the plates; wherein the placement positions of the plates correspond to different segmented areas of the transmission mechanism.

[0068] In this embodiment of the invention, the process of using a line scan camera to acquire images of the plate material placed on the surface of the transmission mechanism is as follows:

[0069] (2.1) Place the same piece of material on each segment area of ​​the transmission mechanism surface.

[0070] (2.2) A line scan camera is used to acquire images of the board material within the camera's field of view to obtain images of the board material in different segmented areas.

[0071] Specifically, known-sized boards are placed in each segment of the conveyor belt and transported via the belt. During transport, when a board enters the field of view of a line scan camera, the line scan camera located above the belt captures images of the board, thus obtaining images of the board in different segment areas corresponding to the placement positions.

[0072] Please see Figure 4 , Figure 4 This diagram illustrates the segmented measurement of the conveyor belt; the belt is arranged in a loop and divided into 32 segments. By placing the same piece of material in each of the 32 segments for image acquisition, a large number of images of the material can be obtained, facilitating subsequent distribution fitting of the measured values ​​and the true values ​​in different segments.

[0073] (3) Based on the edge detection algorithm, feature extraction is performed on the board image to obtain the measurement values ​​of different segment regions.

[0074] In this embodiment of the invention, the process of feature extraction from the board image based on the edge detection algorithm is as follows:

[0075] (3.1) Preprocess the images of the board material in different segmented regions, extract the edge contours, detect Hough lines, and perform geometric calculations to obtain the measured values ​​of the board material dimensions.

[0076] In this embodiment of the invention, the preprocessing includes, but is not limited to, image grayscale conversion and image denoising; wherein, image denoising includes, but is not limited to, Gaussian filtering and median filtering. Image grayscale conversion can convert a color board image into a grayscale board image, retaining only brightness information and reducing computational load; image denoising can reduce noise interference while preserving image edge information.

[0077] In this embodiment of the invention, the edge detection algorithm used for edge contour extraction includes, but is not limited to, the Canny operator. Specifically, the image is first subjected to Gaussian filtering, then the gradient magnitude and direction of the board image are calculated, followed by non-maximum suppression to retain points with the largest local gradients, and finally, dual threshold detection and edge connection are used to obtain the final edge image.

[0078] Specifically, the Hough line detection filters out lines related to the edge of the board based on the edge image; the set calculation obtains the corner coordinates of the board by acquiring the intersection points of the lines detected by the Hough transform, and calculates the virtual values ​​of the board length and width by the distance between the corner points.

[0079] (3.2) Based on the transformation matrix of the line scan camera, the virtual values ​​of the board size are transformed to obtain virtual values ​​for different segmented regions. Specifically, in the camera coordinate system, the virtual values ​​of the board length and width relative to the image are converted into the actual dimensions of the board using the transformation matrix. Please refer to [link to relevant documentation]. Figure 3 , Figure 3 This is a schematic diagram of the dimensions of the sheet material.

[0080] (4) By drawing a scatter plot of the measured values ​​in different segmented regions, it can be seen that the measured values ​​of the plate in different segmented regions of the entire transmission mechanism present the shape of a cubic curve. Therefore, the difference between the measured values ​​and the true values ​​in different segmented regions is fitted to construct a fitted curve.

[0081] Specifically, due to the different starting positions of the sheet metal placed on the transmission mechanism, the measured dimensions of the same sheet metal will deviate, with some locations showing significant deviations from the true dimensions. This is caused by factors such as inconsistent flatness across different sections of the transmission mechanism. Therefore, the transmission mechanism is divided into several segmented areas; please refer to [link / reference]. Figure 4 , Figure 4 The annular belt was divided into 32 segments, and the same piece of material was placed in each of the 32 segments for measurement. The patterns in the measurement results were analyzed. Multiple measurements were taken for each segment. The measurement values ​​are plotted using the material length as an example. (See attached image.) Figure 5 , Figure 5 This is a scatter plot showing the distribution of measured values ​​when the board is placed in different segmented areas.

[0082] In this embodiment of the invention, the equation of the fitted curve is expressed as:

[0083] y = ax 3 +bx 2 +cx+d

[0084] Where y represents the deviation between the measured value and the true value of the plate, x represents the position of the plate placed in the corresponding segment area of ​​the transmission mechanism, and a, b, c, and d represent curve parameters.

[0085] (5) Based on the fitted curve, the measured values ​​of different segmented regions are compensated for in order to obtain the final size measurement results of the board, that is, to accurately obtain the width and length of the board.

[0086] In this embodiment of the invention, the process of size compensation for measured values ​​in different segmented regions based on the fitted curve is as follows:

[0087] (5.1) Place the plate to be measured on the surface of the transmission mechanism and obtain the segmented area corresponding to the plate placement position through the sensor. When the plate is placed on the surface of multiple segmented areas, the sensors of multiple segmented areas detect the plate, but the first segmented area or the last segmented area is taken as the final placement position of the plate.

[0088] (5.2) A line scan camera is used to acquire images of the board material to be measured in order to obtain the board material image.

[0089] (5.3) The image of the board is preprocessed, edge contours are extracted, Hough lines are detected and geometric calculations are performed to obtain virtual values ​​of the board size.

[0090] (5.4) Based on the transformation matrix of the line scan camera, the virtual value of the board size is transformed to obtain the measured value of the board to be inspected.

[0091] (5.5) Input the measured values ​​of the sheet material to be tested and the positions of the segmented regions into the equation of the fitting curve to obtain the dimensional compensation parameters of the sheet material to be tested. That is, input the sequence number or number of the segmented region as the x-value into the fitting curve, and then obtain the y-value corresponding to the fitting equation. The y-value is the dimensional compensation parameter of the sheet material to be tested.

[0092] (5.6) The measured values ​​and dimensional compensation parameters of the board to be inspected are added together to obtain the final dimensional measurement results of the board. That is, the measured values ​​obtained based on the line scan camera and the dimensional compensation parameters are added together to obtain the accurate width w and length h of the board.

[0093] In summary, this invention improves the efficiency of measuring the size of the sheet material by acquiring images of the sheet material on the surface of the transmission mechanism and extracting features from the sheet material images using an edge detection algorithm. At the same time, by dividing the transmission mechanism into regions and obtaining size compensation for different segmented regions using curve fitting technology, the measurement error of the sheet material size can be reduced.

[0094] Furthermore, in one embodiment, based on the same inventive concept as the foregoing embodiments, this embodiment of the invention provides a plate size measurement system based on edge detection and curve fitting. This system corresponds one-to-one with the method described in Embodiment 1. Please refer to [link / reference]. Figure 6 , Figure 6 This is a structural block diagram of the plate size measurement system, the system comprising:

[0095] A region segmentation marking unit is used to segment the transmission mechanism to obtain several segmented regions.

[0096] The plate image acquisition unit uses a line scan camera to acquire images of the plate placed on the surface of the transmission mechanism to obtain several plate images; wherein the placement positions of the plate correspond to different segmented areas of the transmission mechanism.

[0097] A measurement value acquisition unit extracts features from the board image based on an edge detection algorithm to obtain measurement values ​​for different segmented regions.

[0098] A distribution curve fitting unit is used to fit the distribution of measured values ​​and true values ​​in different segmented regions to construct a fitting curve.

[0099] The board size compensation unit performs size compensation on the measured values ​​of different segmented regions based on the fitted curve to obtain the final size measurement result of the board.

[0100] It should be noted that each unit in the plate size measurement system based on edge detection and curve fitting in this embodiment corresponds one-to-one with each step in the plate size measurement method based on edge detection and curve fitting in the aforementioned embodiment. Therefore, the specific implementation method and the technical effects achieved in this embodiment can be referred to the implementation method of the plate size measurement method based on edge detection and curve fitting mentioned above, and will not be repeated here.

[0101] Furthermore, in one embodiment, this application also provides a computer device, the computer device including a processor, a memory, and a computer program stored in the memory, the computer program being executed by the processor to implement the methods in the foregoing embodiments.

[0102] In addition, in one embodiment, this application also provides a computer storage medium storing a computer program that is executed by a processor to implement the methods described in the foregoing embodiments.

[0103] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or it may be a device including one or any combination of the above-mentioned memories. The computer may be a variety of computing devices, including smart terminals and servers.

[0104] In some embodiments, executable instructions may take the form of a program, software, software module, script, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a standalone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.

[0105] As an example, executable instructions may, but do not necessarily, correspond to files in a file system. They may be stored as part of a file that holds other programs or data, for example, in one or more scripts in a Hyper Text Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple collaborative files (e.g., a file that stores one or more modules, subroutines, or code sections).

[0106] As an example, executable instructions can be deployed to execute on a single computing device, or on multiple computing devices located in one location, or on multiple computing devices distributed across multiple locations and interconnected via a communication network.

[0107] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.

[0108] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as read-only memory / random access memory, magnetic disk, optical disk) and includes several instructions to cause a multimedia terminal device (which may be a mobile phone, computer, television receiver, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0109] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.

Claims

1. A method for measuring the dimensions of sheet metal based on edge detection and curve fitting, characterized in that, The method flow is as follows: The transmission mechanism is segmented to obtain several segmented regions; A line scan camera is used to acquire images of the plates placed on the surface of the transmission mechanism to obtain several images of the plates; wherein the placement positions of the plates correspond to different segmented areas of the transmission mechanism. Feature extraction of board images is performed based on edge detection algorithms to obtain measurement values ​​of different segmented regions; Distribution fitting is performed on the measured values ​​and the true values ​​of different segmented regions to construct a fitting curve; The measured values ​​of different segmented regions are compensated based on the fitted curve to obtain the final dimensional measurement results of the board.

2. The method for measuring the dimensions of sheet metal based on edge detection and curve fitting according to claim 1, characterized in that, The process for segmenting the transmission mechanism is as follows: Obtain the length of the transmission mechanism, and divide the transmission mechanism into several segmented regions on an equal basis according to the length of the transmission mechanism; Sensors are installed in each segment area to obtain the segment area of ​​the transmission mechanism corresponding to the placement position of the board.

3. The method for measuring the dimensions of sheet metal based on edge detection and curve fitting according to claim 1, characterized in that, The process of acquiring images of the plate material placed on the surface of the transmission mechanism using a line scan camera is as follows: The same piece of material is placed on each segmented area of ​​the surface of the transmission mechanism; A line scan camera is used to acquire images of the board material within the camera's field of view, so as to obtain images of the board material in different segmented areas.

4. The method for measuring the dimensions of sheet metal based on edge detection and curve fitting according to claim 1, characterized in that, The process of feature extraction from board material images based on edge detection algorithms is as follows: Preprocessing, edge contour extraction, Hough line detection, and geometric calculation are performed on the images of the board material in different segmented regions to obtain virtual values ​​of the board material dimensions. The transformation matrix based on the line scan camera is used to perform dimensional transformation on the virtual value of the plate size to obtain the measurement value of different segmented regions.

5. The method for measuring the dimensions of sheet metal based on edge detection and curve fitting according to claim 1, characterized in that, The equation of the fitted curve is expressed as: y=ax 3 +bx 2 +cx+d Where y represents the deviation between the measured value and the true value of the plate, x represents the position of the plate placed in the corresponding segment area of ​​the transmission mechanism, and a, b, c, and d represent curve parameters.

6. The method for measuring the dimensions of sheet metal based on edge detection and curve fitting according to claim 5, characterized in that, The process of size compensation for measurements in different segmented regions based on the fitted curve is as follows: The plate to be measured is placed on the surface of the transmission mechanism, and the segmented area corresponding to the plate placement position is obtained by the sensor; A line scan camera is used to acquire images of the board material to be measured, so as to obtain images of the board material; The image of the board material is preprocessed, edge contours are extracted, Hough lines are detected, and geometric calculations are performed to obtain virtual values ​​of the board material dimensions. The virtual values ​​of the board size are transformed using the transformation matrix of a line scan camera to obtain the measured values ​​of the board to be inspected. Input the measured values ​​of the board to be tested and the positions of the segmented regions into the equation of the fitting curve to obtain the size compensation parameters of the board to be tested. The measured values ​​and dimensional compensation parameters of the material to be tested are added together to obtain the final dimensional measurement results of the material to be tested.

7. The method for measuring the dimensions of sheet metal based on edge detection and curve fitting according to claim 1, characterized in that, The final dimensional measurements of the sheet material include its width and length.

8. A plate size measurement system based on edge detection and curve fitting, characterized in that, The system includes: A region segmentation marking unit is used to segment the transmission mechanism to obtain several segmented regions. The plate image acquisition unit uses a line scan camera to acquire images of the plate placed on the surface of the transmission mechanism to obtain several plate images; wherein the placement positions of the plate correspond to different segmented areas of the transmission mechanism. A measurement value acquisition unit extracts features from the board image based on an edge detection algorithm to obtain measurement values ​​for different segmented regions. A distribution curve fitting unit is used to fit the distribution of measured values ​​and true values ​​in different segmented regions to construct a fitting curve. The board size compensation unit performs size compensation on the measured values ​​of different segmented regions based on the fitted curve to obtain the final size measurement result of the board.

9. 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, it implements the plate size measurement method based on edge detection and curve fitting as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the plate size measurement method based on edge detection and curve fitting as described in any one of claims 1-7.