A method and device for screening a grasping pose, and an electronic device

By performing multiple security filters in ascending order of computational complexity, and combining geometric constraints and projection security detection, a risk set is divided and the target grasping pose is selected. This solves the problems of high computational overhead and poor real-time performance in existing technologies, and achieves efficient and secure grasping pose selection.

CN123169099APending Publication Date: 2026-11-27SHENZHEN GUERQI PRECISION INTELLIGENT MANUFACTURING ROBOT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611491964.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-23
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing industrial robot grasping pose selection schemes suffer from high computational overhead and poor real-time performance, making it difficult to meet the comprehensive requirements of safety, efficiency, and robustness in industrial material handling scenarios.

Method used

Multiple safety filters are performed in order of increasing computational complexity, including geometric constraint filtering, size filtering, and projection safety detection. The targets are divided into low-risk, medium-risk, and high-risk sets, and the target grasping pose that meets the non-occlusion condition is selected according to priority.

Benefits of technology

It significantly reduces computational load, improves screening efficiency and real-time performance, reduces the risk of collisions during operation, and enhances the safety of the robot in grasping targets.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123169099A_ABST
    Figure CN123169099A_ABST
Patent Text Reader

Abstract

The application discloses a screening method and device for a grabbing pose and electronic equipment, and belongs to the technical field of robots. The method comprises the following steps: acquiring a plurality of candidate poses of a robot; performing multiple safety filtering on the plurality of candidate poses in ascending order of calculation complexity to obtain a filtered pose set; dividing the filtered pose set into a plurality of candidate sets according to the position risk of different candidate poses in the filtered pose set; and selecting a candidate pose that meets a preset non-occlusion condition from the plurality of candidate sets as a target grabbing pose according to a preset priority. The application can solve the problems of large calculation overhead and poor real-time performance of the existing industrial robot grabbing pose selection scheme.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of robotics technology, specifically relating to a method, device, and electronic device for screening grasping poses. Background Technology

[0002] In the fields of intelligent manufacturing and industrial automation, vision-guided grasping operations by robots are a key link in achieving unmanned production. In industrial material handling scenarios, the vision system may output dozens of grasping candidate poses per frame. These candidates are mixed with various safety hazards, such as normal tilt causing gripper slippage, proximity to the edge of the material frame causing collisions, objects occluding each other causing the gripper to fail to close, and obstacles higher than the grasping surface in the projection area causing interference.

[0003] However, traditional solutions generally suffer from problems such as high computational overhead and poor real-time performance, making it difficult to meet the comprehensive requirements of safety, efficiency and robustness in industrial material handling scenarios. Summary of the Invention

[0004] The purpose of this application is to provide a method, device, and electronic device for selecting grasping poses, which can solve the problems of high computational overhead and poor real-time performance in existing industrial robot grasping pose selection schemes.

[0005] To solve the above-mentioned technical problems, this application is implemented as follows: In a first aspect, embodiments of this application provide a method for filtering grasping poses, the method comprising: Obtain multiple candidate poses for the robot; Following an increasing order of computational complexity, the multiple candidate poses are subjected to multiple safety filters to obtain a set of filtered poses. Based on the positional risk of different candidate poses in the filtered pose set, the filtered pose set is divided into multi-level candidate sets; Candidate poses that meet preset non-occlusion conditions are selected from the multi-layer candidate set according to preset priority as target grasping poses.

[0006] Optionally, the safety filtering includes geometric constraint filtering, size filtering, and projection safety detection. The step of performing multiple safety filters on the multiple candidate poses in ascending order of computational complexity to obtain a filtered pose set includes: Geometric constraint filtering is performed on the multiple candidate poses to obtain a first candidate pose set that satisfies the orientation constraints; The first candidate pose set is filtered by size to obtain a second candidate pose set that meets the preset size range. Projection safety detection is performed on the second candidate pose set to obtain a third candidate pose set without collision risk; The filtered pose set is obtained by filtering out candidate poses from the third candidate pose set whose distance from the edge of the material frame is less than a preset distance threshold.

[0007] Optionally, the step of performing geometric constraint filtering on the plurality of candidate poses to obtain a first candidate pose set that satisfies the orientation constraints includes: The grasping normal of the multiple candidate poses is extracted by solving the rotation matrix using Euler angles, and the horizontal component of the grasping normal is calculated. Candidate poses that satisfy the orientation constraints of the horizontal component are selected to obtain the first candidate pose set; the orientation constraints include the horizontal component having a magnitude less than or equal to a preset magnitude threshold, or the horizontal component having the same orientation as the position component.

[0008] Optionally, the step of performing size filtering on the first candidate pose set to obtain a second candidate pose set that satisfies a preset size range includes: Perform connected component analysis on the binary masks of each grasped object in the first candidate pose set to determine the minimum area rectangle of each grasped object; Based on the minimum area rectangle and preset camera parameters, determine the physical dimensions of each grasping object; The candidate poses of the first candidate pose set are filtered out if the physical size of the object being grasped exceeds a preset size range, to obtain the second candidate pose set.

[0009] Optionally, the step of performing projection safety detection on the second candidate pose set to obtain a third candidate pose set without collision risk includes: The robot's gripper is projected onto the image plane, and the theoretical depth between the gripper and the image plane is calculated using the ray-plane intersection formula. The theoretical depth is compared pixel by pixel with the depth value in the actual depth map to obtain the proportion of collision pixels; The third candidate pose set is obtained by filtering out candidate poses whose collision pixel ratio is greater than a preset threshold in the second candidate pose set.

[0010] Optionally, the step of dividing the filtered pose set into multi-level candidate sets based on the positional risk of different candidate poses in the filtered pose set includes: Determine the distance between the projection point of each candidate position and the edge of the material frame; the projection point is the projection point on the plane of the material frame; Based on the distance falling into the interval, the filtered pose set is divided into a low-risk set, a medium-risk set, and a high-risk set.

