A binding point identification method, device, terminal and medium

By identifying and eliminating visual intersection points in multiple layers of materials to be tied, and determining the actual intersection points as ligating points, the problem of insufficient accuracy of existing automated tying methods in multi-layer structures is solved, and higher tying accuracy and construction safety are achieved. .

CN111985338BActive Publication Date: 2024-09-06中建科技集团有限公司深圳分公司 +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010709721.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-22
Publication Date
2024-09-06
Estimated Expiration
2040-07-22

AI Technical Summary

Technical Problem

Existing automated tying methods have insufficient accuracy in materials to be tied with multi-layer cross-mesh structures and cannot accurately distinguish between visual intersection points and actual intersection points, resulting in low tying accuracy.

Method used

By obtaining the original image containing multiple layers of materials to be tied, the intersection points between the materials to be tied are identified, and the visual intersection points are removed from them, and the actual intersection points of the same layer are retained as the ligating points. The image data collected by the camera are used to determine the ligating points in the robot coordinate system. coordinate information in .

Benefits of technology

The accuracy of automated tying is improved, ensuring that the robot can accurately identify and tie the actual required intersection points, improving construction safety and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111985338B
    Figure CN111985338B
Patent Text Reader

Abstract

The present application is applicable to the field of image processing technology, and provides a method, device, terminal and medium for identifying a binding point, wherein the binding point identification method comprises: obtaining an original image containing at least three materials to be bound, and identifying the materials to be bound in the original image; obtaining a first intersection formed between the materials to be bound; removing visual intersections from the first intersections, wherein the visual intersections refer to intersections formed between the materials to be bound in different layers; and using the first intersections after removing the visual intersections as binding points. The embodiments of the present application improve the accuracy of automated binding.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of image processing technology, and in particular relates to a binding point identification method, device, terminal and medium. Background Art

[0002] Binding refers to the weaving of materials to be bound (such as steel bar structures) arranged in a cross-net structure at the initial stage of construction. Generally, the intersections between the materials to be bound are used as binding points for binding to achieve the purpose of safe construction.

[0003] In order to ensure practicality and safety, in actual applications, multiple layers of materials to be tied are generally placed, and the materials to be tied in each layer are arranged in the form of a cross-net structure. Therefore, in actual construction projects, it is often necessary to tie multiple layers of materials to be tied.

[0004] However, when the materials to be tied are arranged in the form of a multi-layer cross-mesh structure, the crossing conditions of the materials to be tied are relatively complex, resulting in insufficient accuracy of existing automated tying methods. Summary of the invention

[0005] The embodiments of the present application provide a binding point identification method, device, terminal and medium, which can solve the problem of insufficient accuracy of existing automated binding methods.

[0006] A first aspect of an embodiment of the present application provides a lashing point identification method, the lashing point identification method comprising:

[0007] Acquire an original image containing at least three materials to be tied, and identify the materials to be tied in the original image;

[0008] Obtaining a first intersection point formed between the materials to be tied;

[0009] Eliminating visual intersection points from the first intersection points, wherein the visual intersection points refer to intersection points formed between the materials to be tied in different layers;

[0010] The first intersection point after removing the visual intersection point is used as the binding point.

[0011] A second aspect of an embodiment of the present application provides a tying point positioning method, the tying point positioning method comprising:

[0012] Processing the first image using a tying point recognition method to obtain a first tying point in the first image, and acquiring first position information of the first tying point in the first image;

[0013] Acquire second position information of the first binding point in a second image; the first image and the second image are images captured by two different cameras;

[0014] The coordinate information of the first binding point in the robot coordinate system is determined according to the first position information and the second position information.

[0015] A third aspect of an embodiment of the present application provides a lashing point identification device, the lashing point identification device comprising:

[0016] A first recognition unit is used to obtain an original image containing at least three materials to be tied, and recognize the materials to be tied in the original image;

[0017] A first acquisition unit, used for acquiring a first intersection point formed between the materials to be tied;

[0018] A removing unit, configured to remove visual intersection points from the first intersection points, wherein the visual intersection points refer to intersection points formed between the materials to be tied in different layers;

[0019] The second recognition unit is used to use the first intersection point after removing the visual intersection point as the binding point.

[0020] A fourth aspect of an embodiment of the present application provides a tying point positioning device, the tying point positioning device comprising:

[0021] a second acquisition unit, configured to process the first image by using a tying point recognition method to obtain a first tying point in the first image, and obtain first position information of the first tying point in the first image;

[0022] A third acquisition unit is used to acquire second position information of the first binding point in a second image; the first image and the second image are images captured by two different cameras;

[0023] A determination unit is used to determine the coordinate information of the first binding point in the robot coordinate system according to the first position information and the second position information.

[0024] A third aspect of an embodiment of the present application provides a terminal, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.

[0025] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.

[0026] A fifth aspect of an embodiment of the present application provides a computer program product, which, when executed on a terminal device, enables the terminal device to implement the steps of the method.

[0027] In an embodiment of the present application, first, an original image containing at least three materials to be tied is obtained, and the materials to be tied in the original image are identified. In the original image, the materials to be tied are arranged in the form of a multi-layer cross-mesh structure. Then, the first intersection formed between the materials to be tied is obtained. Since the first intersection includes visual intersections formed between materials to be tied in different layers, and actual intersections formed between materials to be tied in the same layer. Therefore, the visual intersection is removed from the first intersection, and the first intersection after removing the visual intersection is used as the binding point, that is, the actual intersection formed between the materials to be tied in the same layer is used as the binding point, so that the terminal can accurately identify the points in the original image that actually need to be tied, thereby improving the accuracy of automated binding. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0029] Figure 1a is a schematic diagram of a visual intersection provided by an embodiment of the present application;

[0030] Figure 1b It is a schematic diagram of an original image provided in an embodiment of the present application that contains only three pieces of materials to be tied;

[0031] Figure 2 It is a schematic diagram of the implementation process of a binding point identification method provided in an embodiment of the present application;

[0032] Figure 3 It is a schematic diagram of the implementation process of removing visual intersections provided in an embodiment of the present application;

