Object pickup method and device, electronic equipment and storage medium

By identifying the geometric elements of the object to be picked up and determining the target picking method, the problem of the robot's insufficient ability to pick up undefined objects is solved and the generalization ability is improved.

CN118700145APending Publication Date: 2024-09-27BEIJING GALBOT AI CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410920426.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-10
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

It is difficult for the robot to complete the picking operation of objects of undefined physical categories, and its generalization ability is poor.

Method used

By obtaining the category of the object to be picked up indicated by the picking instruction, if there is no corresponding relationship in the preset rule base, identify the geometric elements of the object to be picked up, and determine the target geometric element based on the identified geometric elements. According to the preset corresponding to the target geometric element Set the picking method to pick.

Benefits of technology

It enables the robot to pick up various objects for which no picking rules have been defined, effectively improving the robot's generalization ability when picking up.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118700145A
    Figure CN118700145A
Patent Text Reader

Abstract

The embodiment of the invention provides an object picking method and device, electronic equipment and a storage medium, and relates to the technical field of robots, and the method comprises the steps: obtaining the type of a to-be-picked object indicated by a picking instruction; if the corresponding relation between the category of the to-be-picked object and the picking mode does not exist in the preset rule base, geometric elements included in the to-be-picked object are recognized; and determining at least one target geometric element based on the recognized geometric element, and picking up an area corresponding to the target geometric element of the to-be-picked object according to a preset picking mode corresponding to the target geometric element. The problem that it is difficult for a robot to complete picking operation on objects of undefined object categories can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of robotics, and in particular to an object picking method, device, electronic device and storage medium. Background Art

[0002] When robots perform various operation tasks, they usually involve picking operations. At present, rule data is pre-entered into the robot, and the robot can then perform picking operations according to the rule data. For example, the rule data can pre-define physical categories such as cups and books, and define the picking methods for objects in each physical category. However, for objects of undefined physical categories, it is difficult for the robot to complete the picking operation through rule data, and the generalization ability is poor. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide an object picking method, device, electronic device and storage medium to solve the problem that it is difficult for a robot to complete the picking operation for an object of an undefined physical category. The specific technical solution is as follows:

[0004] In a first aspect, an embodiment of the present application provides an object picking method, comprising:

[0005] Obtaining the category of the object to be picked up indicated by the picking instruction;

[0006] In response to the absence of a corresponding relationship between the category of the object to be picked up and the picking method in the preset rule library, identifying the geometric elements included in the object to be picked up;

[0007] Based on the identified geometric elements, at least one target geometric element is determined, and the area corresponding to the target geometric element of the object to be picked up is picked up according to a preset picking method corresponding to the target geometric element.

[0008] In a possible implementation manner, determining at least one target geometric element based on the identified geometric element includes:

[0009] From the identified geometric elements, select geometric elements that meet the picking conditions corresponding to each preset picking method;

[0010] Randomly select at least one geometric element from the screened geometric elements as the target geometric element; or,

[0011] From the preset picking methods corresponding to the screened geometric elements, a first picking method is selected based on the historical picking success rate; at least one geometric element is selected from the geometric elements corresponding to the first picking method as the target geometric element; or,

[0012] From the preset picking methods corresponding to the screened geometric elements, a second picking method is selected based on the number of times as the corrected picking method; at least one geometric element is selected from the geometric elements corresponding to the second picking method as the target geometric element, wherein the corrected picking method is the picking method adopted after adjustment after the picking fails.

[0013] In a possible implementation manner, the selecting at least one geometric element from the geometric elements corresponding to the first picking manner as the target geometric element includes:

[0014] Randomly select at least one geometric element from the geometric elements corresponding to the first picking method as the target geometric element; or, from the geometric elements corresponding to the first picking method, determine at least one geometric element as the target geometric element based on at least one of the size of the pickable area and the stacking height of the geometric elements in the object to be picked up;

[0015] The selecting at least one geometric element from the geometric elements corresponding to the second picking mode as the target geometric element comprises:

[0016] At least one geometric element is randomly selected from the geometric elements corresponding to the second picking method as the target geometric element; or, at least one geometric element is determined from the geometric elements corresponding to the second picking method based on at least one of the size of the pickable area and the stacking height of each geometric element in the object to be picked up, as the target geometric element.

[0017] In a possible implementation, the preset picking method includes at least one of a suction cup suction method, a clamping claw picking method, and a dexterous hand picking method; the picking condition corresponding to the suction cup picking method is that the area of ​​the pickable region of the geometric element is within a preset area range, and the picking conditions corresponding to the clamping claw picking method and the dexterous hand picking method are that the length of the pickable region of the geometric element is within a preset length range;

[0018] The step of determining at least one geometric element from the geometric elements corresponding to the first picking mode as the target geometric element based on at least one of the size of the pickable area and the stacking height of the geometric elements in the object to be picked up includes at least one of the following:

[0019] In response to the first picking method being a suction cup suction method, determining at least one geometric element from the geometric elements corresponding to the first picking method as the target geometric element based on at least one of an area of ​​a pickable region and a stacking height of each geometric element in the object to be picked up;

[0020] In response to the first picking mode being a gripper picking mode or a dexterous hand picking mode, determining at least one geometric element from the geometric elements corresponding to the first picking mode as the target geometric element based on at least one of the length of the pickable area and the stacking height of each geometric element in the object to be picked up;

