A plate size identification method, device, equipment and medium

By combining weighing and photographic measurement technologies, and automatically correcting the shooting distance and calculating the image pixel ratio, the problem of long time required for manual measurement of artificial stone slab dimensions is solved, achieving efficient and accurate slab size identification.

CN119762820BActive Publication Date: 2026-06-09VEEGOO TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
VEEGOO TECH CO LTD
Filing Date
2025-01-25
Publication Date
2026-06-09

AI Technical Summary

Technical Problem

The time required for manually measuring the dimensions of artificial stone slabs results in low warehousing efficiency.

Method used

By combining weighing and photographic measurement technologies, the camera and weighing mechanism automatically correct the shooting distance and calculate the board size using the image pixel ratio, including both rough and precise calculations, thus achieving automatic measurement without manual intervention.

Benefits of technology

It improves the efficiency of board material warehousing, provides high measurement accuracy, and requires no manual intervention.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119762820B_ABST
    Figure CN119762820B_ABST
Patent Text Reader

Abstract

This invention relates to the field of size recognition technology, and in particular to a method, apparatus, device, and medium for identifying the size of sheet metal, comprising the following steps: Initialization settings: acquiring the size of sheet metal at n known shooting distances h n The ratio R of the known board surface length and the corresponding n board surface image pixel lengths. n Obtain the distance h from n known shooting points. n Given the width of the board surface and the width ratio R′ of the corresponding n board surface image pixels. n Where n≥2; the nth known shooting distance h n The ratio R of the corresponding nth length n and the nth width ratio R′ n This invention combines weighing and photographic measurement technologies to automatically correct the shooting distance between the photographed surface of the board and the camera. Based on the corrected shooting distance and the image pixel ratio, the board size is calculated with higher accuracy. Furthermore, the board size information can be automatically measured without manual intervention, thereby improving the efficiency of board warehousing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of size recognition technology, and in particular to a method, apparatus, equipment and medium for identifying the size of sheet metal. Background Technology

[0002] After production, artificial stone slabs need to be stored in warehouses. To facilitate subsequent deep processing of artificial stone slabs, the size information of the artificial stone slabs needs to be obtained and registered when they are put into warehouses, so that when they are taken out of the warehouse, artificial stone slabs of the corresponding size can be quickly selected for processing.

[0003] Currently, the dimensions of artificial stone slabs are usually measured manually using a measuring tape. Since artificial stone slabs are typically large, manual measurement takes a long time, resulting in low warehousing efficiency. Summary of the Invention

[0004] To address the aforementioned shortcomings, the present invention aims to provide a method, apparatus, equipment, and medium for identifying the size of artificial stone slabs, thereby solving the problem that the time required for manual measurement of the size of artificial stone slabs is too long, resulting in low warehousing efficiency of artificial stone slabs.

[0005] To achieve this objective, the present invention adopts the following technical solution:

[0006] A method for identifying the size of a board material includes the following steps:

[0007] Initialization settings:

[0008] Obtain the distance h from n known shooting points. n The ratio R of the known board surface length and the corresponding n board surface image pixel lengths. n Obtain the distance h at n known shooting distances. n Given the width of the board surface and the width ratio R′ of the corresponding n board surface image pixels. n where n≥2;

[0009] The nth known shooting distance h n The ratio R of the corresponding nth length n and the nth width ratio R′ n To establish a connection;

[0010] Actual recognition:

[0011] S1, obtain the weight M of the target board;

[0012] S2, obtain the mounting distance H1 from the camera to the carrier board surface, match the known shooting distances equal to the mounting distance H1, and obtain the associated length ratio R of the matched known shooting distances. nand width ratio R′ n The length ratio R of the association n Defined as R 模糊 The associated width ratio R′ n Defined as R′ 模糊 ;

[0013] S3, Obtain the surface image of the target board, and obtain the pixel width w1 and pixel length l1 of the target board surface based on the surface image. 模糊 The approximate width W1 of the target board is calculated based on the pixel length l1 and R of the target board surface. 模糊 The approximate length L1 of the target plate is calculated;

[0014] S4. Calculate the approximate thickness D1 of the board based on the preset density ρ. The calculation formula is D1=M / (W1×L1×ρ).