[0011] Optionally, before performing projection safety detection on the second candidate pose set to obtain a third candidate pose set without collision risk, the method further includes: Obtain all candidate poses that have not undergone safety filtering; Based on the geometric information of all candidate poses, the degree of occlusion between candidate poses is detected by convex hull dilation. Based on the degree of occlusion, each candidate pose in the second candidate pose set is divided into occluded candidates and unoccluded candidates.

[0012] Optionally, the multi-layered candidate set includes a low-risk set, a medium-risk set, and a high-risk set. The step of selecting candidate poses that meet preset non-occlusion conditions from the multi-layered candidate set according to a preset priority as the target grasping pose includes: Non-occlusion candidates are selected from the union of the low-risk set and the medium-risk set as the target grasping pose; If no candidate poses satisfying the non-occlusion condition are found in the union set, a non-occlusion candidate is selected from the high-risk set as the target grasping pose. If no candidate pose satisfies the non-occlusion condition in any candidate set, an occlusion candidate is reselected from the filtered pose set as the target grasping pose.

[0013] Secondly, embodiments of this application provide a screening device for grasping poses, the device comprising: The pose acquisition module is used to acquire multiple candidate poses of the robot; The pose filtering module is used to perform multiple safety filters on the multiple candidate poses in order of increasing computational complexity to obtain a set of filtered poses. The pose layering module is used to divide the filtered pose set into multiple candidate sets based on the positional risk of different candidate poses in the filtered pose set. The pose selection module is used to select candidate poses that meet preset non-occlusion conditions from the multi-layer candidate set according to preset priority as target grasping poses.

[0014] Thirdly, embodiments of this application provide an electronic device, including a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the grasping pose filtering method as described in the first aspect.

[0015] The beneficial effects of this application are: In this embodiment, multiple safety filters are arranged in ascending order of computational complexity into a serial filter chain. Compared to the scheme of performing all detections on all candidates simultaneously, decoupling multidimensional safety constraints into grasping pose selection in a serial filter chain according to computational complexity significantly reduces the amount of computation while ensuring comprehensive safety. This reduces the computational load and time of screening, improves the efficiency of screening grasping poses, and thus ensures the real-time performance of pose screening. Furthermore, the filter pose set is graded according to the positional risk of different candidate poses, and the target grasping pose that meets the preset non-occlusion conditions is selected according to priority. This reduces the collision risk during the operation process and improves the safety of the robot grasping the target. Attached Figure Description

[0016] Figure 1 This is a flowchart of a method for filtering poses provided in an embodiment of this application.

[0017] Figure 2 This is a flowchart illustrating the specific steps of a pose-grabbing filtering method provided in an embodiment of this application.

[0018] Figure 3 This is a schematic diagram of a risk area division provided in an embodiment of this application.

[0019] Figure 4 This is a block diagram of a gesture-grabbing filtering device provided in an embodiment of this application.

[0020] Figure 5 This is a block diagram of an electronic device provided in an embodiment of this application. Detailed Implementation

[0021] The present application will be further described below with reference to the accompanying drawings and embodiments.

[0022] The following will clearly and completely describe the concept, specific structure, and resulting technical effects of this application in conjunction with embodiments and accompanying drawings, so as to fully understand the purpose, features, and effects of this application. Obviously, the described embodiments are only a part of the embodiments of this application, not all of them. Other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are all within the scope of protection of this application. Furthermore, all connections / linkages involved in the patent do not simply refer to direct contact between components, but rather to the ability to form a better connection structure by adding or reducing connecting accessories according to specific implementation conditions. The various technical features in this application can be combined interactively without contradicting each other.

[0023] In industrial automated material handling scenarios, vision systems typically acquire image information within a material box frame by frame and output several candidate poses for robot grasping based on object recognition and pose estimation algorithms. Since objects within the material box are often randomly stacked, the vision system may output dozens of grasping candidate poses per frame. These candidate poses contain various potential safety hazards, such as: tilting the gripping surface's normal direction may cause slippage between the gripper and the object; a candidate pose too close to the edge of the material box may cause collisions between the gripper or the robot body and the material box; occlusion between objects may prevent the gripper from closing properly; and obstacles higher than the gripping surface within the projection area of ​​the candidate pose may interfere with the motion path. Therefore, how to quickly and safely select the optimal grasping pose from a massive number of candidate poses is one of the key issues for industrial robots to achieve reliable automatic grasping.

[0024] To address the aforementioned issues, existing technologies typically employ the following methods to filter and select candidate poses for capture.

[0025] 1. Crawling selection scheme based on a single threshold or simple sorting Traditional methods typically rely on a single threshold or simple sorting to select the grasping pose. For example, they may filter candidate poses based solely on a normal angle threshold, or sort candidate poses by object size and select the one with the largest area. Such methods pose significant safety risks in complex real-world scenarios.

[0026] 2. Scraping selection scheme based on multi-condition parallel inspection Some solutions employ a multi-condition parallel checking approach, which involves performing all safety checks on all candidate poses simultaneously. Due to the high overhead of these checks, which require processing each candidate pose individually, the overall computational load is excessive, making it difficult to meet the real-time requirements of industrial scenarios. For example, pixel-by-pixel projection collision detection typically results in a single-frame processing time that cannot be controlled within 50 milliseconds (ms).

[0027] 3. Lack of effective degradation strategies for crawling options. Furthermore, existing solutions generally lack effective degradation strategies. When all candidate poses carry some degree of risk, such as in a densely stacked object scenario, the system often either provides no usable output, causing the robot to stop and wait, or randomly selects poses indiscriminately, leading to collision risks. It is difficult to achieve a reasonable balance between safety and grasping success rate.

