A method, system and device for intelligently detecting aggregate gradation at different depths of field in a silo

The semantic segmentation model is used to analyze the aggregate images in the silo, which solves the problem of real-time and accuracy of aggregate gradation detection at different depths of field in the silo, realizes intelligent detection of aggregate gradation in the silo, and improves production efficiency. and accuracy.

CN117495843BActive Publication Date: 2024-08-23四川高速公路建设开发集团有限公司 +2
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202311687791.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-11
Publication Date
2024-08-23
Estimated Expiration
2043-12-11

AI Technical Summary

Technical Problem

The existing technology cannot monitor and control the aggregate gradation at different depths of field in the silo in real time, resulting in low production efficiency and low accuracy, and lacks non-contact intelligent detection methods.

Method used

The semantic segmentation model is used to analyze the aggregate image in the silo, and the real area and perimeter of the aggregate are determined through the corresponding relationship between the pixel area and the perimeter, and then the equivalent particle size is calculated to achieve intelligent detection of aggregate gradation.

Benefits of technology

It achieves accurate detection of aggregate gradation at different depths of field in the silo, improves production efficiency and detection accuracy, and provides the ability to adjust in real time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117495843B
    Figure CN117495843B
Patent Text Reader

Abstract

The present invention relates to the field of intelligent manufacturing, and provides an intelligent detection method, system and equipment for aggregate gradation at different depths of field in a silo, wherein the intelligent detection method comprises: semantic segmentation of the collected image based on a pre-built semantic segmentation model, and determination of the pixel area and pixel perimeter of each aggregate in the image; determination of the real area of ​​the aggregate based on the corresponding relationship between the pixel area and the real area of ​​the aggregate at different depths of field and the pixel area of ​​the aggregate; determination of the real perimeter of the aggregate based on the corresponding relationship between the pixel perimeter and the real perimeter of the aggregate at different depths of field and the pixel perimeter of the aggregate; determination of the equivalent particle size of each aggregate based on the real area and the real perimeter of the aggregate, and completion of intelligent detection of aggregate gradation. The method is used to solve the defects in the prior art that the aggregate gradation cannot be detected in time, resulting in low production efficiency and low accuracy of aggregate gradation, and can accurately and intelligently detect the aggregates at different depths of field in the silo.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent manufacturing technology, and in particular to an intelligent detection method, system and equipment for aggregate gradation at different depths of field in a silo. Background Art

[0002] In the fields of construction and road construction, the gradation distribution of aggregates is an important quality parameter, which affects the performance and stability of materials such as concrete and asphalt. At present, most methods for detecting aggregate gradation rely on laboratory testing, which greatly limits the ability of real-time monitoring and control. In addition, the change of aggregate gradation at different depths of field in the silo is also a challenge for quality control. Traditionally, the detection of aggregate gradation mainly relies on manual sampling and analysis in the laboratory. Laboratory testing takes a certain amount of time, so it is impossible to obtain the changes in aggregate gradation in real time, which makes it difficult to make timely adjustments during the production process. Since the increase or decrease of aggregates in the silo will inevitably lead to changes in the height of aggregates in the silo, there is currently no non-contact method or device for intelligent detection of aggregate gradation at different depths of field. Summary of the invention

[0003] The present invention provides a method, system and equipment for intelligently detecting aggregate gradation at different depths of field in a silo, so as to solve the defects in the prior art that aggregate gradation cannot be detected in time, resulting in low production efficiency and low accuracy of aggregate gradation, and can perform accurate intelligent detection of aggregates at different depths of field in a silo.

[0004] The present invention provides an intelligent detection method for aggregate gradation at different depths of field in a silo, comprising:

[0005] Collect images of aggregates in silos;

[0006] Perform semantic segmentation on the image based on a pre-built semantic segmentation model to determine the pixel area and pixel perimeter of each aggregate in the image;

[0007] Based on the correspondence between the pixel area and the real area of ​​the aggregate at different depths of field and the pixel area of ​​the aggregate, the real area of ​​the aggregate is determined;