[0015] S5. Compare the calculated rough thickness D1 of the board with several preset standard thicknesses, and take the closest standard thickness as the final thickness D2 of the board.

[0016] S6. Determine the shooting distance H2 from the camera to the surface of the target board based on the final thickness D2. The calculation formula is H2 = H1 - D2.

[0017] S7, Match known shooting distances equal to shooting distance H2, and obtain the length ratio R associated with the matched known shooting distances. n and width ratio R′ n The length ratio R of the association n Defined as R 精确 The associated width ratio R′ n Defined as R′ 精确 Based on the pixel width w1 and R′ of the target board surface 精确 The precise width W2 of the target board is calculated based on the pixel length l1 and R of the target board surface. 精确 The precise length L2 of the target plate was calculated.

[0018] Preferably, the data is obtained at n known shooting distances h. n The ratio R of the known board surface length and the corresponding n board surface image pixel lengths. n And obtain the shooting distance h at n known points. n Given the width of the board surface and the width ratio R′ of the corresponding n board surface image pixels. n The steps are as follows:

[0019] Input the dimensions of the known board material, including the known width W. 3nand a known length L 3n ;

[0020] Obtain the known material at the current known shooting distance h. n The image of the board surface is used to extract the pixel width w of the known board surface. 2n and pixel length l 2n ;

[0021] Calculate the current known shooting distance h n Length ratio R n and width ratio R′ n The calculation formula is Rn = L 3n / l 2n , R′n=W 3n / w 2n .

[0022] Preferably, in step S2, the formula for calculating the approximate width W1 is W1 = w1 × R′. 模糊 The formula for calculating the approximate length L1 is L1 = l1 × R. 模糊 .

[0023] Preferably, in step S7, the formula for calculating the precise width W2 is W2 = w1 × R′. 精确 The formula for calculating the precise length L2 is L2 = l1 × R. 精确 .

[0024] Preferably, in step S3, the obtained image of the target board surface is subjected to distortion correction processing.

[0025] A sheet material size recognition device, applied to the sheet material size recognition method described above, includes a camera mechanism, a material handling mechanism, a weighing mechanism, and a control processor;

[0026] The weighing mechanism is provided with a carrier plate surface, which is used to store the target material, and the weighing mechanism is used to obtain the weight of the target material stored on the carrier plate surface.

[0027] The material handling mechanism is used to remove the target material and place it on the carrier plate of the weighing mechanism.

[0028] The camera mechanism is disposed on one side of the weighing mechanism, with the camera end of the camera mechanism facing the carrier plate surface. The camera mechanism is used to capture images of the target plate stored in the weighing mechanism.

[0029] The control processor is communicatively connected to the camera mechanism, the material handling mechanism, and the weighing mechanism, and is used to execute the steps of the above-described plate size recognition method.

[0030] Preferably, the control processor includes:

[0031] The preset module is used to obtain the data at n known shooting distances h. n Given the ratio R of n lengths of the known board surface length and the pixel length of the board surface image. n Obtain n known shooting distances h n Given the known width of the board surface and the width ratio R′ of n pixels in the board surface image. n Where n≥2; it is also used to determine the nth known shooting distance h n The ratio R of the corresponding nth length n and the nth width ratio R′ n One-to-one correlation; also used to store the density ρ of the board material;

[0032] The image processing module is used to receive and process the image information of the target board material captured by the camera mechanism to obtain the pixel width w1 and pixel length l1 of the target board material at an installation distance H1; it is also used to perform distortion correction processing on the obtained image of the target board material.

[0033] A coarse dimension calculation module matches a known shooting distance equal to the installation distance H1 and obtains the associated length ratio R of the matched known shooting distance. n and width ratio R′ n The length ratio R of the association n Defined as R 模糊 The associated width ratio R′ n Defined as R′ 模糊 Based on the pixel width w1 and R′ of the target board surface 模糊 The approximate width W1 of the target board is calculated based on the pixel length l1 and R of the target board surface. 模糊 The approximate length L1 of the target board is calculated; it is also used to calculate the approximate thickness D1 of the board based on the preset density ρ and weight M.

