Tool detection method, device, computer equipment and storage medium

By identifying key points in images taken from the front of the cutting tool and combining them with machining information, a three-dimensional coordinate system is constructed to calculate the cutting edge parameters. This solves the problems of low recognition rate and insufficient measurement accuracy when taking images from the side, and achieves more efficient measurement of cutting edge parameters.

CN118154544BActive Publication Date: 2024-11-26SHENZHEN JINZHOU PRECISION TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410278785.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-12
Publication Date
2024-11-26
Estimated Expiration
2044-03-12

AI Technical Summary

Technical Problem

In existing technologies, the curved surface characteristics of the blade result in low image recognition rate when shooting from the side, making it difficult to maintain consistent lighting effects and leading to insufficient accuracy in measuring blade parameters.

Method used

By acquiring images of the tool from the front, key points on the side are identified, such as the trailing edge of the cutting edge, the midpoint of the chisel edge, and the endpoint of the main cutting edge. Combined with machining information, a three-dimensional coordinate system is constructed, and the cutting edge parameters are calculated using the cutting edge spiral equation.

Benefits of technology

It improves the accuracy and convenience of blade parameter measurement, overcomes the problem of low recognition rate when shooting from the side, and achieves higher image recognition rate and more accurate parameter measurement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118154544B_ABST
    Figure CN118154544B_ABST
Patent Text Reader

Abstract

The present application relates to a tool detection method, device, computer equipment, storage medium and computer program product. The method comprises: obtaining a front-view picture of a tool collected at a front detection station; identifying key points of the side part of the tool according to the front-view picture, wherein the key points include the end point of the rear edge of the blade, the midpoint of the chisel edge, and the end point of the main cutting edge; obtaining processing information of the tool during processing; and determining the blade parameters of the tool according to the position of each key point in the front-view picture and the processing information. The method can improve the accuracy of tool detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of mechanical processing technology, and in particular to a tool detection method, device, computer equipment, storage medium and computer program product. Background Art

[0002] With the development of mechanical processing technology, tool detection technology based on image recognition has emerged. In the process of tool parameter detection, the tool image is obtained by shooting the front and side of the tool, and then the tool image is identified, processed and calculated according to the image recognition technology to obtain the tool parameters.

[0003] According to the different geometric meanings of various tool parameters, there are both front detection and side detection. The front detection process is to detect the picture obtained by vertically shooting the top of the tool. In traditional technology, the diameter of the tool, the back diameter of the blade, etc. are measured through front detection; the side detection is to detect the picture obtained by horizontally shooting the tool. The purpose is to shoot the spiral surface of the tool. In traditional technology, the side detection is used to measure the tool's land width (the distance between the front edge of the land and the rear edge of the land), the blade width (the distance between the front edge of the land and the rear edge of the blade), the length, etc.

[0004] However, the process of photographing the side of the tool is to shoot the curved surface. There will be many similar areas when illuminating the blade band and the back of the blade during shooting. Especially for tools of different models and parameters, it is difficult to keep the similar areas and lighting effects consistent, resulting in insufficient image recognition rate, and thus low measurement accuracy of tool blade parameters. Summary of the invention

[0005] Based on this, it is necessary to provide a tool detection method, device, computer equipment, computer readable storage medium and computer program product that can improve the measurement accuracy of blade parameters in response to the above technical problems.

[0006] In a first aspect, the present application provides a tool detection method. The method comprises:

[0007] Obtaining a front-view picture of the tool collected at the front inspection station;

[0008] According to the front-view picture, identifying key points of the side of the tool, the key points including the end point of the rear edge of the land, the midpoint of the chisel edge, and the end point of the main cutting edge;

[0009] Acquiring processing information of the tool during processing;

[0010] The blade parameters of the tool are determined according to the positions of the key points in the front-view picture and the processing information.

[0011] In one embodiment, the blade parameters include a blade width; and determining the blade parameters of the tool according to the position of each of the key points in the front-view image and the processing information includes:

[0012] Determine the planar position of each key point in the front-view image; obtain the blade processing parameters from the processing information; construct a three-dimensional coordinate system with the midpoint of the transverse edge as the origin, and determine the three-dimensional coordinates of each key point according to the planar position of each key point and the blade surface processing parameters in the blade processing parameters; determine the blade width of the tool according to the three-dimensional coordinates of the end point of the blade trailing edge and the three-dimensional coordinates of the end point of the main cutting edge.

[0013] In one embodiment, determining the width of the cutting edge of the tool according to the three-dimensional coordinates of the end point of the cutting edge trailing edge and the three-dimensional coordinates of the end point of the main cutting edge comprises:

[0014] According to the blade helix angle and tool outer diameter in the blade processing parameters, a blade helix equation is constructed; the three-dimensional coordinates of the blade trailing edge endpoint are substituted into the blade helix equation to obtain the initial phase of the helix passing through the blade trailing edge endpoint; the three-dimensional coordinates of the main cutting edge endpoint are substituted into the blade helix equation to obtain the initial phase of the helix passing through the main cutting edge endpoint; the blade width is determined according to the initial phase of the helix at the blade trailing edge endpoint and the initial phase of the helix at the main cutting edge endpoint.

[0015] In one embodiment, the key point further includes a rear edge endpoint, and the blade parameter further includes a blade width; the method further includes:

[0016] Substitute the three-dimensional coordinates of the rear edge endpoint into the blade helix equation to obtain the initial phase of the helix passing through the rear edge endpoint; determine the blade back width based on the initial phase of the helix at the blade trailing edge endpoint and the initial phase of the helix at the rear edge endpoint; merge the blade back width and the blade width to obtain the blade flap width.