[0021] The step of determining at least one geometric element from the geometric elements corresponding to the second picking mode as the target geometric element based on at least one of the size of the pickable area and the stacking height of the geometric elements in the object to be picked up includes at least one of the following:

[0022] In response to the second picking method being a suction cup suction method, determining at least one geometric element from the geometric elements corresponding to the second picking method as the target geometric element based on at least one of an area of ​​a pickable region and a stacking height of each geometric element in the object to be picked up;

[0023] In response to the second picking method being a gripper picking method or a dexterous hand picking method, based on at least one of the length of the pickable area and the stacking height of each geometric element in the object to be picked up, at least one geometric element is determined from the geometric elements corresponding to the second picking method as the target geometric element.

[0024] In a possible implementation, obtaining the category of the object to be picked up indicated by the picking instruction includes:

[0025] In response to the picking instruction not including the category of the object to be picked up, acquiring a two-dimensional image and a three-dimensional image;

[0026] Inputting the two-dimensional image into a first large graphic model to obtain the category of each object in the two-dimensional image;

[0027] Identifying depth information of each object in the two-dimensional image and the three-dimensional image through the two-dimensional image and the three-dimensional image;

[0028] The category of the object to be picked up indicated by the picking instruction is determined based on the category and depth information of each object.

[0029] In a possible implementation, obtaining the category of the object to be picked up indicated by the picking instruction includes:

[0030] In response to the picking instruction not including the category of the object to be picked up, acquiring the category and depth information of each object in the two-dimensional image and the three-dimensional image;

[0031] The category of the object to be picked up indicated by the picking instruction is determined based on the category and depth information of each object.

[0032] In a possible implementation manner, the identifying the geometric elements included in the object to be picked up includes:

[0033] Acquire two-dimensional and three-dimensional images;

[0034] The two-dimensional image, the three-dimensional image and the mapping relationship are input into the second graphic model to obtain the geometric elements included in the object to be picked up, wherein the mapping relationship is the corresponding relationship between the two-dimensional image and the three-dimensional image.

[0035] In a second aspect, an embodiment of the present application provides an object picking device, comprising:

[0036] An acquisition module, used to acquire the category of the object to be picked up indicated by the picking instruction;

[0037] an identification module, configured to identify the geometric elements included in the object to be picked up in response to the absence of a corresponding relationship between the category of the object to be picked up and the picking method in the preset rule library;

[0038] A determination module, configured to determine at least one target geometric element based on the identified geometric element;

[0039] The picking module is used to pick up the area corresponding to the target geometric element of the object to be picked up according to the preset picking method corresponding to the target geometric element.

[0040] In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus;

[0041] Memory, used to store computer programs;

[0042] The processor is used to implement the method steps described in the first aspect when executing the program stored in the memory.

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

[0044] In a fifth aspect, an embodiment of the present application provides a computer program product, which includes executable instructions. When the executable instructions are executed on a computer, the computer executes the method steps described in the first aspect.

[0045] By adopting the above technical solution, after obtaining the category of the object to be picked up indicated by the picking instruction, if there is no corresponding relationship between the category of the object to be picked up and the picking method in the preset rule library, the geometric elements included in the object to be picked up are identified, and at least one target geometric element is determined therefrom, and the area corresponding to the target geometric element of the object to be picked up is picked up according to the preset picking method corresponding to the target geometric element. That is, for objects for which picking rules have not been defined, the target geometric elements suitable for picking up can also be identified, and then the area corresponding to the target geometric element of the object to be picked up is picked up according to the preset picking method corresponding to the target geometric element. In this way, the robot can pick up various objects for which picking rules have not been defined, effectively improving the generalization ability of the robot when picking up.

[0046] Of course, implementing any product or method of the present application does not necessarily require achieving all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0048] Figure 1 A flowchart of an object picking method provided in an embodiment of the present application;

[0049] Figure 2 A schematic diagram of the structure of an object picking device provided in an embodiment of the present application;

[0050] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0051] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field based on the present application belong to the scope of protection of the present application.

[0052] The embodiment of the present application is applied to the scene of intelligent picking by a robot or a mechanical arm, and the end of the robot or the mechanical arm has at least one of a suction cup, a dexterous hand and a gripper. Taking the robot as an example, the robot can pick up the corresponding object based on the picking instruction. At least two shooting devices are deployed on the robot, at least one of which can capture a three-dimensional image. The shooting device can be deployed at a position such as the head or hand of the robot that can capture the image of the environment in which the robot is located.

[0053] Alternatively, the robot is connected to an external acquisition device, which may be a photographing device, or a photographing device may be disposed on or connected to the external acquisition device. The external acquisition device may transmit the acquired image to the robot, or transmit the recognition result of the image to the robot.

[0054] The above-mentioned shooting device may be a camera or other device that can directly shoot images, or extract video frames after shooting videos.

[0055] In order to solve the problem that it is difficult for a robot to complete a picking operation for an object of an undefined physical category, an embodiment of the present application provides an object picking method, which is applied to an electronic device with a picking capability such as a robot or a mechanical arm, such as Figure 1 As shown, the method includes:

[0056] S101: Obtain the category of the object to be picked up indicated by the picking instruction.

