Robot-to-pile method, apparatus, electronic device, and storage medium

By acquiring and processing depth and color images, the target and alignment interface features of the workstation are identified, and the pose information is determined. This solves the problem that the alignment accuracy of infrared alignment technology is affected by the environment, and achieves a high success rate and stability for robot alignment.

CN117392212BActive Publication Date: 2026-11-20SHENZHEN PUDU TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210783894.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-05
Publication Date
2026-11-20
Estimated Expiration
2042-07-05

AI Technical Summary

Technical Problem

The accuracy of existing infrared alignment technology is greatly affected by the environment during robot alignment. In particular, dust or improper installation of the workstation can easily cause the robot to fail to return to the workstation, resulting in a low success rate.

Method used

By acquiring depth and color images of the area surrounding the robot, image data processing is performed to identify the target and alignment interface features of the workstation, determine the pose information of the workstation, and control the robot to move to the workstation for alignment based on the pose information.

Benefits of technology

This improved the success rate of robot alignment with piles, enhanced the stability and anti-interference capabilities of the alignment process, and ensured the accuracy of the alignment process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117392212B_ABST
    Figure CN117392212B_ABST
Patent Text Reader

Abstract

The application relates to a robot method, device, electronic equipment, storage medium and computer program product. The method comprises: acquiring a target image of a surrounding area of a robot; determining whether a workstation is arranged in the surrounding area according to the target image; if the workstation is arranged in the surrounding area, determining pose information of the workstation according to the target image, the pose information being used for indicating the pose of the workstation relative to the robot; and controlling the robot to go to the workstation for pile detection according to the pose information. The position of the workstation is determined through image recognition, and pile detection is performed, so that the stability and anti-interference capability are high, and the pile detection accuracy is high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of robotics, and in particular to a robot-based method, apparatus, electronic device, and storage medium for locating stubs. Background Technology

[0002] With the development of robotics technology, robot docking technology has emerged. Currently, most robots on the market use infrared docking technology for docking. The principle of this technology is that the workstation continuously emits infrared signals, and the robot's left and right receivers determine its own position by receiving the number and location of the infrared signals, and then plan a route back to the workstation to dock.

[0003] However, the accuracy of infrared alignment technology is greatly affected by the application environment. When the robot receiver is dusty or the workstation is installed in a corner, it may be unable to return to the workstation and get stuck halfway, resulting in a low alignment success rate. Summary of the Invention

[0004] Therefore, it is necessary to provide a robot-based pile-alignment method, apparatus, electronic device, and computer-readable storage medium that can improve the success rate of robot-based pile alignment, addressing the aforementioned technical problems.

[0005] Firstly, this application provides a robot-based method for locating stakes. The method includes:

[0006] Acquire target images captured from the area surrounding the robot;

[0007] The target image is used to determine whether a workstation is located in the surrounding area.

[0008] If the workstation is located in the surrounding area, the pose information of the workstation is determined based on the target image, and the pose information is used to indicate the pose of the workstation relative to the robot.

[0009] Based on the pose information, the robot is controlled to move to the workstation for pile alignment.

[0010] In one embodiment, the target image includes a depth image and a color image, and determining whether a workstation is located in the surrounding area using the target image includes:

[0011] The color image is processed to obtain a first result, and the depth image is processed to obtain a second result. The first result is used to indicate whether the color image includes the image features of the target of the workstation, and the second result is used to indicate whether the depth image includes the contour features of the pile interface of the workstation.

[0012] Based on the first result and the second result, determine whether a workstation is set up in the surrounding area.

[0013] In one embodiment, the image data processing of the color image to obtain a first result includes:

[0014] The color image is binarized to obtain a grayscale image;

[0015] An edge image is obtained by performing boundary extraction on the grayscale image, and the edge image includes at least one graphic.

[0016] The edges that do not meet the preset conditions are filtered to obtain the filtered edges.

[0017] The first result is determined based on the filtered edge image.

[0018] In one embodiment, determining the first result based on the filtered edge image includes:

[0019] Confirm the similarity matching score between the filtered edge image and the template image, wherein the template image includes image features of the target of the workstation;

[0020] If the similarity matching score is greater than the first score threshold, then the first result indicates that the color image includes the image features of the target of the workstation.

[0021] If the similarity matching score is not greater than the first score threshold, then the first result indicates that the color image does not include the image features of the target of the workstation.

[0022] In one embodiment, the process of performing depth data processing on the depth image to obtain a second result includes:

[0023] The depth image is converted into point cloud data to obtain a point cloud dataset;

[0024] Multiple target points that meet the requirements are selected from all points in the point cloud dataset, and the set of the multiple target points is used as contour feature point cloud data;

[0025] The second result is determined based on the contour feature point cloud data.

[0026] In one embodiment, determining the second result based on the contour feature point cloud data includes:

[0027] Confirm whether the feature matching score between the contour feature point cloud data and the template point cloud data is greater than the second score threshold. The template point cloud data includes the point cloud data corresponding to the contour feature of the workstation's docking interface.

[0028] If the feature matching score is greater than the second score threshold, then the second result confirms that the depth image includes the profile features of the workstation's piling interface.

[0029] If the feature matching score is not greater than the second score threshold, then the second result confirms that the depth image does not include the piling interface contour features of the workstation.

[0030] In one embodiment, determining whether a workstation is set up in the surrounding area based on the first result and the second result includes:

[0031] If the first result indicates that the color image includes image features of the target of the workstation, and / or the second result indicates that the depth image includes the contour features of the piling interface of the workstation, then it is determined that a workstation is located in the surrounding area.

[0032] In one embodiment, the pose information includes first pose information, and determining the pose information of the workstation based on the target image includes:

[0033] Determine the coordinates of a first feature point in the point cloud dataset and the coordinates of a second feature point in the point cloud dataset. The first feature point corresponds to the center position of the color image, and the second feature point corresponds to the center position of the image feature of the target of the workstation in the color image.