[0008] Based on the correspondence between the pixel perimeter and the true perimeter of the aggregate at different depths of field and the pixel perimeter of the aggregate, the true perimeter of the aggregate is determined;

[0009] Based on the true area and true perimeter of the aggregate, the equivalent particle size of each aggregate is determined, and based on the equivalent particle size of each aggregate in the silo, the aggregate gradation in the silo is determined.

[0010] According to the method for intelligently detecting aggregate gradation at different depths of field in a silo provided by the present invention, the aggregate gradation in the silo is determined based on the equivalent particle size of each aggregate, including:

[0011] Based on the equivalent particle size of each aggregate, a grading curve for the aggregates in the silo is generated.

[0012] According to the intelligent detection method for aggregate gradation at different depths of field in a silo provided by the present invention, the semantic segmentation model is trained in the following manner:

[0013] Construct a semantic segmentation dataset based on aggregate image data of different particle sizes;

[0014] The semantic segmentation dataset is trained to obtain a semantic segmentation model.

[0015] According to the method for intelligent detection of aggregate gradation at different depths of field in a silo provided by the present invention, a semantic segmentation data set is constructed based on image data of aggregates of different particle sizes, including:

[0016] Collect aggregate images of different particle sizes, and perform median filtering and Laplace transform on the aggregate images;

[0017] After annotating and expanding the aggregate images, a semantic segmentation dataset is obtained.

[0018] According to the intelligent detection method for aggregate gradation at different depths of field in a silo provided by the present invention, the corresponding relationship between the pixel area and the real area of ​​the aggregate at different depths of field is determined by the following method:

[0019] A standard cube of a certain size is photographed at different depths of field;

[0020] Determine the real area and pixel area of ​​cubes in images taken at different depths of field;

[0021] Based on the ratio of the real area of ​​the cube to the pixel area at different depths of field, the corresponding relationship between the pixel area and the real area of ​​the aggregate is established.

[0022] According to the intelligent detection method for aggregate gradation at different depths of field in a silo provided by the present invention, the correspondence between the pixel perimeter and the real perimeter of the aggregate at different depths of field is determined by the following method:

[0023] A standard cube of a certain size is photographed at different depths of field;

[0024] Determine the true perimeter and pixel perimeter of a cube in images taken at different depths of field;

[0025] Based on the ratio of the real perimeter to the pixel perimeter of the cube at different depths of field, the correspondence between the pixel perimeter and the real perimeter of the aggregate is established.

[0026] The method for intelligently detecting aggregate gradation at different depths of field in a silo provided by the present invention further includes:

[0027] Determine the conversion matrix and distortion coefficient of the camera used to collect images of aggregates in the silo, and perform coordinate system transformation on the camera;

[0028] The images taken by the camera are corrected based on the least squares method and the maximum likelihood optimization method.

[0029] According to the method for intelligently detecting aggregate gradation at different depths of field in a silo provided by the present invention, the coordinate system of the camera is transformed, including:

[0030] Use the following formula (1) to transform the coordinate system:

[0031] (1)

[0032] in Represents the coordinates of the points in the image in the 3D camera coordinate system, represents the camera's transformation matrix, Represents the coordinates of the points in the image in the three-dimensional world coordinate system, Indicates the coordinates of the camera in the 3D world coordinate system.

[0033] According to the intelligent detection method of aggregate gradation at different depths of field in a silo provided by the present invention, the equivalent particle size of each aggregate is determined based on the real area and real perimeter of the aggregate, including:

[0034] The equivalent particle size of aggregate is determined by the following formulas (2), (3) and (4):

[0035] (2)

[0036] (3)

[0037] (4)

[0038] Where S is the actual area of ​​the aggregate and L is the actual perimeter of the aggregate.

[0039] The present invention also provides an intelligent detection system for aggregate gradation at different depths of field in a silo, comprising: a collection module for collecting images of aggregates in the silo;

[0040] A first determination module is used to perform semantic segmentation on the image based on a pre-built semantic segmentation model to determine the pixel area and pixel perimeter of each aggregate in the image;