[0057] The picking instruction may be an instruction received by the robot from the outside, such as a voice instruction, an instruction input by a user through the robot's display screen, or an instruction received by the robot from other devices. The picking instruction may also be an instruction automatically generated by the robot based on some operation commands.

[0058] S102: If there is no corresponding relationship between the category of the object to be picked up and the picking method in the preset rule library, then identify the geometric elements included in the object to be picked up.

[0059] In the embodiment of the present application, a plurality of object categories are predefined, and the correspondence between each object category and the picking method is prestored in the preset rule library. For example, if the object category is boxed snacks, the picking method may be a suction cup suction method; if the object category is a cup with a handle, the picking method may be a dexterous hand picking method, that is, grasping the handle of the cup with a dexterous hand; if the object category is a cup without a handle, the picking method may be a gripping method, that is, grasping the cup body of the cup with a gripping claw. It can be understood that if there is a correspondence between the category of the object to be picked up and the picking method in the preset rule library, the object to be picked up can be picked up based on the picking method corresponding to the object to be picked up.

[0060] In a three-dimensional scene, an object is composed of multiple geometric elements. One geometric element or a combination of multiple geometric elements can form a part of an object. Geometric elements can include regular or irregular three-dimensional structures such as cubes, cylinders, and spheres.

[0061] For example, a mug with a handle and a lid is composed of multiple geometric elements. The lid can be regarded as a cylinder, the cup body can be regarded as another cylinder, and the handle can be divided into three parts, namely the upper and lower ends of the handle and the middle part of the handle. The upper and lower ends of the handle are usually perpendicular or nearly perpendicular to the longitudinal axis of the cup body and can be regarded as two cylinders. The middle part of the handle is parallel or nearly parallel to the longitudinal axis of the cup body and can be regarded as a cylinder.

[0062] It should be noted that the same object can be segmented in multiple ways, that is, the geometric elements of an object can be composed in a variety of ways. A rough or refined segmentation method can be adopted according to actual needs, and the type and number of geometric elements used can be predefined.

[0063] S103: Determine at least one target geometric element based on the identified geometric elements, and pick up an area corresponding to the target geometric element of the object to be picked up according to a preset picking method corresponding to the target geometric element.

[0064] Taking a cup as an example, the target geometric element can be a cylinder representing the body of the cup, and the robot can pick up the body of the cup. Of course, the target geometric element can also be a combination of cylinders representing the handle of the cup, and the robot can pick up the handle of the cup. The specific picking method can also be adjusted based on the type of robot end effector. Usually, the dexterous hand is more flexible, so the dexterous hand can use the above two picking methods, and the gripper usually has two fingers, three fingers or even four fingers. Then when picking up, the stability of irregular objects is slightly reduced. At this time, a more stable picking method can be used, that is, picking up the body of the cup.

[0065] It is understandable that the robot has the ability to locate the object to be picked up. In the embodiment of the present application, the robot can locate the position of the target geometric element of the object to be picked up, and then pick up the area corresponding to the target geometric element of the object to be picked up.

[0066] According to this method, after obtaining the category of the object to be picked up indicated by the picking instruction, if there is no corresponding relationship between the category of the object to be picked up and the picking method in the preset rule library, the geometric elements included in the object to be picked up are identified, and at least one target geometric element is determined therefrom, and the area corresponding to the target geometric element of the object to be picked up is picked up according to the preset picking method corresponding to the target geometric element. That is, for objects for which no picking rules have been defined, the target geometric elements suitable for picking up can also be identified, and then the area corresponding to the target geometric element of the object to be picked up is picked up according to the preset picking method corresponding to the target geometric element. In this way, the robot can pick up various objects for which no picking rules have been defined, effectively improving the robot's generalization ability when picking up.

[0067] In some embodiments of the present application, the above S101, obtaining the category of the object to be picked up indicated by the picking instruction, specifically includes the following three implementation methods:

[0068] Method 1: In response to the picking instruction including the category of the object to be picked up, the category of the object to be picked up is obtained from the picking instruction.

[0069] For example, if the instruction to be picked up directly specifies to pick up a mug with a lid and a handle, then the category of the object to be picked up is a mug with a lid and a handle, that is, the category of the object can be extracted from the content of the instruction.

[0070] Method 2: In response to the picking instruction not including the category of the object to be picked up, a two-dimensional image and a three-dimensional image are obtained. The two-dimensional image is input into the first graphic model to obtain the category of each object in the two-dimensional image. The depth information of each object in the two-dimensional image and the three-dimensional image is identified through the two-dimensional image and the three-dimensional image, and the category of the object to be picked up indicated by the picking instruction is determined based on the category and depth information of each object.

[0071] Among them, when the picking instruction does not include the category of the object to be picked up, the picking instruction includes descriptive information of the object to be picked up. For example, the picking instruction may be: please pick up plush toys with a height less than 60 cm. The descriptive information included in the picking instruction is: plush toys with a height less than 60 cm.

[0072] The robot can obtain two-dimensional images and three-dimensional images captured by its own shooting device, and can also obtain two-dimensional images and three-dimensional images sent by external acquisition equipment. The first image-text model is a pre-trained image-text model for identifying object categories. After the two-dimensional image is input into the first image-text model, the first image-text model can output the category of each object included in the two-dimensional image.

[0073] Then, the depth information of each object in the two-dimensional image and the three-dimensional image can be identified through the 3D perception algorithm. The depth information can reflect the specifications of the object, that is, the size information of the object.

