Multi-level stamping grinding-in rate testing method, related device, medium and product

Through the multi-level stamping bonding rate inspection method, image processing technology is used to calculate the bonding rate of the mold and the workpiece, which solves the problems of inaccurate manual inspection and low degree of automation in the existing technology, and achieves a more efficient and unified bonding rate. analyze.

CN118587151APending Publication Date: 2024-09-03CHENGDU AERONAUTIC POLYTECHNIC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410538078.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-30
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

The existing technology relies on manual visual inspection or pre-set grinding card diagrams during stamping die grinding rate inspection, resulting in insufficient accuracy and automation of the inspection, lack of unified quantitative standards, and impact on part qualification rate and consistency.

Method used

A multi-level stamping bonding rate inspection method is adopted to obtain the overall real-shot images and design images of the mold and workpiece, mark the contour feature points, perform area segmentation and image processing, and calculate the overall and local bonding rates to achieve precise inspection of the stamping area. Analysis and automated inspection.

Benefits of technology

It improves the accuracy and efficiency of the research and synthesis rate inspection, realizes the automation of the research and synthesis rate inspection process and the unification of the discrimination standards, and reduces the arbitrariness of manual judgment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118587151A
    Figure CN118587151A
Patent Text Reader

Abstract

The invention discloses a multi-level stamping grinding-in rate detection method, a related device, a medium and a product, relates to the field of grinding-in rate detection after workpiece stamping, can realize calculation of the overall grinding-in rate of strong and weak stamping areas, and can also perform refined analysis on local parts of an object to be detected to obtain the local grinding-in rate. Therefore, multi-level grinding-in rate analysis of the to-be-detected object can be realized, compared with a manual visual mode, the accuracy and efficiency of detection are greatly improved, and automation of the grinding-in rate detection process and unification of discrimination standards are realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of grinding rate inspection of workpieces after stamping, and in particular to a multi-level stamping grinding rate inspection method, related devices, media and products. Background Art

[0002] The grinding rate is a concept that describes whether the gap between the punch and the die, and between the pressure block and the punch is uniform. At the production site, the mold is used to apply pressure to the colored sheet, and the grinding rate is evaluated by whether the residual color on the surface of the sheet after pressure is uniform. The higher the grinding rate of the mold part surface, the more uniform the force on the sheet during the forming process, so that the material maintains good fluidity. Therefore, the grinding rate is an important indicator for evaluating whether the mold is qualified. If the grinding rate of the mold part surface does not meet the requirements, it will lead to a lower part qualification rate and poor consistency of parts in the same batch.

[0003] At present, in the field of mold stamping, due to different stamping pressures, different mold processing and matching accuracy and other problems, stamping parts often need to meet different research and integration requirements in different areas. In the actual stamping production process, manual visual inspection or pre-set research and integration card diagrams (such as the technology disclosed in the application number 202111474305.2) are still mainly used for inspection. In the manual visual process, due to the different experiences and conditions of different personnel, different personnel’s judgments on the stamping results are still not completely consistent, lacking a unified quantitative standard, and are highly arbitrary. Although the use of research and integration card diagrams can solve the problem of high arbitrariness in the manual visual process to a certain extent, the comparison process of the research and integration cards still needs to rely on manual comparison, and the degree of automation is still low. Summary of the invention

[0004] The purpose of the present invention is to provide a multi-level stamping grinding rate inspection method, related devices, media and products, which can improve the accuracy and inspection efficiency of the stamping grinding rate inspection.

[0005] To achieve the above object, the present invention provides the following solutions:

[0006] In a first aspect, the present invention provides a multi-level stamping grinding rate inspection method, the method comprising:

[0007] Acquire an overall real shot image corresponding to the tested shooting surface of the object to be inspected; the object to be inspected includes a concave mold, a workpiece and a convex mold;

[0008] Acquire an overall design image corresponding to the photographed surface to be tested of the object to be tested; and mark the contour feature points of the outer shape and the contour feature points of the internal strong and weak stamping areas of the object to be tested in the overall design image to obtain a set of contour feature points;