[0041] A second determination module is used to determine the actual area of ​​the aggregate based on the correspondence between the pixel area and the actual area of ​​the aggregate at different depths of field and the pixel area of ​​the aggregate;

[0042] A third determination module is used to determine the real perimeter of the aggregate based on the correspondence between the pixel perimeter and the real perimeter of the aggregate at different depths of field and the pixel perimeter of the aggregate;

[0043] The fourth determination module determines the equivalent particle size of each aggregate based on the actual area and actual perimeter of the aggregate, and completes the intelligent detection of aggregate grading.

[0044] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, any of the above-mentioned intelligent detection methods for aggregate gradation at different depths of field in a silo is implemented.

[0045] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for intelligently detecting aggregate gradation at different depths of field in any of the above-mentioned silos is implemented.

[0046] The present invention also provides a computer program product, including a computer program, which, when executed by a processor, implements any of the above-mentioned intelligent detection methods for aggregate gradation at different depths of field in a silo.

[0047] In the intelligent detection method for aggregate gradation at different depths of field in a silo provided by the present invention, semantic segmentation can be performed on the image of aggregate captured by a camera, individual aggregates can be segmented from the image, and the pixel area and pixel perimeter of the segmented aggregates can be calculated. At this time, the calculated pixel area and pixel perimeter are not necessarily consistent with the actual area and actual perimeter of the aggregate. Therefore, it is necessary to determine the actual area and actual perimeter of the aggregate based on the pixel area and pixel perimeter, and then the equivalent particle size of the aggregate can be accurately determined based on the actual area and actual perimeter, thereby accurately completing the intelligent detection of aggregate gradation. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0049] Figure 1 is a flow chart of an intelligent detection method provided by an embodiment of the present invention;

[0050] Figure 2 is a schematic diagram of a gradation curve provided by an embodiment of the present invention;

[0051] Figure 3 is a schematic diagram of the structure of an intelligent detection system provided by an embodiment of the present invention;

[0052] Figure 4 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0053] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0054] Figure 1 It is a flowchart of the intelligent detection method provided by an embodiment of the present invention.

[0055] like Figure 1 As shown, this embodiment provides an intelligent detection method for aggregate gradation at different depths of field in a silo, including:

[0056] Step 101, collecting images of aggregates in a silo;

[0057] Step 102, performing semantic segmentation on the image based on a pre-built semantic segmentation model to determine the pixel area and pixel perimeter of each aggregate in the image;

[0058] Step 103, determining the actual area of ​​the aggregate based on the correspondence between the pixel area and the actual area of ​​the aggregate at different depths of field and the pixel area of ​​the aggregate;

[0059] Step 104, determining the true perimeter of the aggregate based on the correspondence between the pixel perimeter and the true perimeter of the aggregate at different depths of field and the pixel perimeter of the aggregate;

[0060] Step 105, determining the equivalent particle size of each aggregate based on the real area and real perimeter of the aggregate, and determining the aggregate gradation in the silo based on the equivalent particle size of each aggregate in the silo.

[0061] Aggregate refers to the granular material that plays a skeleton and filling role in concrete and mortar.

[0062] Aggregate grading refers to the proportional relationship between different aggregates based on their size.

[0063] The depth of field refers to the distance between the foreground and the background in the image formed by the camera. The distance is related to where the plane on which the camera focuses is. In this embodiment, the distance between the camera and the aggregate can be used to represent the depth of field.

[0064] In practice, the camera for taking images may be placed directly above the silo to take images of the aggregates in the silo from top to bottom. Thus, as the amount of aggregates in the silo increases or decreases, the distance between the camera and the aggregates will change.

[0065] Figure 2 It is a schematic diagram of a grading curve provided by an embodiment of the present invention.

[0066] like Figure 2 As shown, in practical applications, after determining the equivalent particle size of each aggregate, a gradation curve can be generated based on the equivalent particle size of each aggregate, and the gradation curve can be used to characterize the gradation of aggregates in the silo.