[0074] Furthermore, the robot can determine the object category and the object corresponding to the depth information that matches the description information based on the description information in the picking instruction, and use the object as the object to be picked up and the category of the object as the category of the object to be picked up.

[0075] Combined with the above example, the description information of the object to be picked up is: a plush toy with a height less than 60 cm. Assuming that the categories of the objects in the two-dimensional image include panda-shaped plush toys, fruit-shaped plush toys, mugs with handles, and glasses without handles, the robot can filter out panda-shaped plush toys and fruit-shaped plush toys, and then determine whether the height of the panda-shaped plush toy is less than 60 cm based on the depth information of the panda-shaped plush toy, and determine whether the height of the fruit-shaped plush toy is less than 60 cm based on the fruit-shaped plush toy. If only the panda-shaped plush toy is less than 60 cm in height, the panda-shaped plush toy can be used as the object to be picked up, and the category of the object to be picked up is determined to be a panda-shaped plush toy.

[0076] In this way, even if the picking instruction does not include the category of the object to be picked up, the robot can accurately determine the category of the object to be picked up indicated by the picking instruction based on the two-dimensional image and the three-dimensional image, which improves the compatibility with various picking instructions and has better generalization performance. That is, at this time, the content of the instruction does not explicitly indicate the category of the object, and the robot needs to use image recognition capabilities to select objects that meet the instruction requirements from many objects and pick them up.

[0077] Method three: in response to the picking instruction not including the category of the object to be picked up, obtain the category and depth information of each object in the two-dimensional image and the three-dimensional image, and determine the category of the object to be picked up indicated by the picking instruction based on the category and depth information of each object.

[0078] Among them, the robot can obtain the category and depth information of each object in the two-dimensional image and the three-dimensional image from the external acquisition device. After the camera of the external acquisition device or the camera connected to the external device takes the two-dimensional image and the three-dimensional image, the external acquisition device can input the two-dimensional image into a pre-trained large image model to obtain the category of each object in the two-dimensional image. In addition, the external acquisition device can identify the depth information of each object in the two-dimensional image and the three-dimensional image through the two-dimensional image and the three-dimensional image. Then the external device can send the category and depth information of each object to the robot so that the robot can determine the category of the object to be picked up.

[0079] The manner in which the robot determines the category of the object to be picked up indicated by the picking instruction based on the category and depth information of each object can be referred to the relevant description in the second manner, which will not be repeated here.

[0080] By adopting the third method, the robot can obtain the category and depth information of each object in the two-dimensional image and the three-dimensional image. The robot does not need to recognize the two-dimensional image and the three-dimensional image, and the requirements for the robot are relatively low, so that this method can be applied to more types of robots.

[0081] In some embodiments of the present application, the identification of geometric elements included in the object to be picked up in the above S102 can be implemented as follows: acquiring a two-dimensional image and a three-dimensional image; inputting the two-dimensional image, the three-dimensional image and the mapping relationship into a second large graphic model to obtain the geometric elements included in the object to be picked up, and the mapping relationship is the correspondence between the two-dimensional image and the three-dimensional image.

[0082] Among them, the second large graphic model is a pre-trained model that can perform geometric cutting on objects included in the image. After the two-dimensional image, the three-dimensional image and the mapping relationship are input into the second large graphic model, the second large graphic model can output the various geometric elements included in the object to be picked up. The geometric elements specifically include the size information of the geometric body, such as the volume of the geometric body, the area of ​​each face, the side length, etc., and can also include the stacking relationship between the various geometric elements.

[0083] The stacking relationship can represent the upper and lower relationship of geometric elements in the object to be picked up. For example, the object to be picked up includes geometric element 1, geometric element 2, and geometric element 3 from top to bottom. Then the stacking relationship between geometric element 1 and geometric element 2 is that geometric element 1 is stacked on geometric element 2, and the stacking relationship between geometric element 2 and geometric element 3 is that geometric element 2 is stacked on geometric element 3.

[0084] In this way, through the second large graphic model, the various geometric elements included in the object to be picked up can be accurately identified, so as to accurately select the target geometric elements that can be picked up, so that the robot can accurately pick up objects whose physical categories are not pre-defined.

[0085] In some embodiments of the present application, the above S103, determining at least one target geometric element based on the identified geometric element, can be specifically implemented as follows:

[0086] From the identified geometric elements, geometric elements that meet the picking conditions corresponding to each preset picking method are screened.

[0087] The target geometric element can then be determined from the filtered geometric elements in any of the following ways:

[0088] Method 1: randomly select at least one geometric element from the screened geometric elements as the target geometric element.

[0089] Method 2: From the preset picking methods corresponding to the screened geometric elements, select a first picking method based on a historical picking success rate; and select at least one geometric element from the geometric elements corresponding to the first picking method as a target geometric element.

[0090] Among them, the robot records the historical picking success rate of each picking method. The picking method with the highest historical picking success rate can be used as the first picking method, or the picking method with the second highest historical picking success rate can be used as the first picking method, or a preset number of picking methods with high historical picking success rates can be used as the first picking method.

[0091] Then, at least one geometric element is randomly selected from the geometric elements corresponding to the first picking method as the target geometric element; or, at least one geometric element is determined from the geometric elements corresponding to the first picking method based on at least one of the size of the pickable area and the stacking height of the geometric elements in the object to be picked up, as the target geometric element. The geometric element corresponding to the first picking method refers to a geometric element that satisfies the picking condition corresponding to the first picking method.