[0028] In summary, existing industrial robot grasping pose selection schemes generally suffer from problems such as high computational overhead, poor real-time performance, and lack of degradation mechanisms, making it difficult to meet the comprehensive requirements of safety, efficiency, and robustness in industrial material handling scenarios.

[0029] To address the aforementioned problems, this application provides a method, apparatus, and electronic device for filtering grasping poses. The method for filtering grasping poses provided in this application will be described in detail below with reference to the accompanying drawings.

[0030] Figure 1 This is a flowchart of a method for filtering grasped poses provided in an embodiment of this application. See also... Figure 1 The method includes the following steps.

[0031] Step 101: Obtain multiple candidate poses of the robot.

[0032] In this embodiment of the application, the candidate pose includes a six-degree-of-freedom pose, including three translational degrees of freedom and three rotational degrees of freedom.

[0033] In some embodiments, in industrial material handling scenarios, after the vision system takes a picture of the material frame, the algorithm identifies the gripping pose to be selected. This gripping pose includes position (x, y, z) and orientation (x, y, z). ).

[0034] For example, multiple candidate poses of a robot can be obtained through algorithms such as deep learning and point cloud matching.

[0035] Step 102: Perform multiple safety filters on multiple candidate poses in order of increasing computational complexity to obtain a set of filtered poses.

[0036] In some embodiments, multiple security filtering includes geometric constraint filtering, size filtering, and projection security detection.

[0037] In some embodiments, multiple security filtering further includes occlusion pre-detection, used to classify multiple candidate poses into occluded candidate poses and unoccluded candidate poses.

[0038] In one possible implementation, multiple security filtering includes a low-overhead geometry check performed at the front end and a high-overhead collision detection performed at the back end; the low-overhead geometry check is used to filter out most obviously infeasible candidates, and the high-overhead collision detection is used to filter the small set of candidates after the front-end filtering.

[0039] In some embodiments, step 102 may include: performing geometric constraint filtering on multiple candidate poses to obtain a first candidate pose set that satisfies orientation constraints; geometric constraint filtering is a microsecond-level operation; performing size filtering on the first candidate pose set to obtain a second candidate pose set that satisfies a preset size range; size filtering is a millisecond-level operation; performing occlusion pre-detection on the second candidate pose set and marking each candidate pose in the second candidate pose set with an occlusion state; performing projection safety detection on the second candidate pose set after marking the occlusion state to obtain a third candidate pose set without collision risk; projection safety detection is a tens of millisecond-level operation and only applies to the second candidate pose set; performing non-grabbing region filtering on the third candidate pose set to remove candidate poses that are less than a preset edge threshold from the edge of the frame, thereby obtaining a filtered pose set.

[0040] Step 103: Based on the positional risk of different candidate poses in the filtered pose set, divide the filtered pose set into multi-layer candidate sets.

[0041] In this embodiment of the application, the multi-level candidate set includes a low-risk set, a medium-risk set, and a high-risk set.

[0042] In some embodiments, the filter pose set is divided into multi-layer candidate sets based on the positional risk of each candidate pose in the local coordinate system of the material frame.

[0043] In some embodiments, step 103 may include: calculating the minimum distance from each candidate pose in the filtered pose set to the edge of the frame; dividing the candidate sets into multiple layers according to the numerical range to which the minimum distance belongs: candidate poses with a minimum distance greater than a second threshold are assigned to the low-risk set, candidate poses with a minimum distance greater than a first threshold but not greater than the second threshold are assigned to the medium-risk set, and candidate poses with a minimum distance not less than a preset edge threshold and not greater than the first threshold are assigned to the high-risk set; wherein, the second threshold is greater than the first threshold, and the first threshold is greater than or equal to the preset edge threshold.

[0044] Step 104: Select candidate poses that meet the preset non-occlusion conditions from the multi-layer candidate set according to the preset priority as the target grasping poses.

[0045] In some embodiments, the preset non-occlusion condition includes that the candidate pose does not have spatial occlusion with other objects. For example, the preset non-occlusion condition includes that the candidate pose is a non-occluded candidate.

[0046] In some embodiments, the preset priority is low-risk set over medium-risk set, and medium-risk set over high-risk set.

[0047] In some embodiments, candidate poses that meet preset non-occlusion conditions are selected from each candidate set according to preset priority as target grasping poses; if there are no candidate poses that meet preset non-occlusion conditions in the higher priority candidate set, backtracking to the lower priority candidate set; and candidate poses that meet preset non-occlusion conditions are selected from the lower priority candidate set as target grasping poses.

[0048] In some embodiments, when there are no candidate poses that meet the preset non-occlusion conditions in the entire candidate set, the restriction on the occlusion state is removed, and the target capture pose is reselected from the filtered pose set.

[0049] In some embodiments, step 104 may include: selecting candidate poses that meet preset non-occlusion conditions as available candidates, and arranging them in descending order of the area of ​​the Oriented Bounding Box (OBB) within each candidate set; merging the available candidates of the low-risk set and the medium-risk set into a first selection pool according to the priority order of low-risk set, medium-risk set, and high-risk set, and preferentially selecting the candidate pose with the largest area of ​​the OBB from the first selection pool as the target grasping pose; when there are no available candidates in the first selection pool, selecting the candidate pose with the largest area of ​​the OBB from the available candidates of the high-risk set as the target grasping pose.

[0050] In some embodiments, after step 104, the above method may further include: when there are no candidate poses that meet the preset non-occlusion conditions in the low-risk set, medium-risk set and high-risk set, the restriction on the occlusion state is removed; from all candidate poses in the filtered pose set, the target pose is selected based on the largest directed bounding box area.