[0009] Performing region segmentation on the overall real shot image according to the set of contour feature points to obtain strong and weak stamping regions in the overall real shot image;

[0010] Dividing the strong and weak stamping areas into colored areas and uncolored areas, and determining the overall grinding rates of the strong and weak stamping areas according to the colored areas in the strong and weak stamping areas;

[0011] Acquire a local area to be inspected in the overall real-shot image, perform image processing on the image corresponding to the local area to be inspected, obtain a colored area and an uncolored area in the local area to be inspected, and calculate a local grinding rate of the local area to be inspected according to the area of ​​the colored area in the local area to be inspected;

[0012] The stamping grinding rate inspection result is determined based on the overall grinding rate of the object to be inspected and the local grinding rate of the local area to be inspected; the lower surface of the die, the upper and lower surfaces of the workpiece and the local area to be inspected of the upper surface of the punch are mapped to each other in the vertical direction.

[0013] In a second aspect, the present invention provides a multi-level stamping grinding rate inspection device, the device comprising: an image acquisition mechanism and a host computer; the image acquisition mechanism comprises a moving mechanism in the X direction, the Y direction and the Z direction, a camera assembly, a moving bearing mechanism, a position calibration plate and a light source; the camera assembly and the light source are arranged on the moving mechanism;

[0014] The camera assembly is used to collect the real image corresponding to the tested shooting surface of the object to be tested;

[0015] The light source is used to provide light for shooting of the camera assembly;

[0016] The mobile carrying mechanism is used to carry the object to be inspected;

[0017] The position calibration plate is used to calibrate the position of the mobile bearing mechanism;

[0018] The host computer is used to execute the steps of the above-mentioned multi-level stamping grinding rate inspection method.

[0019] In a third aspect, the present invention provides a multi-level stamping grinding rate inspection device, the device comprising a motion control module, an image acquisition module, an image mapping module, an image segmentation module, a grinding rate calculation module and an image comparison module;

[0020] The motion control module is used to control the moving mechanism in the image acquisition mechanism to drive the camera assembly to move so as to acquire the real image corresponding to the test shooting surface of the object to be inspected; the image acquisition mechanism is the structure in the multi-level stamping grinding rate inspection device described above;

[0021] The image acquisition module is used to obtain the overall real-shot image corresponding to the tested shooting surface of the object to be inspected; the object to be inspected includes a concave mold, a workpiece and a convex mold;

[0022] The image mapping module is used to obtain the overall design image corresponding to the photographed surface of the object to be inspected; and to mark the contour feature points of the outer shape and the contour feature points of the internal strong and weak stamping areas of the object to be inspected in the overall design image to obtain a set of contour feature points;

[0023] The image segmentation module is used to perform region segmentation on the overall real shot image according to the contour feature point set to obtain strong and weak stamping regions in the overall real shot image;

[0024] The grinding rate calculation module is used to divide the colored area and the uncolored area in the strong and weak stamping area, and determine the overall grinding rate of the strong and weak stamping areas according to the colored areas in the strong and weak stamping areas respectively; obtain the local area to be inspected in the overall real-shot image, perform image processing on the image corresponding to the local area to be inspected, obtain the colored area and the uncolored area in the local area to be inspected, and calculate the local grinding rate of the local area to be inspected according to the area of ​​the colored area in the local area to be inspected;

[0025] The image comparison module is used to determine the stamping grinding rate inspection result according to the overall grinding rate of the object to be inspected and the local grinding rate of the local area to be inspected; the lower surface of the die, the upper and lower surfaces of the workpiece and the local area to be inspected of the upper surface of the punch are mapped to each other in the vertical direction.

[0026] In a fourth aspect, the present invention provides a computer device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the above-mentioned multi-level stamping grinding rate inspection method.

[0027] In a fifth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, characterized in that when the computer program is executed by a processor, the steps of the above-mentioned multi-level stamping grinding rate inspection method are implemented.

[0028] In a sixth aspect, the present invention provides a computer program product, comprising a computer program, which, when executed by a processor, implements the steps of the above-mentioned multi-level stamping grinding rate inspection method.