[0017] In one embodiment, the step of obtaining a front-view picture of a tool collected at a front-view inspection station includes:

[0018] Control the forward and backward axes to transport the cleaned tool to the front shooting position, and control the front camera to shoot to obtain a picture; determine the real-time shooting angle based on the shot picture; determine the shooting angle offset information based on the preset shooting angle and the real-time shooting angle; control and adjust the shooting position of the tool based on the shooting angle offset information, and control the front camera to shoot the tool again to obtain a front shot picture of the tool.

[0019] In one embodiment, the method further comprises:

[0020] Acquire standard parameters of the tool; determine the blade error according to the detected blade parameters and the blade parameters in the standard parameters; and determine the machining accuracy of the tool according to the blade error.

[0021] In a second aspect, the present application also provides a tool detection device. The device comprises:

[0022] A tool image acquisition module is used to obtain a front-view image of the tool collected at the front detection station;

[0023] A key point information recognition module, used to identify the key points of the side of the tool according to the front-view picture, wherein the key points include the end point of the rear edge of the land, the midpoint of the chisel edge, and the end point of the main cutting edge;

[0024] A processing information acquisition module, used to acquire processing information during the tool processing;

[0025] The blade parameter determination module is used to determine the blade parameters of the tool according to the position of each key point in the front-view picture and the processing information.

[0026] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:

[0027] Acquire a front-view picture of the tool collected at the front inspection station; identify key points on the side of the tool based on the front-view picture, the key points including the end point of the blade trailing edge, the midpoint of the transverse edge, and the end point of the main cutting edge; acquire processing information during tool processing; determine the blade parameters of the tool based on the position of each key point in the front-view picture and the processing information.

[0028] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0029] Acquire a front-view picture of the tool collected at the front inspection station; identify key points on the side of the tool based on the front-view picture, the key points including the end point of the blade trailing edge, the midpoint of the transverse edge, and the end point of the main cutting edge; acquire processing information during tool processing; determine the blade parameters of the tool based on the position of each key point in the front-view picture and the processing information.

[0030] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0031] Acquire a front-view picture of the tool collected at the front inspection station; identify key points on the side of the tool based on the front-view picture, the key points including the end point of the blade trailing edge, the midpoint of the transverse edge, and the end point of the main cutting edge; acquire processing information during tool processing; determine the blade parameters of the tool based on the position of each key point in the front-view picture and the processing information.

[0032] The above-mentioned tool detection method, device, computer equipment, storage medium and computer program product obtain a front-view picture of the tool collected at the front detection station; identify the key points of the side part of the tool based on the front-view picture, the key points include the end point of the rear edge of the blade band, the midpoint of the transverse edge, and the end point of the main cutting edge; obtain the processing information of the tool during processing; determine the blade parameters of the tool based on the position and processing information of each key point in the front-view picture. The present application determines the blade parameters of the tool through the key points of the front-view picture and the processing information of the tool. Compared with the traditional blade parameter measurement method, the present application can complete the detection of the blade parameters directly through the front-view picture, which can improve the convenience of measuring the blade parameters. In addition, the front-view picture of the tool has a higher image recognition rate than the side-view picture of the tool, so that the measurement of the blade parameters based on the front-view picture can improve the measurement accuracy of the blade parameters. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 is a schematic flow chart of a tool detection method in one embodiment;

[0034] Figure 2 A schematic diagram of a front view of a tool in one embodiment;

[0035] Figure 3 A schematic diagram of a side view of a tool in one embodiment;

[0036] Figure 4 A schematic diagram of a process of taking a picture of a tool in one embodiment;

[0037] Figure 5 is a structural block diagram of a tool detection device in one embodiment;

[0038] Figure 6 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0039] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0040] In one embodiment, Figure 1 As shown, a tool detection method is provided. This embodiment uses the method applied to a terminal as an example for illustration. It can be understood that the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. In this embodiment, the method includes the following steps:

[0041] Step 102, obtaining a front-view picture of the tool collected at the front-view inspection station.

[0042] Among them, the tool in this embodiment can be a drill bit. In the technology of tool detection through tool pictures, the corresponding parameters of the tool can be detected by taking a front picture of the tool or a side picture of the tool. The front picture is a picture obtained by vertically shooting the top of the tool with a camera, and the side picture is a picture obtained by shooting the side of the tool with a camera. Since the side of the tool is a spiral surface, the difficulty of shooting the side picture of the tool is not only higher than the difficulty of shooting the front picture of the tool, but also the image recognition rate of the side picture through the image recognition technology is lower than the recognition rate of the front picture. Therefore, the present application provides a different tool detection method, which can improve the accuracy of tool detection.

[0043] Specifically, the terminal can directly obtain the front-view picture of the tool that has been taken to obtain the front-view picture of the tool to be tested, or it can control the tool picture shooting device to shoot the tool to be tested in real time to collect the front-view picture of the tool.

[0044] Step 104, based on the front-view picture, identify the key points on the side of the tool, the key points including the end point of the rear edge of the land, the midpoint of the chisel edge, and the end point of the main cutting edge.

[0045] Among them, since the front-view picture cannot directly measure the blade parameters of the tool, the blade parameters of the tool can only be obtained through mathematical modeling and calculation of the points in the front-view picture that are closely related to the side parts. The key points refer to the points that are closely related to the blade parameters of the side parts, including the end point of the rear edge of the land, the midpoint of the chisel edge, the end point of the main cutting edge, and the end point of the rear edge.