[0051] In summary, in this embodiment, multiple safety filters are arranged in ascending order of computational complexity into a serial filter chain. Compared to the scheme of performing all detections on all candidates simultaneously, decoupling multidimensional safety constraints into grasping pose selection in a serial filter chain according to computational complexity significantly reduces the amount of computation while ensuring comprehensive safety, reducing the computational load and time of screening, and improving the efficiency of selecting grasping poses. Furthermore, the filter pose set is graded according to the positional risk of different candidate poses, and the target grasping pose that meets the preset non-occlusion conditions is selected according to priority, reducing the collision risk during operation and improving the safety of the robot grasping the target.

[0052] Figure 2 This is a flowchart illustrating the specific steps of a pose-grabbing filtering method provided in an embodiment of this application. (See attached flowchart.) Figure 2 The method includes the following steps.

[0053] Step 201: Obtain multiple candidate poses of the robot.

[0054] The method for this step is similar to that of step 101, and will not be repeated here to avoid repetition.

[0055] Step 202: Perform geometric constraint filtering on multiple candidate poses to obtain the first candidate pose set that satisfies the orientation constraints.

[0056] In some embodiments, step 202 may include: Step 2021: Extract the grasping normal of multiple candidate poses by solving the rotation matrix using Euler angles, and calculate the horizontal component of the grasping normal; Step 2022: Select candidate poses whose horizontal components satisfy the orientation constraints to obtain the first candidate pose set.

[0057] In the embodiments of this application, the directional constraint includes the horizontal component having a magnitude less than or equal to a preset magnitude threshold, or the horizontal component having the same direction as the position component.

[0058] For example, the modulus threshold is 0.6.

[0059] In one possible implementation, each candidate pose includes a position component and an attitude component, where the attitude component is represented using Euler angles. Step 2021 may include: for each candidate pose, calculating the corresponding rotation matrix using Euler angles; and extracting the direction vector of a preset axis from the rotation matrix as the gripping normal. The gripping normal is the normal vector of the gripper end face in the robot's base coordinate system.

[0060] For example, the attitude components are ZYZ Euler angles, which include a first rotation angle about the Z-axis, a second rotation angle about the rotated Y-axis, and a third rotation angle about the rotated Z-axis. The preset axis is the third column of the rotation matrix, and the gripping normal is the Z-axis direction of the rotation matrix.

[0061] In one possible implementation, step 2022 may further include: selecting a horizontal component whose magnitude is less than or equal to a preset magnitude threshold to obtain a first candidate pose set; or, selecting a horizontal component whose direction is the same as that of a position component to obtain a first candidate pose set.

[0062] In another possible implementation, step 2022 may further include: calculating the component magnitude of the capture normal in the preset projection plane to obtain the normal tilt metric value; comparing the normal tilt metric value with a preset tilt threshold; if the normal tilt metric value exceeds the tilt threshold, then the corresponding candidate pose is determined to be severely tilted and removed.

[0063] For example, the tilt threshold is 0.6, or the tilt threshold is any value between 0.4 and 0.8.

[0064] In one possible implementation, the projection plane is preset to be a horizontal plane, and the magnitude of the horizontal component is the magnitude of the projection vector of the normal onto the horizontal plane.

[0065] In some embodiments, step 2022 may include: extracting the projection vector of the grab normal in a preset horizontal plane to obtain the horizontal projection component of the normal; determining the position component of the candidate pose in the preset horizontal plane; comparing the axial signs of each of the horizontal projection components of the normal with the corresponding axial signs of the position component, and if the signs of the two are opposite in at least one corresponding axis, then determining that the candidate pose does not satisfy the orientation constraint.

[0066] In one possible implementation, it is determined whether the first axial component of the normal horizontal projection component and the first axial component of the position component have the same sign; it is also determined whether the second axial component of the normal horizontal projection component and the second axial component of the position component have the same sign; if both determinations are the same sign, then the directional constraint is satisfied.

[0067] In one possible implementation, the preset horizontal plane is a horizontal plane with the center of the material frame as the origin, and the axial direction of the position component includes a first axial direction and a second axial direction, which correspond to the major axis direction and the minor axis direction of the material frame, respectively.

[0068] In some embodiments, after step 2022, the method further includes: Step 2023: Calculate the minimum distance of each candidate pose from the edge of the material frame in the local coordinate system of the material frame; determine the risk area level of the candidate pose based on the numerical range of the minimum distance; the risk area level includes low risk area, medium risk area, high risk area and no-entry area. Step 2024: Remove candidate poses with a risk zone level of restricted area from the first candidate pose set.

[0069] In one possible implementation, the prohibited zone is defined as a candidate pose located outside the frame boundary or with a minimum distance from the frame edge less than an edge threshold; the high-risk zone is defined as a candidate pose with a minimum distance from the frame edge greater than or equal to an edge threshold and less than or equal to a first threshold; the medium-risk zone is defined as a candidate pose with a minimum distance from the frame edge greater than a first threshold and less than or equal to a second threshold; and the low-risk zone is defined as a candidate pose with a minimum distance from the frame edge greater than a second threshold. The edge threshold is less than the first threshold, and the first threshold is less than the second threshold.

[0070] For example, see Figure 3 , Figure 3 This is a schematic diagram illustrating the division of risk areas according to an embodiment of this application. The first threshold is 50 millimeters (mm), and the second threshold is 100 millimeters.

[0071] In one possible implementation, for candidate poses with a risk level of high risk, the angle between the grasping normal and the nearest edge orientation of multiple candidate poses in the first candidate pose set is checked; it is determined whether the angle exceeds a preset tolerance angle, and if it does, the candidate pose is removed from the first candidate pose set.

[0072] For example, a recommended tolerance angle is 5°.

[0073] Step 203: Perform size filtering on the first candidate pose set to obtain a second candidate pose set that meets the preset size range.

[0074] In some embodiments, step 203 may include: Step 2031: Perform connected component analysis on the binary masks of each grasped object in the first candidate pose set to determine the minimum area rectangle of each grasped object. Step 2032: Determine the physical dimensions of each object to be captured based on the minimum area rectangle and the preset camera parameters; Step 2033: Filter out candidate poses in the first candidate pose set whose physical size of the grasped object exceeds the preset size range to obtain the second candidate pose set.