[0034] The matching module is used to compare the rough thickness D1 with several preset standard thicknesses and take the closest standard thickness as the final thickness D2 of the board.

[0035] The distance correction module is used to calculate the shooting distance H2 from the camera to the surface of the target board based on the installation distance H1 and the final thickness D2 of the board.

[0036] A precise size calculation module is used to match a known shooting distance equal to the shooting distance H2, and obtain the length ratio R associated with the matched known shooting distance.n and the width ratio R′ n The length ratio R of the association n Defined as R 精确 The associated width ratio R′ n Defined as R′ 精确 Based on the pixel width w1 and R′ of the target board surface 精确 The precise width W2 of the target board is calculated based on the pixel length l1 and R of the target board surface. 精确 The precise length L2 of the target plate was calculated.

[0037] Preferably, the preset module includes a storage submodule, a preset calculation submodule, and an association submodule;

[0038] The storage submodule is used to store the dimensions of the known board material, including the known width W. 3n and a known length L 3n It is also used to store the density ρ of the board material;

[0039] The preset calculation submodule is used to calculate the results at n known shooting distances h. n Length ratio R n and width ratio R′ n The calculation formula is R n =L 3n / l 2n , R′ n =W 3n / w 2n ;

[0040] The associated submodule is used to connect the nth known shooting distance h n The ratio R of the corresponding nth length n and the nth width ratio R′ n One-to-one connection.

[0041] An electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the method described above.

[0042] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the method described above.

[0043] The technical solution provided by this invention may include the following beneficial effects:

[0044] This invention combines weighing and photographic measurement technologies to automatically correct the shooting distance between the photographed surface of the board and the camera. Based on the corrected shooting distance and the ratio of image pixels, the size of the board is calculated, resulting in higher accuracy. Moreover, the size information of the board can be automatically measured without human intervention, thereby improving the efficiency of board storage. Attached Figure Description

[0045] Figure 1 This is a flowchart of the initialization settings of the present invention;

[0046] Figure 2 This is a flowchart illustrating the actual identification process of the present invention;

[0047] Figure 3 This is a schematic diagram of the control processor of the present invention;

[0048] Figure 4 This is a schematic diagram of the material handling mechanism and weighing mechanism of the present invention;

[0049] Figure 5 This is a schematic diagram of the camera mechanism and weighing mechanism of the present invention.

[0050] Among them: 1. Camera mechanism; 2. Material handling mechanism; 3. Weighing mechanism. Detailed Implementation

[0051] Embodiments of the present invention are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and should not be construed as limiting the present invention.

[0052] In the description of this invention, it should be understood that the terms "longitudinal," "lateral," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing the invention and for simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the invention. Furthermore, features defined with "first" and "second" may explicitly or implicitly include one or more of these features, used to distinguish and describe features, without any order or emphasis.

[0053] In the description of this invention, it should be noted that, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in this invention based on the specific circumstances.

[0054] The following is in conjunction with the accompanying drawings. Figures 1 to 5 The technical solution of the present invention will be further illustrated through specific embodiments.

[0055] like Figure 1-5 As shown, a method for identifying the size of a board material includes the following steps:

[0056] Initialization settings:

[0057] Obtain the distance h from n known shooting points. n The ratio R of the known board surface length and the corresponding n board surface image pixel lengths. n Obtain the distance h at n known shooting distances. n Given the width of the board surface and the width ratio R′ of the corresponding n board surface image pixels. n where n≥2;

[0058] The nth known shooting distance h n The ratio R of the corresponding nth length n and the nth width ratio R′ n To establish a connection;

[0059] Actual recognition:

[0060] S1, obtain the weight M of the target board;

[0061] S2, obtain the mounting distance H1 from the camera to the carrier board surface, match the known shooting distances equal to the mounting distance H1, and obtain the associated length ratio R of the matched known shooting distances. n and width ratio R′ n The length ratio R of the association n Defined as R 模糊 The associated width ratio R′ n Defined as R′ 模糊 ;

[0062] S3, Obtain the surface image of the target board, and obtain the pixel width w1 and pixel length l1 of the target board surface based on the surface image. 模糊The approximate width W1 of the target board is calculated based on the pixel length l1 and R of the target board surface. 模糊 The approximate length L1 of the target plate is calculated;