[0092] The preset picking method in the embodiment of the present application may include at least one of a suction cup suction method, a clamp picking method and a dexterous hand picking method. The picking condition corresponding to the suction cup picking method is that the area of ​​the pickable area of ​​the geometric element is within the preset area range, and the picking condition corresponding to the clamp picking method and the dexterous hand picking method is that the length of the pickable area of ​​the geometric element is within the preset length range. Among them, under the premise that the area of ​​the pickable area is within the preset area range, the larger the area of ​​the pickable area is, the easier it is for the robot to pick up, and the higher the stacking height is, the easier it is for the robot to pick up. Under the premise that the length of the pickable area is within the preset length range, the longer the length of the pickable area is, the easier it is for the robot to pick up, and the higher the stacking height is, the easier it is for the robot to pick up. The various prerequisites mentioned above can reserve more fault tolerance space for the robot, so that objects can be picked up accurately even if the picking position deviates.

[0093] On this basis, if the first picking method is a suction cup suction method, at least one geometric element can be determined as the target geometric element from the geometric elements corresponding to the first picking method based on at least one of the area of ​​the pickable area and the stacking height of each geometric element in the object to be picked up.

[0094] For example, for the geometric elements corresponding to the suction cup suction method, the geometric element with the largest or second largest area in the pickable area can be used as the target geometric element; or a preset number of geometric elements with the top ranking in area of ​​the pickable area can be used as the target geometric element; or a preset number of geometric elements with the top ranking in area of ​​the pickable area can be selected, and then the geometric element with the highest or second highest stacking height can be selected as the target geometric element; or the geometric element with the highest or second highest stacking height can be used as the target geometric element; or a preset number of geometric elements with the top ranking in stacking height can be selected, and then the geometric element with the largest or second largest area in the pickable area can be selected as the target geometric element.

[0095] Among them, the stacking height of the geometric elements can be determined based on the stacking relationship of the stacked elements. For example, if geometric element 1 is stacked on geometric element 2, and geometric element 2 is stacked on geometric element 3, it can be determined that the stacking height of geometric element 1 is the highest and the stacking height of geometric element 2 is the second highest.

[0096] In addition, if the first picking method is a gripper picking method or a dexterous hand picking method, based on at least one of the length of the pickable area and the stacking height of each geometric element in the object to be picked up, at least one geometric element is determined from the geometric elements corresponding to the first picking method as the target geometric element.

[0097] For example, for the geometric elements corresponding to the gripper picking method or the dexterous hand picking method, the geometric element with the longest or second longest length in the pickable area can be used as the target geometric element; or a preset number of geometric elements with the top length in the pickable area can be used as the target geometric element; or a preset number of geometric elements with the top length in the pickable area are selected, and then the geometric elements with the highest or second highest stacking height are selected as the target geometric element; or the geometric elements with the highest or second highest stacking height are used as the target geometric element; or a preset number of geometric elements with the top stacking height are selected, and then the geometric elements with the longest or second longest length in the pickable area are selected as the target geometric element.

[0098] Method 3: Select a second picking method from the preset picking methods corresponding to the screened geometric elements based on the number of times as the corrected picking method; select at least one geometric element from the geometric elements corresponding to the second picking method as the target geometric element, wherein the corrected picking method is the picking method adopted after adjustment after the picking fails.

[0099] The robot maintains the number of times each picking method is used as the corrected picking method. For example, if the robot fails to pick up an object using a suction cup, and is adjusted to use a gripper picking method, and then successfully picks up the object, the number of times the gripper picking method is used as the corrected picking method is increased by 1.

[0100] In an embodiment of the present application, the picking method with the largest or second largest number of times as the corrected picking method can be used as the second picking method, or a preset number of picking methods with the highest number of times as the corrected picking methods can be used as the second picking method.

[0101] Then, at least one geometric element is randomly selected from the geometric elements corresponding to the second picking method as the target geometric element; or, from the geometric elements corresponding to the second picking method, at least one geometric element is determined as the target geometric element based on at least one of the size of the pickable area and the stacking height of the geometric elements in the object to be picked up. The geometric element corresponding to the second picking method refers to a geometric element that satisfies the picking condition corresponding to the second picking method.

[0102] The preset picking method in the embodiment of the present application may include at least one of a suction cup suction method, a clamping claw picking method and a dexterous hand picking method.

[0103] On this basis, if the second picking method is a suction cup suction method, at least one geometric element can be determined as the target geometric element from the geometric elements corresponding to the second picking method based on at least one of the area of ​​the pickable area and the stacking height of each geometric element in the object to be picked up.

[0104] Among them, when the second picking method is the suction cup suction method, the method of determining the target geometric element from the geometric elements corresponding to the second picking method is the same as the method of determining the target geometric element from the corresponding geometric elements of the first picking method in method 2, and will not be repeated here.

[0105] In addition, if the second picking method is a gripper picking method or a dexterous hand picking method, at least one geometric element can be determined as the target geometric element from the geometric elements corresponding to the second picking method based on at least one of the length of the pickable area and the stacking height of each geometric element in the object to be picked up.