[0075] In one possible implementation, step 2031 may include: obtaining a binary mask corresponding to each candidate pose in the first candidate pose set; performing connected component analysis on the binary mask, retaining the connected component with the largest area, and obtaining a cleaned mask; and calculating the minimum area rectangle for the cleaned mask.

[0076] In one possible implementation, step 2032 may include: using the minimum area rectangle as the projection size of the two-dimensional bounding box; and restoring the projection size to the physical size using the fitted plane normal, camera intrinsic parameters, and direction cosine correction factor.

[0077] In one possible implementation, step 2033 may include: removing candidate poses with physical sizes smaller than the minimum size threshold and candidate poses with physical sizes larger than the maximum size threshold from the first candidate pose set to obtain a second candidate pose set.

[0078] In one possible implementation, the physical dimensions are used as a directed bounding box; size filtering is performed on the candidate poses based on the physical dimensions of the directed bounding box, and candidate poses whose physical dimensions exceed a preset size range are removed.

[0079] In one possible implementation, all pixels in the binary mask are traversed, and the set of interconnected pixels is marked as a connected component; the pixel area of ​​each connected component is calculated; the area of ​​each connected component is compared, and only the connected component with the largest area is retained, while the remaining connected components are set to zero, thereby achieving the removal of noise fragments.

[0080] In one possible implementation, the depth map is fitted to a plane using a random sampling consensus algorithm to obtain the plane normal; the direction cosine correction factor is calculated based on the angle between the plane normal and the camera optical axis; the projected size of the two-dimensional bounding box is divided by the direction cosine correction factor and multiplied by the focal length parameter of the camera intrinsic parameters to obtain the true physical size.

[0081] In some embodiments, after step 2033, the method further includes: when the physical dimensions of all candidate poses are within a preset size range, determining that the bin is empty; sending a bin clearing signal to the robot, and the process ends.

[0082] Step 204: Perform projection safety detection on the second candidate pose set to obtain a third candidate pose set without collision risk.

[0083] In some embodiments, step 204 may include: Step 2041: Project the robot's gripper onto the image plane and calculate the theoretical depth between the gripper and the image plane using the ray-plane intersection formula; Step 2042: Compare the theoretical depth with the depth value in the actual depth map pixel by pixel to obtain the proportion of collision pixels; Step 2043: Filter out candidate poses in the second candidate pose set whose proportion of collision pixels is greater than a preset ratio threshold to obtain the third candidate pose set.

[0084] In one possible implementation, step 2041 may include: transforming the candidate pose from the robot base coordinate system to the camera coordinate system using a hand-eye calibration matrix; establishing a gripper plane equation defined by a normal vector and a point on the plane based on the gripper end face geometry represented by the candidate pose; for any pixel in the projection area, determining the ray direction corresponding to the pixel based on the camera intrinsic parameters, and calculating the intersection point of the ray and the gripper plane using the ray-plane intersection formula, with the distance parameter of the intersection point along the ray direction serving as the theoretical depth of the gripper end face at that pixel.

[0085] In one possible implementation, step 2042 may include: for each pixel in the projection area, determining whether the theoretical depth of the pixel is greater than the actual depth value of the corresponding position; if the theoretical depth of the pixel is greater than the actual depth value of the corresponding position, determining the pixel as a collision pixel.

[0086] In one possible implementation, a pixel is identified as a collision pixel only if the absolute value of the difference between the theoretical depth at the pixel and the actual depth at the corresponding position is greater than a preset tolerance threshold.

[0087] In one possible implementation, the target object's own mask region on the image plane corresponding to the candidate pose is obtained; when counting collision pixels, pixels falling into the target object's own mask region are excluded to obtain the effective statistical region; the proportion of the number of pixels judged as collision pixels in the effective statistical region to the total number of pixels in the effective statistical region is calculated as the collision pixel ratio.

[0088] In one possible implementation, step 2043 may include: if the proportion of colliding pixels is greater than a preset ratio threshold, determining that the candidate pose has a collision risk, and removing the candidate pose from the candidate pose set.

[0089] For example, the ratio threshold is 0.15, and the value ranges from 0.05 to 0.30.

[0090] In one possible implementation, the gripper end face is a circular end face, which is discretized into a 32-sided polygon, and the projection area is defined by projecting the vertices of the 32-sided polygon onto the image plane.

[0091] Step 205: Filter the candidate poses in the third candidate pose set that are less than a preset distance threshold from the edge of the material frame to obtain the filtered pose set.

[0092] In some embodiments, for each candidate pose that survives all preceding safety filtering steps, the minimum boundary distance between its projection point on the frame plane and the edge of the frame is calculated; if the minimum boundary distance is less than a preset edge threshold, the candidate pose is determined to be located in a non-gripable area and is removed; wherein, the non-gripable area refers to the area where the candidate pose is too close to the frame boundary, resulting in insufficient gripper operating space.

[0093] For example, the preset edge threshold is 30mm.

[0094] In one possible implementation, the determination of areas not to be crawled is linked to the division of risk areas: After filtering for non-captured regions, the minimum boundary distance range corresponding to the survival candidate poses located in high-risk areas is greater than or equal to the edge threshold and less than or equal to the first risk threshold.

[0095] The above technical solution employs a serial filter chain architecture with increasing complexity, arranging multi-dimensional security constraints in a serial processing flow according to their computational complexity from low to high. This reduces the computational load by an order of magnitude, effectively meeting the stringent real-time requirements of industrial material handling scenarios. Furthermore, through the innovative serial filter chain architecture, low-overhead filtering and high-overhead detection are decoupled and executed sequentially. This retains the comprehensive detection capability of multi-dimensional security constraints while avoiding the waste of computational resources, achieving a balance between security and efficiency.

