Image recognition-based automatic positioning adjustment method and device, equipment and medium
By automatically detecting and adjusting the orientation of the board material using image recognition technology, the problem of inaccurate positioning during board processing is solved, enabling efficient and precise board cutting.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHENZHEN XINGHUOSHENG TECH CO LTD
- Filing Date
- 2023-12-01
- Publication Date
- 2026-07-31
AI Technical Summary
In existing technologies, it is impossible to achieve precise positioning and adjustment of the board's orientation during the board processing, resulting in inaccurate cutting.
An automatic positioning and adjustment method based on image recognition is adopted. The detection component acquires image information, determines whether the detection and correction conditions are met, and generates corresponding control signals to drive the rotation adjustment component and the cutting component to perform automatic positioning and adjustment of the board.
It achieves efficient and precise positioning and adjustment of the board material, improving the accuracy and efficiency of board cutting.
Smart Images

Figure CN117655808B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent control technology, and in particular to an automatic positioning and adjustment method, device, equipment and medium based on image recognition. Background Technology
[0002] In the process of processing sheet metal, sheet metal processing equipment needs to transfer and cut the sheet metal simultaneously to remove waste material from the sides. When the sheet metal cutting device is working, the sheet metal can be conveyed into the cutting device, and its orientation can be manually adjusted. However, manual adjustment of the sheet metal's orientation lacks accuracy and relies on the operator's experience. Existing technologies also disclose using suction cups to pick up the sheet metal and rotate it to adjust its orientation before cutting the sides. However, the suction cup cannot accurately adjust the sheet metal's angle during rotation, resulting in an inability to precisely adjust the sheet metal's orientation and accurately cut the sides. Therefore, existing technologies suffer from the problem of not being able to automatically and accurately position and adjust the sheet metal's orientation. Summary of the Invention
[0003] This invention provides an automatic positioning and adjustment method, device, equipment, and medium based on image recognition, aiming to solve the problem in the prior art that it is impossible to automatically and accurately position and adjust the orientation of the board material.
[0004] In a first aspect, embodiments of the present invention provide an automatic positioning and adjustment method based on image recognition. The method is applied to a controller of an automatic positioning and adjustment device, which further includes a detection component, a rotation adjustment component, and a cutting component. The controller is communicatively connected to the detection component, the rotation adjustment component, and a first cutting translation driver configured in the cutting component. The detection component includes two image detectors. The method includes:
[0005] Receive the image information detected by the detection component, and determine whether the two detection images contained in the image information meet the preset detection conditions;
[0006] If the image information meets the detection conditions, determine whether the image information meets the preset correction conditions;
[0007] If the image information satisfies the correction condition, a corresponding correction strategy is determined based on the image information, and a correction control signal is generated and output to the rotation adjustment component. Then, the process returns to the step of receiving the image information detected by the detection component.
[0008] If the image information does not meet the correction conditions, pixel analysis is performed on the image information according to the preset image analysis rules to obtain the corresponding pixel analysis information;
[0009] The pixel parsing is analyzed according to the preset adjustment analysis rules to obtain the corresponding adjustment parameter information;
[0010] Based on the adjustment parameter information, corresponding rotation adjustment control signals and translation adjustment control signals are generated and output to the rotation adjustment component and the first cutting translation driver, respectively.
[0011] If the image information does not meet the detection conditions, an alarm message is generated.
[0012] Secondly, embodiments of the present invention also provide an automatic positioning and adjustment device based on image recognition, wherein a controller in the automatic positioning and adjustment device is used to execute the automatic positioning and adjustment method based on image recognition described in the first aspect, and the device includes:
[0013] The plate is placed on the upper surface of the adjustment plate, the rotary adjustment assembly is located below the adjustment plate, the rotary adjustment assembly's rotary connector is fixedly connected to the adjustment plate, and the rotary adjustment assembly generates a driving force to drive the rotary connector to rotate, thereby causing the adjustment plate and the plate placed on the adjustment plate to rotate together.
[0014] The horizontal adjustment assembly includes a horizontal driver, a slide rail, and an adjustment sliding plate mounted on the slide rail. The horizontal driver drives the adjustment sliding plate to slide along the slide rail.
[0015] The two sets of suction support assemblies are respectively assembled on opposite sides of the adjusting sliding plate; the detection assembly is disposed between the two sets of suction support assemblies; the two sets of cutting assemblies are respectively disposed on both sides of the adjusting plate;
[0016] The cutting assembly includes a first cutting translation driver, an assembly base plate, a first cutting guide rail, a cutting support plate, a second cutting translation driver, a second cutting guide rail, and a cutter. The first cutting guide rail is mounted on the machine base, the assembly base plate is mounted on the first cutting guide rail, and the drive shaft of the first cutting translation driver is connected to the assembly base plate. The first cutting translation driver generates a driving force to drive the assembly base plate to slide along the first cutting guide rail. The second cutting guide rail is fixedly disposed on the upper end face of the assembly base plate, the cutting support plate is mounted on the second cutting guide rail, and the drive shaft of the second cutting translation driver is connected to the cutting support plate. The second cutting translation driver generates a driving force to drive the cutting support plate to slide along the second cutting guide rail. The cutter is mounted on the cutting support plate. The axial direction of the first cutting guide rail is perpendicular to the axial direction of the second cutting guide rail. The bottom surface of the pressing support is fixedly connected to the assembly base plate, the pressing cylinder is fixedly disposed on the pressing support, and the output shaft of the pressing cylinder is fixedly connected to the pressing plate.
[0017] The adjusting plate is provided with side supports on both sides, and the side supports are located below the two sides of the adjusting plate and abut against the bottom surface of the adjusting plate; the bottom of the side supports is fixedly connected to the mounting base plate; a pressing plate and a side support are respectively provided on the two opposite sides of the adjusting plate.
[0018] The suction bracket assembly includes a suction fixing plate, a vertical driver, and a suction bracket; the suction fixing plate is fixedly mounted on the side of the adjusting sliding plate, the vertical driver is mounted on the suction fixing plate, and the suction bracket is fixedly connected to a sliding member provided on the vertical driver; the suction assembly is mounted on the bottom of the suction bracket.
[0019] The suction assembly includes a first support rod layer, a second support rod layer, a first fixed beam, a second fixed beam, a third fixed beam, a first slider mounted on the first fixed beam, a second slider mounted on the second fixed beam, a third slider mounted on the third fixed beam, and a fourth slider.
[0020] The first support rod layer includes multiple parallel upper support rods, and the second support rod layer includes multiple parallel lower support rods; the upper support rods are disposed on the lower support rods, and the intersection points of the upper support rods and the lower support rods are rotatably connected by a pivot; at least one suction cup is fixedly connected to the lower end of each lower support rod.
[0021] The first slider and the fourth slider are fixedly connected to the same upper support rod via a connecting frame; the second slider and the third slider are rotatably connected to another upper support rod via a connecting frame; the third slider and the fourth slider are slidably connected via a sliding ruler.
[0022] Thirdly, embodiments of the present invention also provide a computer device, wherein the device includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus;
[0023] Memory, used to store computer programs;
[0024] When a processor executes a program stored in memory, it implements the steps of the image recognition-based automatic positioning and adjustment method described in the first aspect above.
[0025] Fourthly, embodiments of the present invention also provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the automatic positioning and adjustment method based on image recognition as described in the first aspect above.
[0026] This invention provides an automatic positioning and adjustment method, apparatus, device, and medium based on image recognition. The method includes: receiving image information detected by a detection component and determining whether the image information meets detection conditions; if the detection conditions are met, determining whether the image information meets correction conditions; if the correction conditions are met, determining a corresponding correction strategy and generating a correction control signal, outputting it to the rotation adjustment component, and then receiving the image information detected by the detection component again; if the correction conditions are not met, performing pixel analysis on the image information to obtain pixel analysis information, analyzing it to obtain adjustment parameter information, and then generating a rotation adjustment control signal and a translation adjustment control signal; if the detection conditions are not met, generating an alarm message. The above-mentioned automatic positioning and adjustment method can determine whether the image information meets detection and correction conditions, and perform pixel analysis to automatically position and adjust the board material, featuring high adjustment efficiency and high adjustment accuracy. Attached Figure Description
[0027] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0028] Figure 1 A flowchart illustrating the automatic positioning and adjustment method based on image recognition provided in an embodiment of the present invention;
[0029] Figure 2 The image shows the application effect of the automatic positioning and adjustment method based on image recognition provided in the embodiment of the present invention.
[0030] Figure 3 A schematic diagram of the electrical connection structure of the automatic positioning and adjustment device based on image recognition provided in an embodiment of the present invention;
[0031] Figure 4 This is an overall structural diagram of the automatic positioning and adjustment device based on image recognition provided in an embodiment of the present invention;
[0032] Figure 5 This is an internal structural diagram of an image recognition-based automatic positioning and adjustment device provided in an embodiment of the present invention.
[0033] Figure 6 Another internal structure diagram of the automatic positioning and adjustment device based on image recognition provided in an embodiment of the present invention;
[0034] Figure 7 A partial structural diagram of the automatic positioning and adjustment device based on image recognition provided in an embodiment of the present invention;
[0035] Figure 8 Another structural diagram of the automatic positioning and adjustment device based on image recognition provided in an embodiment of the present invention;
[0036] Figure 9 Another partial structural diagram of the automatic positioning and adjustment device based on image recognition provided in an embodiment of the present invention;
[0037] Figure 10 Another partial structural diagram of the automatic positioning and adjustment device based on image recognition provided in an embodiment of the present invention;
[0038] Figure 11 This is a structural diagram of the suction assembly provided in an embodiment of the present invention;
[0039] Figure 12 Another structural diagram of the suction component provided in an embodiment of the present invention;
[0040] Figure 13 This is a structural diagram of the suction support assembly and suction assembly provided in an embodiment of the present invention;
[0041] Figure 14 This is a partial structural diagram of the suction support assembly provided in an embodiment of the present invention;
[0042] Figure 15 This is another partial structural diagram of the suction support assembly provided in an embodiment of the present invention;
[0043] Figure 16 This is a structural diagram of the side support provided in an embodiment of the present invention;
[0044] Figure 17 This is a structural diagram of the rotation adjustment assembly provided in an embodiment of the present invention;
[0045] Figure 18 This is a partial structural diagram of the rotation adjustment assembly provided in an embodiment of the present invention;
[0046] Figure 19 This is an external structural diagram of the detection component provided in an embodiment of the present invention;
[0047] Figure 20 This is an internal structural diagram of the detection component provided in an embodiment of the present invention;
[0048] Figure 21 This is a partial structural diagram of the cutting assembly provided in an embodiment of the present invention;
[0049] Figure 22 This is another partial structural diagram of the cutting assembly provided in an embodiment of the present invention;
[0050] Figure 23 This is another partial structural diagram of the cutting assembly provided in an embodiment of the present invention;
[0051] Figure 24 This is another partial structural diagram of the cutting assembly provided in an embodiment of the present invention;
[0052] Figure 25 A schematic block diagram of a computer device provided for an embodiment of the present invention.
[0053] Reference numerals: 10. Adjustment plate; 101. Machine base; 102. Housing; 20. Rotation adjustment assembly; 30. Horizontal adjustment assembly; 40. Suction bracket assembly; 50. Suction assembly; 60. Detection assembly; 70. Cutting assembly; 1. Sheet material; 21. Rotary connector; 31. Horizontal driver; 311. Horizontal guide rod; 32. Slide rail assembly; 321. Slide rail; 33. Adjustment sliding plate; 41. Suction fixing plate; 42. Vertical driver ; 421. Sliding component; 422. Vertical guide rod; 43. Suction bracket; 51. First support layer; 52. Second support layer; 53. First fixed beam; 54. Second fixed beam; 55. Third fixed beam; 531. First slider; 541. Second slider; 551. Third slider; 552. Fourth slider; 56. Suction cup; 532. Connecting frame; 533. Sliding ruler; 534. Long strip groove; 44. Sensing component; 441. Sensor ; 442. Induction fixing block; 443. Induction rod; 45. Feeding cylinder; 451. Cylinder connecting plate; 452. Feeding top block; 11. Side support; 111. Bottom support; 112. Support rod; 22. Rotary motor; 23. Rotary adjusting suction cup; 71. First cutting translation driver; 72. Assembly base plate; 73. First cutting guide rail; 74. Cutting support plate; 75. Second cutting translation driver; 76. Second cutting guide rail; 77. Cutter; 741, Pressing support; 742, Pressing cylinder; 743, Pressing plate; 61, Image detector; 611, Ring light; 612, Objective lens; 613, Image acquisition device; 771, First cutting lifting cylinder; 772, Second cutting lifting cylinder; 773, First cutting motor; 774, Cutting blade; 775, Second cutting motor; 78, First protective cover; 79, Second protective cover; 781, Suction pipe; 8, Controller. Detailed Implementation
[0054] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0055] It should be understood that, when used in this specification and the appended claims, the terms "comprising" and "including" indicate the presence of the described features, integrals, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.
[0056] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the invention. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.
[0057] It should also be further understood that the term "and / or" as used in this specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0058] Please see Figure 1 and Figure 3 As shown in the figure, an embodiment of this invention provides an automatic positioning and adjustment method based on image recognition. This method is applied in the controller 8 of an automatic positioning and adjustment device, which includes a detection component 60, a rotation adjustment component 20, and a cutting component 70. The controller 8 is communicatively connected to the first cutting translation driver 71 configured in the detection component 60, the rotation adjustment component 20, and the cutting component 70. The detection component 60 includes two image detectors 61. Figure 1 As shown, the method includes steps S110 to S170.
[0059] S110. Receive the image information detected by the detection component, and determine whether the two detection images contained in the image information meet the preset detection conditions.
[0060] The system receives image information detected by the detection component and determines whether the two detection images contained in the image information meet preset detection conditions. Specifically, the detection component can detect image information. Since the detection component contains two image detectors, it can obtain two corresponding detection images, where the line connecting the center points of the two image detectors is perpendicular to the material conveying direction. When the material is placed above the image detectors, the image detectors can detect the edge positions of the material, and the obtained detection images are all circular images.
[0061] In a specific embodiment, step S110 includes the sub-step of determining whether the pixels contained in the two detection images are not all located in the same pixel interval in the detection conditions, so as to determine whether the image information satisfies the detection conditions.
[0062] After acquiring the image information, it can be determined whether the two detection images in the image information meet the pre-configured detection conditions. Specifically, the detection conditions include two pixel intervals: a covered pixel interval and a blank pixel interval. The pixel interval can be the grayscale value of a pixel, such as a pixel grayscale value of [200, 255] corresponding to the blank pixel interval and a pixel grayscale value of [0, 199] corresponding to the covered pixel interval. The obtained detection images are divided into three types: when the board completely covers the top of the image detector, the pixels in the detection image acquired by the image detector are all located within the covered pixel interval; when the board does not completely cover the image detector, the pixels in the detection image acquired by the image detector are all located within the blank pixel interval; when the edge of the board is located in the middle of the image detector (the board partially covers the image detector), some pixels in the detection image acquired by the image detector are located within the blank pixel interval, and some pixels are located within the covered pixel interval. The pixels in the detection image can be categorized based on the two pixel intervals specified in the detection conditions. This allows us to determine whether all pixels in the detection image are located within the same pixel interval. If all pixels in the two detection images are located within the same pixel interval, it indicates that both image detectors are completely covered by the board material or neither image detector is covered by the board material. In this case, it is impossible to analyze the boundary conditions of the board material or to adjust its positioning; that is, the acquired image information does not meet the detection conditions. If the pixels in the two detection images are not all located within the same pixel interval, it indicates that the boundary conditions of the board material can be analyzed using the image information; that is, the acquired image information meets the detection conditions.
[0063] S120. If the image information meets the detection conditions, determine whether the image information meets the preset correction conditions.
[0064] If the image information meets the detection conditions, it is determined whether the image information meets the preset correction conditions. Further, it can be determined whether the image information meets the correction conditions.
[0065] In a specific embodiment, step S120 includes the sub-step of determining whether the pixels contained in any detection image are located within a pixel range of the detection conditions, so as to determine whether the image information satisfies the correction conditions.
[0066] Specifically, it can be determined whether the pixels contained in the two detection images are located in two different pixel intervals in the detection conditions. That is, it can be determined whether all the pixels in one detection image are located in the blank detection interval and whether all the pixels in the other detection image are located in the covered detection interval. If all the pixels in one detection image are located in the blank detection interval or all the pixels in the other detection image are located in the covered detection interval, then the offset of the board material cannot be analyzed from the two detection images, and the image information is determined to meet the correction conditions. In this case, the board material needs to be corrected. If the pixels in the two detection images are not located in the same pixel interval, then both detection images show that the board material partially covers the image detector. In this case, the offset of the board material can be obtained by analyzing the two detection images, and the image detection information does not meet the correction conditions. In this case, the board material does not need to be corrected.
[0067] S130. If the image information satisfies the correction condition, determine the corresponding correction strategy based on the image information and generate a correction control signal to output to the rotation adjustment component, and return to the step of receiving the image information detected by the detection component.
[0068] Specifically, a corresponding correction strategy can be determined based on the image information, and a correction control signal can be generated and output to the rotation adjustment component based on the correction strategy. The rotation adjustment component can then drive the adjustment plate to rotate according to the correction control signal, and the rotation of the adjustment plate will cause the plate to rotate, thereby realizing the rotation correction of the plate. After the plate is corrected, new image information can be detected again, that is, the process returns to step S110.
[0069] In a specific embodiment, step S130 includes the following sub-steps: using the orientation of the image detector corresponding to the detection image with a larger proportion of blank pixels in the image information as the correction orientation; determining the corresponding correction angle based on the offset angles corresponding to the two detection images in the image information; combining the correction orientation and the correction angle into a corresponding correction strategy and generating the correction control signal.
[0070] Specifically, the correction orientation can be determined based on image information. The ratio of pixels in each detection image that fall within the blank pixel region to the total number of pixels in the detection image is used to obtain the blank pixel percentage. By comparing the blank pixel percentages of two detection images, the orientation of the image detector corresponding to the detection image with the larger percentage is determined as the correction orientation. The correction orientation is essentially rotating towards that direction. The corresponding correction angle is determined based on the offset angles of the two detection images. Specifically, the center point of the line connecting the centers of the two detection images can be determined based on their center positions. The offset angle of the detection image is the angle between the two lines connecting the top and bottom vertices of the circular detection image and the center point of the line. Since the offset angle is a fixed value, it can be used as the correction angle. Combining the correction orientation and correction angle yields the correction strategy. Based on this strategy, a correction control signal can be generated to control the rotation adjustment component.
[0071] S140. If the image information does not meet the correction conditions, perform pixel analysis on the image information according to the preset image analysis rules to obtain the corresponding pixel analysis information.
[0072] If the image information does not meet the correction conditions, there is no need to correct the board material. The image information can be pixel-analyzed according to the image analysis rules. The image analysis rules are the specific rules for pixel analysis of two detection images. After pixel analysis of the two detection images, the pixel analysis information can be obtained.
[0073] In a specific embodiment, step S140 includes the following sub-steps: obtaining the number of first pixels in the covered pixel interval and the number of second pixels in the blank pixel interval of each detection image; calculating the proportion corresponding to the number of first pixels in each detection image to obtain the corresponding pixel number ratio; obtaining the angle between the dividing line of the pixel interval in each detection image and the dividing line of the reference direction according to the reference direction in the image parsing rule; and combining the pixel number ratio and the dividing line angle of each detection image to form the pixel parsing information.
[0074] Specifically, the number of first pixels located within the covered pixel interval and the number of second pixels located within the blank pixel interval in each detected image can be obtained. Each detected image then corresponds to one first pixel count and one second pixel count. The proportion corresponding to the first pixel count in each detected image is calculated to obtain the pixel count ratio. Specifically, the first pixel count and the second pixel count are added together, and the ratio between the first pixel count and the sum is used as the proportion corresponding to the first pixel count. The proportions of the two detected images are then used to obtain the pixel count ratio. The image parsing rules include a reference direction, and the angle between the pixel interval dividing line in the detected image and the reference direction can be obtained. The pixel count ratio and the dividing line angle are combined to form pixel parsing information.
[0075] S150. Analyze the pixel parsing according to the preset adjustment analysis rules to obtain the corresponding adjustment parameter information.
[0076] Furthermore, the pixel analysis information can be analyzed according to the adjustment analysis rules to obtain adjustment parameter information. The adjustment analysis rules are the specific rules for analyzing pixel analysis information. By analyzing the pixel analysis information, the corresponding adjustment parameter information is obtained, which can be used to adjust the positioning of the board material.
[0077] In a specific embodiment, step S150 includes the following sub-steps: calculating the average angle of the segmentation lines of each detected image in the image parsing rule as the adjustment angle; calculating the pixel ratio of each detected image in the image parsing rule according to the offset calculation formula in the adjustment analysis rule to obtain the corresponding offset distance; and combining the adjustment angle and the offset distance as the corresponding adjustment parameter information.
[0078] Specifically, the average angle corresponding to the segmentation line angle of each detected image can be calculated in the image parsing rules. That is, the average angle between two segmentation lines is calculated, and the resulting average angle is used as the adjustment angle. For example... Figure 2 As shown, G is the reference direction and X is the edge line of the board. Assuming that the angle between the two dividing lines is equal, the angle between the line G and the line X is θ, and the adjustment angle is also θ.
[0079] The adjustment analysis rules also include an offset calculation formula. The offset calculation formula can be used to calculate the ratio of the number of pixels to obtain the corresponding offset distance. The offset distance is the lateral distance between the actual center point of the board and the virtual center point (the center point of the line connecting the centers of the two detection images).
[0080] The offset calculation formula can be expressed as follows:
[0081]
[0082] Among them, such as Figure 2 As shown, point A is the actual center point of the board, point B is the virtual center point, k is the lateral distance between the center of the detection image and point B (the lateral distance between the centers of the corresponding circles in the two detection images is equal, both being k), L is the width of the board, r is the radius of the detection image, S1 is the area of the first shadow, b1 is the ratio of the number of pixels corresponding to the left detection image, S0 is the total area of the detection image, so S1 = b1 × S0; S2 is the area of the second shadow, b2 is the ratio of the number of pixels corresponding to the right detection image, so S2 = (1-b2) × S0; f is the lateral distance between the intersection of line G and line X and point B; P is the offset distance. Ψ1 is the first angle, Ψ2 is the second angle, b2, b1, θ, k, r, and L are all known values, while P, f, Ψ1, and Ψ2 are all unknown values. These four unknown values can be obtained analytically through the above four equations, thus solving for the offset distance P.
[0083] The adjustment parameter information can be obtained by combining the adjustment angle and the offset distance. The adjustment parameter information also includes the adjustment direction, which is the orientation of the image detector corresponding to the detection image with a larger pixel ratio in the image information.
[0084] S160. Generate corresponding rotation adjustment control signals and translation adjustment control signals according to the adjustment parameter information, and output them to the rotation adjustment component and the first cutting translation driver, respectively.
[0085] Based on the adjustment parameter information, corresponding rotation adjustment control signals and translation adjustment control signals can be generated. The rotation adjustment control signal is input to the rotation adjustment component for rotation adjustment, and the translation adjustment control signal is input to the first cutting translation driver to adjust the lateral cutting position.
[0086] In a specific embodiment, step S160 includes the following sub-steps: generating a corresponding rotation adjustment control signal based on the adjustment angle in the adjustment parameter information and outputting it to the rotation adjustment component; generating a corresponding translation adjustment control signal based on the offset distance in the adjustment parameter information and outputting it to the first cutting translation driver.
[0087] Specifically, a corresponding rotational adjustment control signal can first be generated based on the adjustment angle and direction in the adjustment parameter information, and then output to the rotational adjustment component. The rotational adjustment component then adjusts the plate rotation according to the adjustment control signal. After the rotational adjustment is completed, a translational adjustment control signal can be generated based on the offset distance and output to the first cutting translational driver. The first cutting translational driver then drives the cutter to perform lateral translation according to the translational adjustment control signal, thereby adjusting the position of the cutter on the edge of the plate. This achieves automatic positioning adjustment of the plate, improving the efficiency and accuracy of positioning adjustment during plate cutting, and increasing plate cutting efficiency.
[0088] S170. If the image information does not meet the detection conditions, generate an alarm message.
[0089] If the image information does not meet the detection conditions, an alarm message can be generated to remind the operator. The operator can adjust the board according to the alarm message so that the board can be automatically positioned and adjusted. After the operator adjusts the board according to the alarm message, the process can return to step S110.
[0090] The automatic positioning and adjustment method based on image recognition provided in this embodiment of the invention receives image information detected by a detection component and determines whether the image information meets the detection conditions. If the detection conditions are met, it determines whether the image information meets the correction conditions. If the correction conditions are met, a corresponding correction strategy is determined, and a correction control signal is generated and output to the rotation adjustment component. Then, the image information detected by the detection component is received again. If the correction conditions are not met, pixel analysis is performed on the image information to obtain pixel analysis information, and after analysis to obtain adjustment parameter information, rotation adjustment control signals and translation adjustment control signals are generated. If the detection conditions are not met, an alarm message is generated. The above-mentioned automatic positioning and adjustment method can determine whether the image information meets the detection and correction conditions, and perform pixel analysis to automatically position and adjust the board material, which has the characteristics of high adjustment efficiency and high adjustment accuracy.
[0091] This invention also provides an image recognition-based automatic positioning adjustment device, wherein the controller in the image recognition-based automatic positioning adjustment device is used to execute any of the aforementioned embodiments of the image recognition-based automatic positioning adjustment method. Specifically, please refer to... Figures 3 to 7 The device includes an adjusting plate 10, a rotation adjusting assembly 20, a horizontal adjusting assembly 30, a suction support assembly 40, a suction assembly 50, a detection assembly 60, and a cutting assembly 70. A machine base 101 is used to install these components, and a housing 102 covers the machine base 101 and protects the components housed within it. Figure 8 and Figure 9As shown, plate 1 is placed on the upper surface of the adjusting plate 10. The rotating adjusting assembly 20 is disposed below the adjusting plate 10. The rotating connecting member 21 of the rotating adjusting assembly 20 is fixedly connected to the adjusting plate 10. The rotating adjusting assembly 20 generates a driving force to drive the rotating connecting member 21 to rotate, thereby causing the adjusting plate 10 and the plate 1 placed on the adjusting plate 10 to rotate together. The horizontal adjusting assembly 30 includes a horizontal driver 31, a slide rail 321, and an adjusting sliding plate 33 mounted on the slide rail 321. The horizontal driver 31 drives the adjusting sliding plate 33 to move along the sliding rail 321. The slide rail 321 slides and can be fixedly mounted on the machine base 101; two sets of suction bracket assemblies 40 are respectively mounted on opposite sides of the adjusting sliding plate 33; the detection component 60 is disposed between the two sets of suction bracket assemblies 40; two sets of cutting components 70 are respectively disposed on opposite sides of the adjusting plate 10; the suction bracket assembly 40 includes a suction fixing plate 41, a vertical driver 42, and a suction bracket 43; the suction fixing plate 41 is fixedly mounted on the side of the adjusting sliding plate 33, the vertical driver 42 is mounted on the suction fixing plate 41, and the suction bracket 43 is connected to the machine base 101. The vertical actuator 42 is fixedly connected to the sliding member 421; the suction assembly 50 is assembled at the bottom of the suction bracket 43; the suction assembly 50 includes a first support rod layer 51, a second support rod layer 52, a first fixed beam 53, a second fixed beam 54, a third fixed beam 55, a first slider 531 assembled on the first fixed beam 53, a second slider 541 assembled on the second fixed beam 54, a third slider 551 assembled on the third fixed beam 55, and a fourth slider 552; the first support rod layer 51 includes multiple parallel upper support rods, and the second support rod layer 52 includes multiple parallel upper support rods. The lower support rod is arranged in a row; the upper support rod is arranged on the lower support rod, and the intersection of the upper support rod and the lower support rod is rotatably connected by a rotating shaft; at least one suction cup 56 is fixedly connected to the lower end of each lower support rod; the first slider 531 and the fourth slider 552 are respectively fixedly connected to the same upper support rod through a connecting frame 532; the second slider 541 and the third slider 551 are respectively rotatably connected to another upper support rod through a connecting frame 532; the third slider 551 and the fourth slider 552 are slidably connected by a sliding ruler 533.
[0092] like Figure 9As shown, the horizontal adjustment component 30 drives the suction support component 40 and the suction component 50 to move horizontally. The horizontal movement of the suction component 50 allows for the horizontal transport of the suction plate 1, enabling loading and unloading of the plate 1. The rotary adjustment component 20 generates a driving force to drive the rotary connector 21 to rotate. The rotary connector 21 causes the adjustment plate 10 and the plate 1 placed on the adjustment plate 10 to rotate together, thereby achieving orientation adjustment of the plate 1. For example, rotation can make the long side of the plate 1 perpendicular to the conveying direction of the plate 1. Figure 10 As shown, to realize the loading and unloading operations of the board 1, the vertical driver 42 can drive the suction bracket 43, which is fixedly connected to the sliding member 421, to move vertically. The vertical driver 42 is fixedly mounted on the adjusting sliding plate 33. The vertical movement of the suction bracket 43 can drive the suction assembly 50 to move vertically as well. The suction cup 56 at the lower end of the suction assembly 50 generates a suction force to pick up the board 1. Specifically, the sliding member 421 is set on the vertical guide rod 422, and the sliding member 421 is connected to the output shaft driven by the vertical driver 42. When the vertical driver 42 generates a driving force, it can drive the sliding member 421 to slide along the vertical guide rod 422. In order to further improve the stability of the vertical sliding of the suction bracket 43, two vertical guide rails can be set on both sides of the vertical guide rod 422. The vertical guide rails are fixedly set on the adjusting sliding plate 33. The adjusting sliding plate 33 is mounted on the vertical guide rails and can slide along the vertical guide rails.
[0093] Among them, such as Figures 21 to 24 As shown, the cutting assembly 70 includes a first cutting translation driver 71, an assembly base plate 72, a first cutting guide rail 73, a cutting support plate 74, a second cutting translation driver 75, a second cutting guide rail 76, and a cutter 77. The first cutting guide rail 73 is mounted on the machine base 101, and the assembly base plate 72 is mounted on the first cutting guide rail 73. The drive shaft of the first cutting translation driver 71 is connected to the assembly base plate 72, and the first cutting translation driver 71 generates a driving force to drive the assembly base plate 72 along the first cutting guide rail 76. The first cutting guide 73 slides along the second cutting guide 76; the second cutting guide 76 is fixedly mounted on the upper end face of the mounting base plate 72, the cutting support plate 74 is mounted on the second cutting guide 76, the drive shaft of the second cutting translation driver 75 is connected to the cutting support plate 74, and the second cutting translation driver 75 generates driving force to drive the cutting support plate 74 to slide along the second cutting guide 76; the cutter 77 is mounted on the cutting support plate 74; the axial direction of the first cutting guide 73 is perpendicular to the axial direction of the second cutting guide 76; Figure 22As shown, the bottom surface of the pressing support 741 is fixedly connected to the assembly base plate 72, the pressing cylinder 742 is fixedly mounted on the pressing support 741, and the output shaft of the pressing cylinder 742 is fixedly connected to the pressing plate 743.
[0094] The suction component 50 picks up the sheet material 1 and places it onto the adjusting plate 10. The detection component 60 detects the edge of the sheet material 1 to determine its orientation (i.e., the angle between the edge of the sheet material 1 and the long side of the adjusting plate 10). Based on the current orientation of the sheet material 1, the rotating adjusting component 20 is driven to adjust the orientation of the sheet material 1. When the sheet material 1 is adjusted to the accurate orientation, the pressing cylinder 742 operates and drives the pressing plate 743 to press down. The pressing plate 743 presses the sheet material 1 tightly to prevent it from sliding. Then, the cutting component 70 cuts both sides of the sheet material 1 to remove waste material from the sides. Specifically, a cutting component 70 is provided on each side of the adjusting plate 10, so that both sides of the sheet material 1 can be cut simultaneously, thereby improving the cutting efficiency of the sheet material 1. Similarly, each assembly base plate 72 is provided with a pressing plate 743, so the two sides of the sheet material 1 can be pressed together by the two corresponding pressing plates 743, thereby tightly pressing the sheet material 1 and preventing it from sliding on the adjusting plate 10.
[0095] The two sets of cutting components can be arranged symmetrically along an axis. Specifically, each cutting component 70 consists of a first cutting translation driver 71, an assembly base plate 72, a first cutting guide rail 73, a cutting support plate 74, a second cutting translation driver 75, a second cutting guide rail 76, and a cutter 77. The first cutting translation driver 71 is used to drive the cutter 77 to translate along the long side of the adjusting plate 10, so that the cutter 77 can cut plates 1 of various widths and adjust the cutting width of the side of the plate 1. The second cutting translation driver 75 is used to drive the cutter 77 to translate along the conveying direction of the plate 1, so as to realize continuous cutting of the side of the plate 1. When the plate 1 is fixed, the second cutting translation driver 75 can drive the cutter 77 to move horizontally to completely cut the side of the plate 1. In this embodiment, two suction bracket assemblies 40 and two suction assemblies 50 are assembled. One suction bracket assembly 40 and one suction assembly 50 work together to load the sheet material 1; the other suction bracket assembly 40 and the other suction assembly 50 work together to unload the sheet material 1. Since the horizontal adjustment component 30 can synchronously drive the two suction bracket assemblies 40 to move in the same direction, the two suction bracket assemblies 40 and the two suction assemblies 50 can be used to simultaneously perform loading and unloading operations. That is, in this embodiment, two sheets of sheet material 1 can be conveyed and cut simultaneously. The specific application effect is as follows: Figure 8 As shown.
[0096] In a more specific embodiment, such as Figure 16 and Figure 22 As shown, side supports 11 are provided on both sides of the adjusting plate 10. The side supports 11 are located below the two sides of the adjusting plate 10 and abut against the bottom surface of the adjusting plate 10. The bottom of the side supports 11 is fixedly connected to the mounting base plate 72. A pressing plate 743 and a side support 11 are respectively provided on opposite sides of the adjusting plate 10. The side supports 11 include a bottom support 111 perpendicular to the long side of the adjusting plate 10 and a support rod 112 parallel to the long side of the adjusting plate 10. The support rod 112 is fixedly connected to the bottom support 111, and the upper end face of the support rod 112 is flush with the upper end face of the bottom support 111.
[0097] To improve the stability of the rotary adjustment assembly 20 in adjusting the plate 1, two side supports 11 can be provided on both sides of the adjustment plate 10. The side supports 11 provide support for the adjustment plate 10. Each pressing plate 743 is arranged opposite to one side support 11, so the plate 1 can be pressed and fixed onto the adjustment plate 10 by the pressing plate 743 and the side support 11. To further improve the support stability of the side supports 11, the side supports 11 can be formed by a bottom support 111 and a support rod 112 fixedly connected together. The number of support rods 112 can be one or more. For example, in the embodiment of this application, each bottom support 111 is provided with two support rods 112.
[0098] Furthermore, such as Figure 11 and Figure 12As shown, to achieve the suction of sheet material 1 of any size, the suction assembly 50 can be configured to consist of a first support rod layer 51 and a second support rod layer 52. The upper support rod in the first support rod layer 51 and the lower support rod in the second support rod layer 52 intersect to form a rhomboid structure. When the width of the suction assembly 50 needs to be adjusted, it can be achieved by pushing the sliding ruler 533 to slide. When the sliding ruler 533 slides horizontally, the distance between the third slider 551 and the fourth slider 552 can be adjusted. When the distance between the third slider 551 and the fourth slider 552 is increased, the distance between adjacent upper support rods and the distance between adjacent lower support rods are also increased accordingly, thereby giving the suction cup 56 a wider coverage area, which can cover a wider sheet material 1. The upper end of the first support layer 51 is slidably connected to the connecting frame 532. The first slider 531, the second slider 541, the third slider 551, and the fourth slider 552 are respectively fixedly connected to a corresponding connecting frame 532. The first slider 531 is mounted on the first fixed beam 53 and can slide along the axial direction of the first fixed beam 53. The second slider 541 is mounted on the second fixed beam 54 and can slide along the axial direction of the second fixed beam 54. The third slider 551 and the fourth slider 552 are simultaneously mounted on the third fixed beam 55 and can slide along the axial direction of the third fixed beam 55. The top ends of the first fixed beam 53, the second fixed beam 54, and the third fixed beam 55 are all fixedly connected to the lower end face of the suction bracket 43.
[0099] In a more specific embodiment, the axial direction of the first fixed beam 53 is parallel to the axial direction of the second fixed beam 54, and the axial direction of the third fixed beam 55 is perpendicular to the axial direction of the first fixed beam 53. Specifically, one end of the sliding ruler 533 is fixed to the third slider 551, and the other end is provided with an elongated groove 534 parallel to the axial direction of the third fixed beam 55. The fourth slider 552 is provided with a protrusion adapted to the elongated groove 534, the protrusion being embedded in the elongated groove 534 and sliding along the elongated groove 534.
[0100] Furthermore, to improve the effect of adjusting the width of the first support layer 51 and the second support layer 52, the axis of the first fixed beam 53 can be set to be parallel to the axis of the second fixed beam 54, and the axis of the third fixed beam 55 can be set to be perpendicular to the axis of the third fixed beam 55. This setting can limit the sliding direction of the first slider 531 and the fourth slider 552 to be perpendicular; the sliding direction of the second slider 541 and the third slider 551 to be perpendicular. At the same time, a long strip groove 534 is provided on the sliding ruler 533, and a protrusion adapted to the long strip groove 534 is provided on the fourth slider 552. Then, by adjusting the sliding ruler 533, the four sliders can be adjusted simultaneously, thereby improving the effect of adjusting the first support layer 51 and the second support layer 52.
[0101] In a more specific embodiment, the suction bracket 43 is further equipped with a sensing component 44; the sensing component 44 includes a sensor 441, a sensing fixing block 442 fixedly disposed on the bottom surface of the suction bracket 43, and a sensing rod 443 disposed through the sensing fixing block 442. The sensing fixing block 442 contains an elastic element (not shown in the figure) for providing elastic force to the sensing rod 443; the lower end of the sensing rod 443 extends from the sensing fixing block 442 and is lower than the lower end of the suction cup 56; the top end of the sensing rod 443 extends from the sensing fixing block 442; the sensor 441 is disposed above the sensing rod 443. The suction bracket 43 has a right-angled triangle cross-section.
[0102] Specifically, such as Figure 14 As shown, to detect whether the suction assembly 50 has picked up the board 1, a sensing assembly 44 can be installed. When the board 1 is picked up, the bottom end of the sensing rod 443 receives a squeezing force, causing the elastic element to compress. At this time, the top end of the sensing rod 443 extends upward and is sensed by the sensor 441, which then obtains a sensing signal indicating that the board 1 has been picked up. When the suction assembly 50 fails to pick up the board 1 or the board 1 is removed, the elastic element causes the sensing rod 443 to return to its initial position. At this time, the top end of the sensing rod 443 moves downward, and the sensor 441 senses the top end of the sensing rod 443 and obtains a sensing signal indicating that the board 1 has not been picked up.
[0103] To improve the stability of the suction bracket 43, the cross-section of the suction bracket 43 can be set to be triangular. The specific structure of the suction bracket 43 is as follows: Figure 8 As shown.
[0104] In a more specific embodiment, at least one of the suction bracket 43 of the suction bracket assembly 40 is provided with a feeding cylinder 45 at one end away from the suction fixing plate 41. The feeding cylinder 45 is fixedly connected to the suction bracket 43 through a cylinder connecting plate 451, and the lower end of the drive shaft of the feeding cylinder 45 is fixedly connected to the feeding top block 452.
[0105] like Figure 13 and Figure 15 As shown, in order to achieve rapid unloading of the sheet 1, a unloading cylinder 45 can be set on at least one suction bracket 43. The unloading cylinder 45 is fixedly connected to the suction bracket 43 through a cylinder connecting plate 451. The lower end of the drive shaft of the unloading cylinder 45 is fixedly connected to the unloading top block 452. When the unloading cylinder 45 works, it can drive the unloading top block 452 to move downward. At this time, the sheet 1 is subjected to the downward force of the unloading top block 452 and disengages from the suction cup 56, thereby realizing the unloading operation of the sheet 1.
[0106] In a more specific embodiment, such as Figure 19 and Figure 20As shown, the detection component 60 includes two image detectors 61; the line connecting the two image detectors 61 is parallel to the long side of the adjustment plate 10; each image detector 61 includes a ring illuminator 611, an objective lens 612 mounted on the lower side of the ring illuminator 611, and an image acquisition device 613 mounted on the lower side of the objective lens 612. The ring illuminator 611 is positioned directly opposite the edge of the adjustment plate 10; light passes through the through hole in the center of the ring illuminator 611 and enters the image acquisition device 613 through the objective lens 612.
[0107] Specifically, the detection component 60 can be configured to consist of two image detectors 61. These two detectors capture two edge images of the board material 1, and the edge position of the board material 1 can be obtained by analyzing these images. To improve the imaging quality of the images captured of the board material 1's edge, the image detector 61 can be configured to consist of a ring illuminator 611, an objective lens 612, and an image acquisition unit 613. The ring illuminator 611 provides illumination, making the covered and uncovered areas of the board material 1 more distinct in the acquired images, thus improving the clarity of the board material 1's edge. The objective lens 612 is used for focusing, making the acquired image clearer and improving the accuracy of the board material 1's edge detection. The image acquisition unit 613 is used for image acquisition.
[0108] In a more specific embodiment, the horizontal adjustment assembly 30 includes four parallel slide rails 321; the adjusting sliding plate 33 is mounted above the slide rails 321; two slide rails 321 are combined to form a slide rail 321 assembly 32; the two ends of the adjusting sliding plate 33 are slidably connected to two sets of slide rail 321 assemblies 32 respectively; the horizontal driver 31 is mounted between the two slide rails 321 of one slide rail 321 assembly 32; the horizontal connecting member provided on the horizontal driver 31 is fixedly connected to the bottom surface of the adjusting sliding plate 33, and the horizontal driver 31 drives the horizontal connecting member to move and causes the adjusting sliding plate 33 to slide along the slide rails 321.
[0109] Specifically, the adjustable horizontal assembly 30 includes four parallel slide rails 321, with the specific structure as follows: Figure 9 As shown, two slide rails 321 are combined to form a slide rail 321 assembly 32. A horizontal driver 31 is mounted between the two slide rails 321 of a slide rail 321 assembly 32. The horizontal driver 31 is connected to a horizontal connector. The horizontal connector is mounted on a horizontal guide rod 311 and can slide along the horizontal guide rod 311. When the horizontal driver 31 is working, it can drive the horizontal connector to slide in the horizontal direction. The horizontal connector drives the adjusting sliding plate 33 to slide horizontally together.
[0110] In a more specific embodiment, such as Figure 24 As shown, the cutter 77 includes a first cutting lifting cylinder 771 and a second cutting lifting cylinder 772 mounted on the cutting support plate 74; the drive end of the first cutting lifting cylinder 771 is connected to a first cutting motor 773, and the output shaft of the first cutting motor 773 is simultaneously fixedly connected to a plurality of parallel cutting blades 774; the drive end of the second cutting lifting cylinder 772 is connected to a second cutting motor 775, and the output shaft of the second cutting motor 775 is simultaneously fixedly connected to a plurality of parallel cutting blades 774; the cutting blades 774 of the first cutting motor 773 and the cutting blades 774 of the second cutting motor 775 are respectively disposed on the upper and lower sides of the edge of the adjusting plate 10. Specifically, the first cutting motor 773 has a first protective cover 78 on the outside of the cutting blade 774, and the second cutting motor 775 has a second protective cover 79 on the outside of the cutting blade 774; both the first protective cover 78 and the second protective cover 79 have openings on the side facing the adjustment plate 10, the cutting blade 774 extends outward from the openings, and the air intake pipe 781 is connected to both the first protective cover 78 and the second protective cover 79.
[0111] Specifically, the cutter 77 can be configured to include a first cutting lifting cylinder 771 and a second cutting lifting cylinder 772. Each cutting lifting cylinder independently controls a set of cutting motors, and each cutting motor independently drives a set of cutting blades 774 to cut the plate 1. The output shaft of the cutting motor can be fixedly connected to multiple parallel cutting blades 774, so each set of cutting blades 774 consists of at least two parallel cutting blades 774. To prevent the debris generated during cutting from affecting the first cutting guide rail 73 and the second cutting guide rail 76 below, a first protective cover 78 can be provided to surround the outside of the cutting blades 774 of the first cutting motor 773, and a second protective cover 79 can be provided to surround the outside of the cutting blades 774 of the second cutting motor 775. Both the first protective cover 78 and the second protective cover 79 have openings on the side facing the adjusting plate 10 for the cutting blades 774 to extend out. The suction pipe 781 is connected to both the first protective cover 78 and the second protective cover 79. The suction pipe 781 generates negative pressure through the internal gas flow, which sucks in the debris generated by the cutting blade 774 cutting the plate 1. This prevents the debris from falling into the first cutting guide rail 73 and the second cutting guide rail 76 and getting stuck in the assembly base plate 72, thereby improving the overall reliability of the device.
[0112] In a more specific embodiment, the rotation adjustment assembly 20 further includes a rotation motor 22 and a rotation adjustment suction cup 23; the rotation connector 21 is a rotating disk; the output shaft of the rotation motor 22 is fixedly connected to the bottom surface of the rotating disk, and the rotation adjustment suction cups 23 are all fixed to the top surface of the rotating disk.
[0113] Specifically, such as Figure 17 and Figure 18 As shown, the rotary adjustment assembly 20 can be composed of a rotary motor 22, a rotary connector 21, and a rotary adjustment suction cup 23. The output shaft of the rotary motor 22 is fixedly connected to the rotary connector 21, and the rotary adjustment suction cup 23 is provided on the top surface of the rotary connector 21. To improve the stability of the connection between the rotary connector 21 and the adjustment plate 10, multiple rotary adjustment suction cups 23 can be provided on the upper surface of the rotary connector 21. The multiple rotary adjustment suction cups 23 are evenly arranged along the circumferential direction on the upper surface of the rotary connector 21. For example, in this embodiment, four rotary adjustment suction cups 23 are provided on the top surface of the rotary connector 21, and the four rotary adjustment suction cups 23 are evenly arranged at the edge of the rotary connector 21.
[0114] The aforementioned image recognition-based automatic positioning and adjustment method can be implemented as a computer program, which can be used in various ways, such as... Figure 25 It runs on the computer device shown.
[0115] Please see Figure 25 , Figure 25 This is a schematic block diagram of a computer device provided in an embodiment of the present invention. The computer device may be a controller for executing an image recognition-based automatic positioning and adjustment method to issue control commands and automatically position and adjust the sheet metal.
[0116] See Figure 25 The computer device 500 includes a processor 502, a memory, and a network interface 505 connected via a communication bus 501. The memory may include a storage medium 503 and internal memory 504.
[0117] The storage medium 503 may store an operating system 5031 and a computer program 5032. When the computer program 5032 is executed, it causes the processor 502 to execute an automatic positioning and adjustment method based on image recognition. The storage medium 503 may be a volatile storage medium or a non-volatile storage medium.
[0118] The processor 502 provides computing and control capabilities to support the operation of the entire computer device 500.
[0119] The internal memory 504 provides an environment for the operation of the computer program 5032 in the storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute an automatic positioning and adjustment method based on image recognition.
[0120] This network interface 505 is used for network communication, such as providing data transmission. Those skilled in the art will understand that... Figure 25 The structure shown is merely a block diagram of a portion of the structure related to the present invention and does not constitute a limitation on the computer device 500 to which the present invention is applied. The specific computer device 500 may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.
[0121] The processor 502 is used to run the computer program 5032 stored in the memory to implement the corresponding functions in the above-mentioned automatic positioning and adjustment method based on image recognition.
[0122] Those skilled in the art will understand that Figure 25 The embodiments of the computer device shown do not constitute a limitation on the specific configuration of the computer device. In other embodiments, the computer device may include more or fewer components than illustrated, or combine certain components, or have different component arrangements. For example, in some embodiments, the computer device may include only memory and a processor. In such embodiments, the structure and function of the memory and processor are different from those shown. Figure 25 The embodiments shown are consistent and will not be repeated here.
[0123] It should be understood that, in this embodiment of the invention, the processor 502 may be a Central Processing Unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.
[0124] In another embodiment of the invention, a computer-readable storage medium is provided. This computer-readable storage medium may be volatile or non-volatile. The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps included in the above-described image recognition-based automatic positioning and adjustment method.
[0125] Those skilled in the art will readily understand that, for the sake of convenience and brevity, the specific working processes of the devices, apparatuses, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this invention.
[0126] In the embodiments provided by this invention, it should be understood that the disclosed devices, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. Units with the same function can be encapsulated into one unit. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Furthermore, the couplings or direct couplings or communication connections shown or discussed can be indirect couplings or communication connections through some interfaces, devices, or units, or they can be electrical, mechanical, or other forms of connection.
[0127] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of the embodiments of the present invention, depending on actual needs.
[0128] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0129] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a computer-readable storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned computer-readable storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), magnetic disks, or optical disks.
[0130] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. An automatic positioning and adjustment method based on image recognition, the method being applied in a controller of an automatic positioning and adjustment device, the automatic positioning and adjustment device further comprising a detection component, a rotation adjustment component, and a cutting component, the controller being communicatively connected to a first cutting translation driver configured in the detection component, the rotation adjustment component, and the cutting component, the detection component comprising two image detectors, characterized in that, The method includes: Receive the image information detected by the detection component, and determine whether the two detection images contained in the image information meet the preset detection conditions; If the image information meets the detection conditions, determine whether the image information meets the preset correction conditions; If the image information satisfies the correction condition, a corresponding correction strategy is determined based on the image information, and a correction control signal is generated and output to the rotation adjustment component. Then, the process returns to the step of receiving the image information detected by the detection component. If the image information does not meet the correction conditions, pixel analysis is performed on the image information according to the preset image analysis rules to obtain the corresponding pixel analysis information; The pixel parsing is analyzed according to the preset adjustment analysis rules to obtain the corresponding adjustment parameter information; Based on the adjustment parameter information, corresponding rotation adjustment control signals and translation adjustment control signals are generated and output to the rotation adjustment component and the first cutting translation driver, respectively. If the image information does not meet the detection conditions, an alarm message is generated.
2. The automatic positioning and adjustment method based on image recognition according to claim 1, characterized in that, The step of determining whether the two detection images contained in the image information meet the preset detection conditions includes: Determine whether the image information satisfies the detection conditions by judging whether the pixels contained in the two detection images are not all located in the same pixel interval of the detection conditions.
3. The automatic positioning and adjustment method based on image recognition according to claim 1, characterized in that, The step of determining whether the image information meets the preset correction conditions includes: Determine whether any pixel in a detected image is located within a pixel range of the detection conditions to determine whether the image information meets the correction conditions.
4. The automatic positioning and adjustment method based on image recognition according to claim 3, characterized in that, The step of determining the corresponding correction strategy based on the image information and generating a correction control signal to be output to the rotation adjustment component includes: The corrected orientation is determined by the location of the image detector corresponding to the image with a large proportion of blank pixels in the image information. The corresponding correction angle is determined based on the offset angles of the two detected images in the image information. The correction orientation and the correction angle are combined into a corresponding correction strategy and the correction control signal is generated.
5. The automatic positioning and adjustment method based on image recognition according to claim 4, characterized in that, The step of performing pixel parsing on the image information according to preset image parsing rules to obtain corresponding pixel parsing information includes: Obtain the number of first pixels in the covered pixel interval and the number of second pixels in the blank pixel interval of each of the detected images; Calculate the proportion of the number of first pixels in each of the detected images to obtain the corresponding pixel count ratio; The angle between the pixel interval segmentation line and the reference direction in each of the detected images is obtained according to the reference direction in the image parsing rules. The pixel count ratio and the angle of the dividing line in each of the detected images are combined to form the pixel analysis information.
6. The automatic positioning and adjustment method based on image recognition according to claim 1, characterized in that, The step of analyzing the pixel parsing according to preset adjustment analysis rules to obtain corresponding adjustment parameter information includes: The average angle between the segmentation lines of each detected image in the image parsing rule is calculated as the adjustment angle; The pixel ratio of each detected image in the image parsing rule is calculated according to the offset calculation formula in the adjustment analysis rule to obtain the corresponding offset distance; The combination of the adjustment angle and the offset distance is used as the corresponding adjustment parameter information.
7. The automatic positioning and adjustment method based on image recognition according to claim 6, characterized in that, The step of generating corresponding rotation adjustment control signals and translation adjustment control signals based on the adjustment parameter information, and outputting them to the rotation adjustment component and the first cutting translation driver respectively, includes: Based on the adjustment angle in the adjustment parameter information, a corresponding rotation adjustment control signal is generated and output to the rotation adjustment component; The corresponding translation adjustment control signal is generated based on the offset distance in the adjustment parameter information and output to the first cutting translation driver.
8. An automatic positioning and adjustment device based on image recognition, wherein the controller of the automatic positioning and adjustment device is used to execute the automatic positioning and adjustment method based on image recognition as described in any one of claims 1-7, characterized in that, The device also includes an adjustment plate, a rotation adjustment assembly, a horizontal adjustment assembly, a suction support assembly, a suction assembly, a detection assembly, and a cutting assembly; The plate is placed on the upper surface of the adjustment plate, the rotary adjustment assembly is located below the adjustment plate, the rotary adjustment assembly's rotary connector is fixedly connected to the adjustment plate, and the rotary adjustment assembly generates a driving force to drive the rotary connector to rotate, thereby causing the adjustment plate and the plate placed on the adjustment plate to rotate together. The horizontal adjustment assembly includes a horizontal driver, a slide rail, and an adjustment sliding plate mounted on the slide rail. The horizontal driver drives the adjustment sliding plate to slide along the slide rail. The two sets of suction support assemblies are respectively assembled on opposite sides of the adjusting sliding plate; the detection assembly is disposed between the two sets of suction support assemblies; the two sets of cutting assemblies are respectively disposed on both sides of the adjusting plate; The cutting assembly includes a first cutting translation driver, an assembly base plate, a first cutting guide rail, a cutting support plate, a second cutting translation driver, a second cutting guide rail, and a cutter. The first cutting guide rail is mounted on the machine base, the assembly base plate is mounted on the first cutting guide rail, and the drive shaft of the first cutting translation driver is connected to the assembly base plate. The first cutting translation driver generates a driving force to drive the assembly base plate to slide along the first cutting guide rail. The second cutting guide rail is fixedly disposed on the upper end face of the assembly base plate, the cutting support plate is mounted on the second cutting guide rail, and the drive shaft of the second cutting translation driver is connected to the cutting support plate. The second cutting translation driver generates a driving force to drive the cutting support plate to slide along the second cutting guide rail. The cutter is mounted on the cutting support plate. The axial direction of the first cutting guide rail is perpendicular to the axial direction of the second cutting guide rail. The bottom surface of the pressing support is fixedly connected to the assembly base plate, the pressing cylinder is fixedly disposed on the pressing support, and the output shaft of the pressing cylinder is fixedly connected to the pressing plate. The adjusting plate is provided with side supports on both sides, and the side supports are located below the two sides of the adjusting plate and abut against the bottom surface of the adjusting plate; the bottom of the side supports is fixedly connected to the mounting base plate; a pressing plate and a side support are respectively provided on the two opposite sides of the adjusting plate. The suction bracket assembly includes a suction fixing plate, a vertical driver, and a suction bracket; the suction fixing plate is fixedly mounted on the side of the adjusting sliding plate, the vertical driver is mounted on the suction fixing plate, and the suction bracket is fixedly connected to a sliding member provided on the vertical driver; the suction assembly is mounted on the bottom of the suction bracket. The suction assembly includes a first support rod layer, a second support rod layer, a first fixed beam, a second fixed beam, a third fixed beam, a first slider mounted on the first fixed beam, a second slider mounted on the second fixed beam, a third slider mounted on the third fixed beam, and a fourth slider. The first support rod layer includes multiple parallel upper support rods, and the second support rod layer includes multiple parallel lower support rods; the upper support rods are disposed on the lower support rods, and the intersection points of the upper support rods and the lower support rods are rotatably connected by a pivot; at least one suction cup is fixedly connected to the lower end of each lower support rod. The first slider and the fourth slider are fixedly connected to the same upper support rod via a connecting frame; the second slider and the third slider are rotatably connected to another upper support rod via a connecting frame; the third slider and the fourth slider are slidably connected via a sliding ruler.
9. A computer device, characterized in that, The device includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; Memory, used to store computer programs; When a processor executes a program stored in a memory, it implements the steps of the automatic positioning and adjustment method based on image recognition as described in any one of claims 1-7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the automatic positioning and adjustment method based on image recognition as described in any one of claims 1-7.