[0033] Figure 4 is a schematic diagram of grouping the first intersection provided in an embodiment of the present application;

[0034] Figure 5 This is a schematic diagram of a first implementation flow of background removal provided in an embodiment of the present application;

[0035] Figure 6 It is a schematic diagram of the implementation process of channel separation provided in an embodiment of the present application;

[0036] Figure 7 This is a schematic diagram of a second implementation flow of background removal provided in an embodiment of the present application;

[0037] Figure 8 This is a first schematic diagram of background removal provided by an embodiment of the present application;

[0038] Fig. 9 This is a schematic diagram of a third implementation flow of background removal provided in an embodiment of the present application;

[0039] Fig.10 is a second schematic diagram of background removal provided in an embodiment of the present application;

[0040] Fig.11 It is a schematic diagram of the implementation process of straight line fitting provided in an embodiment of the present application;

[0041] Fig.12 is a schematic diagram of a straight line fitting provided in an embodiment of the present application;

[0042] Fig.13 It is a schematic diagram of the implementation process of a binding point positioning method provided in an embodiment of the present application;

[0043] Fig.14 It is a structural schematic diagram of a binding point identification device provided in an embodiment of the present application;

[0044] Fig.15 It is a structural schematic diagram of a binding point positioning device provided in an embodiment of the present application;

[0045] Fig.16 It is a schematic diagram of the structure of the terminal provided in the embodiment of the present application. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present application.

[0047] Binding refers to the weaving of materials to be bound (such as steel bar structures) arranged in a cross-net structure in the early stages of construction. Generally, the intersections formed between the materials to be bound are used as binding points for binding in order to achieve the purpose of safe construction.

[0048] In order to ensure practicality and safety, in actual applications, multiple layers of materials to be tied are generally placed, and the materials to be tied in each layer are arranged in the form of a cross-net structure. Therefore, in actual construction projects, it is often necessary to tie multiple layers of materials to be tied.

[0049] The study found that when the materials to be tied are arranged in a multi-layer cross-net structure, visual intersections will be formed between the materials to be tied in different layers in the image, but these visual intersections are not the actual intersections formed between the materials to be tied. Figure 1a Take the example of an example to illustrate that in this embodiment, the material to be tied is steel bars. Figure 1a The steel bars with oblique stripes on the surface are the first layer of horizontally placed steel bars 101, and the steel bars with dots on the surface are the second layer of horizontally placed steel bars 102. The two layers of steel bars are at different heights, so in reality, there is no intersection between the two layers of steel bars. However, in the original image 10, there will be visual intersections between the two layers of steel bars, such as visual intersection 103.

[0050] Therefore, when the materials to be tied are arranged in the form of a multi-layer cross-mesh structure, the crossing conditions of the materials to be tied are relatively complicated, and the existing automated binding methods do not distinguish between the visual intersections and the actual intersections formed between the materials to be tied in the same layer, resulting in insufficient accuracy of the existing automated binding methods.

[0051] Based on this, the embodiments of the present application provide a tying point identification method, device, terminal and computer-readable storage medium, which can solve the problem of insufficient accuracy of existing automated tying methods.

[0052] In order to illustrate the technical solution of the present application, a specific embodiment is provided below for illustration.

[0053] Figure 2 A schematic diagram of the implementation process of a tying point identification method provided in an embodiment of the present application is shown. The method can be applied to a terminal, in which case the terminal is the executor of each method embodiment in the embodiment of the present application, and is suitable for situations where the accuracy of the automated tying method needs to be improved.

[0054] Specifically, the above-mentioned binding point identification method may include the following steps 201 to 204.

[0055] Step 201 : acquiring an original image containing at least three materials to be tied, and identifying the materials to be tied in the original image.

[0056] Among them, the above-mentioned materials to be tied can be materials that need to be tied, such as steel bars, wood, carbon fiber materials, etc.

[0057] In practical applications, the intersections formed between materials to be tied in the same layer of multiple layers of materials to be tied are generally tied. Multiple layers refer to two or more layers. Theoretically, the number of materials to be tied in each layer should be greater than or equal to 2 to form intersections that need to be tied in this layer. However, in practical applications, due to problems such as shooting angle and environment, some materials to be tied may not be captured in the original image, or may be blocked in the original image, making them unrecognizable. Therefore, in an embodiment of the present application, the original image should contain at least two layers of materials to be tied, and the total number should be at least 3.

[0058] For example, Figure 1b As shown, in the original image 11 , some materials to be tied are not captured in the original image, resulting in the original image 11 containing only three pieces of materials to be tied.

[0059] In order to achieve the binding of multiple layers of materials to be bound, in an embodiment of the present application, an original image containing at least three materials to be bound may be obtained, and the materials to be bound in the original image may be identified. In the original image, there may be a visual intersection between at least two materials to be bound in a first layer and at least two materials to be bound in another layer.

[0060] In the implementation of the present application, there are no excessive restrictions on the way to obtain the original image, which can be set by the administrator. For example, the original image can be obtained by photographing the materials to be tied by a camera pre-installed at the construction site. Or, it can be obtained by photographing the materials to be tied by a robot that performs the tying work through a camera configured by itself.

[0061] Similarly, the present application does not limit the identification method of the materials to be tied. For example, when the materials to be tied are all of the same color, and the color of the materials to be tied is different from that of the background, the identification of the materials to be tied can be achieved by color recognition.

[0062] It should be noted that the number of layers of the material to be tied can be a positive integer greater than 2, and there may be visual intersections between different layers of the material to be tied. For example, when the number of layers of the material to be tied is 3, the original image contains at least 4 pieces of material to be tied.

[0063] Step 202, obtaining a first intersection point formed between the materials to be bound.

[0064] The first intersections refer to all the intersections formed between the materials to be tied in the original image, that is, the first intersections include both visual intersections formed between materials to be tied in different layers and actual intersections formed between materials to be tied in the same layer that need to be tied.

[0065] Step 203: remove the visual intersection points from the first intersection points.