[0096] Step 206: Determine the distance between the projection point of each candidate position and the edge of the material frame.

[0097] In the embodiments of this application, the projection point is the projection point on the material frame plane.

[0098] In some embodiments, the minimum distance from the edge of the frame to each candidate pose in the local coordinate system of the frame is calculated.

[0099] In one possible implementation, the local coordinate system of the material frame has the center of the material frame as the origin, the major axis of the material frame as the first coordinate axis, and the minor axis of the material frame as the second coordinate axis.

[0100] Step 207: Based on the distance falling into the interval, divide the filtered pose set into a low-risk set, a medium-risk set, and a high-risk set.

[0101] In some embodiments, the location risk level is divided according to the minimum distance from the projection point of the candidate pose on the frame plane to the edge of the frame: candidate poses with a minimum distance greater than a second threshold are classified as low-risk sets; candidate poses with a minimum distance greater than a first threshold and less than or equal to the second threshold are classified as medium-risk sets; and candidate poses with a minimum distance greater than or equal to the edge threshold and less than or equal to the first threshold are classified as high-risk sets; wherein the edge threshold is less than the first threshold, and the first threshold is less than the second threshold.

[0102] In some embodiments, candidate poses with a minimum distance less than an edge threshold are classified as forbidden levels; and candidate poses corresponding to forbidden levels are removed from the filter pose set.

[0103] For example, the edge threshold is 30mm, the first threshold is 50mm, and the second threshold is 100mm.

[0104] Step 208: Select non-occluded candidates from the union of the low-risk set and the medium-risk set as the target capture pose.

[0105] In some embodiments, candidate poses that satisfy a preset non-occlusion condition in the union of the low-risk set and the medium-risk set are taken as available candidates and arranged in descending order of directed bounding box area within each candidate set. According to the priority order of low-risk set, medium-risk set, and high-risk set, the available candidates of the low-risk set and the medium-risk set are merged into a first selection pool, and the candidate pose with the largest directed bounding box area is selected from the first selection pool as the target grasping pose. When there are no available candidates in the first selection pool, the candidate pose with the largest directed bounding box area is selected from the available candidates of the high-risk set as the target grasping pose.

[0106] In some embodiments, at least one non-occluded candidate pose is selected from the union of the first and second levels; if at least one non-occluded candidate pose exists, the candidate pose with the largest directed bounding box area is selected as the target grasping pose.

[0107] For example, the candidates that pass all filtering are divided into three candidate pools according to risk area: Layer 1 is for low-risk area candidates, Layer 2 is for medium-risk area candidates, and Layer 3 is for high-risk area candidates. Within each layer, they are arranged in descending order of OBB area.

[0108] In some embodiments, prior to step 208, the method further includes: Step A1: Obtain all candidate poses that have not undergone security filtering; Step A2: Based on the geometric information of all candidate poses, detect the degree of occlusion between candidate poses through convex hull dilation. Step A3: Based on the degree of occlusion, divide the candidate poses in the second candidate pose set into occluded candidates and non-occluded candidates.

[0109] In this embodiment of the application, although the filtered candidate poses are logically determined to be ungrabable, their corresponding physical entities still exist in the frame and may constitute spatial occlusion for surviving candidate poses. Therefore, all input candidate poses include candidate poses that have been removed by multiple safety filters.

[0110] In one possible implementation, the entire set of input candidate poses output by the vision system is obtained. The entire set of input candidate poses includes candidate poses removed by the preceding filtering step and multiple candidate poses in the second candidate pose set. Occlusion pre-detection is performed on each candidate pose in the candidate pose set. The occlusion pre-detection calculates the mutual occlusion relationship between each candidate pose based on the geometric information of the entire set of input candidate poses. An occlusion state is marked for each candidate pose in the surviving candidate poses. The occlusion state is either occluded or unoccluded.

[0111] In one possible implementation, the object mask or convex hull geometric contour corresponding to each candidate pose is extracted; for the surviving candidate poses, spatial overlap detection is performed between their geometric contours and the geometric contours of other candidate poses in the entire set of input candidate poses; if the grasping area of ​​any candidate pose is covered by the geometric contours of other candidate poses, then the candidate pose is determined to be occluded.

[0112] In one possible implementation, a convex hull is calculated for the geometric contour of each candidate pose; the convex hull is then expanded according to a preset expansion coefficient to obtain the expanded occlusion detection region; and it is determined whether the grabbing region of the surviving candidate pose falls within the expanded occlusion detection region.

[0113] For example, the occlusion status is stored as a Boolean flag (is_occluded), where "true" indicates that it is occluded and "false" indicates that it is not occluded.

[0114] By incorporating the geometric information of all input candidates into the occlusion calculation, the spatial distribution of objects within the material frame is accurately reproduced, thus ensuring the physical correctness of the occlusion judgment. This provides accurate and reliable occlusion status markings for subsequent layered selection strategies, effectively avoiding the risk of gripper collisions caused by missed occlusion judgments.

[0115] Step 209: If there are no candidate poses that meet the non-occlusion condition in the union set, select non-occlusion candidates from the high-risk set as the target capture poses.

[0116] In some embodiments, when there are no candidate poses that meet the preset non-occlusion conditions in the low-risk set, medium-risk set, and high-risk set, the restriction on the occlusion state is removed; from all candidate poses in the filtered pose set, the target pose is selected based on the largest directed bounding box area.

[0117] In some embodiments, if there are no non-occluded candidate poses in the merged candidate pools of the first and second levels, the candidate pose with the largest directed bounding box area is selected from the non-occluded candidate poses of the third level as the target grasping pose.

[0118] For example, select the one with the largest area from the merge pools of Layer1 and Layer2; if the merge pool is empty, fall back to Layer3.