[0106] Among them, when the second picking method is the gripper picking method or the dexterous hand picking method, the method of determining the target geometric elements from the geometric elements corresponding to the second picking method is the same as the method of determining the target geometric elements from the corresponding geometric elements of the first picking method in method 2, and will not be repeated here.

[0107] By adopting the above technical solution, the robot can flexibly select the target geometric element that is most suitable for the object to be picked up, and then pick up the area corresponding to the target geometric element according to the preset picking method corresponding to the target geometric element, which can improve the picking success rate.

[0108] In some embodiments of the present application, the preset picking method can also be a more fine-grained picking method. For the same type of end picker, the picking method can be further divided according to the material, specifications, etc. of the end picker, that is, each type of end picker corresponds to multiple picking methods.

[0109] Taking the end picker as a suction cup as an example, the picking methods can be divided according to the material, diameter (or radius), etc. of the suction cup head. For example, a suction cup with material 1 and a diameter in diameter range 1 corresponds to picking method 1, and the picking condition corresponding to picking method 1 is that the pickable area of ​​the geometric element is within the first preset area range; a suction cup with material 2 and a diameter in diameter range 2 corresponds to picking method 2, and the picking condition corresponding to picking method 2 is that the pickable area of ​​the geometric element is within the second preset area range. By analogy, the picking methods using suction cups can be divided into multiple fine-grained picking methods according to actual needs.

[0110] Taking the end picker as a gripper as an example, the picking methods can be divided according to the style of the gripper, the grasping range, etc. For example, each style of the gripper corresponds to a picking method, or for the same style of grippers, the picking methods are further divided according to the size, material, clamping range and other factors that affect the picking operation. For example, the two-finger gripper and the first clamping range correspond to picking method 3, and the picking condition corresponding to picking method 3 is that the length of the pickable area of ​​the geometric element is within the first preset length range; the two-finger gripper and the second clamping range correspond to picking method 4, and the picking condition corresponding to picking method 4 is that the length of the pickable area of ​​the geometric element is within the second preset length range; the three-finger gripper and the third clamping range correspond to picking method 5, and the picking condition corresponding to picking method 5 is that the length of the pickable area of ​​the geometric element is within the third preset length range; the three-finger gripper and the fourth clamping range correspond to picking method 6, and the picking condition corresponding to picking method 6 is that the length of the pickable area of ​​the geometric element is within the fourth preset length range. By analogy, for the gripper, the picking method using the gripper can be divided into a variety of fine-grained picking methods according to actual needs.

[0111] Similarly, when the end picker is a dexterous hand or other types, the picking method using the dexterous hand can also be divided into a variety of fine-grained picking methods according to actual needs.

[0112] It can be understood that, when the preset picking method is a fine-grained picking method, the first picking method in the above method 2 and the second picking method in the above method 3 are both fine-grained picking methods.

[0113] In method 2, if the end picker corresponding to the first picking method is a suction cup (that is, the first picking method is picking method 1 or 2), then based on at least one of the area of ​​the pickable area and the stacking height of each geometric element in the object to be picked up, at least one geometric element can be determined from the geometric elements corresponding to the first picking method as the target geometric element.

[0114] If the end picker corresponding to the first picking method is a gripper or a dexterous hand (that is, the first picking method is any one of picking methods 3 to 6, or is a fine-grained picking method obtained by dividing the picking methods of the dexterous hand), then based on at least one of the length of the pickable area and the stacking height of each geometric element in the object to be picked up, at least one geometric element is determined from the geometric elements corresponding to the first picking method as the target geometric element.

[0115] In method 3, if the end picker corresponding to the second picking method is a suction cup (that is, the second picking method is picking method 1 or 2), then based on at least one of the area of ​​the pickable area and the stacking height of each geometric element in the object to be picked up, at least one geometric element can be determined from the geometric elements corresponding to the second picking method as the target geometric element.

[0116] If the end picker corresponding to the second picking method is a gripper or a dexterous hand (that is, the second picking method is any one of picking methods 3 to 6, or is a fine-grained picking method obtained by dividing the picking methods of the dexterous hand), then based on at least one of the length of the pickable area and the stacking height of each geometric element in the object to be picked up, at least one geometric element can be determined from the geometric elements corresponding to the second picking method as the target geometric element.

[0117] In this way, by setting a finer-grained preset picking method, the target geometric elements suitable for the object to be picked can be selected more accurately, and then the target geometric elements can be picked according to the finer-grained picking method, which can further improve the picking success rate.

[0118] Corresponding to the above method embodiment, the present application embodiment also provides an object picking device, such as Figure 2 As shown, the device comprises:

[0119] An acquisition module 201 is used to acquire the category of the object to be picked up indicated by the picking instruction;

[0120] The identification module 202 is used to identify the geometric elements included in the object to be picked up if there is no corresponding relationship between the category of the object to be picked up and the picking method in the preset rule library;

[0121] A determination module 203, configured to determine at least one target geometric element based on the identified geometric elements;

[0122] The picking module 204 is used to pick up the area corresponding to the target geometric element of the object to be picked up according to the preset picking method corresponding to the target geometric element.

[0123] Optionally, the determination module 203 is specifically configured to:

[0124] From the identified geometric elements, select geometric elements that meet the picking conditions corresponding to each preset picking method;

[0125] Randomly select at least one geometric element from the screened geometric elements as the target geometric element; or,