[0066] The visual intersections are intersections formed between materials to be tied at different layers, such as point 103 in the original image 10 shown in FIG1 . Since the actual intersections included in the first intersections are the points that actually need to be tied, in the embodiments of the present application, after obtaining the first intersections formed between the materials to be tied, the visual intersections can be removed from the first intersections to retain the actual intersections.

[0067] Step 204, taking the first intersection point after removing the visual intersection point as the binding point.

[0068] In an embodiment of the present application, the actual intersection point can be obtained by removing the first intersection point after the visual intersection point is eliminated. Therefore, the first intersection point after the visual intersection point is eliminated can be used as the binding point, so that terminals such as robots that perform automated binding work can perform binding according to the binding point.

[0069] In an embodiment of the present application, first, an original image containing at least three materials to be tied is obtained, and the materials to be tied in the original image are identified. It can be understood that in the original image, the materials to be tied are arranged in the form of a multi-layer cross-mesh structure. Then, the first intersection formed between the materials to be tied is obtained. Since the first intersection includes visual intersections formed between materials to be tied in different layers, and actual intersections formed between materials to be tied in the same layer. Therefore, the visual intersection is removed from the first intersection, and the first intersection after removing the visual intersection is used as the binding point, that is, the actual intersection formed between the materials to be tied in the same layer is used as the binding point, so that the terminal can accurately identify the points in the original image that actually need to be tied, thereby improving the accuracy of automated binding.

[0070] Specifically, the above step 203 can be implemented in different ways. For example, according to the position of the theoretical lashing point preset by the administrator, the point whose distance from the theoretical lashing point is greater than the second distance threshold can be used as the visual intersection point, and the visual intersection point can be removed from the first intersection point.

[0071] In some implementations of the present application, visual intersections may be eliminated from the first intersections based on the positional relationship between the first intersections.

[0072] Specifically, Figure 3 As shown, the process of removing visual intersection points from the first intersection points may include the following steps 301 to 303 .

[0073] Step 301: group the first intersection points according to the distances between the first intersection points in the original image to obtain at least one intersection point group.

[0074] Each of the above-mentioned intersection point groups contains at least one first intersection point, and among the first intersection points contained in a single intersection point group, the distances between the respective intersection points are all less than the first distance threshold.

[0075] That is to say, in some embodiments of the present application, first intersection points whose distances between each other are less than a first preset distance threshold may be grouped into the same intersection point group, and so on, to obtain at least one intersection point group.

[0076] The first preset distance threshold refers to the maximum distance allowed between different first intersections in the same intersection group, and its specific value can be set by the administrator according to actual conditions.

[0077] For example, the first preset distance threshold can be set to a value less than d1, where d1 represents the minimum distance between the same layer of materials to be tied. The specific value can be set by the administrator according to the actual placement of the materials to be tied. Figure 4 Taking an example for illustration, the first intersection points 401, 402, 403, and 404 may be grouped into the same intersection point group, while the first intersection point 405 and the first intersection point 401 may be grouped into different intersection point groups.

[0078] It should be noted that, in obtaining the distances between the above-mentioned first intersections, for a single first intersection, the distances between other first intersections and the first intersection can be calculated through the relative position relationship between each first intersection and a fixed reference object; or the distances between other first intersections and the first intersection can be calculated using the first intersection as a reference object.

[0079] Step 302: Identify visual intersections contained in the intersection group according to positions between first intersections in the intersection group.

[0080] In an embodiment of the present application, after the first intersections are grouped, in each obtained intersection group, the visual intersections included in the intersection group may be identified according to the positions between the first intersections in a single intersection group.

[0081] Among them, the positions between the first intersections in a single intersection group can also be determined by a fixed reference object, or by setting a first intersection in the intersection group as a reference point to determine the relative positions between other first intersections in the intersection group and the first intersection.

[0082] In some embodiments of the present application, the above-mentioned identifying the visual intersections included in the intersection group according to the positions between the first intersections in the intersection group may include: obtaining the camera position of the camera used to shoot the original image, and determining the actual spatial position relationship between the camera and the material to be tied according to the camera position. Then, according to the spatial position relationship and the positions between the first intersections in the intersection group, the visual intersections included in the intersection group are identified.

[0083] Specifically, Figure 4 Take an example to illustrate, for example, a three-dimensional coordinate system is established with the first intersection 401 as the origin, the horizontal right is the positive direction of the x-axis, the horizontal downward is the positive direction of the y-axis, and the vertical upward is the positive direction of the z-axis. Then the coordinates of the camera are (x1, y1, z1), where x1, y1 and z1 are all greater than 0. That is, the camera is located above the material to be tied in the vertical direction and in the lower right in the horizontal direction. In other words, the camera shoots from the lower right to the upper left in the horizontal direction, and from the upper to the lower vertical direction. At this time, the actual intersection is located in the matrix formed by the first intersection group in the original image, near the intersection of the diagonal line from the lower right to the upper left. In other words, the visual intersection is located at the first intersection whose distance from the diagonal line from the lower right to the upper left is greater than the third preset distance threshold.

[0084] When the material to be tied is two layers, a two-dimensional coordinate system can be established in the original image with the first pixel point in the upper left corner as the coordinate origin, and the first intersection point 401 closest to the coordinate origin is confirmed as the actual intersection point of the upper layer, and the first intersection point 403 farthest from the coordinate origin is confirmed as the actual intersection point of the lower layer. The remaining first intersection points 402 and 404 in the intersection point group are confirmed as visual intersection points.

[0085] It should be noted that after performing the above identification operation on each intersection point group, the visual intersection points in each intersection point group can be obtained, and then all the visual intersection points in the entire original image can be identified.

[0086] Step 303: remove the visual intersection points in the first intersection points.

[0087] In the implementation of the present application, the first intersections are grouped according to the distances between the first intersections in the original image. Then, the visual intersections contained in the intersection group are identified according to the positions between the first intersections in the intersection group, thereby realizing the identification of the visual intersections, and then the visual intersections in the first intersections can be eliminated, and the first intersections after the elimination of the visual intersections are used as the tying points to realize the automatic tying.