[0067] in Figure 2 The standard grading curve for aggregate in 10mm-20mm silo is provided.

[0068] In the method for intelligent detection of aggregate gradation at different depths of field in a silo provided in the present embodiment, semantic segmentation can be performed on the image of aggregate captured by the camera, individual aggregates can be segmented from the image, and the pixel area and pixel perimeter of the segmented aggregates can be calculated. At this time, the calculated pixel area and pixel perimeter are not necessarily consistent with the actual area and actual perimeter of the aggregate. Therefore, it is necessary to determine the actual area and actual perimeter of the aggregate based on the pixel area and pixel perimeter, and then the equivalent particle size of the aggregate can be accurately determined based on the actual area and actual perimeter, thereby accurately completing the intelligent detection of aggregate gradation.

[0069] In an exemplary embodiment, a radar camera may be used to measure the distance between the camera and the aggregate plane of the silo, and the distance may represent the depth of field of the camera.

[0070] In an exemplary embodiment, the semantic segmentation model is trained in the following manner:

[0071] Construct a semantic segmentation dataset based on aggregate image data of different particle sizes;

[0072] The semantic segmentation dataset is trained to obtain a semantic segmentation model.

[0073] In practical applications, semantic segmentation training can be performed on the training set based on the PyTorch deep learning framework combined with the U-Net network structure, which can improve the accuracy of the trained semantic segmentation model.

[0074] In an exemplary embodiment, determining the pixel area and pixel perimeter of each aggregate in the image includes:

[0075] In the Python program, the findContours module in the OpenCV software library is used to extract the contours in the image after semantic segmentation. Then, the contourArea module in the OpenCV software library is used to calculate the pixel area of ​​each aggregate contour according to the aggregate contour. Then, the arcLength module in the OpenCV software library is used to calculate the pixel perimeter of each aggregate contour.

[0076] In an exemplary embodiment, a semantic segmentation dataset is constructed based on aggregate image data of different particle sizes, including:

[0077] Collect aggregate images of different particle sizes, and perform median filtering and Laplace transform on the aggregate images;

[0078] After annotating and expanding the aggregate images, a semantic segmentation dataset is obtained.

[0079] In practical applications, the aggregates in the image can be annotated by the annotation tool Labelme, and the dataset can be expanded by flipping, rotating, cropping, scaling, and translating the image. The dataset is divided into training set, validation set, and test set. In the process of training a semantic segmentation model based on the semantic segmentation dataset, the training set can be used for training, and the trained semantic segmentation model can be verified and tested based on the validation set and test set.

[0080] In an exemplary embodiment, the correspondence between the pixel area and the real area of ​​the aggregate at different depths of field is determined as follows:

[0081] A standard cube of a certain size is photographed at different depths of field;

[0082] Determine the real area and pixel area of ​​cubes in images taken at different depths of field;

[0083] Based on the ratio of the real area of ​​the cube to the pixel area at different depths of field, the corresponding relationship between the pixel area and the real area of ​​the aggregate is established.

[0084] In an exemplary embodiment, the correspondence between the pixel perimeter and the real perimeter of the aggregate at different depths of field is determined as follows:

[0085] A standard cube of a certain size is photographed at different depths of field;

[0086] Determine the true perimeter and pixel perimeter of a cube in images taken at different depths of field;

[0087] Based on the ratio of the real perimeter to the pixel perimeter of the cube at different depths of field, the correspondence between the pixel perimeter and the real perimeter of the aggregate is established.

[0088] In practical applications, the correspondence between the pixel area and the real area of ​​the aggregate and the correspondence between the pixel perimeter and the real perimeter of the aggregate can be established at the same time. Specifically, the same 1cm×1cm black standard block can be photographed with a camera at different distances H, and an image can be taken every 10cm. The ratio of the actual area of ​​the black standard block to the pixel area and the ratio of the actual perimeter of the black standard block to the pixel perimeter are calculated. The ratio of the actual area of ​​the aggregate to the pixel area can be fitted through the two sets of data. Function of the distance H between the camera and the aggregate plane The ratio of the actual perimeter of the aggregate to the pixel perimeter Function of the distance H between the camera and the aggregate plane .