[0034] The first pose information of the workstation is determined based on the coordinates of the first feature point and the coordinates of the second feature point. The first pose information includes the first deflection angle and the first distance of the workstation relative to the robot.

[0035] And | or the pose information includes second pose information, the step of determining the pose information of the workstation based on the target image includes:

[0036] The second pose information of the workstation is determined based on the center position of the contour feature point cloud data and the center position of the point cloud dataset. The second pose information includes the second deflection angle and the second distance of the workstation relative to the robot.

[0037] In one embodiment, the pose information includes first pose information and / or second pose information, and controlling the robot to proceed to the workstation for alignment based on the pose information includes:

[0038] Confirm whether the error between the first pose information and the second pose information is within a preset range;

[0039] If the error is within the preset range, the robot is controlled to go to the workstation for alignment based on the first pose information or the second pose information.

[0040] Secondly, this application also provides a robot-assisted pile-setting device. The device includes:

[0041] The acquisition module is used to acquire target images captured by photographs of the area surrounding the robot, the target images including depth images and color images;

[0042] The determination module is used to determine whether a workstation is set in the surrounding area based on the target image; if the workstation is set in the surrounding area, the pose information of the workstation is determined based on the target image, and the pose information is used to indicate the pose of the workstation relative to the robot.

[0043] The control module is used to control the robot to move to the workstation for alignment based on the pose information.

[0044] Thirdly, this application also provides an electronic device. The electronic device includes a memory and a processor, the memory storing a computer program, and the processor being used to invoke and execute the computer program to implement the steps of the method described above.

[0045] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, implements the steps of the above-described method.

[0046] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the steps of the above-described method.

[0047] The aforementioned robot-based stake alignment method, apparatus, electronic device, and storage medium acquire target images captured in the robot's surrounding area. These target images include depth and color images. The method uses these target images to determine whether a workstation is located in the surrounding area. If a workstation is identified, its pose information is determined based on the target image, and the robot is controlled to move to the workstation for stake alignment based on this pose information. By determining the workstation's location through image recognition and performing stake alignment, the method demonstrates strong stability and anti-interference capabilities, resulting in a high success rate. Attached Figure Description

[0048] Figure 1This is a diagram illustrating the application environment of the robot-based pile-setting method in one embodiment.

[0049] Figure 2 This is a flowchart illustrating the robot-to-pile method in one embodiment;

[0050] Figure 3 This is a schematic diagram of the process of processing a color image to obtain a first result in one embodiment;

[0051] Figure 4 This is a schematic diagram of the process of performing depth data processing on a depth image to obtain a second result in another embodiment;

[0052] Figure 5 This is a schematic diagram illustrating the determination of the first pose information of the workstation based on a color image in another embodiment;

[0053] Figure 6 This is a schematic diagram illustrating the determination of the second pose information of the workstation based on a depth image in another embodiment.

[0054] Figure 7 This is a structural block diagram of the robot-pile-aligning device in one embodiment;

[0055] Figure 8 This is a diagram of the internal structure of an electronic device in one embodiment. Detailed Implementation

[0056] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0057] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.

[0058] It is understood that the terms "first," "second," etc., used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, without departing from the scope of this application, a first result may be referred to as a second result, and similarly, a second result may be referred to as a first result. Both the first result and the second result are results, but they are not the same result.

[0059] The robot-based stake-setting method provided in this application can be applied to, for example... Figure 1 The application environment shown. For example... Figure 1As shown, robot 101 identifies whether workstation 102 exists in the surrounding area. When workstation 102 is detected, robot 101 proceeds to workstation 102 for target alignment. Robot 101 may be equipped with an RGB-D (Red, Blue, and Blue-Deep Map) camera, which is used to generate target images. Workstation 102 has a target 1021 and a target alignment interface 1022.

[0060] Specifically, when robot 101 needs to dock with workstation 102, it activates an RGB-D camera to capture a target image of the area surrounding robot 101; robot 101 uses the target image to determine whether workstation 102 is located in the surrounding area; if workstation 102 is located in the surrounding area, robot 101 determines the pose information of workstation 102 based on the target image, and the pose information is used to indicate the pose of workstation 102 relative to robot 101; based on the pose information, robot 101 is controlled to move to workstation 102 for docking.

[0061] In one embodiment, such as Figure 2 As shown, a robot-based stake-setting method is provided, which can be applied to... Figure 1 Taking robot 101 as an example, the explanation includes the following steps:

[0062] Step 201: Obtain target images captured from the area surrounding the robot.

[0063] The surrounding area refers to the area around or near the robot. Generally speaking, the surrounding area has a certain range, the size of which depends on the robot's usage environment. For example, when the robot is used for home cleaning, the surrounding area is the size of the house; when the robot is used for food delivery, the surrounding area is the size of the restaurant.

[0064] Step 202: Determine whether a workstation is set up in the surrounding area based on the target image.

[0065] A workstation is an institution established to perform a specific task. Specifically, a workstation is a device set up for a robot to perform docking tasks. In some situations, after a robot completes a task, it needs to return and dock with a workstation. For example, the working time of a cleaning robot is affected by its battery level and wastewater tank capacity. When the battery level or wastewater tank capacity reaches a threshold, it needs to dock with a workstation such as a charging station or wastewater outlet for charging or wastewater discharge. In this case, the workstation includes a charging interface or a wastewater outlet.

[0066] Step 203: If the workstation is located in the surrounding area, determine the pose information of the workstation based on the target image. The pose information is used to indicate the pose of the workstation relative to the robot.

[0067] Pose information describes the position and orientation of an object in a specified coordinate system. Specifically, to better control the robot's alignment with the target, the workstation's orientation, or facing direction, is also needed. Only by knowing the orientation can we distinguish between forward / backward, left / right, and up / down, thus enabling better control of the robot's alignment. In a three-dimensional coordinate system, orientation can be represented by a three-dimensional vector. Position and orientation are collectively called pose, or position and orientation. For example, knowing the (x, y, z) coordinates of the workstation's distance from the robot allows us to calculate the angle and distance between the workstation and the robot.

