A method and system for laser marking on shoe soles
By combining image recognition technology during the laser marking process of soles, the marking path and power are judged and adjusted, the problems of inconsistent color depth and low marking efficiency caused by uneven soles are solved, and efficient and uniform laser marking effect is achieved.
Patent Information
- Application Number
- CN202210964133.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-11
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2042-08-11
AI Technical Summary
During the laser marking process, the sole is not on the same plane due to uneven process, resulting in inconsistent color depth, and there may be crooked and inefficient during the second marking.
Using a method of combining image recognition, a trace path is left through the first marking, and then the grayscale value of the trace path is obtained through image recognition, to determine whether the second marking is needed, and the power of the second marking is determined based on the grayscale difference value to ensure that the color depth is consistent.
The color depth of the laser marking pattern of the sole is consistent with the requirements, avoiding the laser marking and improving the marking efficiency.
Smart Images

Figure CN115351426B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of laser marking, and in particular to a shoe sole laser marking method and system. Background Art
[0002] Laser marking technology is one of the largest applications of laser processing. Laser marking utilizes high-energy-density lasers to locally illuminate a workpiece, vaporizing the surface material or inducing a chemical reaction that changes color, leaving a permanent mark. Laser marking can produce a variety of text, symbols, and patterns, with character sizes ranging from millimeters to microns, making it particularly valuable for product anti-counterfeiting.
[0003] Patterns engraved on shoe soles can increase friction and prevent slipping, while also enhancing the overall aesthetics of the shoe. With technological advancements, laser marking has also been applied to shoe sole processing, allowing for more precise and rapid processing. However, laser marking also has its drawbacks. The areas to be marked are often uneven due to the process, resulting in uneven marking locations. However, conventional laser marking machines typically focus on a single plane. This can result in the color depth of the printed pattern differing from the desired depth. For example, if a consistent color depth is required, unevenness in that area can result in uneven color depth. Summary of the Invention
[0004] The applicant's research has found that when combining image recognition with laser marking, conventional methods for identifying the sole pattern for a second mark can lead to misalignment due to a mismatch between recognition accuracy and laser marking accuracy. Furthermore, if the second mark follows the same path as the first, it will repeatedly pass over the previously marked area, increasing marking time and reducing efficiency.
[0005] In view of some of the above-mentioned defects of the prior art, the technical problem to be solved by the present invention is to provide a sole laser marking method and system, aiming to ensure that the color depth of the sole laser marking pattern is consistent with the required color depth, avoid laser deviation, and increase marking efficiency.
[0006] To achieve the above objectives, the first aspect of the present invention discloses a shoe sole laser marking method and system, the method comprising:
[0007] Obtaining a desired marking pattern for the sole; obtaining a laser path F(x, y) according to the desired marking pattern; wherein x and y are the horizontal and vertical coordinates of the laser path with the top view of the sole as the plane;
[0008] In response to the sole being fixed on the marking workbench, controlling the laser head to perform a first marking on the sole at a preset power according to the laser path F(x, y); wherein the marking workbench is a rotatable workbench, configured to rotate different surfaces of the sole in sequence toward the laser head for marking;
[0009] Controlling a camera to capture an image of the shoe sole after the first marking to obtain a first image;
[0010] According to the laser path F(x,y), identifying a trace path G(x,y) corresponding to the laser path F(x,y) in the first image; identifying a first grayscale value G(x,y,g1) corresponding to each position of the trace path G(x,y);
[0011] Comparing the first grayscale value G(x, y, g1) of the trace path with the standard grayscale value H(x, y, g2) of the trace path to obtain a grayscale difference G(x, y, Δg) of the trace path; wherein the standard value H(x, y, g2) is the required color depth of the trace path at each position of the sole;
[0012] Identifying a second marking position on the trace path requiring a second marking according to the grayscale difference G(x, y, Δg) of the trace path;
[0013] Optimizing the trace path according to the second marking position to generate a second marking path I(x, y); obtaining a second marking power I(x, y, P) corresponding to each position of the second marking path I(x, y) according to the grayscale difference G(x, y, Δg) at the second marking position and the second marking path I(x, y);
[0014] The laser head is controlled to perform the second marking on the second marking path I(x, y) according to the second marking power I(x, y, P), so that the color depth of the marking pattern on the sole surface meets the requirement.
[0015] Optionally, identifying a second marking position on the trace path requiring a second marking according to the grayscale difference G(x, y, Δg) of the trace path includes:
[0016] Determine in sequence whether the absolute value of Δg in each grayscale difference G(x, y, Δg) is greater than the preset grayscale difference Δg h If yes, the position corresponding to the grayscale difference G(x, y, Δg) is determined as the second marking position; if not, the position corresponding to the grayscale difference G(x, y, Δg) is determined as the completed marking position.
[0017] Optionally, the step of optimizing the trace path according to the second marking position to generate a second marking path I(x, y) includes:
[0018] Obtaining the second marking position, and removing each position other than the second marking position from the second marking position;
[0019] Optimally connect the second marking positions to generate the second marking path I(x, y) and ensure that the second marking path I(x, y) is the shortest.
[0020] Optionally, controlling the laser head to perform the second marking on the second marking path I(x, y) according to the second marking power I(x, y, P) includes:
[0021] According to the second marking path I(x,y), obtaining the marking time of each position of the second marking path I(x,y);
[0022] generating a power control function diagram showing a change in power according to time based on the second marking power I(x, y, P) and the marking time of the corresponding position;
[0023] The laser head is controlled to perform power conversion according to the power control function diagram, and moves according to the second marking path I(x, y) to perform the second marking.
[0024] Optionally, during the laser head marking process, the method further includes:
[0025] The mist absorber is controlled to absorb smoke generated during the marking process so that the smoke does not block the laser; wherein the smoke is generated by the laser burning the surface of the sole.
[0026] A second aspect of the present invention discloses a shoe sole laser marking system, comprising: a laser head, a marking workbench, a camera, and a main control module; the main control module comprises: a laser path acquisition unit, a first marking control unit, an image acquisition control unit, an image recognition unit, a grayscale value comparison unit, a second marking position acquisition unit, a path optimization unit, a second marking power acquisition unit, and a second marking control unit;
[0027] The laser path obtaining unit is used to obtain a required marking pattern of the sole; according to the required marking pattern, a laser path F(x, y) is obtained; wherein x and y are the horizontal and vertical coordinates of the laser path with the top view of the sole as the plane;
[0028] The first marking control unit is configured to, in response to the sole being fixed on the marking workbench, control the laser head to perform a first marking on the sole at a preset power according to the laser path F(x, y); wherein the marking workbench is a rotatable workbench, configured to rotate different surfaces of the sole in sequence toward the laser head for marking;
[0029] The image acquisition control unit is used to control a camera to acquire an image of the shoe sole after the first marking to obtain a first image;
[0030] The image recognition unit is configured to identify, based on the laser path F(x,y), a trace path G(x,y) corresponding to the laser path F(x,y) in the first image; and identify a first grayscale value G(x,y,g1) corresponding to each position of the trace path G(x,y);
[0031] The grayscale value comparison unit is configured to compare the first grayscale value G(x, y, g1) of the trace path with a standard grayscale value H(x, y, g2) of the trace path to obtain a grayscale difference G(x, y, Δg) of the trace path; wherein the standard value H(x, y, g2) is the required color depth of the trace path at each position of the sole;
[0032] The second marking position acquiring unit is configured to identify a second marking position on the trace path requiring a second marking according to the grayscale difference G(x, y, Δg) of the trace path;
[0033] The path optimization unit is configured to optimize the trace path according to the second marking position to generate a second marking path I(x, y);
[0034] The second marking power obtaining unit is configured to obtain the second marking power I(x, y, P) corresponding to each position of the second marking path I(x, y) according to the grayscale difference G(x, y, Δg) of the second marking position and the second marking path I(x, y);
[0035] The second marking control unit is used to control the laser head to perform the second marking on the second marking path I(x, y) according to the second marking power I(x, y, P), so that the color depth of the marking pattern on the sole surface meets the requirements.
[0036] Optionally, the second marking position acquiring unit is specifically configured to:
[0037] Determine in sequence whether the absolute value of Δg in each grayscale difference G(x, y, Δg) is greater than the preset grayscale difference Δg hIf yes, the position corresponding to the grayscale difference G(x, y, Δg) is determined as the second marking position; if not, the position corresponding to the grayscale difference G(x, y, Δg) is determined as the completed marking position.
[0038] Optionally, the path optimization unit includes: a non-marking position removal subunit and a path connection generation subunit;
[0039] The non-marking position removing subunit is used to remove each position other than the second marking position in the second marking position;
[0040] The path connection generating subunit is configured to optimally connect the second marking positions, generate the second marking path I(x, y), and ensure that the second marking path I(x, y) is the shortest.
[0041] Optionally, the second marking control unit includes: a marking time obtaining subunit, a power control function graph generating subunit and a marking control subunit;
[0042] The marking time obtaining subunit is used to obtain the marking time of each position of the second marking path I(x,y) according to the second marking path I(x,y);
[0043] The power control function graph generating subunit is configured to generate a power control function graph showing a change in power according to time based on the second marking power I(x, y, P) and the marking time of the corresponding position;
[0044] The marking control subunit is used to control the laser head to perform power conversion according to the power control function diagram, and to move according to the second marking path I(x, y) to perform the second marking.
[0045] Optionally, the system further comprises: a mist extractor, and the main control module further comprises a mist extractor control unit;
[0046] The mist absorber control unit is used to control the mist absorber to absorb the smoke generated during the laser head marking process so that the smoke does not block the laser; wherein the smoke is generated by the laser burning the sole surface.
[0047] Beneficial effects of the present invention: 1. The present invention leaves a trace path of the required marking pattern on the sole through the first marking, and then obtains the grayscale value of the trace path in combination with image recognition, and judges whether the laser marking at the corresponding position is completed (that is, the marking color depth meets the preset requirements) from the grayscale value. If it is not completed, it means that a second marking is required, and the power of the second marking is determined according to the grayscale value so that the trace path is completely marked after the second marking. The present invention combines two markings with image recognition, and through the first rough marking and the second supplementary marking, the marking color depth meets the requirements. Compared with the prior art that requires the input of the sole model for training and marking according to the concave and convex shape of the sole model, the process of the present invention is simpler and more convenient, and simplifies the process and improves efficiency. 2. The present invention identifies the trace path G(x, y) corresponding to the laser path F(x, y) in the first image based on the laser path F(x, y). The present invention makes the laser path F(x, y) correspond to the trace path G(x, y), and the two have the same precision, which will make the second marking consistent with the first marking, and there will be no skewed marking. Directly identifying the trace path may cause the marking center to be skewed because the recognition accuracy does not match the laser path accuracy. 3. The present invention identifies the second marking position on the trace path that requires the second marking based on the grayscale difference G(x, y, Δg) of the trace path; optimizes the trace path based on the second marking position to generate the second marking path I(x, y). The present invention can optimize the laser path when performing the second marking to reduce the area passed by the laser head and the detour length, which can effectively improve the efficiency of the second marking. 4. The present invention also controls the mist absorber to absorb the smoke during the marking process to ensure that the smoke does not block the laser, thereby affecting the marking effect. In summary, the present invention can ensure that the color depth of the laser marking pattern on the sole is consistent with the required color depth, avoid laser deviation, and increase marking efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 This is a schematic flow chart of a shoe sole laser marking method provided by a specific embodiment of the present invention;
[0049] Figure 2 This is a structural diagram of a shoe sole laser marking system provided by a specific embodiment of the present invention;
[0050] Figure 3 It is a comparative schematic diagram of the trace path image recognition accuracy provided by a specific embodiment of the present invention. DETAILED DESCRIPTION
[0051] The present invention discloses a method and system for laser marking shoe soles. Those skilled in the art may refer to the contents herein and appropriately improve the technical details for implementation. It is particularly important to note that all similar substitutions and modifications obvious to those skilled in the art are considered to be included in the present invention. The methods and applications of the present invention have been described through preferred embodiments. It is obvious that those skilled in the art can modify or appropriately alter and combine the methods and applications described herein to implement and apply the technology of the present invention without departing from the content, spirit, and scope of the present invention.
[0052] The applicant has found through research that during the implementation of the present invention, if the ordinary recognition method is used to identify the trace path left by a marking without combining the laser path, it is very likely that the second marking will be skewed due to the difference between the image recognition accuracy and the laser marking accuracy.
[0053] Specifically in the application process, it is assumed that Figure 3 As shown, the trace path width is 0.43mm and is formed by laser marking with the center at 0.2mm (the difference between the trace width and the marking accuracy is because the width becomes larger due to burning), the marking accuracy is 0.1mm, and the ordinary image recognition accuracy is 0.07mm. If the laser path of the first marking is followed, marking can be performed at 0.2mm, but according to the image recognition accuracy, marking needs to be performed with the center at 0.21mm. At this time, the marking accuracy and the ordinary image recognition accuracy deviate, that is, the marking accuracy and the ordinary image recognition accuracy do not match. If ordinary image recognition is used, the center of the first marking and the second marking at the same position will be different, resulting in a skewed pattern.
[0054] Therefore, the embodiment of the present invention provides a sole laser marking method, such as Figure 1 As shown, the method includes:
[0055] Step S101: Obtain a required marking pattern for the sole; and obtain a laser path F(x, y) according to the required marking pattern.
[0056] Where x and y are the horizontal and vertical coordinates of the laser path relative to the top view of the shoe sole. The connection between the nearest adjacent points in F(x,y) is the laser path. The x and y values in G(x,y), H(x,y,g2), and I(x,y) correspond to the x and y values in F(x,y).
[0057] Step S102: In response to the sole being fixed on the marking workbench, the laser head is controlled to perform a first marking on the sole at a preset power according to the laser path F(x, y).
[0058] Among them, the marking workbench is a rotatable workbench, which is used to rotate different surfaces of the sole toward the laser head for marking.
[0059] It should be noted that the preset power for the first marking process leaves an outline of the desired pattern on the sole, while ensuring that the color depth of the mark does not exceed the required color depth. The preset power is determined based on the required minimum color depth, ensuring that the color depth produced by marking at its focal point is exactly the required minimum color depth. This effectively prevents the marking from being darker than the required color depth. The rotatable worktable ensures that laser marking can be performed on every surface of the sole, and allows for full automation, reducing labor costs and improving efficiency.
[0060] Step S103: controlling the camera to capture an image of the shoe sole after the first marking to obtain a first image.
[0061] In a specific embodiment, the camera is arranged above the marking workbench, and the shooting angle is from directly above the marking workbench downward, so that the top view of the sole is the shooting plane.
[0062] It should be noted that shooting from directly above is to avoid being blocked by the sole structure and to align with the marking direction of the laser head. This will prevent the laser head from missing the marked position.
[0063] Step S104: According to the laser path F(x,y), identify the trace path G(x,y) corresponding to the laser path F(x,y) in the first image; identify the first grayscale value G(x,y,g1) corresponding to each position of the trace path G(x,y).
[0064] In a specific embodiment, the trace path recognition and the ordinary image recognition are compared based on the laser path. Figure 3 shown. Figure 3 In the example, the width of the trace path formed by the first marking is 0.43mm. This trace is formed by laser marking at a center of 0.2mm. Due to the unevenness of the marking area, the burn mark on one side is slightly larger than the other side (i.e., the width of one side is 0.23mm and the other side is 0.2mm). The marking accuracy is 0.1mm, and the ordinary image recognition accuracy is 0.07mm. When the trace path is recognized according to the laser path F(x,y), the marking center is 0.2mm, while the marking center according to ordinary image recognition is 0.21mm. At this time, the marking accuracy and the ordinary image recognition accuracy deviate, that is, the marking accuracy and the ordinary image recognition accuracy do not match. If ordinary image recognition is used, the center of the first marking and the second marking at the same position will be different, resulting in a skewed pattern.
[0065] It should be noted that the present invention adopts the method of identifying the trace path G(x, y) corresponding to the laser path F(x, y) in the first image based on the laser path F(x, y), which can well solve the problem of matching image recognition accuracy with marking accuracy, and will not cause the problem of different marking centers of the second marking and the first marking at the same position, and will not cause the problem of skewed marking.
[0066] Step S105 : Compare the first grayscale value G(x, y, g1) of the trace path with the standard grayscale value H(x, y, g2) of the trace path to obtain the grayscale difference G(x, y, Δg) of the trace path.
[0067] The standard value H(x,y,g2) is the required color depth of the trace path at each location on the sole. In other words, the required color depth of the marking pattern on the sole.
[0068] In one embodiment, Δg=|g1-g2|.
[0069] It should be noted that the marking power is positively correlated with the depth of the marking color. Generally speaking, the relationship is proportional: the greater the marking power, the darker the marking color. The specific relationship can be determined experimentally, allowing the corresponding marking power to be determined based on the marking color requirements. In this embodiment of the present invention, the second marking power can be obtained using the grayscale difference G(x, y, Δg).
[0070] Step S106 : identifying a second marking position on the trace path that requires a second marking according to the grayscale difference G(x, y, Δg) of the trace path.
[0071] Optionally, identifying a second marking position on the trace path requiring a second marking according to the grayscale difference G(x, y, Δg) of the trace path includes:
[0072] Determine in turn whether the absolute value of Δg in each grayscale difference G(x, y, Δg) is greater than the preset grayscale difference Δg h If yes, the position corresponding to the grayscale difference G(x, y, Δg) is determined as the second marking position; if not, the position corresponding to the grayscale difference G(x, y, Δg) is determined as the completed marking position.
[0073] It should be noted that the preset grayscale difference Δg h The setting can reduce the impact of external factors on the marking color depth. That is, the color depth of the first grayscale value G(x,y,g1) and its corresponding required color depth can be within a preset error range. This can greatly speed up marking efficiency while ensuring marking quality. At the same time, it also prepares for the next step of optimizing the path.
[0074] Step S107: Optimize the trace path according to the second marking position to generate a second marking path I(x, y); obtain the second marking power I(x, y, P) corresponding to each position of the second marking path I(x, y) according to the grayscale difference G(x, y, Δg) of the second marking position and the second marking path I(x, y).
[0075] It should be noted that the grayscale difference G(x, y, Δg) is directly proportional to the second marking power I(x, y, P).
[0076] Optionally, the trace path is optimized according to the second marking position to generate a second marking path I(x,y), including:
[0077] Obtaining a second marking position, and removing each position other than the second marking position from the second marking position;
[0078] Optimally connect the second marking positions to generate a second marking path I(x, y) and ensure that the second marking path I(x, y) is the shortest.
[0079] It should be noted that optimizing the marking path can effectively reduce the detour length of the laser head, thereby speeding up the marking efficiency.
[0080] Step S108: Control the laser head to perform a second marking on the second marking path I(x, y) according to the second marking power I(x, y, P), so that the color depth of the marking pattern on the sole surface meets the requirements.
[0081] Optionally, controlling the laser head to perform a second marking on the second marking path I(x, y) according to the second marking power I(x, y, P) includes:
[0082] According to the second marking path I(x,y), the marking time of each position of the second marking path I(x,y) is obtained;
[0083] Generate a power control function diagram showing a change in power according to time based on the second marking power I(x, y, P) and the marking time of the corresponding position;
[0084] The laser head is controlled to perform power conversion according to the power control function diagram, and moves according to the second marking path I(x, y) to perform the second marking.
[0085] It should be noted that the time axis of the power function graph is consistent with the time axis of the second marking path I(x,y). By inputting the power control function graph once, the instability and control lag caused by real-time input control can be reduced.
[0086] Optionally, during the laser head marking process, the method further includes:
[0087] The mist absorber is controlled to absorb the smoke generated during the marking process so that the smoke does not block the laser; wherein the smoke is generated by the laser burning the surface of the sole.
[0088] It should be noted that laser marking will produce smoke when burning the soles of shoes. The smoke will block the laser and make the marking effect worse. The setting of the mist absorber can effectively reduce the smoke and thus reduce the frequency of this problem.
[0089] The shoe sole laser marking method disclosed in this embodiment can ensure that the color depth of the shoe sole laser marking pattern is consistent with the required color depth, avoid laser deviation, and increase marking efficiency.
[0090] Based on the shoe sole laser marking method provided in the above embodiment, the present invention also provides a shoe sole laser marking system adapted to the above method, the system comprises: a laser head, a marking workbench, a camera and a main control module; the main control module is as follows Figure 2 The system includes: a laser path obtaining unit 201, a first marking control unit 202, an image acquisition control unit 203, an image recognition unit 204, a gray value comparison unit 205, a second marking position obtaining unit 206, a path optimization unit 207, a second marking power obtaining unit 208, and a second marking control unit 209;
[0091] The laser path obtaining unit 201 is used to obtain the required marking pattern of the sole; according to the required marking pattern, the laser path F(x, y) is obtained; wherein x and y are the horizontal and vertical coordinates of the laser path with the top view of the sole as the plane;
[0092] a first marking control unit 202 for controlling a laser head to perform a first marking on the sole at a preset power in response to the sole being fixed on the marking workbench; wherein the marking workbench is a rotatable workbench for sequentially rotating different surfaces of the sole toward the laser head for marking;
[0093] An image acquisition control unit 203 is used to control a camera to acquire an image of the shoe sole after the first marking to obtain a first image;
[0094] The image recognition unit 204 is configured to identify, based on the laser path F(x,y), a trace path G(x,y) corresponding to the laser path F(x,y) in the first image; and identify a first grayscale value G(x,y,g1) corresponding to each position of the trace path G(x,y).
[0095] A grayscale value comparison unit 205 is configured to compare the first grayscale value G(x, y, g1) of the trace path with the standard grayscale value H(x, y, g2) of the trace path to obtain a grayscale difference G(x, y, Δg) of the trace path; wherein the standard value H(x, y, g2) is the required color depth of the trace path at each position on the sole;
[0096] A second marking position acquiring unit 206 is configured to identify a second marking position on the trace path that requires a second marking according to the grayscale difference G(x, y, Δg) of the trace path;
[0097] A path optimization unit 207 is configured to optimize the trace path according to the second marking position to generate a second marking path I(x, y);
[0098] A second marking power obtaining unit 208 is configured to obtain a second marking power I(x, y, P) corresponding to each position of the second marking path I(x, y) based on the grayscale difference G(x, y, Δg) at the second marking position and the second marking path I(x, y);
[0099] The second marking control unit 209 is used to control the laser head to perform a second marking on the second marking path I(x,y) according to the second marking power I(x,y,P), so that the color depth of the marking pattern on the sole surface meets the requirements.
[0100] In a specific embodiment, the second marking position obtaining unit 206 is specifically configured to:
[0101] Determine in turn whether the absolute value of g in each grayscale difference G(x, y, Δg) is greater than the preset grayscale difference Δg h If yes, the position corresponding to the grayscale difference G(x, y, Δg) is determined as the second marking position; if not, the position corresponding to the grayscale difference G(x, y, Δg) is determined as the completed marking position.
[0102] In a specific embodiment, the path optimization unit 207 includes: a non-marking position removal subunit and a path connection generation subunit;
[0103] a non-marking position removing subunit, configured to remove positions other than the second marking position from the second marking position;
[0104] The path connection generating subunit is used to optimally connect the second marking positions, generate a second marking path I(x, y) and ensure that the second marking path I(x, y) is the shortest.
[0105] In a specific embodiment, the second marking control unit 209 includes: a marking time obtaining subunit, a power control function graph generating subunit, and a marking control subunit;
[0106] a marking time obtaining subunit, configured to obtain the marking time of each position of the second marking path I(x,y) according to the second marking path I(x,y);
[0107] A power control function graph generating subunit, configured to generate a power control function graph showing a power change according to time based on the second marking power I(x, y, P) and the marking time of the corresponding position;
[0108] The marking control subunit is used to control the laser head to perform power conversion according to the power control function diagram, and move according to the second marking path I (x, y) to perform the second marking.
[0109] In a specific embodiment, the system further comprises: a mist extractor, and the main control module further comprises a mist extractor control unit;
[0110] The mist absorber control unit is used to control the mist absorber to absorb the smoke generated during the laser head marking process so that the smoke will not block the laser; wherein the smoke is generated by the laser burning the sole surface.
[0111] In summary, the embodiment of the present invention leaves a trace path of the marking required pattern on the sole through the first marking, and then obtains the grayscale value of the trace path in combination with image recognition, and judges whether the laser marking at the corresponding position is completed (that is, the marking color depth meets the preset requirements) from the grayscale value. If it is not completed, it means that a second marking is required, and the power of the second marking is determined according to the grayscale value so that the trace path is completely marked after the second marking. The embodiment of the present invention combines two markings with image recognition, and through the first rough marking and the second supplementary marking, the marking color depth meets the requirements. Compared with the prior art that requires the input of the sole model for training and marking according to the concave and convex shape of the sole model, the process of the embodiment of the present invention is simpler and more convenient, and simplifies the process and improves efficiency. The embodiment of the present invention identifies the trace path G(x, y) corresponding to the laser path F(x, y) in the first image based on the laser path F(x, y). The embodiment of the present invention makes the laser path F(x,y) correspond to the trace path G(x,y), and the accuracy of the two is consistent, which will make the second marking consistent with the first marking, and there will be no skewed marking. Directly identifying the trace path may cause the marking center to be skewed because the recognition accuracy does not match the laser path accuracy. The embodiment of the present invention identifies the second marking position on the trace path that requires the second marking based on the grayscale difference G(x,y,Δg) of the trace path; optimizes the trace path based on the second marking position to generate the second marking path I(x,y). The embodiment of the present invention can optimize the laser path when performing the second marking to reduce the area passed by the laser head and the detour length, which can effectively improve the efficiency of the second marking. The embodiment of the present invention also controls the mist absorber to absorb the smoke during the marking process to ensure that the smoke does not block the laser, thereby affecting the marking effect.
[0112] The embodiment of the present invention can ensure that the color depth of the laser-marked pattern on the sole is consistent with the required color depth, avoid laser deviation, and increase marking efficiency.
[0113] It should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.
[0114] Each embodiment in this specification is described in a related manner. Similar parts between the various embodiments can be referred to in conjunction with each other. Each embodiment focuses on the differences between the other embodiments. In particular, the system embodiment is generally similar to the method embodiment, so the description is relatively simple. For related parts, refer to the description of the method embodiment.
[0115] The above are only preferred embodiments of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention are included in the scope of protection of the present invention.
Claims
1. A shoe sole laser marking method, characterized in that: The method comprises: Obtain the required marking pattern of the sole; obtain the laser path F(x, y) according to the required marking pattern; wherein x and y are the horizontal coordinate and vertical coordinate of the laser path with the top view of the sole as the plane; In response to the sole being fixed on the marking workbench, controlling the laser head to perform a first marking on the sole at a preset power according to the laser path F(x, y); wherein the marking workbench is a rotatable workbench, used to rotate different surfaces of the sole in sequence toward the laser head for marking; Controlling a camera to capture an image of the shoe sole after the first marking to obtain a first image; According to the laser path F(x,y), identifying a trace path G(x,y) corresponding to the laser path F(x,y) in the first image; identifying a first gray value G(x,y,g1) corresponding to each position of the trace path G(x,y); Compare the first grayscale value G(x, y, g1) of the trace path with the standard grayscale value H(x, y, g2) of the trace path to obtain the grayscale difference G(x, y, Δg) of the trace path; wherein the standard grayscale value H(x, y, g2) is the required color depth of the trace path at each position of the sole; According to the grayscale difference G(x, y, Δg) of the trace path, identifying a second marking position on the trace path that requires a second marking; Optimizing the trace path according to the second marking position to generate a second marking path I(x, y); obtaining a second marking power I(x, y, P) corresponding to each position of the second marking path I(x, y) according to the grayscale difference G(x, y, Δg) of the second marking position and the second marking path I(x, y); Controlling the laser head to perform the second marking on the second marking path I(x, y) according to the second marking power I(x, y, P), so that the color depth of the marking pattern on the surface of the sole meets the requirement; The step of identifying the second marking position on the trace path that requires the second marking according to the grayscale difference G(x, y, Δg) of the trace path includes: sequentially determining whether the absolute value of Δg in each of the grayscale difference G(x, y, Δg) is greater than a preset grayscale difference Δg. h , if yes, the position corresponding to the grayscale difference G(x, y, Δg) is determined as the second marking position; if no, the position corresponding to the grayscale difference G(x, y, Δg) is determined as the completed marking position; The step of optimizing the trace path according to the second marking position to generate the second marking path I(x, y) includes: obtaining the second marking position, removing each position of the second marking position that is not the second marking position; optimally connecting each of the second marking positions to generate the second marking path I(x, y) and ensuring that the second marking path I(x, y) is the shortest; The controlling of the laser head to perform the second marking on the second marking path I(x, y) according to the second marking power I(x, y, P) includes: obtaining the marking time of each position of the second marking path I(x, y) according to the second marking path I(x, y); generating a power control function diagram showing the change of power according to time according to the second marking power I(x, y, P) and the marking time of the corresponding position; controlling the laser head to perform power conversion according to the power control function diagram, and performing the second marking by moving according to the second marking path I(x, y).
2. The shoe sole laser marking method according to claim 1, characterized in that: During the laser head marking process, the method further includes: The mist absorber is controlled to absorb smoke generated during the marking process so that the smoke does not block the laser; wherein the smoke is generated by the laser burning the surface of the sole.
3. A shoe sole laser marking system, characterized in that: The system includes: a laser head, a marking workbench, a camera and a main control module; the main control module includes: a laser path acquisition unit, a first marking control unit, an image acquisition control unit, an image recognition unit, a gray value comparison unit, a second marking position acquisition unit, a path optimization unit, a second marking power acquisition unit and a second marking control unit; The laser path obtaining unit is used to obtain the required marking pattern of the sole; according to the required marking pattern, the laser path F(x, y) is obtained; wherein x and y are the horizontal coordinate and vertical coordinate of the laser path with the top view of the sole as the plane; The first marking control unit is used for controlling the laser head to perform a first marking on the sole at a preset power according to the laser path F(x, y) in response to the sole being fixed on the marking workbench; wherein the marking workbench is a rotatable workbench, which is used for rotating different surfaces of the sole in sequence toward the laser head for marking; The image acquisition control unit is used to control the camera to acquire an image of the shoe sole after the first marking to obtain a first image; The image recognition unit is used to identify the trace path G(x,y) corresponding to the laser path F(x,y) in the first image according to the laser path F(x,y); and identify the first gray value G(x,y,g1) corresponding to each position of the trace path G(x,y); The grayscale value comparison unit is used to compare the first grayscale value G(x, y, g1) of the trace path with the standard grayscale value H(x, y, g2) of the trace path to obtain the grayscale difference G(x, y, Δg) of the trace path; wherein the standard grayscale value H(x, y, g2) is the required color depth of the trace path at each position of the sole; The second marking position acquisition unit is used to identify a second marking position on the trace path that requires a second marking according to the grayscale difference G(x, y, △g) of the trace path; The path optimization unit is used to optimize the trace path according to the second marking position to generate a second marking path I (x, y); The second marking power obtaining unit is used to obtain the second marking power I(x, y, P) corresponding to each position of the second marking path I(x, y) according to the grayscale difference G(x, y, Δg) of the second marking position and the second marking path I(x, y); The second marking control unit is used to control the laser head to perform the second marking on the second marking path I(x, y) according to the second marking power I(x, y, P), so that the color depth of the marking pattern on the surface of the sole meets the requirement; The second marking position acquisition unit is specifically used to: sequentially determine whether the absolute value of Δg in each of the grayscale difference values G(x, y, Δg) is greater than a preset grayscale difference Δg h , if yes, the position corresponding to the grayscale difference G(x, y, Δg) is determined as the second marking position; if no, the position corresponding to the grayscale difference G(x, y, Δg) is determined as the completed marking position; The path optimization unit includes: a non-marking position removal subunit and a path connection generation subunit; the non-marking position removal subunit is used to remove each position other than the second marking position in the second marking position; the path connection generation subunit is used to optimally connect each of the second marking positions, generate the second marking path I(x, y) and ensure that the second marking path I(x, y) is the shortest; The second marking control unit includes: a marking time acquisition subunit, a power control function graph generation subunit and a marking control subunit; the marking time acquisition subunit is used to obtain the marking time of each position of the second marking path I(x, y) according to the second marking path I(x, y); the power control function graph generation subunit is used to generate a power control function graph in which the power changes according to time based on the second marking power I(x, y, P) and the marking time of the corresponding position; the marking control subunit is used to control the laser head to perform power conversion according to the power control function graph, and perform the second marking according to the movement of the second marking path I(x, y).
4. The shoe sole laser marking system according to claim 3, characterized in that: The system further comprises: a demisting device, and the main control module further comprises a demisting device control unit; The mist absorber control unit is used to control the mist absorber to absorb the smoke generated during the laser head marking process so that the smoke will not block the laser; wherein the smoke is generated by the laser burning the surface of the sole.
Citation Information
Patent Citations
Continuous marking method and marking device
CN107931848A
Method for engraving images with radiation on a radiation sensitive layer, especially for laser engraving
EP0975148A1