[0089] Thus, the actual area of ​​each aggregate in the silo is , the actual perimeter of the aggregate is .

[0090] In an exemplary embodiment, it further includes:

[0091] Determine the conversion matrix and distortion coefficient of the camera used to collect images of aggregates in the silo, and perform coordinate system transformation on the camera;

[0092] The images taken by the camera are corrected based on the least squares method and the maximum likelihood optimization method.

[0093] In an exemplary embodiment, the coordinate system of the camera is transformed, including:

[0094] Use the following formula (1) to transform the coordinate system:

[0095] (1)

[0096] in Represents the coordinates of the points in the image in the 3D camera coordinate system, represents the camera's transformation matrix, Represents the coordinates of the points in the image in the three-dimensional world coordinate system, Represents the coordinates of the camera in the 3D world coordinate system.

[0097] In an exemplary embodiment, the image captured by the camera is corrected based on the least square method and the maximum likelihood method optimization method, including:

[0098] The actual radial distortion coefficient, internal parameter, external parameter and distortion coefficient are obtained by using the least square method and the maximum likelihood method to optimize the estimation.

[0099] Based on the radial distortion coefficient, intrinsic parameters, extrinsic parameters and distortion coefficient of the camera, distortion correction is performed on the image taken by the camera.

[0100] In an exemplary embodiment, determining the equivalent particle size of each aggregate based on the real area and the real perimeter of the aggregate includes:

[0101] The equivalent particle size of aggregate is determined by the following formulas (2), (3) and (4):

[0102] (2)

[0103] (3)

[0104] (4)

[0105] in is the actual area of ​​the aggregate, is the true perimeter of the aggregate.

[0106] The following is a description of the intelligent detection system for aggregate gradation at different depths of field in a silo provided by the present invention. The intelligent detection system for aggregate gradation at different depths of field in a silo described below and the intelligent detection method for aggregate gradation at different depths of field in a silo described above can correspond to each other.

[0107] Figure 3 It is a structural diagram of an intelligent detection system provided by an embodiment of the present invention.

[0108] like Figure 3 As shown, the intelligent detection system for aggregate gradation at different depths of field in a silo provided in this embodiment includes:

[0109] The acquisition module 301 is used to acquire images of aggregates in the silo;

[0110] A first determination module 302 is used to perform semantic segmentation on the image based on a pre-built semantic segmentation model to determine the pixel area and pixel perimeter of each aggregate in the image;

[0111] A second determination module 303 is used to determine the actual area of ​​the aggregate based on the correspondence between the pixel area and the actual area of ​​the aggregate at different depths of field and the pixel area of ​​the aggregate;

[0112] A third determination module 304 is used to determine the real perimeter of the aggregate based on the correspondence between the pixel perimeter and the real perimeter of the aggregate at different depths of field and the pixel perimeter of the aggregate;

[0113] The fourth determination module 305 determines the equivalent particle size of each aggregate based on the real area and real perimeter of the aggregate, and completes the intelligent detection of aggregate gradation.

[0114] In an exemplary embodiment, the second determination module is specifically used for:

[0115] Collect aggregate images of different particle sizes, and perform median filtering and Laplace transform on the aggregate images;

[0116] After annotating and expanding the aggregate images, a semantic segmentation dataset is obtained.

[0117] In an exemplary embodiment, the intelligent detection system for aggregate gradation at different depths of field in a silo further includes a correction module, which is specifically used to:

[0118] Determine the conversion matrix and distortion coefficient of the camera used to collect images of aggregates in the silo, and perform coordinate system transformation on the camera;

[0119] The images taken by the camera are corrected based on the least squares method and the maximum likelihood optimization method.

[0120] In an exemplary embodiment, the correction module is further configured to:

[0121] Use the following formula (1) to transform the coordinate system:

[0122] (1)