[0046] As an example, take the tool as a drill bit as an example. Figure 2 As shown, Figure 2This is a front view of the drill bit, wherein the key points in the front view are O (midpoint of the chisel edge), X (endpoint of the main cutting edge), A (endpoint of the trailing edge of the blade), and Y (endpoint of the trailing edge).

[0047] Specifically, the terminal uses image processing technology to identify the key points on the side of the tool based on the front-view picture, and obtains the position information of each key point in the front-view picture. The key points include the end point of the trailing edge of the blade, the midpoint of the transverse edge, and the end point of the main cutting edge.

[0048] Step 106, obtaining processing information of the tool during processing.

[0049] Among them, the processing information of tools of the same model is the same, and the processing information refers to the design parameters of the tool. During processing, the tool processing equipment processes the tool according to the design parameters. The processing information includes blade processing parameters, and the blade processing parameters include blade face processing parameters, blade helix angle and tool outer diameter. Blade face processing parameters include top angle, blade face angle and blade face equation. The blade face equation refers to the blade face equation satisfied by the tool blade face during tool processing. In the actual processing of the tool, the errors between the parameters of the blade processing parameters after tool processing and the design parameters corresponding to the tool are very small. Therefore, in the measurement of blade parameters, the blade face design equation and blade design parameters in the design parameters can be used as blade processing parameters after tool processing. The design parameters can be obtained according to the type of tool.

[0050] Step 108, determining the blade parameters of the tool according to the position and processing information of each key point in the front-view picture.

[0051] Among them, the blade parameters may include the width of the blade band and / or the width of the blade flap. In the prior art, the blade parameters of the tool are detected based on the side image of the tool collected at the side detection station. However, since the side shooting is a curved surface shooting, there will be many similar areas when illuminating the blade band and the back of the blade during shooting, resulting in a low image recognition rate of the side shot picture, thereby resulting in low detection accuracy of the blade parameters. This embodiment detects the blade parameters of the tool through each key point identified in the front image, which can effectively overcome the defects of detecting the blade parameters through the side image and improve the detection accuracy of the blade parameters.

[0052] Specifically, the terminal establishes a two-dimensional coordinate system based on the position of each key point in the front-shot image, and determines the coordinates of each key point in the two-dimensional coordinate system based on the position of each key point in the front-shot image; determines the blade parameters of the tool based on the coordinates of each key point in the two-dimensional coordinate system and the processing information of the tool.

[0053] In some specific embodiments, the blade parameters of the tool are determined based on the coordinates of each key point in the two-dimensional coordinate system and the processing information of the tool, including: determining the planar position of each key point in the front-view image; obtaining the blade processing parameters from the processing information; constructing a three-dimensional coordinate system with the midpoint of the transverse edge as the origin, and determining the three-dimensional coordinates of each key point based on the planar position of each key point and the blade surface processing parameters in the blade processing parameters; determining the blade parameters of the tool based on the three-dimensional coordinates of each key point and the blade helix angle and tool outer diameter in the blade processing parameters.

[0054] As an example, Figure 3 As shown, the width of the blade is the distance between points a and b, and the width of the blade is the distance between points a and c.

[0055] In the above-mentioned tool detection method, a front-view picture of the tool collected at the front detection station is obtained; based on the front-view picture, each key point of the side part of the tool is identified, and the key points include the end point of the rear edge of the blade band, the midpoint of the transverse edge, and the end point of the main cutting edge; the processing information of the tool during processing is obtained; and the blade parameters of the tool are determined according to the position and processing information of each key point in the front-view picture. This embodiment determines the blade parameters of the tool through the key points of the front-view picture and the processing information of the tool. Compared with the traditional blade parameter measurement method, the present application can complete the detection of the blade parameters directly through the front-view picture, which can improve the convenience of measuring the blade parameters. In addition, the front-view picture of the tool has a higher image recognition rate than the side-view picture of the tool, so that the measurement of the blade parameters based on the front-view picture can improve the measurement accuracy of the blade parameters.

[0056] In one embodiment, the blade parameters include the width of the blade band; the blade parameters of the tool are determined according to the position of each key point in the front-shot image and the processing information, including: determining the planar position of each key point in the front-shot image; obtaining the blade processing parameters from the processing information; constructing a three-dimensional coordinate system with the midpoint of the transverse edge as the origin, and determining the three-dimensional coordinates of each key point according to the planar position of each key point and the blade surface processing parameters in the blade processing parameters; determining the blade band width of the tool according to the three-dimensional coordinates of the end point of the blade band trailing edge and the three-dimensional coordinates of the end point of the main cutting edge.

[0057] Specifically, the terminal establishes a two-dimensional coordinate system with the midpoint of the transverse edge as the origin and the direction from the end point of the main cutting edge to the midpoint of the transverse edge as the X-axis, and determines the two-dimensional coordinates of each key point in the two-dimensional coordinate system according to the position of each key point in the front-view image; constructs a three-dimensional coordinate system with the midpoint of the transverse edge as the origin, and determines the three-dimensional coordinates of each key point according to the two-dimensional coordinates of each key point and the blade surface processing parameters in the blade processing parameters; determines the blade width of the tool according to the three-dimensional coordinates of the end point of the blade trailing edge and the three-dimensional coordinates of the end point of the main cutting edge.

[0058] As an example, according to the two-dimensional coordinates of each key point and the blade surface processing parameters in the blade processing parameters, the three-dimensional coordinates of each key point are determined, including:

[0059] According to the two-dimensional coordinates of the trailing edge endpoint of the cutting edge (x0, y0), the two-dimensional coordinates of the main cutting edge endpoint (x1, y1), the trailing edge endpoint (x2, y2) and the first cutting edge angle and the top angle in the cutting edge processing parameters, the z-axis coordinate z0 of the trailing edge endpoint of the cutting edge and the z-axis coordinate z1 of the main cutting edge endpoint are obtained.

[0060] Specifically, the specific mathematical expressions of z0, z1 and z2 can be:

[0061]

[0062]

[0063]

[0064] in, is the first blade angle, is the second blade angle, is the vertex angle, so that the three-dimensional coordinates of the endpoint of the trailing edge of the margin (x0, y0, z0), the three-dimensional coordinates of the endpoint of the main cutting edge (x1, y1, z1) and the three-dimensional coordinates of the endpoint of the trailing edge (x2, y2, z2) can be obtained.

[0065] In some specific embodiments, the blade width of the tool is determined based on the three-dimensional coordinates of the blade trailing edge endpoint and the three-dimensional coordinates of the main cutting edge endpoint, including: constructing a blade helix equation based on the blade helix angle and the tool outer diameter in the blade processing parameters; determining the initial phase of the helix passing through the blade trailing edge endpoint and the initial phase of the helix passing through the main cutting edge endpoint based on the three-dimensional coordinates of the blade trailing edge endpoint, the three-dimensional coordinates of the main cutting edge endpoint, and the blade helix equation; determining the blade width based on the initial phase of the helix at the blade trailing edge endpoint and the initial phase of the helix at the main cutting edge endpoint.

[0066] In this embodiment, the planar position of each key point is determined by the position of each key point in the front-view picture, and then the three-dimensional coordinates of each key point are obtained based on the planar position of each key point and the geometric characteristics of the tool during processing. Then, the blade parameters of the tool can be measured based on the geometric relationship between each key point and the blade.

[0067] In one embodiment, the blade width of the tool is determined based on the three-dimensional coordinates of the blade trailing edge endpoint and the three-dimensional coordinates of the main cutting edge endpoint, including: constructing a blade helix equation based on the blade helix angle and the tool outer diameter in the blade processing parameters; substituting the three-dimensional coordinates of the blade trailing edge endpoint into the blade helix equation to obtain the initial phase of the helix passing through the blade trailing edge endpoint; substituting the three-dimensional coordinates of the main cutting edge endpoint into the blade helix equation to obtain the initial phase of the helix passing through the main cutting edge endpoint; determining the blade width based on the initial phase of the helix at the blade trailing edge endpoint and the initial phase of the helix at the main cutting edge endpoint.

[0068] Specifically, the terminal constructs the helix equation of the blade according to the blade helix angle and tool outer diameter in the blade processing parameters. The specific mathematical expression is as follows:

[0069]

[0070] in, is the tool outer diameter, is the tool helix angle, is the initial phase of the helix of the margin.

[0071] Substitute the three-dimensional coordinates of the end point of the trailing edge of the margin into the margin helix equation to obtain the initial phase of the helix passing through the end point of the trailing edge of the margin. ; Substitute the three-dimensional coordinates of the endpoint of the main cutting edge into the helix equation of the edge band to obtain the initial phase of the helix passing through the endpoint of the main cutting edge ; The width of the margin is determined based on the initial phase of the spiral line at the end point of the margin trailing edge and the initial phase of the spiral line at the end point of the main cutting edge.

[0072] It should be noted that the land width is the distance between the two spiral lines. The distance can be obtained by respectively calculating the tangents of the two spiral lines. When the two tangents are parallel and adjacent to each other, the distance between the two tangents is the land width. In this embodiment, the mathematical expression of the two tangent equations can be specifically as follows:

[0073] as well as

[0074] The distance between the two tangent lines is:

[0075]

[0076] therefore, This is the cutting edge width of the tool.

[0077] In this embodiment, according to the geometric characteristics of the two spiral lines passing through the blade band through the end point of the main cutting edge and the end point of the trailing edge of the blade band respectively, the initial phases of the two spiral lines of the test tool can be determined by bringing the end point of the main cutting edge and the end point of the trailing edge of the blade band into the spiral line processing equation during processing, and the blade band width of the tool can be calculated based on the initial phases of the two spiral lines.

[0078] In one embodiment, the key point also includes the rear edge endpoint, and the blade parameters also include the blade flap width; the blade parameters of the tool are determined based on the position and processing information of each key point in the front-view image, and also include: substituting the three-dimensional coordinates of the rear edge endpoint into the blade band spiral equation to obtain the initial phase of the spiral passing through the rear edge endpoint; determining the blade back width based on the initial phase of the spiral at the blade band trailing edge endpoint and the initial phase of the spiral at the rear edge endpoint; merging the blade back width and the blade band width to obtain the blade flap width.

[0079] Specifically, the terminal constructs the blade back helix equation based on the blade helix angle and tool outer diameter in the blade processing parameters. The specific mathematical expression is as follows:

[0080]

[0081] in, is the tool outer diameter, is the corresponding diameter of each point on the back of the tool blade, is the tool helix angle, is the initial phase of the blade back helix.

[0082] Substitute the three-dimensional coordinates of the end point of the trailing edge of the land into the helix equation of the land back to obtain the initial phase of the helix passing through the end point of the trailing edge of the land ; Substitute the three-dimensional coordinates of the back edge endpoint into the blade back helix equation to obtain the initial phase of the helix passing through the back edge endpoint ; According to the initial phase of the spiral line at the end point of the trailing edge of the land and the initial phase of the spiral line at the end point of the trailing edge, determine the back edge width; merge the back edge width and the land width to obtain the blade width. As an example, the blade width ,in, is the cutting edge width of the tool. This is the width of the blade back of the tool.