[0029] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:

[0030] The present invention provides a multi-level stamping grinding rate inspection method, related devices, media and products, which can not only realize the calculation of the overall grinding rate of strong and weak stamping areas, but also can perform a detailed analysis of the local part of the object to be inspected to obtain the local grinding rate, thereby realizing multi-level grinding rate analysis of the object to be inspected. Compared with the manual visual method, the accuracy and efficiency of the inspection are greatly improved, and the automation of the grinding rate inspection process and the unification of the judgment standard are realized. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0032] Figure 1 A schematic flow chart of a multi-level stamping grinding rate inspection method provided in Example 1 of the present invention;

[0033] Figure 2 A schematic diagram of the technical concept of a multi-level stamping grinding rate inspection method provided in Example 1 of the present invention;

[0034] Figure 3 A schematic diagram of the image acquisition mechanism and mold structure provided in Example 2 of the present invention;

[0035] Figure 4 A schematic diagram of the structure of a multi-level stamping grinding rate inspection device provided in Example 3 of the present invention;

[0036] Figure 5 This is a diagram of the internal structure of a computer device.

[0037] Explanation of symbols:

[0038] 1-camera assembly, 2-Z-moving guide rail, 3-X-moving guide rail, 4-Y-moving guide rail, 5-column, 6-object to be inspected, 7-moving trolley, 8-light source, 9-position calibration plate, 10-die, 11-workpiece, 12-punch, 101-lower surface of the die, 111-lower surface of the workpiece, 112-upper surface of the workpiece, 121-upper surface of the punch. DETAILED DESCRIPTION

[0039] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0040] The purpose of the present invention is to provide a multi-level stamping grinding rate inspection method, related devices, media and products, aiming to improve the accuracy and inspection efficiency of the stamping grinding rate inspection.

[0041] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0042] Example 1

[0043] like Figure 1 As shown, a multi-level stamping grinding rate inspection method in this embodiment includes:

[0044] S1: Acquire an overall real shot image corresponding to the test shooting surface of the object 6 to be inspected; the object 6 to be inspected includes a concave mold 10, a workpiece 11 and a convex mold 12.

[0045] From the practical application, due to the large size differences of the object to be inspected 6 (mold), a single camera is sometimes difficult to meet the shooting needs of large-sized molds. Therefore, when it is impossible to obtain the overall image of the shooting surface by the overall shooting method, the image stitching method can be used. Collect the local image information of different positions of the object to be inspected 6, and after preprocessing operations such as image correction, obtain the preprocessed local image information of the object to be inspected 6. The preprocessed local images of the object to be inspected 6 are stitched into an overall real-shot image, and then the relative position of the position calibration plate 9 is used to correct the orientation of the overall real-shot image. Therefore, an optional implementation method of step S1 is: obtain the local images at different positions in the shooting surface to be tested of the object to be inspected 6; stitch all the local images to obtain the overall real-shot image corresponding to the shooting surface to be tested of the object to be inspected 6.

[0046] S2: Obtain an overall design image corresponding to the test shooting surface of the object to be inspected 6; and mark the contour feature points of the outer shape and the contour feature points of the internal strong and weak stamping areas of the object to be inspected 6 in the overall design image to obtain a contour feature point set.

[0047] Based on the two-dimensional projection image of the shooting surface corresponding to the three-dimensional design model of the object to be inspected 6 derived in the stamping part design process (i.e., the overall design image), the two-dimensional projection image is enlarged to the same scale as the actual shot image, so that the shape of the scaled projection image is consistent with the shape size of the actual shot image, and then the contour feature points of the shape and the contour feature points of the internal strong and weak stamping areas are divided on the projection image by manual annotation to form a set of contour feature points.

[0048] Furthermore, since the strong and weak stamping areas are usually only marked on the front and back surfaces of the three-dimensional design model of the workpiece 11 during the design process, when the object 6 to be inspected is the workpiece 11, the two-dimensional projection image of the three-dimensional design model of the workpiece 11 is directly used. When the object 6 to be inspected is the die 10 and the punch 12, the strong and weak stamping areas on the surface of the workpiece 11 in contact with the lower surface 101 of the die and the upper surface 121 of the punch are projected to obtain the strong and weak stamping areas corresponding to the die 10 and the punch 12.