[0123] in Represents the coordinates of the points in the image in the 3D camera coordinate system, represents the camera's transformation matrix, Represents the coordinates of the points in the image in the three-dimensional world coordinate system, Represents the coordinates of the camera in the 3D world coordinate system.

[0124] In an exemplary embodiment, the fourth determination module is specifically used for:

[0125] The equivalent particle size of aggregate is determined by the following formulas (2), (3) and (4):

[0126] (2)

[0127] (3)

[0128] (4)

[0129] in is the actual area of ​​the aggregate, is the true perimeter of the aggregate.

[0130] The specific implementation method of the intelligent detection system for aggregate gradation at different depths of field in a silo provided in this embodiment can be implemented with reference to the above embodiment, and will not be described in detail here.

[0131] Figure 4 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 4As shown, the electronic device may include: a processor 410, a communication interface 420, a memory 430 and a communication bus 440, wherein the processor 410, the communication interface 420 and the memory 430 communicate with each other through the communication bus 440. The processor 410 may call the logic instructions in the memory 430 to execute the intelligent detection method of aggregate gradation at different depths of field in the silo, and the method includes:

[0132] Collect images of aggregates in silos;

[0133] Perform semantic segmentation on the image based on a pre-built semantic segmentation model to determine the pixel area and pixel perimeter of each aggregate in the image;

[0134] Based on the correspondence between the pixel area and the real area of ​​the aggregate at different depths of field and the pixel area of ​​the aggregate, the real area of ​​the aggregate is determined;

[0135] Based on the correspondence between the pixel perimeter and the true perimeter of the aggregate at different depths of field and the pixel perimeter of the aggregate, the true perimeter of the aggregate is determined;

[0136] Based on the true area and true perimeter of the aggregate, the equivalent particle size of each aggregate is determined, and based on the equivalent particle size of each aggregate in the silo, the aggregate gradation in the silo is determined.

[0137] In addition, the logic instructions in the above-mentioned memory 430 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0138] On the other hand, the present invention further provides a computer program product, which includes a computer program. The computer program can be stored in a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the intelligent detection method of aggregate gradation at different depths of field in a silo provided by the above methods, and the method includes:

[0139] Collect images of aggregates in silos;

[0140] Perform semantic segmentation on the image based on a pre-built semantic segmentation model to determine the pixel area and pixel perimeter of each aggregate in the image;

[0141] Based on the correspondence between the pixel area and the real area of ​​the aggregate at different depths of field and the pixel area of ​​the aggregate, the real area of ​​the aggregate is determined;

[0142] Based on the correspondence between the pixel perimeter and the true perimeter of the aggregate at different depths of field and the pixel perimeter of the aggregate, the true perimeter of the aggregate is determined;

[0143] Based on the true area and true perimeter of the aggregate, the equivalent particle size of each aggregate is determined, and based on the equivalent particle size of each aggregate in the silo, the aggregate gradation in the silo is determined.

[0144] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by a processor to execute the intelligent detection method for aggregate gradation at different depths of field in a silo provided by the above methods, the method comprising:

[0145] Collect images of aggregates in silos;

[0146] Perform semantic segmentation on the image based on a pre-built semantic segmentation model to determine the pixel area and pixel perimeter of each aggregate in the image;

[0147] Based on the correspondence between the pixel area and the real area of ​​the aggregate at different depths of field and the pixel area of ​​the aggregate, the real area of ​​the aggregate is determined;

[0148] Based on the correspondence between the pixel perimeter and the true perimeter of the aggregate at different depths of field and the pixel perimeter of the aggregate, the true perimeter of the aggregate is determined;

[0149] Based on the true area and true perimeter of the aggregate, the equivalent particle size of each aggregate is determined, and based on the equivalent particle size of each aggregate in the silo, the aggregate gradation in the silo is determined.

[0150] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, i.e., they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative effort.

[0151] Through the description of the above implementation modes, those skilled in the art can clearly understand that each implementation mode can be implemented by means of software plus a necessary general hardware platform, or of course by hardware. Based on such an understanding, the above technical solution can essentially or in other words be embodied in the form of a software product that contributes to the prior art. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of each embodiment or some parts of the embodiment.