[0063] S4. Calculate the approximate thickness D1 of the board based on the preset density ρ. The calculation formula is D1=M / (W1×L1×ρ).

[0064] S5. Compare the calculated rough thickness D1 of the board with several preset standard thicknesses, and take the closest standard thickness as the final thickness D2 of the board.

[0065] S6. Determine the shooting distance H2 from the camera to the surface of the target board based on the final thickness D2. The calculation formula is H2 = H1 - D2.

[0066] S7, Match known shooting distances equal to shooting distance H2, and obtain the length ratio R associated with the matched known shooting distances. n and width ratio R′ n The length ratio R of the association n Defined as R 精确 The associated width ratio R′ n Defined as R′ 精确 Based on the pixel width w1 and R′ of the target board surface 精确 The precise width W2 of the target board is calculated based on the pixel length l1 and R of the target board surface. 精确 The precise length L2 of the target plate was calculated.

[0067] This invention first determines the length ratio R at the installation distance H1. n and width ratio R′ n The approximate length L1 and approximate width W1 of the board are calculated. Then, the approximate thickness D1 of the board is calculated based on the preset density ρ. The approximate thickness D1 is compared with several preset standard thicknesses to obtain the final thickness D2. Then, the shooting distance H2 from the camera to the surface of the target board is calculated using the final thickness D2. Finally, the length ratio R at the shooting distance H2 is used to calculate the final thickness D2. n and width ratio R′ n This invention calculates the precise length L2 and precise width W2 of the target slab, making the measured slab dimensions more accurate. It combines weighing and photographic measurement technologies to calculate the dimensional information of artificial stone slabs. It can automatically measure the precise dimensional information of the slabs without human intervention, which is highly efficient and can improve the slab warehousing efficiency.

[0068] It's worth noting that since the installation distance H1 is the distance from the camera to the carrier board surface, and the camera is positioned directly facing the carrier board surface, when the target board is placed on the carrier board surface, the image captured by the camera is the image of the side of the target board directly facing the camera. Therefore, it is also necessary to calculate the thickness D2 of the board, and based on the thickness D2, calculate the shooting distance H2 from the camera to the side of the target board directly facing the camera. Then, based on the length ratio R of the shooting distance H2... n and width ratio R′ n This allows us to calculate the precise width W2 and precise length L2 of the target material.

[0069] like Figure 1-3 As shown, obtain the results at n known shooting distances h. n The ratio R of the known board surface length and the corresponding n board surface image pixel lengths. n And obtain the shooting distance h at n known points. n Given the width of the board surface and the width ratio R′ of the corresponding n board surface image pixels. n The steps are as follows:

[0070] Input the dimensions of the known board material, including the known width W. 3n and a known length L 3n ;

[0071] Obtain the known material at the current known shooting distance h. n The image of the board surface is used to extract the pixel width w of the known board surface. 2n and pixel length l 2n ;

[0072] Calculate the current known shooting distance h n Length ratio R n and width ratio R′ n The calculation formula is Rn = L 3n / l 2n , R′n=W 3n / w 2n .

[0073] Specifically, by using n known shooting distances h n Take photos of the known board material at n known shooting distances h to obtain the known board material at n known shooting distances h. n The image of the board surface at the location is obtained, and the board surface image at n known shooting distances h is extracted based on the image. n The pixel width w of the board surface 2n and pixel length l 2n Thus, the known material at n known shooting distances h can be calculated. n Length ratio R at the location n and width ratio R′n .

[0074] It is worth noting that the width W is known. 3n and a known length L 3n The unit is meters, and the length ratio is R. n and width ratio R′ n The unit is meters per pixel.

[0075] like Figure 1-3 As shown, in step S2, the formula for calculating the approximate width W1 is W1 = w1 × R′. 模糊 The formula for calculating the approximate length L1 is L1 = l1 × R. 模糊 .

[0076] like Figure 1-3 As shown, in step S7, the formula for calculating the precise width W2 is W2 = w1 × R′. 精确 The formula for calculating the precise length L2 is L2 = l1 × R. 精确 .