[0088] In practical applications, the materials to be tied are often placed in a complex background. Therefore, the above-mentioned identifying the materials to be tied in the original image may include: removing the background of the original image, and identifying the remaining part after the background removal as the materials to be tied.

[0089] Specifically, the above-mentioned materials to be tied may be placed on a platform with a background color. At this time, in some optional embodiments of the present application, the background color of the original image can be obtained, and then the pixels corresponding to the background are filtered out from the original image based on the background color, and the filtered pixels are discarded.

[0090] The background color can be any color different from the material to be tied. The specific acquisition method can be selected by the administrator according to the actual situation, for example, the background color input by the administrator can be obtained, or in some cases, the color with the largest proportion among the colors of all pixels in the original image can be determined as the background color.

[0091] In some implementations of the present application, color recognition may be performed on the original image to screen out pixels having the same RGB value as the background color from the original image, and the screened out pixels may be removed.

[0092] In other embodiments of the present application, when the background color is red, green or blue, such as Figure 5 As shown, the above-mentioned process of filtering out pixel points corresponding to the background from the original image based on the background color may also include the following steps 501 to 503.

[0093] Step 501, performing channel separation on the original image to obtain a first channel image and a second channel image.

[0094] The first channel image is a channel image corresponding to the background color. For example, when the background color is green, the first channel image is a green channel image obtained by performing channel separation on the original image.

[0095] The second channel image is a channel image of a different channel from the first channel image. For example, when the background color is green, the second channel image is a red channel image or a blue channel image obtained by performing channel separation on the original image.

[0096] Step 502: perform image subtraction on the first channel image and the second channel image to obtain a first target image.

[0097] In some embodiments of the present application, since the first channel image is a channel image corresponding to the background color, in the first target image obtained by subtracting the first channel image from the second channel image, the difference between the pixel value of the pixel point corresponding to the background color and the pixel value of the pixel point corresponding to the material to be tied will be large.

[0098] Specifically, in some embodiments of the present application, for each pixel point, the channel value corresponding to the pixel point in the first channel image is subtracted from the channel value corresponding to the pixel point in the second channel image, and the obtained difference is used as the new pixel value of the pixel point to obtain the first target image.

[0099] For example, when the background color is green, and the first channel image is a green channel image obtained by channel separation of the original image, and the second channel image is a red channel image obtained by channel separation of the original image, for each pixel point, a difference can be obtained by subtracting the R value corresponding to the red channel image from the G value corresponding to the green channel image. At this time, the difference can be used as the new pixel value of the pixel point to obtain the first target image.

[0100] For example, Figure 6 As shown, the original image 60 is channel-separated, and the obtained first channel image and second channel image are subtracted to obtain a first target image 61.

[0101] Since the background color is green, the G value of a pixel corresponding to a certain background color in the green channel image will be close to 255, and the R value of the pixel in the red channel image will be close to 0, so the difference value will also be close to 255. On the contrary, since the color of the material to be tied is different from that of the background, the difference value will also be much smaller than 255.

[0102] Step 503: Filter out pixel points corresponding to the background from the first target image, and determine the pixel points in the original image corresponding to the filtered pixel points as pixel points corresponding to the background in the original image.

[0103] In some embodiments of the present application, since the difference between the pixel values ​​of the pixels corresponding to the background color and the pixel values ​​of the pixels corresponding to the material to be tied is large in the first target image, the pixels corresponding to the background can be screened out according to the difference between the pixels corresponding to the background color and the pixels corresponding to the material to be tied. Then, the pixels corresponding to the screened pixels in the original image are determined as the pixels corresponding to the background in the original image.

[0104] Specifically, a preset difference threshold can be obtained, which is the difference between the pixel value of the pixel point corresponding to the background color and a fixed value. The fixed value and the preset difference can be selected according to actual conditions. Generally, the fixed value can be selected as 255.

[0105] When the fixed value is 255, when the difference between the pixel value of the pixel point and 255 is less than the preset difference threshold, the pixel point is confirmed as a pixel point corresponding to the background.

[0106] In the implementation of the present application, the first channel image and the second channel image are obtained by performing channel separation on the original image. Then, the first channel image and the second channel image are subtracted to obtain a first target image. Then, the pixel points corresponding to the background are screened out from the first target image, and the pixel points corresponding to the screened pixel points in the original image are determined as the pixel points corresponding to the background in the original image. The background screening with a certain background color is realized. At this time, the pixel points corresponding to the background can be eliminated, and the remaining part after the background is removed can be identified as the material to be tied, so as to further identify the tying points and complete the automatic tying.

[0107] In practical applications, the materials to be tied may be placed on a platform with a certain background color. However, in the original image obtained by photographing the materials to be tied, in addition to the materials to be tied and the platform on which the materials to be tied are placed, other backgrounds outside the platform may also be photographed. Therefore, it is necessary to further remove this type of background.

[0108] Specifically, after obtaining the first target original image, as Figure 7 As shown, filtering out pixel points corresponding to the background from the first target image may include: the following steps 701 to 704.

[0109] Step 701: binarize the first target image to obtain a second target image.

[0110] For example, Figure 8 As shown, the original image 80 is processed by Figure 5 The method shown obtains a first target image 81 , and at this time, the first target image 81 may be binarized to obtain a second target image 82 .

[0111] Step 702: Filter out pixels corresponding to the background color from the second target image and use them as first background pixels.

[0112] Specifically, the above method of filtering out the pixel points corresponding to the background color from the second target image can refer to the above Figure 5 The description is not repeated in this application.

[0113] Step 703: Draw a minimum circumscribed polygon containing all first background pixels from the second target image, and use the image area outside the minimum circumscribed polygon in the second target image as the first image area.

[0114] That is to say, the drawn minimum circumscribed polygon includes a platform with a certain background color and the materials to be tied placed on the platform; and the image area outside the minimum circumscribed polygon in the second target image is some background outside the platform captured during the process of shooting the materials to be tied. Therefore, the image area outside the minimum circumscribed polygon in the second target image can be used as the first image area, and the first image area can be further removed.