[0119] Step 210: When there are no candidate poses that meet the non-occlusion condition in each candidate set, reselect occlusion candidates from the filtered pose set as the target grasping poses.

[0120] In some embodiments, if the third-level non-occluded candidate poses also do not exist, the restriction on the occlusion state is removed, and the pose with the largest directed bounding box area is selected from all surviving candidate poses as the target grasping pose, and its state is marked as "occluded".

[0121] In some embodiments, under normal scenarios, fully exposed, unoccluded candidate poses are preferred to ensure safety; under densely stacked scenarios, candidate poses with occlusion risk are accepted to ensure that the system has usable output and avoid downtime.

[0122] In summary, in this embodiment, through a serial filtering chain architecture with increasing complexity, the high-overhead step (projection safety detection) only applies to a small candidate set (approximately 20-40%) after the initial filtering stage. Compared to performing full detection on all candidates, the total computational load is reduced by an order of magnitude. In actual deployment, the processing time per frame is <50ms. Secondly, the four-step filtering covers multi-dimensional safety constraints such as normal tilt, size anomalies, occlusion, projection collision, and edge distance, leaving no safety blind spots. The actual production line capture success rate is greater than 98%. Thirdly, the two-round progressive degradation strategy ensures that the system has usable output in any scenario (including dense stacking and large amounts of occlusion), avoiding downtime due to a lack of candidates. Finally, occlusion detection uses the geometric information of all candidates, avoiding the erroneous assumption that the filtered object does not exist, thus improving the accuracy of pose selection.

[0123] Figure 4 This is a block diagram of a gesture-grabbing filtering device provided in an embodiment of this application, such as... Figure 4 As shown, the grasping pose screening device 400 includes the following modules.

[0124] Pose acquisition module 401 is used to acquire multiple candidate poses of the robot; The pose filtering module 402 is used to perform multiple safety filters on multiple candidate poses in order of increasing computational complexity to obtain a set of filtered poses. The pose layering module 403 is used to divide the filtered pose set into multi-layer candidate sets according to the positional risk of different candidate poses in the filtered pose set. The pose selection module 404 is used to select candidate poses that meet preset non-occlusion conditions from a multi-layer candidate set according to preset priority as target grasping poses.

[0125] Optionally, safety filtering includes geometric constraint filtering, size filtering, and projection safety detection. The pose filtering module 402 is specifically used for: Geometric constraint filtering is performed on multiple candidate poses to obtain the first candidate pose set that satisfies the orientation constraints; The first candidate pose set is filtered by size to obtain a second candidate pose set that meets the preset size range. Projection safety detection is performed on the second candidate pose set to obtain a third candidate pose set without collision risk; The filter poses are obtained by filtering out the candidate poses in the third candidate pose set whose distance from the edge of the material frame is less than a preset distance threshold.

[0126] Optionally, the pose filtering module 402 is specifically used for: The grasping normals of multiple candidate poses are extracted by solving the rotation matrix using Euler angles, and the horizontal component of the grasping normals is calculated. Candidate poses whose horizontal components satisfy the orientation constraints are selected to obtain the first candidate pose set; the orientation constraints include that the magnitude of the horizontal component is less than or equal to a preset magnitude threshold, or that the orientation of the horizontal component is the same as that of the position component.

[0127] Optionally, the pose filtering module 402 is specifically used for: Perform connected component analysis on the binary masks of each grasped object in the first candidate pose set to determine the minimum area rectangle of each grasped object. Based on the minimum area rectangle and preset camera parameters, determine the physical dimensions of each object to be grabbed; Filter out candidate poses in the first candidate pose set whose physical size exceeds the preset size range to obtain the second candidate pose set.

[0128] Optionally, the pose filtering module 402 is specifically used for: The robot's gripper is projected onto the image plane, and the theoretical depth between the gripper and the image plane is calculated using the ray-plane intersection formula. The percentage of collision pixels is obtained by comparing the theoretical depth with the depth values ​​in the actual depth map pixel by pixel. The candidate poses in the second candidate pose set whose proportion of collision pixels is greater than a preset threshold are filtered out to obtain the third candidate pose set.

[0129] Optionally, the pose layering module 403 is specifically used for: Determine the distance between the projection point of each candidate position and the edge of the material frame; the projection point is the projection point on the plane of the material frame; Based on the distance falling into the interval, the filtered pose set is divided into low-risk, medium-risk, and high-risk sets.

[0130] Optionally, the pose filtering module 402 is also used for: Obtain all candidate poses that have not undergone safety filtering; Based on the geometric information of all candidate poses, the degree of occlusion between candidate poses is detected by convex hull dilation. Based on the degree of occlusion, the candidate poses in the second candidate pose set are divided into occluded candidates and unoccluded candidates.

[0131] Optionally, the multi-level candidate set includes a low-risk set, a medium-risk set, and a high-risk set. The pose selection module 404 is specifically used for: Select non-occluded candidates from the union of the low-risk set and the medium-risk set as the target capture pose; If no candidate poses satisfying the preset non-occlusion conditions exist in the set, non-occlusion candidates are selected from the high-risk set as the target capture poses. If no candidate poses satisfy the preset non-occlusion conditions are found in any candidate set, an occlusion candidate is reselected from the filtered pose set as the target capture pose.

[0132] As the device embodiment is basically similar to the method embodiment, the description is relatively simple, and relevant parts can be found in the description of the method embodiment.

[0133] Figure 5 This is a structural block diagram of an electronic device according to an exemplary embodiment. For example... Figure 5 As shown, the electronic device includes: a processor, a memory, a communication interface, and a communication bus. The processor, the memory, and the communication interface communicate with each other through the communication bus. The memory is used to store at least one executable instruction, which causes the processor to perform the steps of the grasping pose selection method of the aforementioned embodiment.