[0083] It should be noted that the back edge width is the distance between the two spiral lines passing through the end point of the rear edge of the blade band and the end point of the rear edge in the tool. After the tool is back-ground, the diameters and spiral angles of the two spiral lines are not the same, and there will no longer be parallel tangents to each other. It can be assumed that the tangents of the two spiral lines are parallel, and then multiplied by the proportionality coefficient to calculate the back edge width. In this embodiment, the mathematical expression of the back edge width can be specifically as follows:

[0084]

[0085] Wherein, k is the proportionality coefficient. Specifically, the mathematical expression of k can be:

[0086]

[0087] Among them, st is the standard value of the tool blade width, and b is the standard value of the tool land width.

[0088] In this embodiment, the blade back width can be calculated by using the spiral equation corresponding to the rear edge of the blade and the spiral equation corresponding to the rear edge endpoint, and then the blade back width and the blade width can be added together to obtain the blade flap width of the tool.

[0089] In one embodiment, a front-facing picture of a tool collected at a front inspection station is obtained, including: controlling the forward and backward axes to transport the cleaned tool to the front-facing shooting position, and controlling the front-facing camera to shoot to obtain a picture; determining a real-time shooting angle based on the shot picture; determining shooting angle offset information based on a preset shooting angle and a real-time shooting angle; controlling the adjustment of the shooting position of the tool based on the shooting angle offset information, and controlling the front-facing camera to shoot the tool again to obtain a front-facing picture of the tool.

[0090] Specifically, the terminal controls the forward and backward axes to transport the cleaned tool to the front shooting position, and controls the front camera to shoot to obtain a picture; determines the real-time shooting angle based on the shot picture; determines the shooting angle offset information based on the preset shooting angle and the real-time shooting angle; controls the adjustment of the shooting position of the tool based on the shooting angle offset information, and controls the front camera to shoot the tool again to obtain a front shot picture of the tool.

[0091] It should be noted that in order to obtain a higher recognition rate of the frontal image, for small tools or tools with large top angles, if the depth of field of the lens is sufficient and does not affect the clarity, directly shoot the frontal image at the preset angle position as the frontal image. If the depth of field of the lens is not enough for large tools or tools with small top angles, you can use the super depth of field technology to move a short distance near the focal length, shoot a frontal image each time you move, and then stitch all the images into a frontal image that is clear in all positions as the frontal image.

[0092] In some specific embodiments, cleaning the tool includes: taking the tool out of the material box and transporting it to the tool cleaning station, using plasticine and blowing hot air to remove oil stains from the tool. The tool cleaning device can be implemented using a cam plus a motor.

[0093] In this embodiment, the cleaned tool is photographed, and when the shooting angle differs from the preset shooting angle, the shooting position of the tool is controlled and adjusted so that the front-view picture taken can have a higher recognition rate, improve the recognition accuracy of key points, and thus improve the accuracy of tool detection.

[0094] In one embodiment, the method further comprises:

[0095] Obtain standard parameters of the tool; determine the blade error based on the detected blade parameters and the blade parameters in the standard parameters; determine the machining accuracy of the tool based on the blade error.

[0096] Among them, each tool model has corresponding standard parameters. The standard parameters of the tool can be obtained according to the model of the tool, and the model of the tool can be detected by the tool sensing chip.

[0097] It should be noted that after determining the blade error, the tool processing equipment can be adjusted according to the blade error to further process the tool, thereby further improving the tool processing accuracy.

[0098] In this embodiment, the blade parameters obtained by tool detection are compared with the standard parameters of the tool to determine the error between the actual blade parameters of the tool and the standard parameters, thereby determining the machining accuracy of the tool.

[0099] In one embodiment, the tool detection method further includes:

[0100] Control the forward and backward axes to transport the cleaned tool to the front shooting position, and control the front camera to shoot to obtain a shot picture; determine the real-time shooting angle based on the shot picture; determine the shooting angle offset information based on the preset shooting angle and the real-time shooting angle; control and adjust the shooting position of the tool based on the shooting angle offset information, and control the front camera to shoot the tool again to obtain a front shot picture of the tool; identify the key points on the side of the tool based on the front shot picture, the key points include the end point of the trailing edge of the blade band, the midpoint of the transverse edge, the end point of the main cutting edge, and the end point of the trailing edge.

[0101] After identifying the key points, determine the planar position of each key point in the front-view image; obtain the processing information during tool processing, and obtain the blade processing parameters from the processing information; construct a three-dimensional coordinate system with the midpoint of the transverse edge as the origin, and determine the three-dimensional coordinates of each key point according to the planar position of each key point and the blade surface processing parameters in the blade processing parameters; construct the blade helix equation according to the blade helix angle and tool outer diameter in the blade processing parameters; substitute the three-dimensional coordinates of the blade trailing edge endpoint into the blade helix equation to obtain the initial phase of the helix passing through the blade trailing edge endpoint; substitute the three-dimensional coordinates of the main cutting edge endpoint into the blade helix equation to obtain the initial phase of the helix passing through the main cutting edge endpoint; determine the blade width according to the initial phase of the helix at the blade trailing edge endpoint and the initial phase of the helix at the main cutting edge endpoint.