[0115] For example, Figure 8 As shown, after obtaining the second target image 82, a minimum circumscribed polygon 802 including the first background pixel points can be drawn from the second target image, and the image area outside the minimum circumscribed polygon is used as the first image area 803. It can be seen that the first image area 803 is some background outside the platform captured in the original image 80 during the process of capturing the materials to be tied.

[0116] Step 704, determine the second image area corresponding to the first image area from the first target image, and use all pixels in the second image area and pixels corresponding to the background color in the first target image as pixels corresponding to the background of the first target image.

[0117] The second image region refers to the region obtained by mapping the first image region in the second target image to the same position in the first target image. Figure 8 As shown, after obtaining the first image region 803, the first image region 803 can be mapped back to the first target image to determine the second image region 804 (the shaded area in the figure).

[0118] At this time, all the pixels in the second image area in the first target image and the pixels corresponding to the background color may be used as the pixels corresponding to the background of the first target image.

[0119] That is to say, in some embodiments of the present application, by drawing the minimum circumscribed polygon containing the first background pixel points, the image area outside the minimum circumscribed polygon is obtained as the first image area. Then, the second image area corresponding to the first image area is determined from the first target image, and all the pixel points in the second image area in the first target image and the pixel points corresponding to the background color are used as the pixel points corresponding to the background of the first target image. This allows the pixel points corresponding to the platform background of a certain background color and the pixel points corresponding to some backgrounds outside the platform to be used as the pixel points corresponding to the background, so as to remove these backgrounds, and then identify the remaining part after the background removal as the material to be tied, so as to achieve automatic tying.

[0120] In practical applications, before tying, some mechanical structures are often used to fix the materials to be tied, so that the materials to be tied are in a fixed position and form a cross-net structure. For example, Figure 8 The mechanical structure in 801.

[0121] Therefore, when identifying the materials to be tied in the original image, it is also necessary to remove the mechanical structure used to fix the materials to be tied in the original image. In other words, the background of the original image includes the mechanical structure used to fix the materials to be tied.

[0122] Specifically, Fig. 9 As shown, in some embodiments of the present application, the above-mentioned process of taking all pixel points in the second image area in the first target image and the pixel points corresponding to the background color as the pixel points corresponding to the background of the first target image also includes the following steps 901 to 903.

[0123] Step 901: remove a second image region from a first target image, and perform binarization processing on the first target image after removing the second image region to obtain a third target image.

[0124] In some embodiments of the present application, after removing the second image area from the first target image, other backgrounds outside the platform can be removed to obtain an image that only contains the materials to be tied, the mechanical structure, and the platform on which the materials to be tied and the mechanical structure are placed. Then, the image is binarized to obtain a third target.

[0125] For example, Fig.10 As shown, by removing the second image region from the first target image 80 , an image 85 after the second image region is removed can be obtained, and by performing binarization processing on the image 85 after the second image region is removed, a third target image 86 can be obtained.

[0126] Step 902: Identify the mechanical structure in the third target image, and determine the third image region corresponding to the mechanical structure from the first target image.

[0127] The third image region refers to a region obtained by mapping an image region corresponding to the mechanical structure in the third target image to the same position in the first target image.

[0128] In some embodiments of the present application, after the third target image is obtained, mechanical structures in the third target image may be identified to achieve the purpose of removing these mechanical structures from the original image.

[0129] Specifically, an image erosion operation and an image dilation operation may be performed on the third target image in sequence, and the mechanical structure may be identified from the third target image after the two operations.

[0130] The above-mentioned image erosion operation refers to a morphological image erosion operation, that is, a convolution calculation is performed by sliding a preset first sliding window on the third target image to erode the white part of the third target image. Since the mechanical structure and the material to be tied have the same width, the length of the mechanical structure is longer than that of the material to be tied. Therefore, when the image is eroded to a certain extent, the pixel points corresponding to the material to be tied will be completely eroded to black, while the pixel points corresponding to the mechanical structure will not be completely eroded to black. At this time, the image obtained after the image erosion operation can be subjected to an image dilation operation.

[0131] The above-mentioned image dilation operation refers to a morphological image dilation operation, that is, a preset second sliding window is used to slide on the image obtained after the image corrosion operation, and a convolution calculation is performed to expand the white part in the third target image, so that the corroded pixels of the mechanical structure are expanded to white again, thereby identifying the mechanical structure in the third target image.

[0132] like Fig.10 As shown, after the image erosion operation and the image dilation operation are performed on the third target image 86 in sequence, a third target image 87 after two operations can be obtained. At this time, the mechanical structure can be identified from the third target image 87.

[0133] Step 903: All pixels in the second image area, pixels corresponding to the background color, and all pixels in the third image area in the first target image are taken as pixels corresponding to the background of the first target image.

[0134] In some embodiments of the present application, after determining the third image area, the pixels in the second image area, the pixels corresponding to the background color, and all the pixels in the third image area in the first target image can be used as the pixels corresponding to the background of the first target image.

[0135] That is to say, in some embodiments of the present application, the third target image is obtained by removing the second image area from the first target image and binarizing the first target image after removing the second image area. Then, the mechanical structure in the third target image is identified, and the third image area corresponding to the mechanical structure is found. In the first target image, all the pixels in the second image area, the pixels corresponding to the background color, and all the pixels in the third image area are used as the pixels corresponding to the background of the first target image. This allows the pixels corresponding to the platform background of a certain background color, the pixels corresponding to some backgrounds outside the platform, and the mechanical structure placed on the platform for fixing the material to be tied to be used as the pixels corresponding to the background, so as to remove these backgrounds, and then the remaining part after the background removal can be identified as the material to be tied, so as to achieve automated tying.

[0136] In some embodiments of the present application, after the above-mentioned background removal process, the materials to be tied in the original image can be identified. At this time, it is necessary to obtain the first intersection point formed between the materials to be tied.

[0137] Specifically, the above-mentioned obtaining the first intersection point formed between the materials to be tied may include: performing straight line fitting on the materials to be tied in the original image to obtain a straight line equation of the materials to be tied, and using the straight line equation to calculate the first intersection point of the materials to be tied.