[0134] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory including instructions that can be executed by a processor of an electronic device to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0135] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described method for filtering the grasping pose, and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0136] This application also provides a computer program product, including a computer program, which, when executed by a processor, implements a method for filtering grasping poses.

[0137] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Similar parts between the various embodiments can be referred to each other.

[0138] Those skilled in the art will understand that embodiments of this application can be provided as methods, apparatus, or computer program products. Therefore, embodiments of this application can take the form of entirely hardware embodiments, entirely software embodiments, or embodiments combining software and hardware aspects. Furthermore, embodiments of this application can take the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0139] This application describes embodiments with reference to flowchart illustrations and / or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks of the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0140] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing terminal device to operate in a predictive manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0141] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal equipment, causing a series of operational steps to be performed on the computer or other programmable terminal equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable terminal equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0142] Although preferred embodiments of the present application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present application.

[0143] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.

[0144] The above is a detailed description of the preferred embodiments of this application. However, the invention of this application is not limited to the embodiments described. Those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of this application. All such equivalent modifications or substitutions are included within the scope defined by the claims of this application.

Claims

1. A method for filtering captured poses, characterized in that, The method includes: Obtain multiple candidate poses for the robot; Following an increasing order of computational complexity, the multiple candidate poses are subjected to multiple safety filters to obtain a set of filtered poses. Based on the positional risk of different candidate poses in the filtered pose set, the filtered pose set is divided into multi-level candidate sets; Candidate poses that meet preset non-occlusion conditions are selected from the multi-layer candidate set according to preset priority as target grasping poses.

2. The method according to claim 1, characterized in that, The safety filtering includes geometric constraint filtering, size filtering, and projection safety detection. The multiple candidate poses are subjected to safety filtering multiple times in order of increasing computational complexity to obtain a filtered pose set, including: Geometric constraint filtering is performed on the multiple candidate poses to obtain a first candidate pose set that satisfies the orientation constraints; The first candidate pose set is filtered by size to obtain a second candidate pose set that meets the preset size range. Projection safety detection is performed on the second candidate pose set to obtain a third candidate pose set without collision risk; The filtered pose set is obtained by filtering out candidate poses from the third candidate pose set whose distance from the edge of the material frame is less than a preset distance threshold.

3. The method according to claim 2, characterized in that, The step of performing geometric constraint filtering on the plurality of candidate poses to obtain a first candidate pose set that satisfies the orientation constraints includes: The grasping normal of the multiple candidate poses is extracted by solving the rotation matrix using Euler angles, and the horizontal component of the grasping normal is calculated. Candidate poses that satisfy the directional constraints of the horizontal component are selected to obtain the first candidate pose set; the directional constraints include the horizontal component having a magnitude less than or equal to a preset magnitude threshold, or the horizontal component having the same direction as the position component.

4. The method according to claim 2, characterized in that, The step of performing size filtering on the first candidate pose set to obtain a second candidate pose set that meets a preset size range includes: Perform connected component analysis on the binary masks of each grasped object in the first candidate pose set to determine the minimum area rectangle of each grasped object; Based on the minimum area rectangle and preset camera parameters, determine the physical dimensions of each grasping object; The candidate poses of the first candidate pose set are filtered out if the physical size of the object being grasped exceeds a preset size range, to obtain the second candidate pose set.

5. The method according to claim 2, characterized in that, The step of performing projection safety detection on the second candidate pose set to obtain a third candidate pose set without collision risk includes: The robot's gripper is projected onto the image plane, and the theoretical depth between the gripper and the image plane is calculated using the ray-plane intersection formula. The theoretical depth is compared pixel by pixel with the depth value in the actual depth map to obtain the proportion of collision pixels; The third candidate pose set is obtained by filtering out candidate poses whose collision pixel ratio is greater than a preset threshold in the second candidate pose set.

6. The method according to claim 1, characterized in that, The step of dividing the filtered pose set into multi-layered candidate sets based on the positional risk of different candidate poses in the filtered pose set includes: Determine the distance between the projection point of each candidate position and the edge of the material frame; the projection point is the projection point on the plane of the material frame; Based on the distance falling into the interval, the filtered pose set is divided into a low-risk set, a medium-risk set, and a high-risk set.

7. The method according to claim 2, characterized in that, Before performing projection safety detection on the second candidate pose set to obtain a third candidate pose set without collision risk, the method further includes: Obtain all candidate poses that have not undergone safety filtering; Based on the geometric information of all candidate poses, the degree of occlusion between candidate poses is detected by convex hull dilation. Based on the degree of occlusion, each candidate pose in the second candidate pose set is divided into occluded candidates and unoccluded candidates.

8. The method according to claim 7, characterized in that, The multi-layered candidate set includes a low-risk set, a medium-risk set, and a high-risk set. The step of selecting candidate poses that meet preset non-occlusion conditions from the multi-layered candidate set according to a preset priority as the target grasping pose includes: Non-occlusion candidates are selected from the union of the low-risk set and the medium-risk set as the target grasping pose; If no candidate poses satisfying the non-occlusion condition exist in the union set, a non-occlusion candidate is selected from the high-risk set as the target grasping pose; If no candidate pose satisfies the non-occlusion condition in any candidate set, an occlusion candidate is reselected from the filtered pose set as the target grasping pose.

9. A screening device for grasping poses, characterized in that, The device includes: The pose acquisition module is used to acquire multiple candidate poses of the robot; The pose filtering module is used to perform multiple safety filters on the multiple candidate poses in order of increasing computational complexity to obtain a set of filtered poses. The pose layering module is used to divide the filtered pose set into multiple candidate sets based on the positional risk of different candidate poses in the filtered pose set. The pose selection module is used to select candidate poses that meet preset non-occlusion conditions from the multi-layer candidate set according to preset priority as target grasping poses.

10. An electronic device, characterized in that, It includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the method for filtering grasping poses as described in any one of claims 1-8.