[0049] Furthermore, since the strong and weak stamping areas are usually marked only on the front and back surfaces of the three-dimensional design model of the workpiece 11 during the design process, when the object to be inspected 6 is the upper surface 112 of the workpiece and the upper surface 121 of the punch, the projection image uses the strong and weak stamping areas marked on the front side of the three-dimensional design model of the workpiece 11; when the object to be inspected 6 is the lower surface 111 of the workpiece and the lower surface 101 of the die, the projection image uses the strong and weak stamping areas marked on the back side of the three-dimensional design model of the workpiece 11.

[0050] S3: performing region segmentation on the overall real shot image according to the contour feature point set to obtain strong and weak stamping regions in the overall real shot image.

[0051] S4: Divide the strong and weak stamping areas into colored areas and uncolored areas, and determine the overall grinding rates of the strong and weak stamping areas according to the colored areas in the strong and weak stamping areas.

[0052] like Figure 2 As shown, grayscale, binarization, contour indexing, and grinding rate calculation are performed on the strong and weak areas of the object to be inspected 6 one by one to obtain the grinding rate results of the strong and weak stamping areas in the shooting surface of the object to be inspected 6. The specific calculation process is:

[0053] The surface color image of the object to be inspected 6 is converted into a grayscale image by grayscale processing, and the grayscale method used is maximum grayscale. The black-and-white image of the object to be inspected 6 and the area contours of the colored area and the uncolored area in the strong / weak stamping area are obtained by combining the Osta algorithm and the boundary contour index, and the color image of the object to be inspected 6 is re-divided according to the same contour to obtain the colored and uncolored areas in the color image of the object to be inspected 6, so as to calculate the overall grinding rate of the strong / weak stamping area of ​​the object to be inspected 6. The calculation formula is:

[0054] The overall grinding rate of the strong stamping area = the colored area of ​​the strong stamping area / the total area of ​​the strong stamping area;

[0055] The overall grinding rate of the weak stamping area = the colored area of ​​the weak stamping area / the total area of ​​the weak stamping area.

[0056] Therefore, the specific process of step S4 is:

[0057] (1): grayscale the whole real-shot image of the object to be inspected 6 to obtain a grayscale image;

[0058] (2): Use the Osta algorithm to process the grayscale image into a black and white image.

[0059] (3): The outline of the colored area and the outline of the uncolored area in the strong stamping area and the weak stamping area are obtained from the black and white image.

[0060] (4): Based on the colored area outline and the uncolored area outline, a colored area and an uncolored area are obtained from the overall real-shot image of the object to be inspected 6 .

[0061] (5): Using the colored area in the strong stamping area and the total area of ​​the strong stamping area, calculate the overall grinding rate of the strong stamping area.

[0062] (6): Using the colored area in the weak stamping area and the total area of ​​the weak stamping area, calculate the overall grinding rate of the weak stamping area.

[0063] S5: Obtain the local area to be inspected in the overall real-shot image, perform image processing on the image corresponding to the local area to be inspected, obtain the colored area and the uncolored area in the local area to be inspected, and calculate the local grinding rate of the local area to be inspected according to the area of ​​the colored area in the local area to be inspected.

[0064] A region (local region to be inspected) that needs further analysis is divided out from the shooting surface of the object to be inspected 6, and is marked as region A; the noise in the region A image is eliminated by opening operation; the edge contour of the region A image is extracted at the pixel level by Laplace algorithm, and then the edge contour is interpolated by cubic interpolation to obtain the sub-pixel edge contour, and then the interpolated image is thinned (the specific means of thinning can be thinning based on dividing cellular automata, thinning based on distance transformation and skeleton extraction, etc.), and after thinning, the colored region and the uncolored region in region A are divided, thereby realizing the segmentation of the colored region in the region A image; finally, the grinding rate in region A is calculated, and the calculation method is:

[0065] The local grinding rate of region A = the colored area in region A / the area of ​​region A.