[0068] Step 204: Control the robot to go to the workstation for pile alignment based on the pose information.

[0069] In the above-described robot-based alignment method, a target image, including a depth image and a color image, is acquired from the surrounding area of ​​the robot. The target image is used to determine whether a workstation is located in the surrounding area. If a workstation is found, its pose information is determined based on the target image, and the robot is then controlled to move to the workstation for alignment. Determining the workstation's pose information through image recognition and performing alignment demonstrates strong stability and anti-interference capabilities, resulting in high alignment accuracy.

[0070] In one embodiment, the target image includes a depth image and a color image, and determining whether a workstation is located in the surrounding area using the target image includes:

[0071] The color image is processed to obtain a first result, and the depth image is processed to obtain a second result. The first result is used to indicate whether the color image includes the image features of the target of the workstation, and the second result is used to indicate whether the depth image includes the contour features of the pile interface of the workstation.

[0072] Depth images, also known as range images, refer to the distance values ​​from obstacles in a scene to the image acquisition device, such as an RGB-D camera. Color images, also known as RGB images, are images where each pixel is typically represented by three components: red (R), green (G), and blue (B).

[0073] In this context, a workstation target refers to an identifier placed on the workstation for identification. The presence of a workstation is determined by recognizing the target. Specifically, the target can be a graphic with distinctive image features. For example, it can be a QR code, a circle, or a special shape, depending on the requirements.

[0074] The first result refers to the result obtained after processing the color image, which can determine whether the color image includes the image features of the target. Specifically, the first result includes, but is not limited to, the grayscale distribution data of the color image, the extracted edge image data, the image data after image enhancement, the image data after image compression, the image data after image enhancement, and the image data after image restoration.

[0075] The second result refers to the result obtained after processing the depth image. Specifically, it includes, but is not limited to, point cloud data converted from the depth image, the coordinates of any pixel in the camera coordinate system, and contour feature point cloud data.

[0076] It should be noted that the number of targets can be set to one, or two or more. Understandably, setting two or more targets prevents the robot from being unable to recognize the workstation if one target is lost.

[0077] Among them, the profile features of the pile-to-pile interface are the profile features of the workstation's pile-to-pile interface. Specifically, the profile features of the pile-to-pile interface include, but are not limited to, the area, perimeter, centroid, bounding box, minimum circumscribed matrix, and minimum circumscribed circle of the pile-to-pile interface.

[0078] Based on the first result and the second result, determine whether a workstation is set up in the surrounding area.

[0079] In this embodiment, the accuracy of whether the workstation is included is confirmed by identifying the image features of the target image and the contour features of the workstation's interface with the pile. This dual confirmation method is more accurate.

[0080] The following embodiments further illustrate how to obtain the first and second results, based on any of the above embodiments.

[0081] In one embodiment, such as Figure 3 As shown, image data processing of a color image yields a first result, including:

[0082] Step 301: Binarize the color image to obtain a grayscale image.

[0083] Step 302: Extract the boundary of the grayscale image to obtain an edge image, wherein the edge image includes at least one graphic.

[0084] Here, an edge image refers to an image that includes edge features. Specifically, an edge image is an image obtained by extracting edges from a grayscale image, and an edge image includes at least one graphic. In this embodiment, the edge image is obtained by extracting the boundaries of the grayscale image using any one of the Sobel, Roberts, Prewitt, Laplacian, and Canny operators. It should be noted that the number and types of graphics included in the edge image may vary for different color images.

[0085] Step 303: Filter the graphics in the edge image that do not meet the preset conditions to obtain the filtered edge image.

[0086] Here, preset conditions refer to pre-set conditions. Specifically, preset conditions are used to filter out the filtered edge images. Optionally, the filtered edge images can be obtained by setting preset conditions such as the shape of the graphic and the aspect ratio of the graphic's boundary. Filtering graphics in the edge image that do not meet the preset conditions means deleting those graphics and keeping only those that do meet the preset conditions, and also filling the portions of the graphics that do not meet the preset conditions with preset pixel values. Specifically, when graphics in the edge image do not meet the preset conditions such as boundary shape and aspect ratio, they will be filtered out, and the remaining graphics are those that meet the preset conditions.

[0087] The retained graphics are those that meet preset conditions. Specifically, graphics included in the edge image that meet preset conditions such as boundary shape and aspect ratio will be retained in the filtered edge image. It should be noted that if the edge image includes graphics that meet the preset conditions, the filtered edge image will also include graphics that meet the preset conditions; if the edge image does not include graphics that meet the preset conditions, the filtered edge image will also not include graphics that meet the preset conditions.

[0088] Step 304: Determine the first result based on the filtered edge image.

[0089] In this embodiment, the filtered edge image is obtained by performing edge extraction and filtering processing in advance, which reduces the workload of subsequent processing.

[0090] In one embodiment, determining the first result based on the filtered edge image includes:

[0091] Confirm the similarity matching score between the filtered edge image and the template image, wherein the template image includes image features of the target of the workstation;

[0092] If the similarity matching score is greater than the first score threshold, then the first result indicates that the color image includes the image features of the target of the workstation.

[0093] If the similarity matching score is not greater than the first score threshold, then the first result indicates that the color image does not include the image features of the target of the workstation.

[0094] In this context, a template image refers to an image that includes the image features of the target object. In this embodiment, the template image includes the image features of the target of the workstation. Specifically, the template image can be selected according to the application scenario. Template images are typically used for template matching. By comparing the template image with the test image, similar parts of the test image to the template image are found. Template matching can obtain the similarity, rotation angle, row and column coordinates, scaling, etc., between the image features of the target in the color image and the image features of the target in the template image. In this embodiment, template matching includes, but is not limited to, template matching based on grayscale values, correlation-based template matching, shape-based template matching, component-based template matching, descriptor-based template matching, point-based template matching, template matching based on local deformation, and template matching based on perspective deformation.