[0138] The above-mentioned straight line fitting method can be selected according to the actual situation. For example, Hough linear transformation can be used to detect the straight line formed by the materials to be tied to obtain the straight line equation of the materials to be tied. Then, the straight line equations of different materials to be tied are used to jointly calculate the first intersection point of the materials to be tied.

[0139] Specifically, Fig.11 As shown, in some embodiments of the present application, the above-mentioned straight line fitting of the materials to be tied in the original image may include the following steps 1101 to 1103.

[0140] Step 1101: Use the original image after background removal as the fourth target image.

[0141] Specifically, the background removal of the original image can be referred to in this application Figures 5 to 10 The present application does not limit this description.

[0142] by Fig.12 Taking an example to illustrate, the background of the original image 80 is removed and binarized to obtain a fourth target image 88 .

[0143] Step 1102: Perform image thinning processing on the fourth target image to obtain a fourth target image after image thinning processing.

[0144] Image thinning refers to an operation of image skeletonization. The above image thinning process refers to the process of reducing the lines of the fourth target image from multi-pixel width to unit pixel width. The result of thinning can also be described as "skeletonization", "median axis transformation" and "symmetry axis transformation".

[0145] In some embodiments of the present application, in order to smooth the lines of the fourth target image, the fourth target image may be sequentially subjected to image dilation and image erosion operations to obtain a smoothed image; then, the smoothed image may be subjected to image refinement processing to obtain the fourth target image after image refinement processing.

[0146] by Fig.12 Taking this as an example, the fourth target image 88 is subjected to image dilation and image erosion operations in sequence to obtain a smooth image; then, the smooth image is subjected to image thinning processing to obtain a fourth target image 89 after image thinning processing.

[0147] Step 1103: Perform straight line fitting of the materials to be bound on the fourth target image after image refinement.

[0148] by Fig.12 Taking an example to illustrate, a straight line fitting of the materials to be tied is performed on the fourth target image 89 after the image refinement processing, and finally the effect shown in the image 810 can be obtained.

[0149] In the implementation of the present application, the fourth target image is sequentially subjected to an image dilation operation and an image erosion operation to obtain a smooth image, and then the obtained smooth image is subjected to a thinning process to remove image burrs in the fourth target image, thereby improving the effect of straight line fitting and making the calculated intersection point closer to the true value.

[0150] Fig.13 The present invention provides a schematic diagram of the implementation process of the tying point positioning method provided by the embodiment of the present invention, which is applicable to situations where the accuracy of the automated tying method needs to be improved. The method can be applied to a robot that performs tying work, in which case the robot can perform tying work using the tying point positioning method; the method can also be applied to other terminals such as servers and computers, in which case the terminal can determine the coordinate information using the tying point positioning method and send the coordinate information to the robot that performs tying work, so that the robot can perform tying work.

[0151] Specifically, the above-mentioned binding point identification method may include the following steps 1301 to 1303.

[0152] Step 1301: Process a first image to obtain a first binding point in the first image, and acquire first position information of the first binding point in the first image.

[0153] The above processing of the first image is to use Figure 2 The lashing point identification method shown processes the first image.

[0154] Step 1302: Acquire second position information of the first binding point in the second image.

[0155] The first image and the second image are images captured by two different cameras.

[0156] The two cameras may be cameras pre-installed at the construction site, or they may be cameras configured by the robot performing the binding work.

[0157] Step 1303: Determine the coordinate information of the first binding point in the robot coordinate system according to the first position information and the second position information.

[0158] In some embodiments of the present application, after the first binding point is identified by performing binding point identification on the first image and the second image, the first position information of the first binding point in the first image and the second position of the first binding point in the second image can be obtained, and then, based on the first position information and the second position information, the coordinate information of the first binding point in the robot coordinate system can be determined.

[0159] Specifically, the same coordinate system can be established in the first image and the second image with the upper left corner of the graphic as the origin. Then, the horizontal coordinate difference of the same binding point in the two images is calculated based on the first position information and the second position information, and the coordinate value of the binding point in the camera coordinate system of the camera is determined by using the internal parameters obtained by pre-calibrating one of the cameras. Then, the mapping relationship between the camera and the robot coordinate system is obtained to determine the coordinate information of the first binding point in the robot coordinate system.

[0160] In the implementation manner of the present application, the first image and the second image captured by two different cameras are respectively captured by the present application. Figure 2 The lashing point identification method shown in the figure can identify the lashing point that actually needs to be tied. Then, the first position information of the same lashing point in the first image and the position information of the lashing point in the second image are used to determine the coordinate information of the lashing point in the robot coordinate system, so that the robot can directly locate the lashing point using the coordinate information to realize automatic lashing.

[0161] It should be noted that, for the sake of simplicity of description, the aforementioned method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited to the described order of actions, because according to the present application, certain steps can be performed in other orders.

[0162] like Fig.14 The figure is a schematic diagram of the structure of a binding point identification device 1400 provided in an embodiment of the present application. The binding point identification device 1400 is configured on a terminal. The binding point identification device 1400 may include: a first identification unit 1401, a first acquisition unit 1402, a rejection unit 1403 and a second identification unit 1404.

[0163] The first recognition unit 1401 is used to obtain an original image containing at least three materials to be tied, and recognize the materials to be tied in the original image;

[0164] A first obtaining unit 1402 is used to obtain a first intersection point formed between the materials to be tied;

[0165] A removing unit 1403 is used to remove visual intersection points from the first intersection points, where the visual intersection points refer to intersection points formed between the materials to be tied in different layers;

[0166] The second recognition unit 1404 is used to use the first intersection point after removing the visual intersection point as the binding point.

[0167] In some embodiments of the present application, the above-mentioned elimination unit 1403 is also specifically used to: group the first intersections according to the distances between each of the first intersections in the original image to obtain at least one intersection group, wherein each of the intersection groups contains at least one first intersection, and among the first intersections contained in a single intersection group, the distances between each intersection are less than a first distance threshold; identify the visual intersections contained in the intersection group according to the positions between each of the first intersections in the intersection group; and eliminate the visual intersections in the first intersections.