[0102] On the basis of determining the width of the land, the three-dimensional coordinates of the rear edge endpoint are substituted into the land spiral equation to obtain the initial phase of the spiral through the rear edge endpoint; the back edge width is determined according to the initial phase of the spiral at the rear edge endpoint of the land and the initial phase of the spiral at the rear edge endpoint; the back edge width and the land width are combined to obtain the blade flap width. The land width and the blade flap width are the blade parameters of the tool.

[0103] Further, standard parameters of the tool are obtained; the blade error is determined based on the detected blade parameters and the blade parameters in the standard parameters; and the machining accuracy of the tool is determined based on the blade error.

[0104] In one embodiment, Figure 4 As shown, the tool detection method also includes:

[0105] Step 1: Control the camera to transfer the material box from the entrance to the detection buffer; wherein the tool to be detected is placed in the material box.

[0106] Step 2: Check the cache box to identify the tool model, and confirm the standard tool parameters based on the tool model.

[0107] Step 3: Take out the tool from the material box and transport it to the tool cleaning station.

[0108] Step 4: Use plasticine and hot air to remove the oil stains from the tool. The tool cleaning device can be realized by using a cam plus a motor.

[0109] Step 5: Take a front-facing picture of the tool.

[0110] Step 6: Take a side view picture of the tool.

[0111] Step 7: After the shooting is completed, put the tool back into the detection cache position, wait until all the tools in the material box are photographed, and transport them to the exit to complete the shooting of the tools.

[0112] In this embodiment, the tool is photographed fully automatically by using a photographing device, and the shooting light can be adaptively adjusted during the shooting, so that better quality tool pictures can be efficiently taken, which is helpful for the subsequent detection of tool parameters.

[0113] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0114] Based on the same inventive concept, the embodiment of the present application also provides a tool detection device for implementing the tool detection method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more tool detection device embodiments provided below can refer to the limitations on the tool detection method above, and will not be repeated here.

[0115] In one embodiment, Figure 5 As shown, a tool detection device is provided, including: a tool image acquisition module 502, a key point information recognition module 504, a processing information acquisition module 506 and a blade parameter determination module 508, wherein:

[0116] The tool image acquisition module 502 is used to obtain the front-view image of the tool collected at the front detection station;

[0117] The key point information identification module 504 is used to identify the key points of the side of the tool according to the front-view picture, the key points including the end point of the rear edge of the land, the midpoint of the chisel edge, and the end point of the main cutting edge;

[0118] The processing information acquisition module 506 is used to acquire the processing information of the tool during processing;

[0119] The blade parameter determination module 508 is used to determine the blade parameters of the tool according to the position and processing information of each key point in the front-view picture.

[0120] In one embodiment, the blade parameters include the width of the blade band; the blade parameter determination module 308 is also used to: determine the planar position of each key point in the front-view image; obtain the blade processing parameters from the processing information; construct a three-dimensional coordinate system with the midpoint of the transverse edge as the origin, and determine the three-dimensional coordinates of each key point according to the planar position of each key point and the blade surface processing parameters in the blade processing parameters; determine the blade band width of the tool according to the three-dimensional coordinates of the end point of the blade band trailing edge and the three-dimensional coordinates of the end point of the main cutting edge.

[0121] In one embodiment, the blade parameter determination module 508 is also used to: construct a blade helix equation based on the blade helix angle and tool outer diameter in the blade processing parameters; substitute the three-dimensional coordinates of the blade trailing edge endpoint into the blade helix equation to obtain the initial phase of the helix passing through the blade trailing edge endpoint; substitute the three-dimensional coordinates of the main cutting edge endpoint into the blade helix equation to obtain the initial phase of the helix passing through the main cutting edge endpoint; determine the blade width based on the initial phase of the helix at the blade trailing edge endpoint and the initial phase of the helix at the main cutting edge endpoint.

[0122] In one embodiment, the key point also includes the rear edge endpoint, and the blade parameters also include the blade flap width; the blade parameter determination module 508 is also used to: substitute the three-dimensional coordinates of the rear edge endpoint into the blade band spiral equation to obtain the initial phase of the spiral passing through the rear edge endpoint; determine the blade back width based on the initial phase of the spiral at the rear edge endpoint of the blade band and the initial phase of the spiral at the rear edge endpoint; merge the blade back width and the blade width to obtain the blade flap width.

[0123] In one of the embodiments, the tool image acquisition module 502 is also used to: control the forward and backward axes to transport the cleaned tool to the front shooting position, and control the front camera to shoot to obtain a photographed picture; determine the real-time shooting angle based on the photographed picture; determine the shooting angle offset information based on the preset shooting angle and the real-time shooting angle; control the adjustment of the shooting position of the tool based on the shooting angle offset information, and control the front camera to shoot the tool again to obtain a front shot picture of the tool.

[0124] In one embodiment, the tool detection device further includes a tool detection module for acquiring standard parameters of the tool; determining a blade error based on the detected blade parameters and blade parameters in the standard parameters; and determining a machining accuracy of the tool based on the blade error.

[0125] Each module in the tool detection device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0126] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 6 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. 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 data required for tool detection. The network 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 tool detection method is implemented.

[0127] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0128] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0129] Obtain a front-view picture of the tool collected at the front inspection station; identify key points on the side of the tool based on the front-view picture, including the end point of the blade trailing edge, the midpoint of the transverse edge, and the end point of the main cutting edge; obtain processing information during tool processing; determine the tool blade parameters based on the position and processing information of each key point in the front-view picture.

[0130] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0131] Determine the planar position of each key point in the front-view image; obtain the blade processing parameters from the processing information; construct a three-dimensional coordinate system with the midpoint of the transverse edge as the origin, and determine the three-dimensional coordinates of each key point according to the planar position of each key point and the blade surface processing parameters in the blade processing parameters; determine the blade width of the tool according to the three-dimensional coordinates of the end point of the blade trailing edge and the three-dimensional coordinates of the end point of the main cutting edge.