[0095] The first scoring threshold, also known as the critical value, refers to the minimum or maximum value at which an effect can be produced. Specifically, the first scoring threshold refers to the similarity matching score threshold. For example, if the total similarity matching score is 100, and the first scoring threshold is set to 90, then when the similarity matching score is 90, the color image is determined to contain the image features of the target. For instance, the first scoring threshold can be set as needed; it can be set to 90 or 80.

[0096] Understandably, the higher the first score threshold is set, the higher the accuracy, but the lower the success rate of a successful match. Therefore, the threshold can be set according to actual needs.

[0097] In this embodiment, template matching is used to confirm whether the color image includes the image features of the workstation target, making the confirmation method more efficient.

[0098] It should be noted that when multiple targets are set on the workstation, the template image should include the image features of multiple targets. For example, when the workstation has two targets, the corresponding template image contains two targets. When matching the filtered edge image with the template image, if the filtered edge image contains only one target, and the similarity matching score is greater than the threshold, it indicates that the target is correct, and also indicates that the color image contains the image features of the workstation target. If the filtered edge image contains two targets, and both similarity matching scores are greater than the threshold, it indicates that the target is correct, and also indicates that the color image contains the image features of the workstation target. If the filtered edge image contains two targets, and one similarity matching score is greater than the threshold while the other is less than the threshold, then the one with the higher threshold indicates that the target is correct, and the others are incorrect, and also indicates that the color image contains the image features of the workstation target.

[0099] In one embodiment, such as Figure 4 As shown, performing depth data processing on the depth image to obtain a second result includes:

[0100] Step 401: Convert the depth image into point cloud data to obtain a point cloud dataset.

[0101] Point cloud datasets refer to a collection of vectors within a three-dimensional coordinate system. Specifically, these vectors are typically represented by X, Y, and Z three-dimensional coordinates and are generally used to represent the shape of an object's outer surface. In addition to geometric location, point cloud data sometimes includes color information. Color information is usually obtained by acquiring color images from a camera and then assigning the color information (RGB) of the corresponding pixels in the point cloud. Intensity information is obtained from the echo intensity collected by a laser scanner receiver. This intensity information is related to the target's surface material, roughness, incident angle, and the instrument's emitted energy and laser wavelength.

[0102] Step 402: Select multiple target points that meet the requirements from all points in the point cloud dataset, and use the set of multiple target points as contour feature point cloud data; where target points refer to points related to the contour features of the workstation interface. Specifically, firstly, the points in the point cloud dataset are filtered using a distance filtering algorithm to obtain a first point cloud dataset; then, the points in the first point cloud dataset are clustered using a clustering algorithm to obtain multiple classes, and classes that do not meet the requirements are deleted to obtain points in classes that meet the requirements. Thus, the points in classes that meet the requirements are used as the point cloud data corresponding to the contour features of the workstation interface, i.e., contour feature point cloud data.

[0103] Distance filtering algorithms are used to filter data. Specifically, distance filtering algorithms include, but are not limited to, Euclidean distance, Manhattan distance, and Chebyshev distance algorithms.

[0104] Clustering algorithms are unsupervised learning algorithms. Specifically, clustering algorithms use methods or means to group datasets into different categories. Commonly used clustering algorithms include partition-based clustering, hierarchical clustering, density-based clustering, and network-based clustering. Clustering algorithms are used to cluster points in a point cloud dataset to obtain corresponding points for each category, and these points are then used as contour feature point cloud data.

[0105] Step 403: Determine the second result based on the contour feature point cloud data.

[0106] In this embodiment, contour feature point cloud data is obtained through clustering algorithm, which facilitates subsequent feature matching.

[0107] In one embodiment, determining the second result based on the contour feature point cloud data includes:

[0108] Confirm whether the feature matching score between the contour feature point cloud data and the template point cloud data is greater than the second score threshold. The template point cloud data includes the point cloud data corresponding to the contour feature of the workstation's docking interface.

[0109] If the feature matching score is greater than the second score threshold, then the second result confirms that the depth image includes the profile features of the workstation's docking interface.

[0110] If the feature matching score is not greater than the second score threshold, then the second result confirms that the depth image does not include the piling interface contour features of the workstation.

[0111] The template point cloud data refers to point cloud data that includes the outline features of the workstation's anchoring interface. Specifically, feature matching is performed between the outline feature point cloud data and the template point cloud data to determine whether the depth image includes the workstation's anchoring interface.

[0112] The second scoring threshold, also known as the critical value, refers to the minimum or maximum value at which an effect can be produced. Specifically, the second scoring threshold refers to the feature matching scoring threshold. For example, if the total feature matching score is 100, and the first scoring threshold is set to 95, then when the similarity matching score is 95, the test image is determined to include the target object, at which point the contour similarity is as high as 95%. For instance, the first scoring threshold can be set as needed, such as to 90 or 98.

[0113] It should be noted that the first and second score thresholds can be the same or different, and can be set as needed.

[0114] In this embodiment, contour feature matching is used to confirm whether the depth image includes the contour features of the workstation interface, which is more accurate.

[0115] In one embodiment, determining whether a workstation is located in the surrounding area based on the first result and the second result includes:

[0116] If the first result indicates that the color image includes image features of the target of the workstation, and / or the second result indicates that the depth image includes the contour features of the piling interface of the workstation, then it is determined that a workstation is located in the surrounding area.

[0117] In this embodiment, the presence of a workstation in the surrounding area is determined by the first result and the second result, thus enriching the method for determining the presence of a workstation.

[0118] In one embodiment, the pose information includes first pose information, such as... Figure 5 As shown, a method for determining the first pose information of a workstation based on a color image is provided. In this embodiment, determining the pose information of the workstation based on the target image includes:

[0119] Determine the coordinates of a first feature point in the point cloud dataset and the coordinates of a second feature point in the point cloud dataset. The first feature point corresponds to the center position of the color image, and the second feature point corresponds to the center position of the image feature of the target of the workstation in the color image.

[0120] The first pose information of the workstation is determined based on the coordinates of the first feature point and the coordinates of the second feature point. The first pose information includes the first deflection angle and the first distance of the workstation relative to the robot.

[0121] The first feature point is the point corresponding to the center position of the color image, and the second feature point is the point corresponding to the center position of the target in the color image. Specifically, the first pose information is calculated by determining the coordinates of the first and second feature points.

[0122] The first deflection angle refers to the angle between the workstation and the robot obtained from the color image. Specifically, it characterizes the positional relationship between the robot and the target center. Optionally, the first deflection angle can be calculated using the triangle relationship of a right triangle. The first distance refers to the distance between the workstation and the robot obtained from the color image. Specifically, it characterizes the straight-line distance between the robot and the target center. Optionally, the first distance can be calculated using the triangle relationship of a right triangle.

[0123] Specifically, after determining the coordinates of the center position of the color image and the center position of the target in the color image, the horizontal distance dx between the center position of the color image and the center position of the target in the color image, and the distance dy between the robot and the center position of the color image are calculated. The horizontal distance dx and the vertical distance dy form the legs of a right triangle. The length of the hypotenuse, i.e., the first distance, is calculated using the two legs of the right triangle. The angle between the hypotenuse and the vertical distance dy, i.e., the first deflection angle, is solved using the cosine or sine formed by the hypotenuse and any leg.

[0124] In this embodiment, the workstation's pose information can be confirmed by the coordinates corresponding to the color image and the target image, which is convenient and efficient.

[0125] In one embodiment, the pose information includes second pose information, such as... Figure 6 As shown, a method for determining the second pose information of a workstation based on a depth image is provided. In this embodiment, the second pose information of the workstation is determined based on the center position of the contour feature point cloud data and the center position of the point cloud dataset. The second pose information includes a second deflection angle and a second distance of the workstation relative to the robot.

[0126] The second deflection angle refers to the angle between the workstation and the robot, obtained from the depth image. Specifically, it characterizes the positional relationship between the robot and the workstation at the anchor interface. Optionally, the second deflection angle can be calculated using the triangle relationship of a right triangle.

[0127] The second distance refers to the distance between the workstation and the robot, obtained from the depth image. Specifically, it characterizes the straight-line distance between the robot and the workstation's docking interface. Optionally, the second distance can be calculated using the triangle relationship of a right triangle.

[0128] Specifically, after determining the coordinates of the center position of the point cloud dataset obtained from the depth image conversion and the center position of the contour feature point cloud data, the horizontal distance dx between the center positions of the point cloud dataset and the contour feature point cloud data, and the vertical distance dy between the robot and the center position of the depth image are calculated. The horizontal distance dx and the vertical distance dy form the legs of a right triangle. The length of the hypotenuse, i.e., the second distance, is calculated using the two legs of the right triangle. The angle between the hypotenuse and the vertical distance dy, i.e., the second deflection angle, is solved using the cosine or sine formed by the hypotenuse and any leg.

[0129] In this embodiment, the pose information of the workstation can be confirmed by the center position of the point cloud dataset corresponding to the depth image and the center position of the contour feature point cloud data, which is convenient and efficient.

[0130] In one embodiment, the pose information includes a first pose information and a second pose information, and controlling the robot to move to the workstation for alignment based on the pose information includes:

[0131] Confirm whether the error between the first pose information and the second pose information is within a preset range;

[0132] If the error is within the preset range, the robot is controlled to go to the workstation for alignment based on the first pose information or the second pose information.

[0133] The preset range is a pre-set range. Specifically, it can be set as needed. For example, the preset range can be set to a difference of ±0.3 meters between the first distance and the second distance, and a difference of ±1° between the first angle and the second angle. When the error between the first pose information and the second pose information is within the preset range, it indicates that the position of the workstation is correctly determined.

[0134] In this embodiment, the position of the workstation is determined by comparing whether the error between the first pose information and the second pose information is within a preset range, thereby improving the accuracy of the stake alignment.

[0135] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0136] Based on the same inventive concept, this application also provides a robot pile-setting device for implementing the robot pile-setting method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations of one or more robot pile-setting device embodiments provided below can be found in the limitations of the robot pile-setting method described above, and will not be repeated here.

[0137] In one embodiment, such as Figure 7 As shown, a robot-based stake-aligning device is provided, comprising: an acquisition module 701, a determination module 702, and a control module 703, wherein:

[0138] The acquisition module 701 is used to acquire target images captured by photographs of the area surrounding the robot;

[0139] The determining module 702 is used to determine whether a workstation is set in the surrounding area through the target image; if the workstation is set in the surrounding area, the pose information of the workstation is determined according to the target image, and the pose information is used to indicate the pose of the workstation relative to the robot.

[0140] The control module 703 is used to control the robot to move to the workstation for alignment based on the pose information.

[0141] In one embodiment, the determining module 702 includes:

[0142] A first processing unit is used to perform image data processing on the color image to obtain a first result, and a second processing unit is used to perform depth data processing on the depth image to obtain a second result. The first result is used to indicate whether the color image includes image features of the target of the workstation, and the second result is used to indicate whether the depth image includes the contour features of the anchor interface of the workstation.

[0143] The determining unit is used to determine whether a workstation is set up in the surrounding area based on the first result and the second result.

[0144] In one embodiment, the first processing unit includes:

[0145] A grayscale processing subunit is used to perform binarization processing on the color image to obtain a grayscale image;

[0146] A boundary extraction subunit is used to extract the boundary of the grayscale image to obtain an edge image;

[0147] The filtering processing subunit is used to filter the graphics in the edge image that do not meet the preset conditions to obtain the filtered edge image.