[0077] like Figure 1-3 As shown, in step S3, distortion correction processing is performed on the obtained target board surface image.

[0078] Specifically, to avoid the impact of camera lens distortion and the tilt of the board on the carrier surface on the imaging effect, the captured board image needs to be preprocessed after shooting, such as distortion correction, so that the pixel width and pixel length of the acquired board image are more accurate, thereby improving the accuracy of board size measurement.

[0079] like Figure 4-5 As shown, a sheet material size recognition device, applied to the above-mentioned sheet material size recognition method, includes a camera mechanism 1, a material handling mechanism 2, a weighing mechanism 3, and a control processor;

[0080] The weighing mechanism 3 is provided with a carrier plate surface, which is used to store the target material, and the weighing mechanism 3 is used to obtain the weight of the target material stored on the carrier plate surface.

[0081] The material handling mechanism 2 is used to take out the target board and place the taken-out target board on the carrier plate surface of the weighing mechanism 3;

[0082] The camera mechanism 1 is disposed on one side of the weighing mechanism 3, and the camera end of the camera mechanism 1 is disposed facing the carrier plate surface. The camera mechanism 1 is used to capture the plate surface image of the target plate stored in the weighing mechanism 3.

[0083] The control processor is communicatively connected to the camera mechanism 1, the material handling mechanism 2, and the weighing mechanism 3. The control processor is used to execute the steps of the above-described plate size recognition method.

[0084] Understandably, the target board is placed on the carrier surface of the weighing mechanism 3 by the material handling mechanism 2, and then the weight of the target board is obtained by the weighing mechanism 3. The target board surface image is captured by the camera mechanism 1, and then the size parameters of the target board are calculated by the control processor. The size measurement of the target board can be completed automatically without human intervention, thereby improving the efficiency of board size measurement.

[0085] like Figure 3 As shown, the control processor includes:

[0086] The preset module is used to obtain the data at n known shooting distances h. n Given the ratio R of n lengths of the known board surface length and the pixel length of the board surface image. n Obtain n known shooting distances h n Given the known width of the board surface and the width ratio R′ of n pixels in the board surface image. n n is greater than or equal to 2; it is also used to determine the nth known shooting distance h. n The length ratio R corresponding to the nth mentioned n and the nth width ratio R′ n One-to-one correlation; also used to store the density ρ of the board material;

[0087] The image processing module is used to receive and process the image information of the target board material captured by the camera mechanism 1 to obtain the pixel width w1 and pixel length l1 of the target board material at an installation distance H1; it is also used to perform distortion correction processing on the obtained image of the target board material.

[0088] A coarse dimension calculation module matches a known shooting distance equal to the installation distance H1 and obtains the associated length ratio R of the matched known shooting distance. n and width ratio R′ n The length ratio R of the association n Defined as R 模糊 The associated width ratio R′ n Defined as R′ 模糊 Based on the pixel width w1 and R′ of the target board surface 模糊 The approximate width W1 of the target board is calculated based on the pixel length l1 and R of the target board surface. 模糊 The approximate length L1 of the target board is calculated; it is also used to calculate the approximate thickness D1 of the board based on the preset density ρ and weight M.

[0089] The matching module is used to compare the rough thickness D1 with several preset standard thicknesses and take the closest standard thickness as the final thickness D2 of the board.

[0090] The distance correction module is used to calculate the shooting distance H2 from the camera to the surface of the target board based on the installation distance H1 and the final thickness D2 of the board.

[0091] A precise size calculation module is used to match a known shooting distance equal to the shooting distance H2, and obtain the length ratio R associated with the matched known shooting distance. n and width ratio R′ n The length ratio R of the association n Defined as R 精确 The associated width ratio R′ n Defined as R′ 精确 Based on the pixel width w1 and R′ of the target board surface 精确 The precise width W2 of the target board is calculated based on the pixel length l1 and R of the target board surface. 精确 The precise length L2 of the target plate was calculated.

[0092] It is worth noting that the preset module can store the dimensions of a board at n known shooting distances h. n Length ratio R at the location n and width ratio R′ n and the known shooting distance h n With the corresponding length ratio R n and width ratio R′ n By linking these elements together, the length ratio R at the shooting distance H2 can be quickly determined. n and width ratio R′ n .