[0126] From the preset picking methods corresponding to the screened geometric elements, a first picking method is selected based on the historical picking success rate; at least one geometric element is selected from the geometric elements corresponding to the first picking method as the target geometric element; or,

[0127] From the preset picking methods corresponding to the screened geometric elements, a second picking method is selected based on the number of times as the corrected picking method; at least one geometric element is selected from the geometric elements corresponding to the second picking method as the target geometric element, wherein the corrected picking method is the picking method adopted after adjustment after the picking fails.

[0128] Optionally, the determination module 203 is specifically configured to:

[0129] Randomly select at least one geometric element from the geometric elements corresponding to the first picking method as the target geometric element; or, from the geometric elements corresponding to the first picking method, determine at least one geometric element as the target geometric element based on at least one of the size of the pickable area and the stacking height of the geometric elements in the object to be picked up;

[0130] Selecting at least one geometric element from the geometric elements corresponding to the second picking method as the target geometric element includes:

[0131] At least one geometric element is randomly selected from the geometric elements corresponding to the second picking method as the target geometric element; or, at least one geometric element is determined from the geometric elements corresponding to the second picking method as the target geometric element based on at least one of the size of the pickable area and the stacking height of each geometric element in the object to be picked.

[0132] Optionally, the preset picking method includes at least one of a suction cup suction method, a clamping claw picking method and a dexterous hand picking method; the picking condition corresponding to the suction cup picking method is that the area of ​​the pickable region of the geometric element is within a preset area range, and the picking conditions corresponding to the clamping claw picking method and the dexterous hand picking method are that the length of the pickable region of the geometric element is within a preset length range;

[0133] The determination module 203 is specifically used for:

[0134] If the first picking method is a suction cup suction method, then based on at least one of an area of ​​the pickable region and a stacking height of each geometric element in the object to be picked up, at least one geometric element is determined from the geometric elements corresponding to the first picking method as a target geometric element;

[0135] If the first picking method is a gripper picking method or a dexterous hand picking method, then based on at least one of the length of the pickable area and the stacking height of each geometric element in the object to be picked up, at least one geometric element is determined from the geometric elements corresponding to the first picking method as the target geometric element;

[0136] The determination module 203 is specifically used for:

[0137] If the second picking method is a suction cup suction method, then based on at least one of an area of ​​the pickable region and a stacking height of each geometric element in the object to be picked up, at least one geometric element is determined from the geometric elements corresponding to the second picking method as a target geometric element;

[0138] If the second picking method is a gripper picking method or a dexterous hand picking method, based on at least one of the length of the pickable area and the stacking height of each geometric element in the object to be picked up, at least one geometric element is determined from the geometric elements corresponding to the second picking method as the target geometric element.

[0139] Optionally, the acquisition module 201 is specifically configured to:

[0140] In response to the picking instruction not including the category of the object to be picked up, acquiring a two-dimensional image and a three-dimensional image;

[0141] Inputting the two-dimensional image into the first large graphic model to obtain the category of each object in the two-dimensional image;

[0142] Identify depth information of objects in the two-dimensional image and the three-dimensional image through the two-dimensional image and the three-dimensional image;

[0143] The category of the object to be picked up indicated by the picking instruction is determined based on the category and depth information of each object.

[0144] Optionally, the acquisition module 201 is specifically configured to:

[0145] In response to the picking instruction not including the category of the object to be picked up, acquiring the category and depth information of each object in the two-dimensional image and the three-dimensional image;

[0146] The category of the object to be picked up indicated by the picking instruction is determined based on the category and depth information of each object.

[0147] Optionally, the identification module 202 is specifically configured to:

[0148] Acquire two-dimensional and three-dimensional images;

[0149] The two-dimensional image, the three-dimensional image and the mapping relationship are input into the second large graphic model to obtain the geometric elements included in the object to be picked up. The mapping relationship is the corresponding relationship between the two-dimensional image and the three-dimensional image.

[0150] The embodiment of the present application also provides an electronic device, which may be a robot or a robotic arm, or may be integrated on a robot or a robotic arm. Of course, it may also refer to a device that can communicate with a robot or a robotic arm. Figure 3 As shown, it includes a processor 301 , a communication interface 302 , a memory 303 and a communication bus 304 , wherein the processor 301 , the communication interface 302 , and the memory 303 communicate with each other via the communication bus 304 .

[0151] Memory 303, used for storing computer programs;

[0152] The processor 301 is used to implement the method steps in the above method embodiment when executing the program stored in the memory 303.

[0153] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0154] The communication interface is used for communication between the above electronic device and other devices.

[0155] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0156] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0157] In another embodiment provided in the present application, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned object picking methods are implemented.

[0158] In another embodiment provided in the present application, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute any object picking method in the above embodiments.

[0159] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive Solid State Disk (SSD)), etc.

[0160] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0161] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0162] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application are included in the protection scope of the present application.

Claims

1. A method for picking up an object, characterized in that: include: Obtaining the category of the object to be picked up indicated by the picking instruction; In response to the absence of a corresponding relationship between the category of the object to be picked up and the picking method in the preset rule library, identifying the geometric elements included in the object to be picked up; Based on the identified geometric elements, at least one target geometric element is determined, and the area corresponding to the target geometric element of the object to be picked up is picked up according to a preset picking method corresponding to the target geometric element.

