Conveyor belt foreign matter detection method and system based on coal mine production
By installing a camera on a coal mine conveyor belt, collecting and preprocessing images, extracting edge and contour information, and matching it with foreign object templates, the problem of low foreign object detection efficiency of conveyor belts is solved, high accuracy and high efficiency detection is achieved, and production safety is improved.
Patent Information
- Application Number
- CN202411832018.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-12
- Publication Date
- 2025-04-18
AI Technical Summary
During coal mine production, foreign matter is often mixed on the conveyor belt, resulting in equipment damage and reduced production efficiency, and the existing methods are inefficient in detection.
By installing a camera above or on the side of the conveyor belt, pre-processing is performed after collecting the object image, the edge information and contour information of the object are extracted, and matching with the preset foreign object shape template is used to determine whether the object is a foreign object.
It improves the accuracy and efficiency of foreign body detection, reduces manual intervention, reduces labor intensity, and improves production efficiency and safety.
Smart Images

Figure CN119851201A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method and system for detecting foreign matter on a conveyor belt based on coal mine production. Background Art
[0002] In the coal mining process, conveyor belts, as important transportation equipment, are responsible for transporting coal and other materials from the mining area to the processing or storage area. However, due to the complexity of the coal mining environment and the diversity of material properties, various foreign objects are often mixed on the conveyor belts, such as large pieces of coal, slag, anchors, drill rods, gangue, wooden boards, iron rods, etc. The presence of these foreign objects will not only affect the normal operation of the conveyor belt and reduce production efficiency, but may also cause damage to the equipment.
[0003] By installing high-definition cameras, the materials on the conveyor belt can be monitored in real time. The operator can observe the video screen and promptly detect and handle abnormal materials. This method is simple and easy to implement, but it requires high concentration and experience from the operator, and the efficiency of foreign body detection is too low. Summary of the invention
[0004] The embodiments of the present application provide a conveyor belt foreign body detection method and system based on coal mine production, thereby at least to a certain extent solving the problem of low efficiency of foreign body detection.
[0005] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by the practice of the present application.
[0006] According to one aspect of the present application, a method for detecting foreign objects on a conveyor belt based on coal mine production is provided, including: installing a camera above or on the side of the conveyor belt, and collecting images of objects on the conveyor belt through the camera; preprocessing the object image to generate a regional image corresponding to the object part; detecting the image edge of the regional image, and extracting edge information and contour information of the regional image; generating matching parameters based on the contour information and a preset foreign object shape template; and judging whether the object on the conveyor belt is a foreign object based on the matching parameters and the edge information.
[0007] In the present application, based on the aforementioned scheme, the object image is preprocessed to generate a regional image corresponding to the object part, including: denoising the object image to generate a first image; enhancing the first image to generate a second image; using background modeling technology to remove the conveyor belt in the second image as the background, retaining only the object part, and generating a regional image corresponding to the object part.
[0008] In the present application, based on the aforementioned scheme, the image edge of the area image is detected and the edge information and contour information of the area image are extracted, including: detecting the image edge of the area image; determining the contour information of the area image according to the coordinate information of the pixel points of the image edge; determining the edge information of the area image according to the pixel points of the image edge.
[0009] In the present application, based on the aforementioned scheme, the contour information of the regional image is determined according to the coordinate information of the pixel points at the edge of the image, including: generating contour parameters according to the coordinate information of the pixel points at the edge of the image; and determining the contour information of the regional image according to the contour parameters.
[0010] In the present application, based on the aforementioned solution, determining edge information of a regional image according to pixel points at the edge of the image includes: determining first edge information and second edge information of the regional image according to coordinates of adjacent pixel points at the edge of the image.
[0011] In the present application, based on the aforementioned scheme, matching parameters are generated according to the contour information and the preset foreign object shape template, including: comparing the contour information with the preset foreign object shape template one by one, and calculating the similarity between the contour information and the foreign object shape template as the matching parameters.
[0012] In the present application, based on the aforementioned scheme, judging whether the object on the conveyor belt is a foreign object based on the matching parameters and the edge information includes: if the matching parameters are greater than or equal to a set threshold, determining the foreign object information obtained by matching; judging whether the object on the conveyor belt is a foreign object based on the foreign object information and the edge information.
[0013] According to one aspect of the present application, a conveyor belt foreign body detection system based on coal mine production is provided, comprising:
[0014] An acquisition unit is used to install a camera above or on the side of the conveyor belt, and to collect images of objects on the conveyor belt through the camera;
[0015] A processing unit, used to pre-process the object image to generate a regional image corresponding to the object part;
[0016] An extraction unit, used to detect the image edge of the regional image and extract edge information and contour information of the regional image;
[0017] A matching unit, used for generating matching parameters according to the contour information and a preset foreign body shape template;
[0018] The detection unit is used to determine whether the object on the conveyor belt is a foreign object based on the matching parameters and the edge information.
[0019] In the present application, based on the aforementioned scheme, the object image is preprocessed to generate a regional image corresponding to the object part, including: denoising the object image to generate a first image; enhancing the first image to generate a second image; using background modeling technology to remove the conveyor belt in the second image as the background, retaining only the object part, and generating a regional image corresponding to the object part.
[0020] In the present application, based on the aforementioned scheme, the image edge of the area image is detected and the edge information and contour information of the area image are extracted, including: detecting the image edge of the area image; determining the contour information of the area image according to the coordinate information of the pixel points of the image edge; determining the edge information of the area image according to the pixel points of the image edge.
[0021] In the present application, based on the aforementioned scheme, the contour information of the regional image is determined according to the coordinate information of the pixel points at the edge of the image, including: generating contour parameters according to the coordinate information of the pixel points at the edge of the image; and determining the contour information of the regional image according to the contour parameters.
[0022] In the present application, based on the aforementioned solution, determining edge information of a regional image according to pixel points at the edge of the image includes: determining first edge information and second edge information of the regional image according to coordinates of adjacent pixel points at the edge of the image.
[0023] In the present application, based on the aforementioned scheme, matching parameters are generated according to the contour information and the preset foreign object shape template, including: comparing the contour information with the preset foreign object shape template one by one, and calculating the similarity between the contour information and the foreign object shape template as the matching parameters.
[0024] In the present application, based on the aforementioned scheme, judging whether the object on the conveyor belt is a foreign object based on the matching parameters and the edge information includes: if the matching parameters are greater than or equal to a set threshold, determining the foreign object information obtained by matching; judging whether the object on the conveyor belt is a foreign object based on the foreign object information and the edge information.
[0025] According to one aspect of the present application, a computer-readable medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the conveyor belt foreign body detection method based on coal mine production as described in the above embodiment is implemented.
[0026] According to one aspect of the present application, an electronic device is provided, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the conveyor belt foreign body detection method based on coal mine production as described in the above-mentioned embodiments.
[0027] According to one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the conveyor belt foreign body detection method based on coal mine production provided in the above-mentioned various optional implementations.
[0028] In the technical solution of the present application, a camera is installed above or on the side of the conveyor belt, and the camera is used to collect images of objects on the conveyor belt; the object images are preprocessed to generate regional images corresponding to the object parts; the image edges of the regional images are detected, and the edge information and contour information of the regional images are extracted; matching parameters are generated according to the contour information and the preset foreign body shape template; and whether the object on the conveyor belt is a foreign body is determined according to the matching parameters and the edge information. By installing a camera above or on the side of the conveyor belt to collect images, extracting the edge and contour information of the object after preprocessing, and then matching it with the preset foreign body template, the system can accurately identify foreign bodies on the conveyor belt. This method not only improves the accuracy of foreign body detection, but also the conveyor belt foreign body detection system based on visual technology can greatly reduce manual intervention, reduce labor intensity, and improve production efficiency. At the same time, the real-time monitoring and early warning functions improve production efficiency and safety, provide intelligent and automated solutions for industrial production, and reduce production costs and safety risks.
[0029] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0031] Figure 1 A flow chart of a method for detecting foreign matter on a conveyor belt based on coal mine production in one embodiment of the present application is schematically shown.
[0032] Figure 2 A flowchart for extracting edge information and contour information of a regional image in one embodiment of the present application is schematically shown.
[0033] Figure 3 A schematic diagram of a conveyor belt foreign body detection system based on coal mine production in one embodiment of the present application is schematically shown.
[0034] Figure 4 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown. DETAILED DESCRIPTION
[0035] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be more comprehensive and complete and fully convey the concept of the example embodiments to those skilled in the art.
[0036] In addition, described feature, structure or characteristic can be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present application. However, those skilled in the art will appreciate that the technical scheme of the present application can be put into practice without one or more of the specific details, or other methods, components, devices, steps, etc. can be adopted. In other cases, known methods, devices, realizations or operations are not shown or described in detail to avoid blurring the various aspects of the application.
[0037] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0038] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0039] The implementation details of the technical solution of this application are described in detail below:
[0040] Figure 1 The flowchart of the conveyor belt foreign body detection method based on coal mine production according to one embodiment of the present application is shown. Figure 1As shown, the conveyor belt foreign body detection method based on coal mine production at least includes steps S110 to S150, which are described in detail as follows:
[0041] In step S110, a camera is installed above or on the side of the conveyor belt, and the camera is used to capture images of objects on the conveyor belt.
[0042] In one embodiment of the present application, the optimal installation position of the camera is determined according to the width and height of the conveyor belt and the movement trajectory of the object. Generally, the camera should be installed above or on the side of the conveyor belt to ensure that the images of all objects on the conveyor belt can be clearly captured. Use a suitable bracket or fixture to firmly mount the camera at a predetermined position. Ensure that the camera lens maintains an appropriate distance and angle with the conveyor belt to capture the complete image of the object. According to actual needs, adjust the camera's focal length, exposure, white balance and other parameters to obtain the best image quality. At the same time, ensure that the frame rate of the camera matches the running speed of the conveyor belt to avoid image blur or loss. Start the camera and start real-time acquisition of images of objects on the conveyor belt. Ensure that the image is clear and stable, and can meet the needs of subsequent image processing and foreign body detection.
[0043] By installing cameras above or on the side of the conveyor belt, the system can monitor objects on the conveyor belt in real time. Once foreign objects are found, the system will immediately send out an early warning signal to remind the operator to take timely measures to deal with them, thereby avoiding production interruptions and safety accidents.
[0044] In step S120, the object image is preprocessed to generate a region image corresponding to the object part.
[0045] In one embodiment of the present application, preprocessing the object image to generate a regional image corresponding to the object part includes:
[0046] Performing denoising processing on the object image to generate a first image;
[0047] Performing image enhancement on the first image to generate a second image;
[0048] By using background modeling technology, the conveyor belt in the second image is removed as the background, and only the object part is retained to generate a regional image corresponding to the object part.
[0049] In one embodiment of the present application, according to the noise level and characteristics of the local area of the image, the parameters of the filter are dynamically adjusted to perform denoising on the object image to generate a first image, so as to achieve a better denoising effect while retaining more image details. The value of the current pixel can also be estimated using information from similar areas in the image to better retain the edge and texture information of the image.
[0050] In one embodiment of the present application, the first image is enhanced by dynamically adjusting the degree of enhancement according to the local contrast of the image to generate a second image, so as to avoid image distortion caused by over-enhancement.
[0051] In one embodiment of the present application, a codebook is established for each pixel to store the color value of the pixel at different times. By comparing the current pixel value with the value in the codebook, it can be determined whether the pixel belongs to the background. The conveyor belt in the second image is removed as the background, and only the object part is retained to generate a regional image corresponding to the object part.
[0052] Optionally, if the objects on the conveyor belt are moving, the background and foreground may be further distinguished by motion detection to adapt to the dynamic scene of the conveyor belt.
[0053] The above process generates a regional image corresponding to the object part by performing more sophisticated and effective preprocessing on the collected image, so as to reduce the interference of background noise and irrelevant information, making the subsequent edge detection and contour extraction more accurate.
[0054] In step S130, the image edge of the region image is detected, and the edge information and contour information of the region image are extracted.
[0055] Detect the image edges of the regional image and extract the edge information and contour information. Through precise edge detection and contour extraction, the shape and features of the object can be accurately described, providing a reliable data basis for subsequent matching with the foreign object shape template.
[0056] like Figure 2 As shown, in one embodiment of the present application, detecting the image edge of the regional image and extracting the edge information and contour information of the regional image include:
[0057] S210, detecting the image edge of the regional image;
[0058] S220, determining contour information of the regional image according to coordinate information of pixel points at the edge of the image;
[0059] S230: Determine edge information of the regional image according to pixel points at the edge of the image.
[0060] In one embodiment of the present application, determining the contour information of the regional image according to the coordinate information of the pixel points at the edge of the image includes:
[0061] Generate contour parameters according to the coordinate information of the pixel points at the edge of the image;
[0062] The contour information of the region image is determined according to the contour parameters.
[0063] In one embodiment of the present application, since the edge of the image may be unclear, in this embodiment, according to the coordinate information of the pixel points at the edge of the image, the contour can be extracted by traversing the pixel points in the edge image and connecting the adjacent edge pixel points. Assume that the contour of the edge of the image is composed of a series of pixel points (x1, y1), (x2, y2), ..., (x n ,y n ), the contour parameters can be generated using the geometric transformation method.
[0064] According to the coordinate information of the pixel points on the edge of the image, the pixel points on the original contour are enhanced by adjusting the contour parameters to generate the coordinates of the enhanced pixel points (x ′ ,y ′ )for:
[0065]
[0066] Among them, (x, y) is the coordinate information of the pixel point on the original contour, (x ′ ,y ′ ) is the coordinate information of the enhanced pixel point, and a, b, c, d, e, and f are contour parameters.
[0067] After the contour parameters are calculated, the pixels on the original contour are processed based on the contour parameters to generate contour information of the regional image. In this way, clearer and more specific contour information can be obtained, which is beneficial for subsequent contour comparison.
[0068] In one embodiment of the present application, the first edge information L of the regional image is determined according to the coordinates of adjacent pixel points in the edge of the image:
[0069]
[0070] Among them, (i, j) and (k, l) represent the coordinates of adjacent pixels. Assume that the edge image is a two-dimensional matrix E(i, j), where i and j represent the horizontal and vertical coordinates of the pixel respectively. The value of E(i, j) is 0 or 1, indicating whether the pixel is an edge pixel. The same is true for E(k, l).
[0071] In this embodiment, the first edge information is used to measure the distance relationship between the coordinates of adjacent pixel points in the edge of the image. The larger the value, the longer the distance.
[0072] It should be noted that since edge pixels may be discontinuous, in actual calculation, it is necessary to traverse the entire image, find all adjacent edge pixel pairs, and calculate the distance between them.
[0073] According to the coordinates of the adjacent pixel points in the edge of the image, the second edge information k of the regional image is determined. i for:
[0074]
[0075] The edge consists of a series of pixel points (x1, y1), (x2, y2), ..., (x n ,y n The above analysis can accurately describe the curvature of the edge, which is of great significance for identifying objects with specific curvature features.
[0076] In step S140, matching parameters are generated according to the contour information and a preset foreign body shape template.
[0077] In one embodiment of the present application, the contour information is compared with a preset foreign body shape template one by one, and the similarity between the contour information and the foreign body shape template is calculated as a matching parameter.
[0078] In one embodiment of the present application, multiple foreign body shape templates are preset for comparison and identification of foreign bodies on the conveyor belt. The system can preset multiple foreign body shape templates according to actual needs to meet different types of foreign body detection requirements. This flexibility enables the system to be widely used in various industrial scenarios, such as coal mining, food processing, manufacturing, etc.
[0079] After obtaining the contour information, the contour information is compared one by one with the preset foreign body shape template, and the similarity between the contour information and the foreign body shape template is calculated. This can be done by extracting pixel pairs or pixel groups, performing batch comparisons, and calculating the distance between the pixels as the similarity and matching parameters.
[0080] According to the extracted contour information and the preset foreign body shape template, matching parameters are generated, and the object on the conveyor belt is judged to be a foreign body by comparing the matching parameters and edge information. This method can realize the rapid and accurate identification of foreign bodies, effectively avoiding production interruptions and safety accidents caused by misjudgment.
[0081] In step S150, it is determined whether the object on the conveyor belt is a foreign object based on the matching parameters and the edge information.
[0082] In one embodiment of the present application, judging whether the object on the conveyor belt is a foreign object according to the matching parameter and the edge information includes:
[0083] If the matching parameter is greater than or equal to the set threshold, determining the foreign body information obtained by matching;
[0084] According to the foreign object information and the edge information, it is determined whether the object on the conveyor belt is a foreign object.
[0085] In one embodiment of the present application, if the calculated matching parameter is greater than or equal to the set threshold, it means that there is a foreign object corresponding to the current object, and the foreign object information, such as edge information, is obtained. Then, the foreign object information is compared with the edge information to determine the difference, and then whether the object on the conveyor belt is a foreign object is determined based on the comparison result.
[0086] After detecting foreign objects, they are marked in the video and the robot arm is controlled to pick them up. Compared with the traditional manual inspection method, the conveyor belt foreign object detection system based on visual technology can greatly reduce manual intervention, reduce labor intensity, and improve production efficiency. At the same time, the system can also achieve uninterrupted monitoring to ensure the continuity and stability of the production process.
[0087] In the technical solution of the present application, a camera is installed above or on the side of the conveyor belt, and the camera is used to collect images of objects on the conveyor belt; the object images are preprocessed to generate regional images corresponding to the object parts; the image edges of the regional images are detected, and the edge information and contour information of the regional images are extracted; matching parameters are generated according to the contour information and the preset foreign body shape template; and whether the object on the conveyor belt is a foreign body is determined according to the matching parameters and the edge information. By installing a camera above or on the side of the conveyor belt to collect images, extracting the edge and contour information of the object after preprocessing, and then matching it with the preset foreign body template, the system can accurately identify foreign bodies on the conveyor belt. This method not only improves the accuracy of foreign body detection, but also the conveyor belt foreign body detection system based on visual technology can greatly reduce manual intervention, reduce labor intensity, and improve production efficiency. At the same time, the real-time monitoring and early warning functions improve production efficiency and safety, provide intelligent and automated solutions for industrial production, and reduce production costs and safety risks.
[0088] The following describes an embodiment of the device of the present application, which can be used to execute the conveyor belt foreign body detection method based on coal mine production in the above embodiment of the present application. It can be understood that the device can be a computer program (including program code) running in a computer device, for example, the device is an application software; the device can be used to execute the corresponding steps in the method provided in the embodiment of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the conveyor belt foreign body detection method based on coal mine production in the above embodiment of the present application.
[0089] Figure 3 A block diagram of a conveyor belt foreign body detection system based on coal mine production according to an embodiment of the present application is shown.
[0090] Reference Figure 3As shown, according to an embodiment of the present application, a conveyor belt foreign body detection system based on coal mine production includes:
[0091] An acquisition unit 310 is used to install a camera above or on the side of the conveyor belt, and to collect images of objects on the conveyor belt through the camera;
[0092] A processing unit 320, configured to pre-process the object image to generate a region image corresponding to a portion of the object;
[0093] An extraction unit 330, configured to detect the image edge of the region image and extract edge information and contour information of the region image;
[0094] A matching unit 340, configured to generate matching parameters according to the contour information and a preset foreign body shape template;
[0095] The detection unit 350 is used to determine whether the object on the conveyor belt is a foreign object based on the matching parameters and the edge information.
[0096] In the present application, based on the aforementioned scheme, the object image is preprocessed to generate a regional image corresponding to the object part, including: denoising the object image to generate a first image; enhancing the first image to generate a second image; using background modeling technology to remove the conveyor belt in the second image as the background, retaining only the object part, and generating a regional image corresponding to the object part.
[0097] In the present application, based on the aforementioned scheme, the image edge of the area image is detected and the edge information and contour information of the area image are extracted, including: detecting the image edge of the area image; determining the contour information of the area image according to the coordinate information of the pixel points of the image edge; determining the edge information of the area image according to the pixel points of the image edge.
[0098] In the present application, based on the aforementioned scheme, the contour information of the regional image is determined according to the coordinate information of the pixel points at the edge of the image, including: generating contour parameters according to the coordinate information of the pixel points at the edge of the image; and determining the contour information of the regional image according to the contour parameters.
[0099] In the present application, based on the aforementioned solution, determining edge information of a regional image according to pixel points at the edge of the image includes: determining first edge information and second edge information of the regional image according to coordinates of adjacent pixel points at the edge of the image.
[0100] In the present application, based on the aforementioned scheme, matching parameters are generated according to the contour information and the preset foreign object shape template, including: comparing the contour information with the preset foreign object shape template one by one, and calculating the similarity between the contour information and the foreign object shape template as the matching parameters.
[0101] In the present application, based on the aforementioned scheme, judging whether the object on the conveyor belt is a foreign object based on the matching parameters and the edge information includes: if the matching parameters are greater than or equal to a set threshold, determining the foreign object information obtained by matching; judging whether the object on the conveyor belt is a foreign object based on the foreign object information and the edge information.
[0102] In the technical solution of the present application, a camera is installed above or on the side of the conveyor belt, and the camera is used to collect images of objects on the conveyor belt; the object images are preprocessed to generate regional images corresponding to the object parts; the image edges of the regional images are detected, and the edge information and contour information of the regional images are extracted; matching parameters are generated according to the contour information and the preset foreign body shape template; and whether the object on the conveyor belt is a foreign body is determined according to the matching parameters and the edge information. By installing a camera above or on the side of the conveyor belt to collect images, extracting the edge and contour information of the object after preprocessing, and then matching it with the preset foreign body template, the system can accurately identify foreign bodies on the conveyor belt. This method not only improves the accuracy of foreign body detection, but also the conveyor belt foreign body detection system based on visual technology can greatly reduce manual intervention, reduce labor intensity, and improve production efficiency. At the same time, the real-time monitoring and early warning functions improve production efficiency and safety, provide intelligent and automated solutions for industrial production, and reduce production costs and safety risks.
[0103] Figure 4 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown.
[0104] It should be noted that the computer system 400 of the electronic device shown in the figure is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0105] The computer system 400 includes a central processing unit (CPU) 401, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 402 or the program loaded from the storage part 408 to the random access memory (RAM) 403, such as executing the method described in the above embodiment. In the RAM 403, various programs and data required for system operation are also stored. The CPU 401, the ROM 402 and the RAM 403 are connected to each other through the bus 404. The input / output (I / O) interface 405 is also connected to the bus 404.
[0106] The following components are connected to the I / O interface 405: an input section 406 including a keyboard, a mouse, etc.; an output section 407 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 408 including a hard disk, etc.; and a communication section 409 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 409 performs communication processing via a network such as the Internet. A drive 410 is also connected to the I / O interface 405 as needed. A removable medium 411, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 410 as needed so that a computer program read therefrom is installed into the storage section 408 as needed.
[0107] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 409, and / or installed from a removable medium 411. When the computer program is executed by a central processing unit (CPU) 401, various functions defined in the system of the present application are executed.
[0108] It should be noted that the computer-readable medium shown in the embodiment of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by an instruction execution system, device or device or used in combination with it. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable computer program is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0109] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0110] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.
[0111] According to one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided in the above-mentioned various optional implementations.
[0112] As another aspect, the present application also provides a computer-readable medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by an electronic device, the electronic device implements the method described in the above embodiment.
[0113] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.
[0114] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the implementation methods of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the implementation methods of the present application.
[0115] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the embodiments disclosed herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary technical means in the art that are not disclosed in the present application.
[0116] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A conveyor belt foreign body detection method based on coal mine production, characterized in that: include: A camera is installed above or on the side of the conveyor belt to collect images of objects on the conveyor belt; Preprocessing the object image to generate a regional image corresponding to the object part; Detecting the image edge of the regional image, and extracting the edge information and contour information of the regional image; Generate matching parameters according to the contour information and a preset foreign body shape template; According to the matching parameters and the edge information, it is determined whether the object on the conveyor belt is a foreign object.
2. The method according to claim 1, characterized in that Preprocessing the object image to generate a region image corresponding to the object portion includes: Performing denoising processing on the object image to generate a first image; Performing image enhancement on the first image to generate a second image; By using background modeling technology, the conveyor belt in the second image is removed as the background, and only the object part is retained to generate a regional image corresponding to the object part.
3. The method according to claim 1, characterized in that: Detecting the image edge of the regional image and extracting the edge information and contour information of the regional image include: Detecting image edges of the regional image; Determining contour information of the regional image according to coordinate information of pixel points at the edge of the image; The edge information of the regional image is determined according to the pixel points at the edge of the image.
4. The method according to claim 3, characterized in that Determining contour information of the regional image according to coordinate information of pixel points at the edge of the image includes: Generate contour parameters according to the coordinate information of the pixel points at the edge of the image; The contour information of the region image is determined according to the contour parameters.
5. The method according to claim 3, characterized in that: Determining edge information of a regional image according to pixel points at the edge of the image includes: The first edge information and the second edge information of the regional image are determined according to the coordinates of adjacent pixel points in the edge of the image.
6. The method according to claim 1, characterized in that Generate matching parameters according to the contour information and the preset foreign body shape template, including: The contour information is compared with the preset foreign body shape template one by one, and the similarity between the contour information and the foreign body shape template is calculated as the matching parameter.
7. The method according to claim 1, characterized in that Judging whether the object on the conveyor belt is a foreign object according to the matching parameter and the edge information includes: If the matching parameter is greater than or equal to the set threshold, determining the foreign body information obtained by matching; According to the foreign object information and the edge information, it is determined whether the object on the conveyor belt is a foreign object.
8. A conveyor belt foreign body detection system based on coal mine production, characterized in that: include: An acquisition unit is used to install a camera above or on the side of the conveyor belt, and to collect images of objects on the conveyor belt through the camera; A processing unit, used to pre-process the object image to generate a regional image corresponding to the object part; An extraction unit, used to detect the image edge of the regional image and extract edge information and contour information of the regional image; A matching unit, used for generating matching parameters according to the contour information and a preset foreign body shape template; The detection unit is used to determine whether the object on the conveyor belt is a foreign object based on the matching parameters and the edge information.
9. A computer readable medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the conveyor belt foreign body detection method based on coal mine production according to any one of claims 1 to 7 is implemented.
10. An electronic device, characterized in that: include: one or more processors; A storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, enables the one or more processors to implement the conveyor belt foreign body detection method based on coal mine production as described in any one of claims 1 to 7.
Citation Information
Cited By
Intelligent identification and classification system for conveyor belt materials based on machine vision
CN120431403A
Intelligent recognition and classification system for materials on a conveyor belt based on machine vision
CN120431403B