[0168] In some embodiments of the present application, the first recognition unit 1401 is further specifically used to: remove the background of the original image, and recognize the remaining part after the background is removed as the material to be tied.

[0169] In some embodiments of the present application, the first recognition unit 1401 is further specifically used to: obtain the background color of the original image, filter out pixels corresponding to the background from the original image based on the background color, and remove the filtered pixels.

[0170] In some embodiments of the present application, when the background color is red, green or blue, the above-mentioned first recognition unit 1401 is also specifically used to: filter out pixel points corresponding to the background from the original image based on the background color, including: performing channel separation on the original image to obtain a first channel image and a second channel image, wherein the first channel image is a channel image corresponding to the background color; performing image subtraction on the first channel image and the second channel image to obtain a first target image; filtering out pixel points corresponding to the background from the first target image, and determining the pixel points in the original image corresponding to the filtered pixel points as the pixel points corresponding to the background in the original image.

[0171] In some embodiments of the present application, the above-mentioned first recognition unit 1401 is also specifically used to: binarize the first target image to obtain a second target image; filter out pixel points corresponding to the background color from the second target image and use them as first background pixel points; draw a minimum circumscribed polygon containing all the first background pixel points from the second target image, and use the image area outside the minimum circumscribed polygon in the second target image as the first image area; determine the second image area corresponding to the first image area from the first target image, and use all pixel points in the second image area in the first target image, as well as pixel points corresponding to the background color, as pixel points corresponding to the background of the first target image.

[0172] In some embodiments of the present application, the background of the original image includes a mechanical structure for fixing the material to be tied; the first recognition unit 1401 is further specifically used to: remove the second image area from the first target image, and binarize the first target image after removing the second image area to obtain a third target image; identify the mechanical structure in the third target image, and use all pixel points in the second image area in the first target image, pixel points corresponding to the background color, and pixel points corresponding to the mechanical structure as pixel points corresponding to the background of the first target image.

[0173] In some embodiments of the present application, the first recognition unit 1401 is further specifically used to: perform an image erosion operation and an image dilation operation on the third target image in sequence, and recognize the mechanical structure from the third target image after the two operations.

[0174] In some embodiments of the present application, the first acquisition unit 1402 is further specifically used to: perform straight line fitting on the material to be tied in the original image to obtain a straight line equation of the material to be tied, and use the straight line equation to calculate the first intersection point of the material to be tied.

[0175] In some embodiments of the present application, the first acquisition unit 1402 is further specifically used to: perform the background removal on the original image to obtain a fourth target image; perform image refinement processing on the fourth target image to obtain the fourth target image after image refinement processing; and perform linear fitting of the material to be tied on the fourth target image after image refinement processing.

[0176] In some embodiments of the present application, the first acquisition unit 1402 is further specifically used to: perform an image dilation operation and an image erosion operation on the fourth target image in sequence to obtain a smooth image; and perform image refinement processing on the smooth image to obtain the fourth target image after image refinement processing.

[0177] It should be noted that, for the convenience and simplicity of description, the specific working process of the above-mentioned lashing point identification and detection device 1400 can refer to Figures 1 to 2. Fig.12 The corresponding process of the method will not be repeated here.

[0178] like Fig.15 The figure is a schematic diagram of the structure of a tying point positioning device 1500 provided in an embodiment of the present application. The tying point positioning device 1500 is configured on a terminal. The tying point positioning device 1500 may include: a second acquisition unit 1501, a third acquisition unit 1502 and a determination unit 1503.

[0179] The second acquisition unit 1501 is used to process the first image by using the tying point recognition method to obtain the first tying point in the first image, and obtain the first position information of the first tying point in the first image;

[0180] The third acquisition unit 1502 is used to acquire second position information of the first binding point in the second image; the first image and the second image are images captured by two different cameras;

[0181] The determining unit 1503 is used to determine the coordinate information of the first binding point in the robot coordinate system according to the first position information and the second position information.

[0182] It should be noted that, for the convenience and simplicity of description, the specific working process of the above-mentioned lashing point positioning detection device 1500 can be referred to Fig.13 The corresponding process of the method will not be repeated here.

[0183] like Fig.16The terminal 16 may include: a processor 1600, a memory 1601, and a computer program 1602 stored in the memory 1601 and executable on the processor 1600, such as a lashing point identification device program or a lashing point positioning device sequencing.

[0184] When the processor 1600 executes the computer program 1602, the steps in the above-mentioned embodiments of the lashing point identification method are implemented, such as steps 101 to 104 shown in FIG. 1. Alternatively, when the processor 1600 executes the computer program 1602, the functions of the modules / units in the above-mentioned embodiments of the device are implemented, such as Fig.14 The functions of units 1401 to 1404 are shown.

[0185] Alternatively, when the processor 1600 executes the computer program 1602, the steps in the above-mentioned embodiments of the method for locating the lashing point are implemented, for example: Fig.13 Alternatively, when the processor 1600 executes the computer program 1602, the functions of each module / unit in the above-mentioned device embodiments are implemented, for example Fig.15 The functions of units 1501 to 1503 are shown.

[0186] The computer program may be divided into one or more modules / units, which are stored in the memory 1601 and executed by the processor 1600 to complete the present application. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program in the terminal.

[0187] For example, the computer program can be divided into a first recognition unit, a first acquisition unit, a elimination unit and a second recognition unit, and the specific functions of each unit are as follows: the first recognition unit is used to obtain an original image containing at least three materials to be tied, and identify the materials to be tied in the original image; the first acquisition unit is used to obtain the first intersection formed between the materials to be tied; the elimination unit is used to eliminate the visual intersection from the first intersection, and the visual intersection refers to the intersection formed between the materials to be tied in different layers; the second recognition unit is used to use the first intersection after eliminating the visual intersection as the binding point.