[0093] like Figure 3 As shown, the preset module includes a storage submodule, a preset calculation submodule, and an association submodule;

[0094] The storage submodule is used to store the dimensions of the known board material, including the known width W. 3n and a known length L 3n It is also used to store the density ρ of the board material;

[0095] The preset calculation submodule is used to calculate the results at n known shooting distances h. n Length ratio R n and width ratio R′ n The calculation formula is Rn =L 3n / l 2n , R′ n =W 3n / w 2n ;

[0096] The associated submodule is used to connect the nth known shooting distance h n The ratio R of the corresponding nth length n and the nth width ratio R′ n One-to-one connection.

[0097] To address the aforementioned technical problems, this application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the board size recognition method described above.

[0098] To address the aforementioned technical problems, this application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the above-described board size identification method.

[0099] The technical principles of the present invention have been described above with reference to specific embodiments. These descriptions are merely for explaining the principles of the invention and should not be construed as limiting the scope of protection of the invention in any way. Based on this explanation, those skilled in the art can readily conceive of other specific embodiments of the invention without inventive effort, and these embodiments will all fall within the scope of protection of the present invention.

Claims

1. A method for identifying the size of a sheet material, characterized in that, Includes the following steps: Initialization settings: Obtain the distance h from n known shooting points. n The ratio R of the known board surface length and the corresponding n board surface image pixel lengths. n Obtain the distance h at n known shooting distances. n Given the width of the board surface and the width ratio R' of the corresponding n board surface image pixels. n where n≥2; The nth known shooting distance h n The ratio R of the corresponding nth length n and the nth width ratio R´ n To establish a connection; Actual recognition: S1, obtain the weight M of the target board; S2, obtain the mounting distance H1 from the camera to the carrier board surface, match the known shooting distances equal to the mounting distance H1, and obtain the associated length ratio R of the matched known shooting distances. n and width ratio R´ n The length ratio R of the association n Defined as R 模糊 The associated width ratio R´ n Defined as R´ 模糊 ; S3, obtain the surface image of the target board, and obtain the pixel width w1 and pixel length l1 of the target board surface based on the surface image. 模糊 The approximate width W1 of the target board is calculated based on the pixel length l1 and R of the target board surface. 模糊 The approximate length L1 of the target plate is calculated; S4. Calculate the approximate thickness D1 of the board based on the preset density ρ. The calculation formula is D1=M / (W1×L1×ρ). S5. Compare the calculated rough thickness D1 of the board with several preset standard thicknesses, and take the closest standard thickness as the final thickness D2 of the board. S6. Determine the shooting distance H2 from the camera to the surface of the target board based on the final thickness D2. The calculation formula is H2=H1-D2. S7, Match known shooting distances equal to shooting distance H2, and obtain the length ratio R associated with the matched known shooting distances. n and width ratio R´ n The length ratio R of the association n Defined as R 精确 The associated width ratio R´ n Defined as R´ 精确 Based on the pixel width w1 and R' of the target board surface 精确 The precise width W2 of the target board is calculated based on the pixel length l1 and R of the target board surface. 精确 The precise length L2 of the target plate was calculated.

2. The method for identifying the size of a sheet metal according to claim 1, characterized in that: Obtain the distance h from n known shooting points. n The ratio R of the known board surface length and the corresponding n board surface image pixel lengths. n And obtain the shooting distance h at n known points. n Given the width of the board surface and the width ratio R' of the corresponding n board surface image pixels. n The steps are as follows: Input the dimensions of the known board material, including the known width W. 3n and a known length L 3n ; Obtain the known material at the current known shooting distance h. n The image of the board surface is used to extract the pixel width w of the known board surface. 2n and pixel length l 2n ; Calculate the current known shooting distance h n Length ratio R n and width ratio R´ n The calculation formula is Rn=L 3n / l 2n R´n=W 3n / w 2n .

3. The method for identifying the size of a sheet metal according to claim 1, characterized in that: In step S3, the formula for calculating the approximate width W1 is W1 = w1 × R'. 模糊 The formula for calculating the approximate length L1 is L1 = l1 × R. 模糊 .