[0148] A first determining subunit is used to determine the first result based on the filtered edge image.

[0149] In one embodiment, the first confirmation subunit is specifically used to confirm the similarity matching score between the filtered edge image and the template image, wherein the template image includes image features of the workstation target; if the similarity matching score is greater than the first score threshold, the first result is confirmed to indicate that the color image includes image features of the workstation target; if the similarity matching score is not greater than the first score threshold, the first result is confirmed to indicate that the color image does not include image features of the workstation target.

[0150] In one embodiment, the second processing unit includes:

[0151] A conversion subunit is used to convert the depth image into point cloud data to obtain a point cloud dataset;

[0152] The filtering subunit is used to filter out multiple target points that meet the requirements from all points in the point cloud dataset, and use the set of multiple target points as contour feature point cloud data; the second determining subunit is used to determine the second result based on the contour feature point cloud data.

[0153] In one embodiment, the second confirmation subunit is specifically used to confirm whether the feature matching score between the contour feature point cloud data and the template point cloud data is greater than a second score threshold, wherein the template point cloud data includes point cloud data corresponding to the contour feature of the workstation's docking interface; if the feature matching score is greater than the second score threshold, the second result is confirmed to indicate that the depth image includes the contour feature of the workstation's docking interface; if the feature matching score is not greater than the second score threshold, the second result is confirmed to indicate that the depth image does not include the contour feature of the workstation's docking interface.

[0154] In one embodiment, the determining unit is specifically configured to determine that a workstation is located in the surrounding area if the first result indicates that the color image includes image features of the target of the workstation, and / or the second result indicates that the depth image includes the profile features of the piling interface of the workstation.

[0155] In one embodiment, the determining unit includes:

[0156] The third determining subunit is used to determine the coordinates of a first feature point in the point cloud dataset and the coordinates of a second feature point in the point cloud dataset. The first feature point corresponds to the center position of the color image, and the second feature point corresponds to the center position of the image feature of the target of the workstation in the color image.

[0157] The fourth determining subunit is used to determine the first pose information of the workstation based on the coordinates of the first feature point and the coordinates of the second feature point. The first pose information includes the first deflection angle and the first distance of the workstation relative to the robot.

[0158] In one embodiment, the determining unit includes:

[0159] The fifth determining subunit is used to determine the second pose information of the workstation based on the center position of the contour feature point cloud data and the center position of the point cloud data. The second pose information includes the second deflection angle and the second distance of the workstation relative to the robot.

[0160] In one embodiment, the control module 703 includes:

[0161] The sixth determining subunit is used to confirm whether the error between the first pose information and the second pose information is within a preset range;

[0162] The control unit is specifically used to control the robot to go to the workstation for alignment based on the first pose information or the second pose information if the error is within the preset range.

[0163] Each module in the aforementioned robot-based pile-setting device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of the electronic device in hardware form or independent of it, or stored in the memory of the electronic device in software form, so that the processor can call and execute the corresponding operations of each module.

[0164] In one embodiment, an electronic device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 8 As shown, the electronic device includes a processor, memory, and a network interface connected via a system bus. The processor provides computational and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database stores robot staking data. The network interface communicates with external terminals via a network connection. When the computer program is executed by the processor, it implements a robot staking method.

[0165] Those skilled in the art will understand that Figure 8 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the electronic device to which the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.

[0166] In one embodiment, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:

[0167] Acquire target images captured from the area surrounding the robot;

[0168] The target image is used to determine whether a workstation is located in the surrounding area.

[0169] If the workstation is located in the surrounding area, the pose information of the workstation is determined based on the target image, and the pose information is used to indicate the pose of the workstation relative to the robot.

[0170] Based on the pose information, the robot is controlled to move to the workstation for pile alignment.

[0171] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0172] The color image is processed to obtain a first result, and the depth image is processed to obtain a second result. The first result is used to indicate whether the color image includes the image features of the target of the workstation, and the second result is used to indicate whether the depth image includes the contour features of the pile interface of the workstation.

[0173] Based on the first result and the second result, determine whether a workstation is set up in the surrounding area.

[0174] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0175] The color image is binarized to obtain a grayscale image;

[0176] An edge image is obtained by performing boundary extraction on the grayscale image, and the edge image includes at least one graphic.

[0177] The edges that do not meet the preset conditions are filtered to obtain the filtered edges.

[0178] The first result is determined based on the filtered edge image.

[0179] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0180] Confirm the similarity matching score between the filtered edge image and the template image, wherein the template image includes image features of the target of the workstation;

[0181] If the similarity matching score is greater than the first score threshold, then the first result indicates that the color image includes the image features of the target of the workstation.

[0182] If the similarity matching score is not greater than the first score threshold, then the first result indicates that the color image does not include the image features of the target of the workstation.

[0183] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0184] The depth image is converted into point cloud data to obtain a point cloud dataset;

[0185] Multiple target points that meet the requirements are selected from all points in the point cloud dataset, and the set of multiple target points is used as contour feature point cloud data;

[0186] The second result is determined based on the contour feature point cloud data.

[0187] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0188] Confirm whether the feature matching score between the contour feature point cloud data and the template point cloud data is greater than the second score threshold. The template point cloud data includes point cloud data corresponding to the contour feature of the workstation's docking interface.

[0189] If the feature matching score is greater than the second score threshold, then the second result confirms that the depth image includes the profile features of the workstation's docking interface.

[0190] If the feature matching score is not greater than the second score threshold, then the second result confirms that the depth image does not include the piling interface contour features of the workstation.

[0191] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0192] If the first result indicates that the color image includes image features of the target of the workstation, and / or the second result indicates that the depth image includes the contour features of the piling interface of the workstation, then it is determined that a workstation is located in the surrounding area.

[0193] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0194] Determine the coordinates of a first feature point in the point cloud dataset and the coordinates of a second feature point in the point cloud dataset. The first feature point corresponds to the center position of the color image, and the second feature point corresponds to the center position of the image feature of the target of the workstation in the color image.