[0066] Depending on the division method, area A may contain strong / weak stamping areas of different sizes. In area A, more attention is paid to the colored area of ​​this area, and no longer to whether this area is a strong / weak stamping area. Therefore, sub-pixel edge contour processing and refinement processing are used in area A to accurately divide the colored and uncolored areas in area A, and then the local grinding rate in area A is calculated.

[0067] Therefore, the specific process of step S5 is:

[0068] (1) Acquire the local area to be inspected in the overall real-shot image.

[0069] (2) Using the Laplace algorithm to extract pixel-level edge contours from the image of the local area to be inspected; the extracted edge contours refer to contour information of the colored area and the uncolored area contained in the image of the local area to be inspected.

[0070] (3) The extracted edge contour is interpolated using the cubic interpolation method to obtain the sub-pixel edge contour.

[0071] (4) Refining the interpolated image, and obtaining the colored area and the uncolored area in the local area to be inspected according to the refined image.

[0072] (5) Determine the local grinding rate of the local area to be inspected based on the area of ​​the colored region within the local area to be inspected and the total area of ​​the local area to be inspected.

[0073] S6: Determine the stamping grinding rate inspection result according to the overall grinding rate of the object to be inspected 6 and the local grinding rate of the local area to be inspected; the lower surface of the die 10, the upper and lower surfaces of the workpiece 11 and the local area to be inspected of the upper surface of the punch 12 are mapped to each other in the vertical direction.

[0074] The overall grinding rates of the lower surface 101 of the die, the upper surface 121 of the punch, the lower surface 111 of the workpiece and the upper surface 112 of the workpiece are calculated one by one, and the local grinding rates at the same projection position (referring to the same mapping area on the four surfaces 101, 111, 112, and 121 in the vertical direction, so as to accurately reflect whether the grinding rate distribution of the die and the workpiece 11 during the stamping process is uniform) are compared again through the human-computer interaction module to achieve a comprehensive grinding rate analysis of the die and the workpiece 11.

[0075] In this embodiment, in response to the requirements for calculating the grinding rate during the stamping process of the workpiece, different approaches are used to achieve the calculation of the grinding rate in different area regions. For the overall image of the object to be inspected, graying is used to convert the image into a grayscale image, and the black and white image of the photographed surface of the object to be inspected and the area contours of the colored area and the uncolored area image in the strong / weak stamping area are obtained by combining the Osta algorithm and the boundary contour index, and the overall grinding rate of the object to be inspected is calculated. This method is simple to implement and fast, and can quickly obtain the overall grinding rate of the image. For the local image of the object to be inspected, opening operation, Laplace edge contour extraction and sub-pixel edge contour extraction are used to calculate the local grinding rate of the object to be inspected. This method is more complex to implement, but has higher accuracy, and can perform a refined analysis of the local part of the object to be inspected. The combination of the two can realize multi-level grinding rate analysis of the object to be inspected. Compared with the manual visual method, the accuracy of the inspection is greatly improved, and the automation of the grinding rate inspection process and the unification of the discrimination criteria are realized.

[0076] Example 2

[0077] like Figure 3 As shown, this embodiment provides a multi-level stamping grinding rate inspection device, which realizes the entity device described in Example 1, and the device includes: an image acquisition mechanism and a host computer (a mold grinding rate inspection software connected to the image acquisition mechanism); the image acquisition mechanism includes a moving mechanism in the X direction, Y direction and Z direction, a camera assembly 1, a moving bearing mechanism (such as a moving trolley 7), a position calibration plate 9 and a light source 8; the camera assembly 1 and the light source 8 are arranged on the moving mechanism. The moving mechanism includes a Z-direction moving guide rail 2, an X-direction moving guide rail 3, a Y-direction moving guide rail 4 and a column 5.

