Industrial machine defect visual detection method, system and equipment based on big data
By acquiring and analyzing the image data stream of precision gears of industrial machines in real time, identifying specific areas and calculating performance loss scores, it solves the problems of subjectivity and low accuracy in detection in the existing technology, and achieves accurate assessment and detection of part status. Improved reliability of results.
Patent Information
- Application Number
- CN202410979976.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-07-22
AI Technical Summary
Existing industrial machine vision inspection methods are highly subjective when evaluating defects and lack unified quantitative standards, resulting in low detection pertinence and accuracy, making it difficult to accurately evaluate the status of parts.
By acquiring high-resolution image data streams of industrial machine precision gears in real time, we identify and separate specific image areas, extract image feature information, calculate performance loss scores, reflect the degree of defects, and then determine the defect detection results.
It improves the pertinence and accuracy of detection, achieves accurate assessment of part status, reduces the subjectivity of manual judgment, and improves the reliability of detection results.
Smart Images

Figure CN118521580B
Abstract
Description
Technical Field
[0001] The present application belongs to the field of visual inspection technology, and in particular, relates to a method, system and equipment for visual inspection of industrial machine defects based on big data. Background Art
[0002] With the continuous advancement and maturity of computer vision technology, it has shown extensive and profound application potential in the field of industrial automation, especially in the quality inspection of motor parts. The automated inspection system integrating computer vision technology not only greatly improves the speed and efficiency of inspection, realizes continuous high-speed transportation of materials, but also significantly reduces labor intensity. This change not only optimizes the production process, but also ensures the high quality standards of motor parts through accurate and error-free visual inspection capabilities, marking an important step towards intelligent manufacturing.
[0003] In the existing technology, visual inspection focuses on single or limited image feature analysis, which is highly subjective when evaluating defects and lacks a unified quantitative standard, resulting in low pertinence and accuracy of traditional inspections, making it difficult to accurately evaluate the status of parts. For example, a patent document with publication number CN106846294A discloses a visual inspection method, which includes: when the assembly line is in working state, receiving images of the object to be inspected continuously taken by a camera; according to the order in which the images are taken, the images are sequentially superimposed with pre-set template images, and a first reference line is set in the template image, and the first reference line is perpendicular to the moving direction of the object to be inspected. When the object to be inspected contacts the first reference line, it indicates that the object to be inspected has entered the inspection area; based on the superposition result of the image and the template image, it is determined whether the object to be inspected has entered the inspection area. This visual inspection method has the above problems. Summary of the invention
[0004] The embodiments of the present application provide a method, system and equipment for visual inspection of industrial machine defects based on big data, which can solve the problem that in the process of visual inspection of industrial machine defects, the detection is not targeted and accurate, and it is difficult to accurately assess the status of parts due to the strong subjectivity in defect assessment and the lack of unified quantitative standards.
[0005] In a first aspect, an embodiment of the present application provides a method for visually detecting defects of industrial machines based on big data, comprising:
[0006] Real-time acquisition of high-resolution image data streams of precision gears of industrial machines;
[0007] According to the image data stream of the precision gear, identifying and separating a specific image area corresponding to the precision gear in the entire image;
[0008] According to the specific image area of the precision gear in the entire image, image feature information of the specific image area is obtained;
[0009] Determine, according to the image feature information of the specific image area, a performance loss score corresponding to the specific image area; wherein the performance loss score is used to reflect the degree of defects of the precision gear;
[0010] A defect detection result of the precision gear of the industrial machine is determined according to the performance loss score corresponding to the specific image area.
[0011] The above technical solutions in the embodiments of the present application have at least the following technical effects:
[0012] The big data-based visual inspection method for industrial machine defects provided in the embodiment of the present application provides a basis for subsequent inspection and analysis by acquiring high-resolution image data streams of precision gears of industrial machines in real time. According to the image data stream of the precision gears, the specific image areas corresponding to the precision gears in the entire image are identified and separated, so as to improve the accuracy of targeted inspection and analysis. According to the specific image areas of the precision gears in the entire image, the image feature information of the specific image areas is obtained, providing the most direct data support for defect analysis. According to the image feature information of the specific image area, the performance loss score corresponding to the specific image area is determined to reflect the degree of defects of the precision gears. According to the performance loss score corresponding to the specific image area, the defect detection results of the precision gears of the industrial machine are determined, the pertinence and accuracy of the inspection are improved, and the status of the parts is accurately evaluated.
[0013] In a possible implementation manner of the first aspect, identifying and separating, according to the image data stream of the precision gear, a specific image area corresponding to the precision gear in the entire image includes:
[0014] Preprocessing the image data stream of the precision gear to obtain an enhanced image of the precision gear;
[0015] Performing edge detection on the enhanced image of the precision gear to capture the inner and outer contours of the precision gear and the contour boundary of each tooth;
[0016] Fitting the inner and outer contours of the precision gear and the contour boundary of each tooth with a standard gear function to obtain geometric feature information of the precision gear;
[0017] According to the geometric feature information of the precision gear, a specific image area corresponding to the precision gear in the entire image is identified and separated.
[0018] In a possible implementation manner of the first aspect, obtaining image feature information of the specific image area according to the specific image area of the precision gear in the entire image includes:
[0019] According to the specific image area of the precision gear in the entire image, a pixel neighborhood matrix centered on each pixel point is set in the specific image area;
[0020] Based on the pixel neighborhood matrix of the specific image area, calculating statistical parameters of all pixels in the pixel neighborhood matrix;
[0021] Image feature information of the specific image area is extracted based on the statistical parameters of all pixels in the pixel neighborhood matrix.
[0022] In a possible implementation manner of the first aspect, determining, according to the image feature information of the specific image area, a performance loss score corresponding to the specific image area includes:
[0023] Based on the image feature information of the specific image area, determining a loss quantification index and an optical feature index of the specific image area;
[0024] A performance loss score corresponding to the specific image area is determined according to the loss quantification index and the optical characteristic index of the specific image area.
[0025] In a possible implementation manner of the first aspect, determining a loss quantification index of the specific image area based on the image feature information of the specific image area includes:
[0026] Based on the image feature information of the specific image area, determining texture roughness change data of the specific image area;
[0027] Based on the texture roughness variation data of the specific image area and the geometric feature information of the precision gear, constructing a texture density function of the specific image area; wherein the texture density function is used to reflect the texture roughness of different areas of the precision gear;
[0028] A loss quantification index of the specific image area is determined according to the texture density function of the specific image area.
[0029] In a possible implementation manner of the first aspect, constructing a texture density function of the specific image area based on the texture roughness variation data of the specific image area and the geometric feature information of the precision gear includes:
[0030] Based on the geometric feature information of the precision gear, determine the gear tooth number sequence of the precision gear; wherein the gear tooth number sequence is used to sort the gear teeth;
[0031] Based on the gear tooth number sequence of the precision gear, dividing the specific image area into corresponding gear tooth number sequence areas;
[0032] Determine the average roughness of the gear tooth area corresponding to each gear tooth number sequence area based on the texture roughness variation data of the gear tooth number sequence area and the specific image area;
[0033] The gear tooth number sequence of the precision gear is used as the abscissa, and the average roughness of the gear tooth region corresponding to each gear tooth number sequence region is used as the ordinate to construct a texture density function of the specific image region.
[0034] And / or, determining the gear tooth number sequence of the precision gear based on the geometric feature information of the precision gear comprises:
[0035] Based on the geometric feature information of the precision gear, determining the gear tooth boundary point where the gear teeth of the precision gear contact the wheel body;
[0036] Based on the gear tooth boundary point where the gear teeth of the precision gear contact the wheel body, determining a geometric connecting line corresponding to the gear tooth boundary point and the center of the precision gear;
[0037] Determine the wheel body corresponding to the tooth of each precision gear based on the geometric connecting line corresponding to the boundary point of the tooth and the center of the circle of the precision gear;
[0038] Based on the gear teeth of the precision gear and the gear body corresponding to the gear teeth, a gear tooth number sequence of the precision gear is determined.
[0039] In a possible implementation manner of the first aspect, determining an optical characteristic index of the specific image area based on the image characteristic information of the specific image area includes:
[0040] Determine the light intensity value of each pixel in the specific image area based on the image feature information of the specific image area;
[0041] Determining a light intensity variation curve of the specific image area according to the light intensity value of each pixel in the specific image area;
[0042] Based on the light intensity variation curve of the specific image area, an optical characteristic index of the specific image area is determined.
[0043] In a possible implementation manner of the first aspect, determining, according to the loss quantification index and the optical characteristic index of the specific image area, a performance loss score corresponding to the specific image area includes:
[0044] Determining a surface loss score corresponding to the specific image area according to the loss quantification index and the optical characteristic index of the specific image area;
[0045] According to the surface loss score corresponding to the specific image area, a performance loss score corresponding to the specific image area is determined.
[0046] In a second aspect, an embodiment of the present application provides an industrial machine defect visual detection system based on big data, comprising:
[0047] An acquisition unit, used for acquiring high-resolution image data streams of precision gears of industrial machines in real time;
[0048] An identification unit, used for identifying and separating a specific image area corresponding to the precision gear in the entire image according to the image data stream of the precision gear;
[0049] An analyzing unit, configured to obtain image feature information of the specific image area according to the specific image area of the precision gear in the entire image;
[0050] A detection unit, configured to determine a performance loss score corresponding to the specific image area according to the image feature information of the specific image area; wherein the performance loss score is used to reflect the degree of defects of the precision gear;
[0051] An evaluation unit is used to determine a defect detection result of the precision gear of the industrial machine according to a performance loss score corresponding to the specific image area.
[0052] In a third aspect, an embodiment of the present application provides an industrial machine defect visual inspection device based on big data, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements a method as described in any one of the first aspects above when executing the computer program.
[0053] In a fourth aspect, an embodiment of the present application provides a computer program product, which, when executed on a terminal device, enables the terminal device to execute any of the methods described in the first aspect.
[0054] It can be understood that the beneficial effects of the second to fourth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0056] Figure 1 It is a flowchart of a method for visual inspection of industrial machine defects based on big data provided by an embodiment of the present application;
[0057] Figure 2 It is a flowchart of step S200 in the industrial machine defect visual detection method based on big data provided by an embodiment of the present application;
[0058] Figure 3 It is a flowchart of step S300 of a method for visually inspecting industrial machine defects based on big data provided by an embodiment of the present application;
[0059] Figure 4 It is a flowchart of step S400 of a method for visually inspecting industrial machine defects based on big data provided by an embodiment of the present application;
[0060] Figure 5 It is a flowchart of step S410 of a method for visually detecting industrial machine defects based on big data provided by an embodiment of the present application;
[0061] Figure 6 It is a flowchart of step S412 of the industrial machine defect visual detection method based on big data provided by an embodiment of the present application;
[0062] Figure 7 It is a flowchart of step S4121 of a method for visually detecting industrial machine defects based on big data provided by an embodiment of the present application;
[0063] Figure 8 is another flowchart diagram of step S410 of the industrial machine defect visual detection method based on big data provided by an embodiment of the present application;
[0064] Fig. 9 It is a flowchart of step S420 of the industrial machine defect visual detection method based on big data provided by an embodiment of the present application;
[0065] Fig.10 It is a flowchart of step S500 of a method for visual inspection of industrial machine defects based on big data provided by an embodiment of the present application;
[0066] Fig.11It is a structural diagram of an industrial machine defect visual inspection system based on big data provided by an embodiment of the present application;
[0067] Fig.12 It is a structural schematic diagram of an industrial machine defect visual inspection device based on big data provided in one embodiment of the present application. DETAILED DESCRIPTION
[0068] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0069] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0070] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0071] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0072] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0073] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0074] In the existing technology, visual inspection focuses on single or limited image feature analysis, which is highly subjective when evaluating defects and lacks a unified quantitative standard, resulting in low pertinence and accuracy of traditional inspections, making it difficult to accurately evaluate the status of parts. For example, a patent document with publication number CN106846294A discloses a visual inspection method, which includes: when the assembly line is in working state, receiving images of the object to be inspected continuously taken by a camera; according to the order in which the images are taken, the images are sequentially superimposed with pre-set template images, and a first reference line is set in the template image, and the first reference line is perpendicular to the moving direction of the object to be inspected. When the object to be inspected contacts the first reference line, it indicates that the object to be inspected has entered the inspection area; based on the superposition result of the image and the template image, it is determined whether the object to be inspected has entered the inspection area. This visual inspection method has the above problems.
[0075] To solve the above problems, the embodiments of the present application provide a method, system and device for visual inspection of industrial machine defects based on big data. In this method, by acquiring a high-resolution image data stream of precision gears of industrial machines in real time, a basis is provided for subsequent inspection and analysis. According to the image data stream of the precision gears, the specific image area corresponding to the precision gears in the entire image is identified and separated, so as to improve the accuracy of targeted inspection and analysis. According to the specific image area of the precision gears in the entire image, the image feature information of the specific image area is obtained, providing the most direct data support for defect analysis. According to the image feature information of the specific image area, the performance loss score corresponding to the specific image area is determined to reflect the degree of defect of the precision gears. According to the performance loss score corresponding to the specific image area, the defect detection result of the precision gears of the industrial machine is determined, the pertinence and accuracy of the inspection are improved, and the status of the parts is accurately evaluated.
[0076] The big data-based visual detection method for industrial machine defects provided in the embodiment of the present application can be applied to a terminal device. In this case, the terminal device is the executor of the big data-based visual detection method for industrial machine defects provided in the embodiment of the present application. The embodiment of the present application does not impose any restrictions on the specific type of the terminal device.
[0077] For example, the terminal device can be a smart camera, an industrial inspection robot, a dedicated visual inspection workstation, or a personal computer (PC) integrated with advanced image processing software, an in-vehicle device, an augmented reality (AR) / virtual reality (VR) device, a computing device or other processing device connected to a wireless modem, an Internet of Vehicles terminal, a computer, etc.
[0078] In order to better understand the big data-based visual detection method for industrial machine defects provided in the embodiment of the present application, the specific implementation process of the big data-based visual detection method for industrial machine defects provided in the embodiment of the present application is exemplarily introduced below.
[0079] Figure 1 A schematic flow chart of a method for visually detecting industrial machine defects based on big data provided by an embodiment of the present application is shown. The method for visually detecting industrial machine defects based on big data includes:
[0080] S100, real-time acquisition of high-resolution image data streams of precision gears of industrial machines.
[0081] It is understood that high-resolution industrial cameras (usually equipped with suitable lenses and light sources) can be used to continuously capture images of precision gears during the operation of the production line. High resolution ensures the clarity of details in the image, which is crucial for subsequent detection of minor defects. Image data is transmitted in real time in the form of data streams to ensure the immediacy of the detection process.
[0082] S200, identifying and separating a specific image area corresponding to the precision gear in the entire image according to the image data stream of the precision gear.
[0083] It is understood that after receiving the image data, the image can be analyzed to identify the specific position of the gear and separate it from the background and other irrelevant elements. This can be achieved through a preset algorithm, which may include edge detection, shape recognition, template matching, etc., with the purpose of focusing on the gear itself and eliminating environmental interference to facilitate more detailed analysis.
[0084] In one possible implementation, see Figure 2 S200, according to the image data stream of the precision gear, identifies and separates the specific image area corresponding to the precision gear in the whole image, including:
[0085] S210, preprocessing the image data stream of the precision gear to obtain an enhanced image of the precision gear.
[0086] It can be understood that the original image data stream can be preprocessed to improve the image quality and the accuracy of subsequent analysis. Preprocessing can be completed through a preset algorithm execution process, which can include noise removal, contrast enhancement, grayscale / binarization, image enhancement, etc. Noise removal: Use filters (such as median filtering, Gaussian filtering) to reduce random noise in the image. Contrast enhancement: Adjust the brightness and contrast of the image through an algorithm to make the outline and details of the gear clearer. Grayscale / binarization: Convert the image to grayscale or binary form to simplify the image information for subsequent processing. Image enhancement: Histogram equalization, sharpening and other techniques may be applied to highlight the visual characteristics of the gear structure.
[0087] S220, edge detection is performed on the enhanced image of the precision gear to capture the inner and outer contours of the precision gear and the contour boundary of each tooth.
[0088] It can be understood that the inner and outer contours of precision gears and the contour boundary of each tooth can be captured by preset edge detection. The goal of edge detection is to accurately extract the inner and outer contours of the gear and the contour boundary of each tooth from the enhanced image. Commonly used preset algorithms include:
[0089] Canny edge detection algorithm: Automatically detects significant changes in an image and is suitable for finding clear boundaries.
[0090] Sobel operator, Laplacian operator: These operators help identify areas with large intensity gradients in the image, i.e. potential edge locations.
[0091] Hough Transform: After edge detection, Hough Transform may be used to identify geometric shapes such as lines or arcs to capture the gear contour.
[0092] S230, fitting the inner and outer contours of the precision gear and the contour boundary of each tooth with the standard gear function to obtain geometric feature information of the precision gear.
[0093] It can be understood that the detected profile can be fitted with a theoretical standard gear geometry model to quantify the geometric features of the gear. Use the least squares method or other optimization algorithms to match the actual profile of the gear with the mathematical model of the ideal gear (such as the involute profile). From the fitting process, key geometric parameters such as the diameter, module, number of teeth, and tooth top height coefficient of the gear can be obtained. Evaluate the difference between the actual gear and the ideal model to provide a basis for subsequent defect judgment.
[0094] S240, identifying and separating a specific image region corresponding to the precision gear in the entire image according to the geometric feature information of the precision gear.
[0095] It can be understood that based on the geometric feature information of the gear, the area where the gear is located in the entire image can be accurately located and segmented. This step is crucial for subsequent detailed analysis of specific areas, such as local defect detection or performance evaluation. Based on the gear contour, the specific pixel area where the gear is located is determined. Through morphological operations such as expansion and corrosion, the gear area is further cleaned and refined to ensure accurate separation. Create an accurate mask of the gear and only retain the gear area for in-depth analysis to eliminate background interference. Combining image processing, computer vision and geometric modeling technology provides strong technical support for efficient and accurate detection of precision gears.
[0096] S300, obtaining image feature information of the specific image area according to the specific image area of the precision gear in the entire image.
[0097] It can be understood that after the gear area is successfully separated, the key image features of the gear area can be extracted. Feature information can include but is not limited to texture features, statistical features, color distribution, shape parameters, edge contours, etc. These features are calculated by a preset algorithm and are the basis for subsequent judgment of whether there are defects. Feature extraction usually uses image processing technology and computer vision algorithms, or it can be integrated into a deep learning model to automatically learn the most effective feature representation.
[0098] In one possible implementation, see Figure 3 , S300, according to the specific image area of the precision gear in the whole image, image feature information of the specific image area is obtained, including:
[0099] S310, according to the specific image area of the precision gear in the entire image, a pixel neighborhood matrix centered on each pixel point is set in the specific image area.
[0100] It can be understood that based on the specific image area of the separated precision gear, the local context information of each pixel is analyzed, and a pixel neighborhood matrix (also called neighborhood window or convolution kernel) is set for each pixel. This matrix is usually a square or rectangular area of fixed size, centered on the target pixel, and its size (such as 3x3, 5x5, etc.) depends on the degree of local detail to be considered. Such a setting helps to capture features such as local texture and color changes, and provides a basis for subsequent statistical analysis.
[0101] S320, based on the pixel neighborhood matrix of the specific image area, calculating statistical parameters of all pixels in the pixel neighborhood matrix.
[0102] It can be understood that for each pixel's neighborhood matrix, the system will calculate a series of statistical parameters to describe the characteristics of the area. The statistical parameters may include:
[0103] Mean: The average of all pixel values in a neighborhood, reflecting the average brightness or color of the area.
[0104] Standard Deviation: Measures the degree of dispersion of pixel values within a neighborhood. A high standard deviation means that pixel values vary greatly, which may represent complex textures or edge areas.
[0105] Contrast: The difference between the maximum and minimum pixel values in a neighborhood, reflecting the local contrast intensity.
[0106] Entropy: A measure of the uncertainty of information. The more uniform the distribution of pixel values in a neighborhood, the higher the entropy. It is often used in texture complexity analysis.
[0107] Gradient direction and magnitude: used for edge detection and directional feature analysis. These statistical parameters can fully describe the characteristics of the environment around each pixel.
[0108] S330, extracting image feature information of a specific image region based on statistical parameters of all pixels in the pixel neighborhood matrix.
[0109] It can be understood that the statistical parameters in the neighborhood matrix of all pixels are combined, and this information is further extracted and summarized to form a comprehensive feature description of a specific image area. These features can include:
[0110] Texture features: Statistical features based on changes in pixel values that reflect surface texture.
[0111] Color features: Statistics based on color distribution, such as color histogram, are used to distinguish different materials or states.
[0112] Shape features: Although the shape features calculated directly based on the pixel neighborhood matrix are relatively limited, these statistical parameters indirectly reflect the edge clarity and continuity of the shape.
[0113] S400, determining a performance loss score corresponding to the specific image area according to image feature information of the specific image area; wherein the performance loss score is used to reflect the degree of defects of the precision gear.
[0114] It can be understood that the condition of the gear can be evaluated using predefined rules using the feature information extracted from the previous step. The performance loss score is a quantitative indicator used to measure the degree of performance degradation of the gear due to potential defects. The higher the score, the more severe the defect or the greater the impact. This process may involve comparing normal and abnormal features, or defect levels predicted by machine learning models.
[0115] In one possible implementation, see Figure 4 S400, determining a performance loss score corresponding to the specific image area according to image feature information of the specific image area, including:
[0116] S410, determining a loss quantification index and an optical characteristic index of the specific image area based on image characteristic information of the specific image area.
[0117] It can be understood that the loss quantification index (such as texture roughness change) and optical characteristic index (such as glossiness, color difference, etc.) of the gear can be determined through specific algorithms or rules (such as comparing features with preset standards or model predictions), which are directly related to the degree of performance loss of the gear.
[0118] Optionally, see Figure 5 In step S410, based on the image feature information of the specific image area, a loss quantification index of the specific image area is determined, including:
[0119] S411, determining texture roughness change data of the specific image area based on image feature information of the specific image area.
[0120] It can be understood that in a specific image area, by analyzing the neighborhood matrix of each pixel point, the texture features such as grayscale co-occurrence matrix, texture gradient or frequency domain features are calculated to quantify the texture features of each small area. According to the quantified texture features of each small area, a numerical value reflecting the roughness of the texture is mapped. These calculations reflect the difference in the gear texture of each area relative to the ideal state, especially the degree of roughness or wear. Areas with large differences may mean higher texture roughness or surface damage.
[0121] S412, constructing a texture density function of the specific image area based on the texture roughness variation data of the specific image area and the geometric feature information of the precision gear; wherein the texture density function is used to reflect the texture roughness of different areas of the precision gear.
[0122] It can be understood that the process of constructing the texture density function is to associate each part of the gear with the corresponding texture features, so that the condition of each gear tooth can be systematically evaluated to avoid ignoring the local severe wear due to global average. By serializing the gear teeth and analyzing the average roughness of their respective areas, the problem areas can be located more accurately.
[0123] For example, see Figure 6 , S412, constructing a texture density function of the specific image area based on the texture roughness variation data of the specific image area and the geometric feature information of the precision gear, including:
[0124] S4121, determining a gear tooth number sequence of the precision gear based on geometric feature information of the precision gear; wherein the gear tooth number sequence is used to sort the gear teeth.
[0125] It can be understood that the position of each tooth can be arranged by the geometric feature information of the gear (such as the total number of teeth, pitch circle diameter, etc.), and a gear tooth number sequence can be determined. For example, a certain gear tooth is selected as the first tooth, and the gear teeth are sorted in a clockwise direction until all the gear teeth have a certain serial number, which lays the foundation for subsequent refined analysis. It can be based on the geometric features of the gear, such as the total number of teeth, gear module, etc., to create a sequential list of gear teeth. This step is to map the physical structure of the gear to a digital sequence, laying the foundation for the subsequent association of texture features with specific tooth positions.
[0126] For example, see Figure 7 , S4121, based on the geometric characteristic information of the precision gear, determine the gear tooth number sequence of the precision gear, including:
[0127] S41211, based on the geometric feature information of the precision gear, determine the gear tooth boundary points where the gear teeth of the precision gear contact the wheel body.
[0128] It can be understood that through the geometric feature information of precision gears, the precise boundary of the joint between each gear tooth and the wheel body (base) can be identified, that is, the boundary points of the gear teeth where the gear teeth contact the wheel body can be confirmed. These boundary points are the key feature points of the gear tooth profile and are the basis for the subsequent construction of an accurate tooth position model.
[0129] S41212, based on the gear tooth boundary points where the gear teeth of the precision gear contact the wheel body, determine the geometric connection line corresponding to the gear tooth boundary points and the center of the precision gear.
[0130] It can be understood that by obtaining all the boundary points of the gear teeth, a straight line can be drawn from each boundary point to the center of the gear circle (geometric center) through geometric analysis. These lines help define the exact position of each tooth on the circumference of the gear and establish a geometric reference frame for determining the tooth sequence.
[0131] S41213, based on the geometric lines corresponding to the boundary points of the gear teeth and the center of the precision gear, determine the wheel body corresponding to the gear teeth of each precision gear.
[0132] It can be understood that by analyzing the distribution of the line connecting the boundary points of the gear teeth and the center of the circle, the part of the wheel body corresponding to each independent gear tooth can be clearly distinguished and marked. This not only confirms the individual identity of the gear teeth, but also indicates the specific research object for subsequent texture feature analysis.
[0133] S41214, determining the gear tooth number sequence of the precision gear based on the gear teeth of the precision gear and the gear body corresponding to the gear teeth.
[0134] It can be understood that a unique serial number is assigned to each gear tooth according to a certain rule (usually clockwise or counterclockwise, depending on industry standards or analysis requirements). For example, a specific gear tooth can be selected as the starting point (such as the gear tooth at the reference mark), and then numbered one by one in the direction of rotation. In this way, each gear tooth has a clear serial position, which provides a direct basis for the subsequent one-to-one correspondence between texture feature data and specific tooth positions.
[0135] S4122: Based on the gear tooth number sequence of the precision gear, the specific image area is divided into corresponding gear tooth number sequence areas.
[0136] It can be understood that according to the gear tooth sequence, the entire gear image is divided into multiple small areas corresponding to the gear teeth. Each small area corresponds to one or several teeth on the gear so that the texture condition of each tooth can be analyzed separately. The specific image area is divided according to the gear tooth sequence in order to evaluate the condition of each gear tooth one by one. This subdivision helps to identify whether the wear degree of some teeth exceeds the normal range, thereby affecting the overall performance of the gear.
[0137] S4123, based on the texture roughness variation data of the gear tooth number sequence region and the specific image region, determine the average roughness of the gear tooth region corresponding to each gear tooth number sequence region.
[0138] It can be understood that the texture roughness change data previously determined in is applied to each gear tooth area to calculate the average roughness value of each area. It is a quantitative indicator of the wear or texture change of each gear tooth. The determination of the average roughness of the gear tooth area is determined by calculating the average texture roughness of each gear tooth area, which is used as an indicator to evaluate the wear condition of a single tooth, which helps to quantify the degree of local wear or damage.
[0139] S4124, using the gear tooth number sequence of the precision gear as the horizontal coordinate and the average roughness of the gear tooth area corresponding to each gear tooth number sequence area as the vertical coordinate, to construct a texture density function of the specific image area.
[0140] It can be understood that the gear sequence can be used as the horizontal coordinate and the average roughness of each gear tooth area as the vertical coordinate to draw a graph to form a texture density function. This function intuitively shows the texture roughness distribution of each tooth on the gear. Peaks or abnormal points may indicate wear or defect locations. The roughness distribution of each gear tooth is intuitively displayed by setting the horizontal and vertical coordinates. This visualization method facilitates intuitive understanding and analysis of gear wear patterns and provides an intuitive basis for further performance loss scoring.
[0141] S413, determining a loss quantization index of the specific image area according to the texture density function of the specific image area.
[0142] It can be understood that based on the texture density function, the degree of gear loss can be comprehensively evaluated through the function's maximum value, average value, slope and other statistical quantities. These quantitative indicators directly reflect the performance degradation of the gear due to wear or defects, accurately identify defects, reduce the subjectivity and omissions of manual inspection, and improve the automation level and speed of detection.
[0143] Optionally, see Figure 8 In step S410, based on the image feature information of the specific image area, the optical feature index of the specific image area is determined, including:
[0144] S414, determining the light intensity value of each pixel in the specific image area based on the image feature information of the specific image area.
[0145] It can be understood that a specific image area (the overall image of the gear) can be analyzed by a preset image algorithm. Then, the brightness (light intensity) of each pixel in the selected area is quantified using grayscale image processing technology (if it is a color image, it is converted to a grayscale image first). The light intensity value is usually expressed as an integer value between 0 (black) and 255 (white), reflecting the brightness of the pixel. This process is crucial for subsequent analysis because it converts the visual information of the image into quantifiable data.
[0146] S415, determining a light intensity variation curve of the specific image area according to the light intensity value of each pixel in the specific image area.
[0147] It can be understood that after obtaining the light intensity value of each pixel, the trend of light intensity value changing with spatial position can be determined by statistical methods or signal processing technology, and a light intensity change curve can be drawn. This curve shows the pattern of light intensity distribution inside the image area, such as gradual, sudden or periodic changes. This analysis can reveal subtle structural or texture information in the image, which is very useful for understanding image content and quality assessment.
[0148] S416, determining an optical characteristic index of the specific image area based on the light intensity variation curve of the specific image area.
[0149] It can be understood that based on the light intensity change curve, key indicators describing the optical characteristics of the image area can be extracted. These indicators can include average light intensity, contrast, brightness distribution uniformity, edge sharpness, etc. Through these characteristic indicators, the surface roughness of precision gears can be reflected. The optical characteristic indicator parameters of gears under different roughness under the same lighting conditions can be measured in advance, a mapping relationship table can be established, and preset. According to the optical characteristic indicator parameters actually detected, they are mapped to the surface roughness of precision gears. The standardized detection method ensures the consistency of each test and the comparability of the results, which is convenient for quality control and long-term performance tracking, and provides a solid data foundation for product quality management and continuous improvement. The optical detection method is a non-contact measurement that will not cause physical damage to the gear being tested. It is particularly suitable for the detection of high-precision and high-value components, avoiding the additional damage risk that may be introduced by traditional contact detection. By sensitively capturing subtle changes in optical features, gear wear or manufacturing defects can be identified at the early stage, which helps to take maintenance measures in time, extend the service life of equipment, and reduce downtime and cost losses caused by failures.
[0150] S420, determining a performance loss score corresponding to the specific image area according to the loss quantification index and the optical characteristic index of the specific image area.
[0151] It can be understood that the comprehensive loss quantification index and optical characteristic index can be used to calculate a comprehensive performance loss score by weighted average, logistic regression or other machine learning models. This score directly reflects the degree of gear defects and provides a quantitative basis for subsequent decision-making.
[0152] Optionally, see Fig. 9 S420, determining a performance loss score corresponding to the specific image area according to the loss quantification index and the optical characteristic index of the specific image area, including:
[0153] S421, determining a surface loss score corresponding to the specific image area according to the loss quantification index and the optical characteristic index of the specific image area.
[0154] It can be understood that the surface loss score corresponding to a specific image area can be determined based on the loss quantification index and optical characteristic index obtained. The loss quantification index and optical characteristic index jointly reflect the quality status of the gear surface, including defects such as wear, cracks, and corrosion. These indicators are converted into one or more surface loss scores through a pre-set algorithm. This score directly measures the degree of damage to the surface of a specific area. The higher the score, the worse the surface condition of the area. For example, surface loss score = α×(loss quantification index)+β×(optical characteristic index)+γ×(contrast reduction ratio)+δ. The contrast reduction ratio compares the image contrast of a specific area with the standard value to evaluate the contrast reduction caused by surface damage. α, β, γ: are weight coefficients, which are set according to the importance of each indicator on the performance in actual applications and need to be determined through experimental calibration. δ is a constant term, which can be regarded as the basic loss score, considering the contribution of natural aging over time even in the absence of obvious surface damage.
[0155] S422, determining a performance loss score corresponding to the specific image area according to the surface loss score corresponding to the specific image area.
[0156] It can be understood that the surface loss score is a direct reflection of the physical damage to the gear, but its impact on the overall performance of the gear needs further evaluation. In this step, professional knowledge or historical data can be used to establish a correlation model between surface loss and gear performance degradation in advance. The model can take into account factors such as the working principle, load distribution, and material strength of the gear, and convert the surface loss score into a quantitative assessment of the impact on gear performance, namely the performance loss score. The performance loss score can more directly reflect the reliability and efficiency reduction of the gear in actual work, and is a key indicator for determining whether the gear needs to be repaired or replaced. For example, performance loss score = f (surface loss score, key dimensional change, load factor, material properties). f is a composite function that may contain multiple operations and adjustment factors to comprehensively consider the complexity of the impact of different factors on performance. For example, it can be simplified to:
[0157] Performance loss score = η* Surface loss score+ θ*( ΔD / D ) + κ ×(load factor − 1)+ ζ
[0158] η is the weight coefficient of the effect of surface damage on performance; the surface loss score reflects the degree of damage on the gear surface; θ is the weight coefficient of the effect of key dimensional changes (such as thinning of tooth thickness, change in pitch, etc.) on performance; ΔD / D is the ratio of actual dimensional change to nominal size, reflecting the deviation of gear size, and dimensional change will affect the accuracy of gear meshing; κ is the weight coefficient of the effect of load factor on performance, considering the additional effect of overload or uneven load on gear performance; load factor is the ratio of actual working load to design load; ζ is a constant term, which can be a baseline loss value set based on experience or standards, reflecting the natural attenuation of performance when there is no obvious surface damage. By quantifying the surface damage and performance degradation of gears, it is possible to more accurately predict the maintenance cycle and potential failures of equipment, avoid unplanned downtime, and reduce maintenance costs. Based on the performance loss score, a more scientific preventive maintenance strategy can be implemented, and different degrees of maintenance measures can be taken for gears with different degrees of damage to improve maintenance efficiency and resource utilization.
[0159] S500, determining a defect detection result of a precision gear of an industrial machine according to a performance loss score corresponding to a specific image region.
[0160] It can be understood that different threshold ranges can be set for a specific image area according to the performance loss score corresponding to it. These thresholds are used to distinguish different levels of defects or qualified and unqualified products. For example, slight defects, moderate defects and severe defects may correspond to different score ranges. Then, based on the comparison of the performance loss score with the preset threshold, the system automatically classifies the gear into different categories such as no defects, slight defects, moderate defects or severe defects. If the score is lower than the minimum threshold, the gear is considered to have no obvious defects and the quality is qualified; if the score exceeds the threshold corresponding to a certain defect level, it is judged accordingly as having defects of that level.
[0161] In one possible implementation, see Fig.10 S500 determines the defect detection result of the precision gear of the industrial machine according to the performance loss score corresponding to the specific image area, including:
[0162] S510, matching the defect level of the precision gear of the industrial machine according to the performance loss score corresponding to the specific image area.
[0163] It is understood that the calculated performance loss score is compared with the preset defect level thresholds. These thresholds are set in advance to distinguish defects of different severity. The performance loss score of a specific image area is compared with these thresholds. For example, if the score falls below the minor defect threshold, the area is judged to have a minor defect; if the score exceeds the moderate defect threshold but does not reach the severe defect threshold, it is judged to be a moderate defect; and a score above the severe defect threshold indicates the presence of a severe defect. If the score is below all thresholds, the area is considered to have no obvious defects.
[0164] S520, obtaining defect detection results of the precision gears of the industrial machine according to the results of matching the defect levels of the precision gears of the industrial machine.
[0165] It can be understood that based on the matching results, a general defect detection conclusion is given for the entire precision gear. If there are no obvious defects or only minor defects, and these defects do not affect the normal function of the gear, the gear may be judged as qualified or require minor maintenance. On the contrary, if there are moderate or severe defects, the gear may be judged as unqualified and needs to be repaired or replaced. By quantifying the performance loss score and comparing it with the preset threshold, the defect condition of the gear can be judged more objectively and accurately, reducing the subjectivity of human judgment and improving the accuracy of the test results. The entire process ensures the pertinence and accuracy of defect detection and accurately evaluates the condition of the gear through automation and standardization.
[0166] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0167] Corresponding to the big data-based visual detection method for industrial machine defects described in the above embodiment, the embodiment of the present application also provides a big data-based visual detection system for industrial machine defects, and each unit of the system can implement each step of the big data-based visual detection method for industrial machine defects. Fig.11 A structural block diagram of an industrial machine defect visual inspection system based on big data provided in an embodiment of the present application is shown. For ease of explanation, only the parts related to the embodiment of the present application are shown.
[0168] Reference Fig.11 , the industrial machine defect visual inspection system based on big data includes:
[0169] An acquisition unit, used for acquiring high-resolution image data streams of precision gears of industrial machines in real time;
[0170] An identification unit, used for identifying and separating a specific image area corresponding to the precision gear in the entire image according to the image data stream of the precision gear;
[0171] An analyzing unit, configured to obtain image feature information of the specific image area according to the specific image area of the precision gear in the entire image;
[0172] A detection unit, configured to determine a performance loss score corresponding to the specific image area according to the image feature information of the specific image area; wherein the performance loss score is used to reflect the degree of defects of the precision gear;
[0173] An evaluation unit is used to determine a defect detection result of the precision gear of the industrial machine according to a performance loss score corresponding to the specific image area.
[0174] It should be noted that the information interaction, execution process, etc. between the above-mentioned systems / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0175] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the system can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit module can exist physically separately, or two or more unit modules can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0176] The present application also provides a big data-based industrial machine defect visual inspection device. Fig.12 This is a schematic diagram of the structure of an industrial machine defect visual inspection device based on big data provided by an embodiment of the present application. Fig.12 As shown, the industrial machine defect visual inspection device 6 based on big data of this embodiment includes: at least one processor 60 ( Fig.12 Only one is shown), at least one memory 61 ( Fig.12Only one is shown in the figure) and a computer program 62 stored in the at least one memory 61 and executable on the at least one processor 60. When the processor 60 executes the computer program 62, the industrial machine defect visual detection device 6 based on big data implements the steps in any of the above-mentioned industrial machine defect visual detection method embodiments based on big data, or implements the functions of each unit in the above-mentioned system embodiments.
[0177] Exemplarily, the computer program 62 may be divided into one or more units, which are stored in the memory 61 and executed by the processor 60 to complete the present application. The one or more units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 62 in the big data-based industrial machine defect visual inspection device 6.
[0178] The industrial machine defect visual inspection device 6 based on big data can be a smart camera, an industrial inspection robot, a dedicated visual inspection workstation, or a personal computer (PC) integrated with advanced image processing software, a vehicle-mounted device, an augmented reality (AR) / virtual reality (VR) device, a computing device or other processing device connected to a wireless modem, a vehicle networking terminal, a computer, etc. The industrial machine defect visual inspection device based on big data can include, but is not limited to, a processor 60 and a memory 61. Those skilled in the art can understand that Fig.12 It is only an example of the industrial machine defect visual inspection device 6 based on big data and does not constitute a limitation of the industrial machine defect visual inspection device 6 based on big data. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components, for example, it may also include input and output devices, network access devices, buses, etc.
[0179] The processor 60 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0180] In some embodiments, the memory 61 may be an internal storage unit of the industrial machine defect visual detection device 6 based on big data, such as a hard disk or memory of the industrial machine defect visual detection device 6 based on big data. In other embodiments, the memory 61 may also be an external storage device of the industrial machine defect visual detection device 6 based on big data, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (FlashCard), etc. equipped on the industrial machine defect visual detection device 6 based on big data. Further, the memory 61 may also include both the internal storage unit of the industrial machine defect visual detection device 6 based on big data and an external storage device. The memory 61 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program, etc. The memory 61 may also be used to temporarily store data that has been output or is to be output.
[0181] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.
[0182] An embodiment of the present application provides a computer program product. When the computer program product runs on an industrial machine defect visual inspection device based on big data, the industrial machine defect visual inspection device based on big data implements the steps in any of the above-mentioned method embodiments.
[0183] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the terminal device, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0184] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0185] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0186] In the embodiments provided in the present application, it should be understood that the disclosed industrial machine defect visual detection system based on big data / industrial machine defect visual detection equipment and method based on big data can be implemented in other ways. For example, the above-described industrial machine defect visual detection system based on big data / industrial machine defect visual detection equipment based on big data embodiments are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0187] 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, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0188] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such 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 application, and should all be included in the protection scope of the present application.
Claims
1. A method for visual inspection of industrial machine defects based on big data, characterized in that: include: Real-time acquisition of high-resolution image data streams of precision gears of industrial machines; According to the image data stream of the precision gear, identifying and separating a specific image area corresponding to the precision gear in the entire image; According to the specific image area of the precision gear in the entire image, image feature information of the specific image area is obtained; Determine, according to the image feature information of the specific image area, a performance loss score corresponding to the specific image area; wherein the performance loss score is used to reflect the degree of defects of the precision gear; determining a defect detection result of the precision gear of the industrial machine according to a performance loss score corresponding to the specific image area; Wherein, obtaining the image feature information of the specific image area according to the specific image area of the precision gear in the whole image includes: According to the specific image area of the precision gear in the entire image, a pixel neighborhood matrix centered on each pixel point is set in the specific image area; Based on the pixel neighborhood matrix of the specific image area, calculating statistical parameters of all pixels in the pixel neighborhood matrix; Extracting image feature information of the specific image area based on the statistical parameters of all pixels in the pixel neighborhood matrix; The determining, according to the image feature information of the specific image area, a performance loss score corresponding to the specific image area includes: Based on the image feature information of the specific image area, determining a loss quantification index and an optical feature index of the specific image area; Determining a performance loss score corresponding to the specific image area according to the loss quantification index and the optical characteristic index of the specific image area; Determining a loss quantification index of the specific image area based on the image feature information of the specific image area includes: Based on the image feature information of the specific image area, determining texture roughness change data of the specific image area; Based on the texture roughness variation data of the specific image area and the geometric feature information of the precision gear, constructing a texture density function of the specific image area; wherein the texture density function is used to reflect the texture roughness of different areas of the precision gear; Determining a loss quantization index of the specific image area according to a texture density function of the specific image area; Determining an optical characteristic index of the specific image area based on the image characteristic information of the specific image area includes: Determine the light intensity value of each pixel in the specific image area based on the image feature information of the specific image area; Determining a light intensity variation curve of the specific image area according to the light intensity value of each pixel in the specific image area; Based on the light intensity variation curve of the specific image area, an optical characteristic index of the specific image area is determined.
2. The method for visual inspection of industrial machine defects based on big data according to claim 1, characterized in that: The step of identifying and separating a specific image area corresponding to the precision gear in the entire image according to the image data stream of the precision gear comprises: Preprocessing the image data stream of the precision gear to obtain an enhanced image of the precision gear; Performing edge detection on the enhanced image of the precision gear to capture the inner and outer contours of the precision gear and the contour boundary of each tooth; Fitting the inner and outer contours of the precision gear and the contour boundary of each tooth with a standard gear function to obtain geometric feature information of the precision gear; According to the geometric feature information of the precision gear, a specific image area corresponding to the precision gear in the entire image is identified and separated.
3. The method for visual inspection of industrial machine defects based on big data according to claim 1, characterized in that: The step of constructing a texture density function of the specific image area based on the texture roughness variation data of the specific image area and the geometric feature information of the precision gear comprises: Based on the geometric feature information of the precision gear, determine the gear tooth number sequence of the precision gear; wherein the gear tooth number sequence is used to sort the gear teeth; Based on the gear tooth number sequence of the precision gear, dividing the specific image area into corresponding gear tooth number sequence areas; Determine the average roughness of the gear tooth area corresponding to each gear tooth number sequence area based on the texture roughness variation data of the gear tooth number sequence area and the specific image area; The gear tooth number sequence of the precision gear is used as the abscissa, and the average roughness of the gear tooth region corresponding to each gear tooth number sequence region is used as the ordinate to construct a texture density function of the specific image region.
4. The method for visual inspection of industrial machine defects based on big data according to claim 3, characterized in that: The step of determining the gear tooth number sequence of the precision gear based on the geometric feature information of the precision gear comprises: Based on the geometric feature information of the precision gear, determining the gear tooth boundary point where the gear teeth of the precision gear contact the wheel body; Based on the gear tooth boundary point where the gear teeth of the precision gear contact the wheel body, determining a geometric connecting line corresponding to the gear tooth boundary point and the center of the precision gear; Determine the wheel body corresponding to the tooth of each precision gear based on the geometric connecting line corresponding to the boundary point of the tooth and the center of the circle of the precision gear; Based on the gear teeth of the precision gear and the gear body corresponding to the gear teeth, a gear tooth number sequence of the precision gear is determined.
5. The method for visual inspection of industrial machine defects based on big data according to claim 1, characterized in that: The determining, according to the loss quantification index and the optical characteristic index of the specific image area, a performance loss score corresponding to the specific image area includes: Determining a surface loss score corresponding to the specific image area according to the loss quantification index and the optical characteristic index of the specific image area; According to the surface loss score corresponding to the specific image area, a performance loss score corresponding to the specific image area is determined.
6. A big data-based industrial machine defect visual inspection system, characterized in that: include: An acquisition unit, used for acquiring high-resolution image data streams of precision gears of industrial machines in real time; An identification unit, used for identifying and separating a specific image area corresponding to the precision gear in the entire image according to the image data stream of the precision gear; An analyzing unit, configured to obtain image feature information of the specific image area according to the specific image area of the precision gear in the entire image; A detection unit, configured to determine a performance loss score corresponding to the specific image area according to the image feature information of the specific image area; wherein the performance loss score is used to reflect the degree of defects of the precision gear; an evaluation unit, configured to determine a defect detection result of the precision gear of the industrial machine according to a performance loss score corresponding to the specific image area; Wherein, the analysis unit is also used for: According to the specific image area of the precision gear in the entire image, a pixel neighborhood matrix centered on each pixel point is set in the specific image area; Based on the pixel neighborhood matrix of the specific image area, calculating statistical parameters of all pixels in the pixel neighborhood matrix; Extracting image feature information of the specific image area based on the statistical parameters of all pixels in the pixel neighborhood matrix; The detection unit is also used for: Based on the image feature information of the specific image area, determining a loss quantification index and an optical feature index of the specific image area; Determining a performance loss score corresponding to the specific image area according to the loss quantification index and the optical characteristic index of the specific image area; Determining a loss quantification index of the specific image area based on the image feature information of the specific image area includes: Based on the image feature information of the specific image area, determining texture roughness change data of the specific image area; Based on the texture roughness variation data of the specific image area and the geometric feature information of the precision gear, constructing a texture density function of the specific image area; wherein the texture density function is used to reflect the texture roughness of different areas of the precision gear; Determining a loss quantization index of the specific image area according to a texture density function of the specific image area; Determining an optical characteristic index of the specific image area based on the image characteristic information of the specific image area includes: Determine the light intensity value of each pixel in the specific image area based on the image feature information of the specific image area; Determining a light intensity variation curve of the specific image area according to the light intensity value of each pixel in the specific image area; Based on the light intensity variation curve of the specific image area, an optical characteristic index of the specific image area is determined.
7. An industrial machine defect visual inspection device based on big data, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 5 is implemented.