[0195] The first pose information of the workstation is determined based on the coordinates of the first feature point and the coordinates of the second feature point. The first pose information includes the first deflection angle and the first distance of the workstation relative to the robot.

[0196] In one embodiment, when the processor executes the computer program, it further performs the following steps: determining the second pose information of the workstation based on the center position of the contour feature point cloud data and the center position of the point cloud dataset, the second pose information including a second deflection angle and a second distance of the workstation relative to the robot.

[0197] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0198] Confirm whether the error between the first pose information and the second pose information is within a preset range;

[0199] If the error is within the preset range, the robot is controlled to go to the workstation for alignment based on the first pose information or the second pose information.

[0200] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:

[0201] Acquire target images of the area surrounding the robot, the target images including depth images and color images;

[0202] The target image is used to determine whether a workstation is located in the surrounding area.

[0203] If the workstation is located in the surrounding area, the pose information of the workstation is determined based on the target image, and the pose information is used to indicate the pose of the workstation relative to the robot.

[0204] Based on the pose information, the robot is controlled to move to the workstation for pile alignment.

[0205] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:

[0206] The color image is processed to obtain a first result, and the depth image is processed to obtain a second result. The first result is used to indicate whether the color image includes the image features of the target of the workstation, and the second result is used to indicate whether the depth image includes the contour features of the pile interface of the workstation.

[0207] Based on the first result and the second result, determine whether a workstation is set up in the surrounding area.

[0208] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:

[0209] The color image is binarized to obtain a grayscale image;

[0210] An edge image is obtained by performing boundary extraction on the grayscale image, and the edge image includes at least one graphic.

[0211] The edges that do not meet the preset conditions are filtered to obtain the filtered edges.

[0212] The first result is determined based on the filtered edge image.

[0213] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:

[0214] Confirm the similarity matching score between the filtered edge image and the template image, wherein the template image includes image features of the workstation target;

[0215] If the similarity matching score is greater than the first score threshold, then the first result indicates that the color image includes the image features of the target of the workstation.

[0216] If the similarity matching score is not greater than the first score threshold, then the first result indicates that the color image does not include the image features of the target of the workstation.

[0217] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:

[0218] The depth image is converted into point cloud data to obtain a point cloud dataset;

[0219] Multiple target points that meet the requirements are selected from all points in the point cloud dataset, and the set of multiple target points is used as contour feature point cloud data; the second result is determined based on the contour feature point cloud data.

[0220] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:

[0221] Confirm whether the feature matching score between the contour feature point cloud data and the template point cloud data is greater than the second score threshold. The template point cloud data includes point cloud data corresponding to the contour feature of the workstation's docking interface.

[0222] If the feature matching score is greater than the second score threshold, then the second result confirms that the depth image includes the profile features of the workstation's piling interface.

[0223] If the feature matching score is not greater than the second score threshold, then the second result confirms that the depth image does not include the piling interface contour features of the workstation.

[0224] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:

[0225] If the first result indicates that the color image includes image features of the target of the workstation, and / or the second result indicates that the depth image includes the contour features of the piling interface of the workstation, then it is determined that a workstation is located in the surrounding area.

[0226] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:

[0227] Determine the coordinates of a first feature point in the point cloud dataset and the coordinates of a second feature point in the point cloud dataset. The first feature point corresponds to the center position of the color image, and the second feature point corresponds to the center position of the image feature of the target of the workstation in the color image.

[0228] The first pose information of the workstation is determined based on the coordinates of the first feature point and the coordinates of the second feature point. The first pose information includes the first deflection angle and the first distance of the workstation relative to the robot.

[0229] In one embodiment, when the computer program is executed by a processor, it further performs the following steps:

[0230] The second pose information of the workstation is determined based on the center position of the contour feature point cloud data and the center position of the point cloud data. The second pose information includes a second deflection angle and a second distance of the workstation relative to the robot. In one embodiment, the computer program, when executed by a processor, further implements the following steps:

[0231] Confirm whether the error between the first pose information and the second pose information is within a preset range;

[0232] If the error is within the preset range, the robot is controlled to go to the workstation for alignment based on the first pose information or the second pose information.

[0233] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:

[0234] Acquire target images of the area surrounding the robot;

[0235] The target image is used to determine whether a workstation is located in the surrounding area.

[0236] If the workstation is located in the surrounding area, the pose information of the workstation is determined based on the target image, and the pose information is used to indicate the pose of the workstation relative to the robot.

[0237] Based on the pose information, the robot is controlled to move to the workstation for pile alignment.

[0238] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0239] The color image is processed to obtain a first result, and the depth image is processed to obtain a second result. The first result is used to indicate whether the color image includes the image features of the target of the workstation, and the second result is used to indicate whether the depth image includes the contour features of the pile interface of the workstation.

[0240] Based on the first result and the second result, determine whether a workstation is set up in the surrounding area.

[0241] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0242] The color image is binarized to obtain a grayscale image;

[0243] An edge image is obtained by performing boundary extraction on the grayscale image, and the edge image includes at least one graphic.

[0244] The edges that do not meet the preset conditions are filtered to obtain the filtered edges.

[0245] The first result is determined based on the filtered edge image.

[0246] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0247] Confirm the similarity matching score between the filtered edge image and the template image, wherein the template image includes the image features of the target;

[0248] If the similarity matching score is greater than the first score threshold, then the first result indicates that the color image includes the image features of the target of the workstation.

[0249] If the similarity matching score is not greater than the first score threshold, then the first result indicates that the color image does not include the image features of the target of the workstation.

[0250] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0251] Convert the depth image into point cloud data;

[0252] Multiple target points that meet the requirements are selected from all points in the point cloud dataset, and the set of the multiple target points is used as contour feature point cloud data;

[0253] The second result is determined based on the contour feature point cloud data.