[0078] Among them, the camera assembly 1 is fixed on the Z-direction moving guide rail 2, and the X-direction moving guide rail 3, the Y-direction moving guide rail 4, and the Z-direction moving guide rail 2 are all installed with motors and roller screw mechanisms. The movement of each direction can be realized through the motion control module in the mold grinding rate inspection software. The Y-direction moving guide rail 4 is fixed by the column 5, the X-direction moving guide rail 3 can move on the Y-direction moving guide rail 4, and the Z-direction moving guide rail 2 can move on the X-direction moving guide rail 3. The light source 8 is set on the Y-direction moving guide rail 4 to fill in the light for the shooting area. Before each stamping, a layer of blue oil or red lead is evenly applied on the lower surface 111 and the upper surface 112 of the workpiece. After stamping, the color on the workpiece 11 will adhere to the mold surface. After stamping, the object to be inspected 6 is placed on the moving trolley 7 with the shooting surface facing up, and the moving trolley 7 is moved to the center of the position calibration plate 9. The position calibration plate 9 is used to calibrate the relative position of the moving trolley 7.

[0079] The camera assembly 1 is used to collect the real image corresponding to the test shooting surface of the object 6 to be tested.

[0080] The light source 8 is used to provide light for the camera assembly 1 to shoot.

[0081] The movable bearing mechanism is used to bear the object to be inspected 6, which can be any one of a die 10, a workpiece 11, and a punch 12. The photographing surface of the die 10 is the die lower surface 101, the photographing surface of the punch 12 is the punch upper surface 121, and the photographing surfaces of the workpiece 11 are the workpiece lower surface 111 and the workpiece upper surface 112.

[0082] The position calibration plate 9 is used to calibrate the position of the mobile supporting mechanism.

[0083] The host computer is used to execute the steps of a multi-level stamping grinding rate inspection method described in Example 1.

[0084] Example 3