4. The method for identifying the size of a sheet metal according to claim 1, characterized in that: In step S7, the formula for calculating the precise width W2 is W2 = w1 × R' 精确 The formula for calculating the precise length L2 is L2 = l1 × R. 精确 .

5. The method for identifying the size of a sheet metal according to claim 1, characterized in that: In step S3, distortion correction processing is performed on the obtained target board surface image.

6. A sheet metal size identification device, employing the sheet metal size identification method according to any one of claims 1-5, characterized in that: It includes a camera mechanism (1), a material handling mechanism (2), a weighing mechanism (3), and a control processor; The weighing mechanism (3) is provided with a carrier plate surface, which is used to store the target board, and the weighing mechanism (3) is used to obtain the weight of the target board stored on the carrier plate surface; The material handling mechanism (2) is used to take out the target plate and place the taken-out target plate on the carrier plate surface of the weighing mechanism (3); The camera mechanism (1) is located on one side of the weighing mechanism (3), and the camera end of the camera mechanism (1) is positioned facing the carrier plate surface. The camera mechanism (1) is used to capture images of the target plate stored in the weighing mechanism (3). The control processor is communicatively connected to the camera mechanism (1), the material handling mechanism (2), and the weighing mechanism (3), and is used to execute the steps of the plate size recognition method.

7. The sheet metal size identification device according to claim 6, characterized in that: The control processor includes: The preset module is used to obtain the data at n known shooting distances h. n Given the ratio R of n lengths of the known board surface length and the pixel length of the board surface image. n Obtain n known shooting distances h n Given the known width of the board surface and the width ratio R' of n pixels in the board surface image. n Where n≥2; it is also used to determine the nth known shooting distance h n The ratio R of the corresponding nth length n and the nth width ratio R´ n One-to-one correlation; also used to store the density ρ of the board material; The image processing module is used to receive and process the target board surface image information captured by the camera mechanism (1) to obtain the pixel width w1 and pixel length l1 of the target board surface at an installation distance H1; it is also used to perform distortion correction processing on the obtained target board surface image. A coarse dimension calculation module matches a known shooting distance equal to the installation distance H1 and obtains the associated length ratio R of the matched known shooting distance. n and width ratio R´ n The length ratio R of the association n Defined as R 模糊 The associated width ratio R´ n Defined as R´ 模糊 Based on the pixel width w1 and R' of the target board surface 模糊 The approximate width W1 of the target board is calculated based on the pixel length l1 and R of the target board surface. 模糊 The approximate length L1 of the target board is calculated; it is also used to calculate the approximate thickness D1 of the board based on the preset density ρ and weight M. The matching module is used to compare the rough thickness D1 with several preset standard thicknesses and take the closest standard thickness as the final thickness D2 of the board. The distance correction module is used to calculate the shooting distance H2 from the camera to the surface of the target board based on the installation distance H1 and the final thickness D2 of the board. A precise size calculation module is used to match a known shooting distance equal to the shooting distance H2, and obtain the length ratio R associated with the matched known shooting distance. n and the width ratio R´ n The length ratio R of the association n Defined as R 精确 The associated width ratio R´ n Defined as R´ 精确 Based on the pixel width w1 and R' of the target board surface 精确 The precise width W2 of the target board is calculated based on the pixel length l1 and R of the target board surface. 精确 The precise length L2 of the target plate was calculated.

8. The sheet metal size identification device according to claim 7, characterized in that: The preset module includes a storage submodule, a preset calculation submodule, and an association submodule; The storage submodule is used to store the dimensions of the known board material, including the known width W. 3n and a known length L 3n It is also used to store the density ρ of the board material; The preset calculation submodule is used to calculate the results at n known shooting distances h. n Length ratio R n and width ratio R´ n The calculation formula is R n =L 3n / l 2n ,R´ n =W 3n / w 2n ; The associated submodule is used to connect the nth known shooting distance h n The ratio R of the corresponding nth length n and the nth width ratio R´ n One-to-one connection.

9. An electronic 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 steps of the plate size identification method as described in any one of claims 1-5.

10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the plate size identification method as described in any one of claims 1-5.