[0152] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. An intelligent detection method for aggregate gradation at different depths of field in a silo, characterized in that: include: Collect images of aggregates in silos; Performing semantic segmentation on the image based on a pre-built semantic segmentation model to determine the pixel area and pixel perimeter of each aggregate in the image; Determine the real area of ​​the aggregate based on the correspondence between the pixel area and the real area of ​​the aggregate at different depths of field and the pixel area of ​​the aggregate; Determine the true perimeter of the aggregate based on the correspondence between the pixel perimeter and the true perimeter of the aggregate at different depths of field and the pixel perimeter of the aggregate; Based on the real area and real perimeter of the aggregate, the equivalent particle size of each aggregate is determined, and based on the equivalent particle size of each aggregate in the silo, the aggregate gradation in the silo is determined. Aggregate gradation refers to the proportional relationship between different aggregates according to their size relationship; The step of determining the aggregate gradation in the silo based on the equivalent particle size of each aggregate comprises: Based on the equivalent particle size of each of the aggregates, a grading curve of the aggregates in the silo is generated; The correspondence between the pixel area and the real area of ​​the aggregate at different depths of field is determined by the following method: A standard cube of a certain size is photographed at different depths of field; Determining the real area and pixel area of ​​the cube in images captured at different depths of field; Based on the ratio of the real area to the pixel area of ​​the cube at different depths of field, a corresponding relationship between the pixel area and the real area of ​​the aggregate is established; The correspondence between the pixel perimeter and the real perimeter of the aggregate at different depths of field is determined by the following method: A standard cube of a certain size is photographed at different depths of field; Determining the true perimeter and the pixel perimeter of the cube in images captured at different depths of field; Based on the ratio of the real perimeter to the pixel perimeter of the cube at different depths of field, a corresponding relationship between the pixel perimeter and the real perimeter of the aggregate is established; At the same time, the correspondence between the pixel area of ​​the aggregate and the real area and the correspondence between the pixel perimeter of the aggregate and the real perimeter are established, including: Use a camera to shoot the same black standard block at different distances; Calculate the ratio of the actual area of ​​the black standard block to the pixel area, and the ratio of the actual perimeter of the black standard block to the pixel perimeter; Fit the function relationship between the ratio of the actual area of ​​the aggregate to the pixel area and the distance between the camera and the aggregate plane: k area =f k (H), where k area is the ratio of the actual area of ​​the aggregate to the pixel area, H is the distance between the camera and the aggregate plane; Fit the function relationship between the ratio of the actual perimeter of the aggregate to the pixel perimeter and the distance between the camera and the aggregate plane: k girth =f k (H), where k girth is the ratio of the actual perimeter of the aggregate to the pixel perimeter, H is the distance between the camera and the aggregate plane; The step of determining the equivalent particle size of each aggregate based on the real area and real perimeter of the aggregate comprises: The equivalent particle size of the aggregate is determined by the following formulas (2), (3) and (4): Wherein S is the actual area of ​​the aggregate, and L is the actual perimeter of the aggregate.

2. The intelligent detection method for aggregate gradation at different depths of field in a silo according to claim 1, characterized in that: The semantic segmentation model is trained in the following way: Construct a semantic segmentation dataset based on aggregate image data of different particle sizes; The semantic segmentation dataset pair is trained to obtain the semantic segmentation model.

3. The intelligent detection method for aggregate gradation at different depths of field in a silo according to claim 2, characterized in that: The method of constructing a semantic segmentation dataset based on aggregate image data of different particle sizes includes: Collecting aggregate images of different particle sizes, and performing median filtering and Laplace transform on the aggregate images; After the aggregate image is labeled and expanded, the semantic segmentation dataset is obtained.