[0085] like Figure 4 As shown, this embodiment provides a multi-level stamping grinding rate inspection device (die grinding rate inspection software, which is a virtual device for implementing the method of embodiment 1), and the device includes a motion control module, an image acquisition module (corresponding to Figure 4 In the embodiment, a multi-level stamping grinding rate inspection device further includes an image splicing module, a human-computer interaction module and a database management module.

[0086] The motion control module is used to control the moving mechanism in the image acquisition mechanism to drive the camera assembly 1 to move to acquire the actual image corresponding to the test shooting surface of the object to be inspected 6; the image acquisition mechanism is a structure in a multi-level stamping grinding rate inspection device described in Example 2.

[0087] The motion control module controls the camera assembly 1 on the image acquisition mechanism to move quickly on the Z-direction moving rail 2, the X-direction moving rail 3, and the Y-direction moving rail 4 so that the camera assembly 1 acquires local image information of different positions of the object to be inspected 6.

[0088] The image acquisition module is used to obtain the overall real-shot image corresponding to the test shooting surface of the object 6 to be inspected; the object 6 to be inspected includes a concave mold 10, a workpiece 11 and a convex mold 12.

[0089] The image acquisition module acquires local image information of different positions of the object to be inspected 6, and after preprocessing operations such as image correction, the local image information of the object to be inspected 6 is stored in the database management module. The image stitching module stitches the local images of the object to be inspected 6 into an overall image, and then uses the relative position of the position calibration plate 9 to correct the orientation of the overall image.

[0090] The image mapping module is used to obtain the overall design image corresponding to the tested shooting surface of the object 6 to be tested; and to mark the contour feature points of the outer shape and the contour feature points of the internal strong and weak stamping areas of the object 6 to be tested in the overall design image to obtain a set of contour feature points.

[0091] The image segmentation module is used to perform region segmentation on the overall real shot image according to the contour feature point set to obtain strong and weak stamping areas in the overall real shot image.

[0092] The grinding rate calculation module is used to divide the colored area and the uncolored area in the strong and weak stamping areas, and determine the overall grinding rates of the strong and weak stamping areas according to the colored areas in the strong and weak stamping areas respectively; obtain the local area to be inspected in the overall real-shot image, perform image processing on the image corresponding to the local area to be inspected, obtain the colored area and the uncolored area in the local area to be inspected, and calculate the local grinding rate of the local area to be inspected according to the area of ​​the colored area in the local area to be inspected.

[0093] A local area to be inspected in the overall real-shot image is acquired using a human-computer interaction module.

[0094] The image comparison module is used to determine the stamping grinding rate inspection result according to the overall grinding rate of the object to be inspected 6 and the local grinding rate of the local area to be inspected; the lower surface of the die 10, the upper and lower surfaces of the workpiece 11 and the local area to be inspected of the upper surface of the punch 12 are mapped to each other in the vertical direction.

[0095] Example 4

[0096] A computer device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of a multi-level stamping grinding rate inspection method in Example 1.

[0097] Example 5

[0098] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of a multi-level stamping grinding rate inspection method in Example 1.

[0099] Example 6

[0100] A computer program product includes a computer program, which implements the steps of a multi-level stamping grinding rate inspection method in Example 1 when executed by a processor.

[0101] Example 7

[0102] A computer device, which may be a database, may have an internal structure as shown in Figure 5 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store pending transactions. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a multi-level stamping grinding rate inspection method in Example 1 is implemented.

[0103] It should be noted that the object information (including but not limited to object device information, object personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in the present invention are all information and data authorized by the object or fully authorized by all parties, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.

[0104] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided by the present invention can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided by the present invention may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited thereto. The processor involved in each embodiment provided by the present invention may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited thereto.

[0105] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0106] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of ​​the present invention. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. A multi-level stamping grinding rate inspection method, characterized in that: The method comprises: Acquire an overall real shot image corresponding to the tested shooting surface of the object to be inspected; the object to be inspected includes a concave mold, a workpiece and a convex mold; Acquire an overall design image corresponding to the photographed surface to be tested of the object to be tested; and mark the contour feature points of the outer shape and the contour feature points of the internal strong and weak stamping areas of the object to be tested in the overall design image to obtain a set of contour feature points; Performing region segmentation on the overall real shot image according to the set of contour feature points to obtain strong and weak stamping regions in the overall real shot image; Dividing the strong and weak stamping areas into colored areas and uncolored areas, and determining the overall grinding rates of the strong and weak stamping areas according to the colored areas in the strong and weak stamping areas; Acquire a local area to be inspected in the overall real-shot image, perform image processing on the image corresponding to the local area to be inspected, obtain a colored area and an uncolored area in the local area to be inspected, and calculate a local grinding rate of the local area to be inspected according to the area of ​​the colored area in the local area to be inspected; The stamping grinding rate inspection result is determined based on the overall grinding rate of the object to be inspected and the local grinding rate of the local area to be inspected; the lower surface of the die, the upper and lower surfaces of the workpiece and the local area to be inspected of the upper surface of the punch are mapped to each other in the vertical direction.

2. A multi-level stamping grinding rate inspection method according to claim 1, characterized in that: Obtaining the overall image of the object to be inspected, including: Acquire local images at different positions of the photographing surface to be tested of the object to be tested; All the local images are spliced ​​together to obtain an overall real-shot image corresponding to the test shooting surface of the object to be tested.

3. A multi-level stamping grinding rate inspection method according to claim 1, characterized in that: Dividing the strong and weak stamping areas into colored areas and uncolored areas, and determining the overall grinding rate of the strong and weak stamping areas according to the colored areas in the strong and weak stamping areas, specifically includes: Grayscale the whole real-shot image of the object to be inspected to obtain a grayscale image; Processing the grayscale image into a black and white image using the Osta algorithm; Deriving the colored area outline and the uncolored area outline in the strong stamping area and the weak stamping area from the black and white image; According to the colored area outline and the uncolored area outline, a colored area and an uncolored area are derived from the overall real-shot image of the object to be inspected; The overall grinding rate of the strong stamping area is calculated by using the colored area in the strong stamping area and the total area of ​​the strong stamping area; The overall grinding rate of the weak stamping area is calculated using the colored area in the weak stamping area and the total area of ​​the weak stamping area.

4. A multi-level stamping grinding rate inspection method according to claim 1, characterized in that: Acquire a local area to be inspected in the overall real-shot image, perform image processing on the image corresponding to the local area to be inspected, obtain a colored area and an uncolored area in the local area to be inspected, and calculate the local grinding rate of the local area to be inspected according to the area of ​​the colored area in the local area to be inspected, specifically including: Acquire the local area to be inspected in the overall real-shot image; The Laplace algorithm is used to extract the edge contour of the image of the local area to be inspected at the pixel level; the extracted edge contour refers to the contour information of the colored area and the uncolored area contained in the image of the local area to be inspected; The extracted edge contour is interpolated using the cubic interpolation method to obtain the sub-pixel edge contour; Refining the interpolated image, and obtaining the colored area and the uncolored area in the local area to be inspected according to the refined image; The local grinding rate of the local area to be inspected is determined according to the area of ​​the colored area in the local area to be inspected and the total area of ​​the local area to be inspected.

5. A multi-level stamping grinding rate inspection method according to claim 1, characterized in that: When the photographed surface to be measured of the object to be studied is the upper surface of the workpiece or the upper surface of the punch, the overall design image adopts the strong and weak stamping areas marked on the upper surface in the three-dimensional design model of the workpiece; When the photographed surface to be measured of the object to be studied is the lower surface of the workpiece or the upper and lower surfaces of the die, the overall design image adopts the strong and weak stamping areas marked on the lower surface in the three-dimensional design model of the workpiece.

6. A multi-level stamping grinding rate inspection device, characterized in that: The device comprises: an image acquisition mechanism and a host computer; the image acquisition mechanism comprises a moving mechanism in the X direction, the Y direction and the Z direction, a camera assembly, a moving bearing mechanism, a position calibration plate and a light source; the camera assembly and the light source are arranged on the moving mechanism; The camera assembly is used to collect the real image corresponding to the tested shooting surface of the object to be tested; The light source is used to provide light for shooting of the camera assembly; The mobile carrying mechanism is used to carry the object to be inspected; The position calibration plate is used to calibrate the position of the mobile bearing mechanism; The host computer is used to execute the steps of a multi-level stamping grinding rate inspection method as described in any one of claims 1 to 5.

7. A multi-level stamping grinding rate inspection device, characterized in that: The device comprises a motion control module, an image acquisition module, an image mapping module, an image segmentation module, a grinding rate calculation module and an image comparison module; The motion control module is used to control the moving mechanism in the image acquisition mechanism to drive the camera assembly to move so as to acquire the real-shot image corresponding to the test shooting surface of the object to be inspected; the image acquisition mechanism is a structure in a multi-level stamping grinding rate inspection device as described in claim 6; The image acquisition module is used to obtain the overall real-shot image corresponding to the tested shooting surface of the object to be inspected; the object to be inspected includes a concave mold, a workpiece and a convex mold; The image mapping module is used to obtain the overall design image corresponding to the photographed surface of the object to be inspected; and to mark the contour feature points of the outer shape and the contour feature points of the internal strong and weak stamping areas of the object to be inspected in the overall design image to obtain a set of contour feature points; The image segmentation module is used to perform region segmentation on the overall real shot image according to the contour feature point set to obtain strong and weak stamping regions in the overall real shot image; The grinding rate calculation module is used to divide the colored area and the uncolored area in the strong and weak stamping area, and determine the overall grinding rate of the strong and weak stamping areas according to the colored areas in the strong and weak stamping areas respectively; obtain the local area to be inspected in the overall real-shot image, perform image processing on the image corresponding to the local area to be inspected, obtain the colored area and the uncolored area in the local area to be inspected, and calculate the local grinding rate of the local area to be inspected according to the area of ​​the colored area in the local area to be inspected; The image comparison module is used to determine the stamping grinding rate inspection result according to the overall grinding rate of the object to be inspected and the local grinding rate of the local area to be inspected; the lower surface of the die, the upper and lower surfaces of the workpiece and the local area to be inspected of the upper surface of the punch are mapped to each other in the vertical direction.

8. A computer device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of a multi-level stamping grinding rate inspection method as described in any one of claims 1-5.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of a multi-level stamping grinding rate inspection method described in any one of claims 1-5 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of a multi-level stamping grinding rate inspection method described in any one of claims 1-5 are implemented.