2. The method according to claim 1, characterized in that The step of determining at least one target geometric element based on the identified geometric element comprises: From the identified geometric elements, select geometric elements that meet the picking conditions corresponding to each preset picking method; Randomly select at least one geometric element from the screened geometric elements as the target geometric element; or, From the preset picking methods corresponding to the screened geometric elements, a first picking method is selected based on the historical picking success rate; at least one geometric element is selected from the geometric elements corresponding to the first picking method as the target geometric element; or, From the preset picking methods corresponding to the screened geometric elements, a second picking method is selected based on the number of times as the corrected picking method; at least one geometric element is selected from the geometric elements corresponding to the second picking method as the target geometric element, wherein the corrected picking method is the picking method adopted after adjustment after the picking fails.

3. The method according to claim 2, characterized in that The selecting at least one geometric element from the geometric elements corresponding to the first picking method as the target geometric element includes: Randomly select at least one geometric element from the geometric elements corresponding to the first picking method as the target geometric element; or, from the geometric elements corresponding to the first picking method, determine at least one geometric element as the target geometric element based on at least one of the size of the pickable area and the stacking height of the geometric elements in the object to be picked up; The selecting at least one geometric element from the geometric elements corresponding to the second picking mode as the target geometric element comprises: At least one geometric element is randomly selected from the geometric elements corresponding to the second picking method as the target geometric element; or, at least one geometric element is determined from the geometric elements corresponding to the second picking method based on at least one of the size of the pickable area and the stacking height of each geometric element in the object to be picked up, as the target geometric element.

4. The method according to claim 3, characterized in that The preset picking method includes at least one of a suction cup suction method, a clamp picking method and a dexterous hand picking method; the picking condition corresponding to the suction cup picking method is that the area of ​​the pickable region of the geometric element is within a preset area range, and the picking conditions corresponding to the clamp picking method and the dexterous hand picking method are that the length of the pickable region of the geometric element is within a preset length range; The step of determining at least one geometric element from the geometric elements corresponding to the first picking mode as the target geometric element based on at least one of the size of the pickable area and the stacking height of the geometric elements in the object to be picked up includes at least one of the following: In response to the first picking method being a suction cup suction method, determining at least one geometric element from the geometric elements corresponding to the first picking method as the target geometric element based on at least one of an area of ​​a pickable region and a stacking height of each geometric element in the object to be picked up; In response to the first picking mode being a gripper picking mode or a dexterous hand picking mode, determining at least one geometric element from the geometric elements corresponding to the first picking mode as the target geometric element based on at least one of the length of the pickable area and the stacking height of each geometric element in the object to be picked up; The step of determining at least one geometric element from the geometric elements corresponding to the second picking mode as the target geometric element based on at least one of the size of the pickable area and the stacking height of the geometric elements in the object to be picked up includes at least one of the following: In response to the second picking method being a suction cup suction method, determining at least one geometric element from the geometric elements corresponding to the second picking method as the target geometric element based on at least one of an area of ​​a pickable region and a stacking height of each geometric element in the object to be picked up; In response to the second picking method being a gripper picking method or a dexterous hand picking method, based on at least one of the length of the pickable area and the stacking height of each geometric element in the object to be picked up, at least one geometric element is determined from the geometric elements corresponding to the second picking method as the target geometric element.

5. The method according to any one of claims 1 to 4, characterized in that: The step of obtaining the category of the object to be picked up indicated by the picking instruction includes: In response to the picking instruction not including the category of the object to be picked up, acquiring a two-dimensional image and a three-dimensional image; Inputting the two-dimensional image into a first large graphic model to obtain the category of each object in the two-dimensional image; Identifying depth information of each object in the two-dimensional image and the three-dimensional image through the two-dimensional image and the three-dimensional image; The category of the object to be picked up indicated by the picking instruction is determined based on the category and depth information of each object.

6. The method according to any one of claims 1 to 4, characterized in that: The step of obtaining the category of the object to be picked up indicated by the picking instruction includes: In response to the picking instruction not including the category of the object to be picked up, acquiring the category and depth information of each object in the two-dimensional image and the three-dimensional image; The category of the object to be picked up indicated by the picking instruction is determined based on the category and depth information of each object.

7. The method according to any one of claims 1 to 4, characterized in that: The step of identifying the geometric elements of the object to be picked up includes: Acquire two-dimensional and three-dimensional images; The two-dimensional image, the three-dimensional image and the mapping relationship are input into the second graphic model to obtain the geometric elements included in the object to be picked up, wherein the mapping relationship is the corresponding relationship between the two-dimensional image and the three-dimensional image.

8. An object picking device, characterized in that: include: An acquisition module, used to acquire the category of the object to be picked up indicated by the picking instruction; an identification module, configured to identify the geometric elements included in the object to be picked up in response to the absence of a corresponding relationship between the category of the object to be picked up and the picking method in the preset rule library; A determination module, configured to determine at least one target geometric element based on the identified geometric elements; The picking module is used to pick up the area corresponding to the target geometric element of the object to be picked up according to the preset picking method corresponding to the target geometric element.

9. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, for implementing the method steps described in any one of claims 1 to 7 when executing a program stored in a memory.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method steps described in any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Cluster robot material proportion collection method based on consensus initiative and related device

    CN119847162A

  • Consensus initiative-based cluster robot material proportion collection method and related device

    CN119847162B