[0254] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0255] Confirm whether the feature matching score between the contour feature point cloud data and the template point cloud data is greater than the second score threshold. The template point cloud data includes the point cloud data corresponding to the contour feature of the workstation's docking interface.

[0256] If the feature matching score is greater than the second score threshold, then the second result confirms that the depth image includes the profile features of the workstation's docking interface.

[0257] If the feature matching score is not greater than the second score threshold, then the second result confirms that the depth image does not include the piling interface contour features of the workstation.

[0258] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0259] If the first result indicates that the color image includes image features of the target of the workstation, and / or the second result indicates that the depth image includes the contour features of the piling interface of the workstation, then it is determined that a workstation is located in the surrounding area.

[0260] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0261] Determine the coordinates of a first feature point in the point cloud dataset and the coordinates of a second feature point in the point cloud dataset. The first feature point corresponds to the center position of the color image, and the second feature point corresponds to the center position of the image feature of the target of the workstation in the color image.

[0262] The first pose information of the workstation is determined based on the coordinates of the first feature point and the coordinates of the second feature point. The first pose information includes a first deflection angle and a first distance of the workstation relative to the robot.

[0263] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0264] The second pose information of the workstation is determined based on the center position of the contour feature point cloud data and the center position of the point cloud data. The second pose information includes a second deflection angle and a second distance of the workstation relative to the robot. In one embodiment, the computer program, when executed by a processor, further implements the following steps:

[0265] Confirm whether the error between the first pose information and the second pose information is within a preset range;

[0266] If the error is within the preset range, the robot is controlled to go to the workstation for alignment based on the first pose information or the second pose information.

[0267] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0268] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0269] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A robot-based method for aligning piles, characterized in that, The method includes: Acquire target images of the area surrounding the robot; the target images include depth images and color images; The color image is binarized to obtain a grayscale image; An edge image is obtained by performing boundary extraction on the grayscale image, and the edge image includes at least one graphic; the number and types of graphics included in the edge image vary for different color images; The edges in the image that do not meet the preset conditions are filtered to obtain the filtered edges; the filtered edges include the shapes that meet the preset conditions; the preset conditions include at least one of the shape of the shape and the aspect ratio of the shape's boundary. A first result is determined based on the filtered edge image; The depth image is converted into point cloud data to obtain a point cloud dataset; The points in the point cloud dataset are filtered by a distance filtering algorithm to obtain a first point cloud dataset. The points in the first point cloud dataset are then clustered by a clustering algorithm to obtain multiple classes. Classes that do not meet the requirements are deleted to obtain multiple target points that meet the requirements. The set of multiple target points is then used as contour feature point cloud data. The second result is determined based on the contour feature point cloud data; If the first result indicates that the color image includes image features of the target of the workstation, and / or the second result indicates that the depth image includes the outline features of the anchor interface of the workstation, then it is determined that a workstation is set in the surrounding area; If the workstation is located in the surrounding area, the pose information of the workstation is determined based on the target image, and the pose information is used to indicate the pose of the workstation relative to the robot. Based on the pose information, the robot is controlled to move to the workstation to perform pile alignment; The pose information includes first pose information and second pose information. Determining the pose information of the workstation based on the target image includes: Determine the coordinates of a first feature point in the point cloud dataset and the coordinates of a second feature point in the point cloud dataset. The first feature point corresponds to the center position of the color image, and the second feature point corresponds to the center position of the image feature of the target of the workstation in the color image. The first pose information of the workstation is determined based on the coordinates of the first feature point and the coordinates of the second feature point. The first pose information includes the first deflection angle and the first distance of the workstation relative to the robot. The second pose information of the workstation is determined based on the center position of the contour feature point cloud data and the center position of the point cloud dataset. The second pose information includes the second deflection angle and the second distance of the workstation relative to the robot. The step of controlling the robot to move to the workstation for alignment based on the pose information includes: If the error between the first pose information and the second pose information is within a preset range, then the robot is controlled to go to the workstation for alignment based on the first pose information or the second pose information.

2. The method according to claim 1, characterized in that, The first result is used to indicate whether the color image includes image features of the target of the workstation, and the second result is used to indicate whether the depth image includes the profile features of the pile interface of the workstation.

3. The method according to claim 1, characterized in that, The depth image refers to the distance values ​​from each obstacle in the scene to the image collector, as captured by the image collector.

4. The method according to claim 1, characterized in that, Determining the first result based on the filtered edge image includes: Confirm the similarity matching score between the filtered edge image and the template image, wherein the template image includes image features of the target of the workstation; If the similarity matching score is greater than the first score threshold, then the first result indicates that the color image includes the image features of the target of the workstation. If the similarity matching score is not greater than the first score threshold, then the first result indicates that the color image does not include the image features of the target of the workstation.

5. The method according to claim 1, characterized in that, The workstation refers to a device set up for robots to perform docking tasks.

6. The method according to claim 1, characterized in that, Determining the second result based on the contour feature point cloud data includes: Confirm whether the feature matching score between the contour feature point cloud data and the template point cloud data is greater than the second score threshold. The template point cloud data includes the point cloud data corresponding to the contour feature of the workstation's docking interface. If the feature matching score is greater than the second score threshold, then the second result confirms that the depth image includes the profile features of the workstation's docking interface. If the feature matching score is not greater than the second score threshold, then the second result confirms that the depth image does not include the piling interface contour features of the workstation.

7. The method according to claim 1, characterized in that, The target of the workstation refers to the identifier set on the workstation for identification purposes.

8. The method according to claim 1, characterized in that, The color image refers to an image in which each pixel is typically represented by three components: red, green, and blue.

9. The method according to claim 1, characterized in that, The target of the workstation is a QR code, a circle, or a special shape.

10. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, The processor is used to implement the steps of the method according to any one of claims 1 to 9 when it invokes and executes the computer program.

Citation Information

Patent Citations

  • Charging pile docking method and device, computer equipment and storage medium

    CN113378750A