[0188] For another example, the computer program can be divided into a second acquisition unit, a third acquisition unit and a determination unit, and the specific functions of each unit are as follows: the second acquisition unit is used to process the first image by using the binding point recognition method to obtain the first binding point in the first image, and obtain the first position information of the first binding point in the first image; the third acquisition unit is used to obtain the second position information of the first binding point in the second image; the first image and the second image are images captured by two different cameras; the determination unit is used to determine the coordinate information of the first binding point in the robot coordinate system according to the first position information and the second position information.

[0189] The terminal may be a robot, or a computing device such as a smart phone, a desktop computer, a notebook, a PDA, or a cloud server. The terminal may include, but is not limited to, a processor 1600 and a memory 1601. Those skilled in the art will appreciate that Fig.16 It is only an example of a terminal and does not constitute a limitation on the terminal. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the terminal may also include input and output devices, network access devices, buses, etc.

[0190] The processor 1600 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0191] The memory 1601 may be an internal storage unit of the terminal, such as a hard disk or memory of the terminal. The memory 1601 may also be an external storage device of the terminal, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the terminal. Further, the memory 1601 may also include both an internal storage unit of the terminal and an external storage device. The memory 1601 is used to store the computer program and other programs and data required by the terminal. The memory 1601 may also be used to temporarily store data that has been output or is to be output.

[0192] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0193] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0194] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0195] In the embodiments provided in the present application, it should be understood that the disclosed devices / terminals and methods can be implemented in other ways. For example, the device / terminal embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0196] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0197] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0198] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0199] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A method for identifying lashing points, characterized in that: include: Acquire an original image containing at least three materials to be tied, and identify the materials to be tied in the original image; Obtaining a first intersection point formed between the materials to be tied; Eliminating visual intersection points from the first intersection points, wherein the visual intersection points refer to intersection points formed between the materials to be tied in different layers; The first intersection point after removing the visual intersection point is used as the binding point; The removing of visual intersections from the first intersections includes: grouping the first intersections according to the distances between the first intersections in the original image to obtain at least one intersection group, wherein each intersection group contains at least one first intersection, and among the first intersections contained in a single intersection group, the distances between the intersections are all less than a first distance threshold; identifying the visual intersections contained in the intersection group according to the positions between the first intersections in the intersection group; and removing the visual intersections from the first intersections.

2. The method for identifying lashing points according to claim 1, characterized in that: The identifying the material to be bound in the original image includes: The background of the original image is removed, and the remaining portion after the background is removed is identified as the material to be tied.

3. The method for identifying lashing points according to claim 2, characterized in that: The background removal of the original image comprises: The background color of the original image is obtained, pixels corresponding to the background are filtered out from the original image based on the background color, and the filtered pixels are removed.

4. The method for identifying lashing points according to claim 3, characterized in that: When the background color is red, green or blue, filtering out pixels corresponding to the background from the original image based on the background color includes: Performing channel separation on the original image to obtain a first channel image and a second channel image, wherein the first channel image is a channel image corresponding to the background color; Performing image subtraction on the first channel image and the second channel image to obtain a first target image; Pixel points corresponding to the background are screened out from the first target image, and pixel points in the original image corresponding to the screened out pixel points are determined as pixel points corresponding to the background in the original image.

5. The method for identifying lashing points according to claim 4, characterized in that: The step of selecting pixels corresponding to the background from the first target image includes: Binarizing the first target image to obtain a second target image; Filtering out pixel points corresponding to the background color from the second target image and using them as first background pixel points; Draw a minimum circumscribed polygon containing all the first background pixels from the second target image, and use an image area outside the minimum circumscribed polygon in the second target image as a first image area; A second image area corresponding to the first image area is determined from the first target image, and all pixel points in the second image area and pixel points corresponding to the background color in the first target image are used as pixel points corresponding to the background of the first target image.

6. The method for identifying lashing points according to claim 5, characterized in that: The background of the original image includes a mechanical structure for fixing the material to be tied; The method of using all the pixels in the second image area in the first target image and the pixels corresponding to the background color as the pixels corresponding to the background of the first target image further includes: Eliminating the second image region from the first target image, and performing binarization processing on the first target image after eliminating the second image region, to obtain a third target image; identifying the mechanical structure in the third target image, and determining a third image region corresponding to the mechanical structure from the first target image; In the first target image, all pixels in the second image area, pixels corresponding to the background color, and all pixels in the third image area are used as pixels corresponding to the background of the first target image.

7. The method for identifying lashing points according to claim 6, characterized in that: The identifying the mechanical structure in the third target image comprises: An image erosion operation and an image dilation operation are sequentially performed on the third target image, and the mechanical structure is identified from the third target image after the two operations.

8. The method for identifying lashing points according to claim 2, characterized in that: The step of obtaining a first intersection point formed between the materials to be tied comprises: A straight line fitting is performed on the material to be tied in the original image to obtain a straight line equation of the material to be tied, and the first intersection point of the material to be tied is calculated using the straight line equation.

9. The method for identifying lashing points according to claim 8, characterized in that: The performing straight line fitting on the material to be tied in the original image also includes: Using the original image after the background is removed as a fourth target image; Performing image thinning processing on the fourth target image to obtain the fourth target image after image thinning processing; The fourth target image after the image refinement processing is subjected to a straight line fitting of the material to be bound.

10. The method for identifying lashing points according to claim 9, characterized in that: The performing image thinning processing on the fourth target image to obtain the fourth target image after image thinning processing further includes: Performing an image dilation operation and an image erosion operation on the fourth target image in sequence to obtain a smoothed image; Perform image thinning processing on the smoothed image to obtain the fourth target image after image thinning processing.

11. A method for locating a lashing point, characterized in that: include: Processing the first image using the tying point recognition method of claim 1 to obtain a first tying point in the first image, and acquiring first position information of the first tying point in the first image; Acquire second position information of the first binding point in the second image; The first image and the second image are images captured by two different cameras; The coordinate information of the first binding point in the robot coordinate system is determined according to the first position information and the second position information.

12. A terminal comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 10 are implemented; or, when the processor executes the computer program, the steps of the method according to claim 11 are implemented.

13. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 10 are implemented; or, when the processor executes the computer program, the steps of the method according to claim 11 are implemented.