[0132] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0133] According to the blade helix angle and tool outer diameter in the blade processing parameters, the blade helix equation is constructed; the three-dimensional coordinates of the blade trailing edge endpoint are substituted into the blade helix equation to obtain the initial phase of the helix passing through the blade trailing edge endpoint; the three-dimensional coordinates of the main cutting edge endpoint are substituted into the blade helix equation to obtain the initial phase of the helix passing through the main cutting edge endpoint; the blade width is determined according to the initial phase of the helix at the blade trailing edge endpoint and the initial phase of the helix at the main cutting edge endpoint.

[0134] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0135] Substitute the three-dimensional coordinates of the rear edge endpoint into the helix equation of the margin to obtain the initial phase of the helix passing through the rear edge endpoint; determine the blade back width based on the initial phase of the helix at the rear edge endpoint of the margin and the initial phase of the helix at the rear edge endpoint; merge the blade back width and the margin width to obtain the blade flap width.

[0136] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0137] Control the forward and backward axes to transport the cleaned tool to the front shooting position, and control the front camera to shoot to obtain a picture; determine the real-time shooting angle based on the shot picture; determine the shooting angle offset information based on the preset shooting angle and the real-time shooting angle; control and adjust the shooting position of the tool based on the shooting angle offset information, and control the front camera to shoot the tool again to obtain a front shooting picture of the tool.

[0138] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0139] Obtain standard parameters of the tool; determine the blade error based on the detected blade parameters and the blade parameters in the standard parameters; determine the machining accuracy of the tool based on the blade error.

[0140] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0141] Obtain a front-view picture of the tool collected at the front inspection station; identify key points on the side of the tool based on the front-view picture, including the end point of the blade trailing edge, the midpoint of the transverse edge, and the end point of the main cutting edge; obtain processing information during tool processing; determine the tool blade parameters based on the position and processing information of each key point in the front-view picture.

[0142] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0143] Determine the planar position of each key point in the front-view image; obtain the blade processing parameters from the processing information; construct a three-dimensional coordinate system with the midpoint of the transverse edge as the origin, and determine the three-dimensional coordinates of each key point according to the planar position of each key point and the blade surface processing parameters in the blade processing parameters; determine the blade width of the tool according to the three-dimensional coordinates of the end point of the blade trailing edge and the three-dimensional coordinates of the end point of the main cutting edge.

[0144] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0145] According to the blade helix angle and tool outer diameter in the blade processing parameters, the blade helix equation is constructed; the three-dimensional coordinates of the blade trailing edge endpoint are substituted into the blade helix equation to obtain the initial phase of the helix passing through the blade trailing edge endpoint; the three-dimensional coordinates of the main cutting edge endpoint are substituted into the blade helix equation to obtain the initial phase of the helix passing through the main cutting edge endpoint; the blade width is determined according to the initial phase of the helix at the blade trailing edge endpoint and the initial phase of the helix at the main cutting edge endpoint.

[0146] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0147] Substitute the three-dimensional coordinates of the rear edge endpoint into the helix equation of the margin to obtain the initial phase of the helix passing through the rear edge endpoint; determine the blade back width based on the initial phase of the helix at the rear edge endpoint of the margin and the initial phase of the helix at the rear edge endpoint; merge the blade back width and the margin width to obtain the blade flap width.

[0148] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0149] Control the forward and backward axes to transport the cleaned tool to the front shooting position, and control the front camera to shoot to obtain a picture; determine the real-time shooting angle based on the shot picture; determine the shooting angle offset information based on the preset shooting angle and the real-time shooting angle; control and adjust the shooting position of the tool based on the shooting angle offset information, and control the front camera to shoot the tool again to obtain a front shooting picture of the tool.

[0150] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0151] Obtain standard parameters of the tool; determine the blade error based on the detected blade parameters and the blade parameters in the standard parameters; determine the machining accuracy of the tool based on the blade error.

[0152] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0153] Obtain a front-view picture of the tool collected at the front inspection station; identify key points on the side of the tool based on the front-view picture, including the end point of the blade trailing edge, the midpoint of the transverse edge, and the end point of the main cutting edge; obtain processing information during tool processing; determine the tool blade parameters based on the position and processing information of each key point in the front-view picture.

[0154] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0155] Determine the planar position of each key point in the front-view image; obtain the blade processing parameters from the processing information; construct a three-dimensional coordinate system with the midpoint of the transverse edge as the origin, and determine the three-dimensional coordinates of each key point according to the planar position of each key point and the blade surface processing parameters in the blade processing parameters; determine the blade width of the tool according to the three-dimensional coordinates of the end point of the blade trailing edge and the three-dimensional coordinates of the end point of the main cutting edge.

[0156] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0157] According to the blade helix angle and tool outer diameter in the blade processing parameters, the blade helix equation is constructed; the three-dimensional coordinates of the blade trailing edge endpoint are substituted into the blade helix equation to obtain the initial phase of the helix passing through the blade trailing edge endpoint; the three-dimensional coordinates of the main cutting edge endpoint are substituted into the blade helix equation to obtain the initial phase of the helix passing through the main cutting edge endpoint; the blade width is determined according to the initial phase of the helix at the blade trailing edge endpoint and the initial phase of the helix at the main cutting edge endpoint.