4. The method for intelligently detecting aggregate gradation at different depths of field in a silo according to claim 1, characterized in that: Also includes: Determine the conversion matrix and distortion coefficient of the camera used to collect the image of the aggregate in the silo, and perform coordinate system transformation on the camera based on the following formula (1): in represents the coordinates of the points in the image in the three-dimensional camera coordinate system, R represents the transformation matrix of the camera, Represents the coordinates of the points in the image in the three-dimensional world coordinate system, Represents the coordinates of the camera in the three-dimensional world coordinate system; The image captured by the camera is corrected based on the least square method and the maximum likelihood method optimization method.

5. An intelligent detection system for aggregate gradation at different depths of field in a silo, characterized in that: include: A collection module, used to collect images of aggregates in the silo; A first determination module is used to perform semantic segmentation on the image based on a pre-built semantic segmentation model to determine the pixel area and pixel perimeter of each aggregate in the image; A second determination module is used to determine the real area of ​​the aggregate based on the correspondence between the pixel area and the real area of ​​the aggregate at different depths of field and the pixel area of ​​the aggregate; A third determination module is used to determine the true perimeter of the aggregate based on the correspondence between the pixel perimeter and the true perimeter of the aggregate at different depths of field and the pixel perimeter of the aggregate; The fourth determination module determines the equivalent particle size of each aggregate based on the real area and real perimeter of the aggregate, and completes the intelligent detection of aggregate gradation. Aggregate gradation refers to the proportional relationship of different aggregates according to their size relationship. The step of determining the aggregate gradation in the silo based on the equivalent particle size of each aggregate comprises: Based on the equivalent particle size of each of the aggregates, a grading curve of the aggregates in the silo is generated; The correspondence between the pixel area and the real area of ​​the aggregate at different depths of field is determined by the following method: A standard cube of a certain size is photographed at different depths of field; Determining the real area and pixel area of ​​the cube in images captured at different depths of field; Based on the ratio of the real area to the pixel area of ​​the cube at different depths of field, a corresponding relationship between the pixel area and the real area of ​​the aggregate is established; The correspondence between the pixel perimeter and the real perimeter of the aggregate at different depths of field is determined by the following method: A standard cube of a certain size is photographed at different depths of field; Determining the true perimeter and the pixel perimeter of the cube in images captured at different depths of field; Based on the ratio of the real perimeter to the pixel perimeter of the cube at different depths of field, a corresponding relationship between the pixel perimeter and the real perimeter of the aggregate is established; At the same time, the corresponding relationship between the pixel area of ​​the aggregate and the real area and the corresponding relationship between the pixel perimeter of the aggregate and the real perimeter are established, including: Use a camera to shoot the same black standard block at different distances; Calculate the ratio of the actual area of ​​the black standard block to the pixel area, and the ratio of the actual perimeter of the black standard block to the pixel perimeter; Fit the function relationship between the ratio of the actual area of ​​the aggregate to the pixel area and the distance between the camera and the aggregate plane: k area =f k (H), where k area is the ratio of the actual area of ​​the aggregate to the pixel area, H is the distance between the camera and the aggregate plane; Fit the function relationship between the ratio of the actual perimeter of the aggregate to the pixel perimeter and the distance between the camera and the aggregate plane: k girth =f k (H), where k girth is the ratio of the actual perimeter of the aggregate to the pixel perimeter, H is the distance between the camera and the aggregate plane; In an exemplary embodiment, the fourth determination module is specifically used for: The equivalent particle size of aggregate is determined by the following formulas (2), (3) and (4): Where S is the actual area of ​​the aggregate and L is the actual perimeter of the aggregate.

6. 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 program, the intelligent detection method for aggregate gradation at different depths of field in a silo as claimed in any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Coarse aggregate morphology quality detection system and method

    CN110174334A

  • Coarse aggregate quality image processing and analyzing method based on mobile equipment

    CN111105386A

  • Coarse aggregate equivalent particle size grading method based on three-dimensional image

    CN112611690A

  • Mask rcnn-based stacked coarse aggregate image segmentation method and system

    CN114092485A

  • Device and method for measuring regularity of coarse aggregate particles

    CN115790463A