[0158] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0159] Substitute the three-dimensional coordinates of the rear edge endpoint into the helix equation of the margin to obtain the initial phase of the helix passing through the rear edge endpoint; determine the blade back width based on the initial phase of the helix at the rear edge endpoint of the margin and the initial phase of the helix at the rear edge endpoint; merge the blade back width and the margin width to obtain the blade flap width.

[0160] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0161] Control the forward and backward axes to transport the cleaned tool to the front shooting position, and control the front camera to shoot to obtain a picture; determine the real-time shooting angle based on the shot picture; determine the shooting angle offset information based on the preset shooting angle and the real-time shooting angle; control and adjust the shooting position of the tool based on the shooting angle offset information, and control the front camera to shoot the tool again to obtain a front shooting picture of the tool.

[0162] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0163] Obtain standard parameters of the tool; determine the blade error based on the detected blade parameters and the blade parameters in the standard parameters; determine the machining accuracy of the tool based on the blade error.

[0164] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods 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 in this application 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 in this application 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 to this. The processor involved in each embodiment provided in this application 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 to this.

[0165] 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.

[0166] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the present application. It should be noted that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A tool detection method, characterized in that: The method comprises: Obtaining a front-view picture of the tool collected at the front inspection station; According to the front-view picture, identifying key points of the side of the tool, the key points including the end point of the rear edge of the land, the midpoint of the chisel edge, and the end point of the main cutting edge; Acquiring processing information of the tool during processing; Determine the plane position of each of the key points in the front-view picture; Acquiring blade processing parameters from the processing information; A three-dimensional coordinate system is constructed with the midpoint of the chisel edge as the origin, and the three-dimensional coordinates of each key point are determined according to the plane position of each key point and the blade surface processing parameters in the blade processing parameters; The width of the cutting edge of the tool is determined according to the three-dimensional coordinates of the end point of the cutting edge trailing edge and the three-dimensional coordinates of the end point of the main cutting edge.

2. The method according to claim 1, characterized in that Determining the width of the cutting tool margin according to the three-dimensional coordinates of the end point of the margin trailing edge and the three-dimensional coordinates of the end point of the main cutting edge comprises: According to the blade helix angle and the tool outer diameter in the blade processing parameters, constructing a blade helix equation; Substituting the three-dimensional coordinates of the end point of the trailing edge of the land into the helix equation of the land to obtain the initial phase of the helix passing through the end point of the trailing edge of the land; Substituting the three-dimensional coordinates of the endpoint of the main cutting edge into the helix equation of the edge band to obtain the initial phase of the helix passing through the endpoint of the main cutting edge; The width of the margin is determined according to the initial phase of the helix at the end point of the margin trailing edge and the initial phase of the helix at the end point of the main cutting edge.

3. The method according to claim 2, characterized in that The key point also includes the end point of the rear edge, and the blade parameters also include the width of the blade flap; the method also includes: Substituting the three-dimensional coordinates of the end point of the rear edge into the helix equation of the edge band to obtain the initial phase of the helix passing through the end point of the rear edge; Determining the width of the land according to the initial phase of the spiral line at the end point of the trailing edge of the land and the initial phase of the spiral line at the end point of the trailing edge; The land width and the land width are combined to obtain the land width.

4. The method according to any one of claims 1 to 3, characterized in that The obtaining of the front-view picture of the tool collected at the front-view detection station includes: Control the forward and backward axes to transport the cleaned tool to the front shooting position, and control the front camera to shoot to obtain the shot picture; Determining a real-time shooting angle according to the captured picture; Determining shooting angle offset information according to a preset shooting angle and the real-time shooting angle; According to the shooting angle offset information, the shooting position of the tool is controlled to be adjusted, and the front camera is controlled to shoot the tool again to obtain a front-view picture of the tool.

5. The method according to any one of claims 1 to 3, characterized in that The method further comprises: Get the standard parameters of the tool; Determining a blade error according to the detected blade parameters and the blade parameters in the standard parameters; The machining accuracy of the tool is determined according to the blade error.

6. A tool detection device, characterized in that: The device comprises: A tool image acquisition module is used to obtain a front-view image of the tool collected at the front detection station; A key point information recognition module, used to identify the key points of the side of the tool according to the front-view picture, wherein the key points include the end point of the rear edge of the land, the midpoint of the chisel edge, and the end point of the main cutting edge; A processing information acquisition module, used to acquire processing information during the tool processing; A blade parameter determination module is used to determine the planar position of each key point in the front-view image; obtain blade processing parameters from the processing information; construct a three-dimensional coordinate system with the midpoint of the transverse edge as the origin, and determine the three-dimensional coordinates of each key point according to the planar position of each key point and the blade surface processing parameters in the blade processing parameters; determine the blade width of the tool according to the three-dimensional coordinates of the end point of the blade trailing edge and the three-dimensional coordinates of the end point of the main cutting edge.

7. The device according to claim 6, characterized in that The blade parameter determination module is further used to construct a blade helix equation according to the blade helix angle and the tool outer diameter in the blade processing parameters; substitute the three-dimensional coordinates of the end point of the trailing edge of the blade into the blade helix equation to obtain the initial phase of the helix passing through the end point of the trailing edge of the blade; Substituting the three-dimensional coordinates of the endpoint of the main cutting edge into the helix equation of the edge band to obtain the initial phase of the helix passing through the endpoint of the main cutting edge; The width of the margin is determined according to the initial phase of the helix at the end point of the margin trailing edge and the initial phase of the helix at the end point of the main cutting edge.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.

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 the method according to any one of claims 1 to 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 the method according to any one of claims 1 to 5 are implemented.