Class-level 6D pose tracking method, system and device based on meta-learning

The class-level 6D pose tracking method based on meta-learning solves the problems of illumination changes and resource consumption of traditional methods, achieves rapid generalization and real-time tracking of specific categories of object poses, and reduces resource consumption.

CN113674324BInactive Publication Date: 2024-10-18CHANGZHOU WEISHI INTELLIGENT IOT INNOVATION CENT CO LTD
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202110993103.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-27
Publication Date
2024-10-18
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure CN113674324B_ABST
    Figure CN113674324B_ABST
Patent Text Reader

Abstract

The present invention belongs to the field of posture tracking technology, and specifically relates to a class level 6 based on meta-learning D Method, system and device for posture tracking, wherein class level 6 based on meta-learning D The pose tracking method includes: constructing a rigid body 6 D Pose estimation task and constructing class-level rigid body 6 D Learning objectives for pose estimation; constructing rigid bodies 6 D Pose estimation network model; Construction Offline Learning strategy, initialization 6 D Pose estimation network model; and construction Online Learning strategy, initialize 6 D Pose estimation network model for rigid body 6 D For the pose tracking task, the meta-learning method is implemented, so that the network model gains experience in tracking the poses of different instance objects of a specific category through learning. When the model tracks the pose of a new instance object of a specific category of object, it can use the initial pose of the instance object as supervision and use the gradient descent algorithm to perform one or several gradient updates on the model parameters, so that the model can effectively track the pose of the instance object.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of posture tracking technology, and specifically relates to a class level 6 based on meta-learning D Posture tracking method, system and device. Background Art

[0002] Rigid body 6 D Pose tracking is to estimate the position of an object in the camera coordinate system based on the input data obtained by the camera. D Pose, that is, 3 D Position and 3 D When the object's posture changes, it can estimate the changed object's posture in real time. D Position tracking is mainly used in the fields of robot manipulation and augmented reality. In the field of robot manipulation, the mainstream method is to estimate the 6 D The robot can then obtain the position and posture of the end of the robot arm when manipulating an object. The robot arm can perform the corresponding manipulation task according to the end posture. In the field of augmented reality, virtual elements can be superimposed on the object, and the relative position and posture of the object remain unchanged as the object moves.

[0003] Existing Rigid Body 6 D Pose tracking methods can be divided into corresponding point-based methods, template-based methods and voting-based methods. D -3 D or 3 D -3 D The corresponding relationship between feature points is used to calculate the pose of the data to be estimated based on the corresponding relationship between the data with known pose and the feature points. The template-based method finds the correspondence between the current input data and the template with known pose, and regards the pose of the corresponding template as the pose of the input data. The voting-based method uses each pixel or 3 D Point indirect voting to get key points or direct voting to get 6 D Posture.

[0004] The existing 6 D Pose tracking methods are susceptible to changes in lighting and fail when objects are partially occluded or lack texture information.

[0005] Deep learning-based methods can solve the above problems, but existing learning-based rigid body 6 D Before estimating the pose of each instance object, the pose tracking method needs to label a large amount of training data to train the model. When estimating the pose of a new instance object, it is necessary to collect a large amount of pose data of the instance object and retrain the model. This process requires a lot of material and financial resources.

[0006] Therefore, based on the above technical problems, a new class-level 6 D Posture tracking method, system and device. Summary of the invention

[0007] The purpose of this invention is to provide a class-level 6 D Posture tracking method, system and device.

[0008] In order to solve the above technical problems, the present invention provides a class level 6 based on meta-learning D Pose tracking methods include:

[0009] Constructing Rigid Body 6 D Pose estimation task and constructing class-level rigid body 6 D Learning objectives for pose estimation;

[0010] Constructing Rigid Body 6 D Pose estimation network model;

[0011] Build Offline Learning strategy, initialization 6 D Pose estimation network model; and

[0012] Build Online Learning strategy, initialize 6 D Pose estimation network model for rigid body 6 D Pose tracking task.

[0013] Further, the rigid body 6 is constructed D Pose estimation task and constructing class-level rigid body 6 D Methods for learning objectives for pose estimation include:

[0014] Treat the pose estimation of different instance objects of the preset category as different tasks , all tasks follow the distribution Each task is based on a dataset D Indicates that the dataset includes the instance object at different perspectives in the camera coordinate system RGBD image x and 6 of the sample object in the image D posture y ;

[0015] The optimal meta-learning model parameters are:

[0016] ;

[0017] in, 6 for learning D Initialization parameters of the pose estimation network model; 6 for learning D Learning rate of the pose estimation network model; L is the loss function of pose estimation; are randomly initialized parameters; is the randomly initialized learning rate; E is the mathematical expectation.

[0018] Further, the rigid body 6 is constructed D Methods for pose estimation network models include:

[0019] according to RGB Image and point cloud data for rigid body 6 D Pose tracking;

[0020] Obtain the point cloud data of the current input data based on the depth image combined with the preset camera internal parameters;

[0021] 6 D The input of the pose estimation network model includes the object whose pose is to be estimated. RGB Image and point cloud data of the object in the current viewing angle;

[0022] According to the heterogeneous network, the input data is extracted separately RGB Features and point cloud features, and RGB The features and point cloud features are fused point by point to obtain the density of each pixel. RGB The features of the point cloud are fused together, and the maximum pooling operation is performed on the fused features of each dense pixel to obtain the global features of the input data, and then regression is performed to obtain the 3D features of the object. D Rotation vector, 3 D Translation vector;

[0023] RGB The characteristic size of the image is [ W , H ,32], the feature size obtained after convolution through two convolutional layers is [ W , H ,128];

[0024] The feature size obtained after feature extraction of point cloud is [ N ,128], N is the number of points in the point cloud;

[0025] Will RGB After the image features and point cloud features are fused, the global feature size of the object is 1024*1. In the posture regression and position regression networks, 4*1 rotation vectors and 3*1 translation vectors are respectively obtained through regression of three convolutional layers;

[0026] The loss function for rotation is:

[0027]

[0028] The loss function of translation:

[0029]

[0030] in, is the label of the pose, 6 predicted for the network D posture; trace is the trace of the matrix, is the average value of the point cloud input to the network model;

[0031] Then, 6 D The loss function of the pose estimation model is:

[0032]

[0033] in are preset parameters.

[0034] Furthermore, the construction Offline Learning strategy, initialization 6 D Methods for pose estimation network models include:

[0035] On the training set, InnerLoop and OuterLoop The initialization parameters and learning rate of the model are learned in two steps;

[0036] The learning objectives include the initialization parameters of the model and InnerLoop The learning rate of the stage α ;

[0037] According to the learning task τ i , from the dataset corresponding to this task D i Get training examples from the support set and target set ;

[0038] Innerloop In the stage, the model parameters are adjusted using the gradient descent algorithm. K Subgradient update;

[0039] ;

[0040] ;

[0041] in, G For 6 D Pose estimation network model; The pose predicted by the network; L is the loss function

[0042] exist InnerLoop After each gradient update in the stage, the updated network parameters are obtained in the target set The loss on OuterLoop Gradient update of the network parameters at this stage:

[0043] ;

[0044] Repeat InnerLoop stage bz times, obtain OuterLoop The stage is used to update all gradients of model parameters;

[0045] exist OuterLoop Stage Utilization InnerLoop The gradient obtained from stage learning updates the model parameters and obtains the gradient used for the next Offline The learned model initialization parameters and learning rate α ;

[0046] ;

[0047] ;

[0048] in, β θ and β α They are OuterLoop Phase parameters θ 0 and α The learning rate; for InnerLoop The target set calculated in the first stage k Gradient weights; Get all the weights on the target set K The weight of the gradient;

[0049] Repeat InnerLoop and OuterLoop The process continues until the model converges and finally the model parameters are obtained. and InnerLoop The learning rate used to perform gradient updates on the parameters at this stage α * .

[0050] Furthermore, the construction Online Learning strategy, initialize 6 D Pose estimation network model for rigid body 6 D Methods for pose tracking tasks include:

[0051] According to the initial parameters of the model θ * and learning rate α * The model parameters are adjusted using the gradient descent algorithm using the initial posture information of the rigid body as supervision. K Subgradient update to obtain the model parameters of the rigid body ;

[0052] As the camera continuously collects data, based on the updated parameters , the network model estimates the object’s 6 D Posture.

[0053] In a second aspect, the present invention also provides a class level 6 based on meta-learning D Pose tracking system, including:

[0054] Learning target module, building rigid body 6 D Pose estimation task and constructing class-level rigid body 6 D Learning objectives for pose estimation;

[0055] Model building module, building rigid body 6 D Pose estimation network model;

[0056] Initialize the module and build Offline Learning strategy, initialization 6 D Pose estimation network model; and

[0057] Tracking task module, build Online Learning strategy, initialize 6 D Pose estimation network model for rigid body 6 D Pose tracking task.

[0058] In a third aspect, the present invention also provides a class level 6 based on meta-learning D The posture tracking device comprises:

[0059] A control module, and a robotic arm, a depth camera, and a robotic claw controlled by the control module;

[0060] The depth camera is suitable for capturing images;

[0061] The control module is adapted to obtain the relative posture of the robot arm end when the robot arm operates the object in the image according to the relative posture of the depth camera, the robot arm and the robot claw. D Posture, and

[0062] The control module is suitable for controlling the mechanical arm to drive the mechanical claw to grasp an object according to the image.

[0063] The beneficial effect of the present invention is that the present invention constructs a rigid body 6D Pose estimation task and constructing class-level rigid body 6 D Learning objectives for pose estimation; constructing rigid bodies 6 D Pose estimation network model; Construction Offline Learning strategy, initialization 6 D Pose estimation network model; and construction Online Learning strategy, initialize 6 D Pose estimation network model for rigid body 6 D For the pose tracking task, the meta-learning method is implemented, so that the network model gains experience in tracking the poses of different instance objects of a specific category through learning. When the model tracks the pose of a new instance object of a specific category of object, it can use the initial pose of the instance object as supervision and use the gradient descent algorithm to perform one or several gradient updates on the model parameters, so that the model can effectively track the pose of the instance object.

[0064] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description and the drawings.

[0065] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0067] Figure 1 The meta-learning-based class level 6 involved in the present invention D Flowchart of the pose tracking method;

[0068] Figure 2 The present invention relates to 6 D Flowchart of pose estimation network model construction;

[0069] Figure 3 The present invention relates to 6 D Flowchart of initialization of pose estimation network model;

[0070] Figure 4 The meta-learning-based class level 6 involved in the present invention DPrinciple block diagram of the pose tracking system;

[0071] Figure 5 The meta-learning-based class level 6 involved in the present invention D Principle block diagram of the posture tracking device;

[0072] Figure 6 The meta-learning-based class level 6 involved in the present invention D Schematic diagram of the pose tracking device. DETAILED DESCRIPTION

[0073] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0074] Example 1

[0075] Figure 1 The meta-learning-based class level 6 involved in the present invention D Flowchart of the pose tracking method.

[0076] like Figure 1 As shown, this embodiment 1 provides a class level 6 based on meta-learning D The pose tracking method includes: constructing a rigid body 6 D Pose estimation task and constructing class-level rigid body 6 D Learning objectives for pose estimation;

[0077] Constructing Rigid Body 6 D Pose estimation network model; Construction Offline Learning strategy (offline learning strategy), initialization 6 D Pose estimation network model; and construction Online Learning strategy (online learning strategy), initialize 6 D Pose estimation network model for rigid body 6 D For the pose tracking task, the meta-learning method is implemented, so that the network model gains experience in tracking the poses of different instance objects of a specific category through learning. When the model tracks the pose of a new instance object of a specific category of object, it can use the initial pose of the instance object as supervision and use the gradient descent algorithm to perform one or several gradient updates on the model parameters, so that the model can effectively track the pose of the instance object.

[0078] In this embodiment, objects are classified into different categories, such as notebooks, cameras, bowls, etc. Each category contains different instance objects, which have some differences in size, texture, and shape. For example, notebooks of different brands have different sizes and textures. The so-called class-level pose tracking refers to the network model (6 D The pose estimation network model learns 6 D After the pose tracking task, it can effectively track the pose of new instance objects of the category that are not included in the training set. Based on meta-learning, the network model can learn the poses of different instance objects of a specific category. D The pose tracking task learns the 6 D Based on the experience of pose tracking, when the model tracks the pose of a new instance of the object of this category, it can use the initial pose as supervision to fine-tune the network parameters, and it can effectively track the pose of the instance object. D Posture.

[0079] In this embodiment, the rigid body 6 D Pose estimation task and constructing class-level rigid body 6 D Methods for learning objectives of pose estimation include: MAML Algorithm 6 D The pose estimation network model is trained. MAML The algorithm uses meta-learning to learn the initialization parameters of the model. Compared with random initialization parameters, the model (6 D The pose estimation network model uses the learned initialization parameters to estimate the pose of a new instance of a specific class of objects. D When performing several gradient updates based on a small number of samples, effective prediction results can be obtained. MAML The learning effect of the algorithm on the model with deeper network layer is not ideal. MAML While learning the model parameters, the algorithm also learns the learning rate of each parameter during gradient update. α , the learning rate determines the direction of each parameter update and the step size of each iterative update;

[0080] Treat the pose estimation of different instances of objects of a preset category (specific category) as different tasks , all tasks follow the distribution Each task is based on a dataset D The data set includes RGBD image x and 6 of the rigid body in the image D posture y ; According to the meta-learning method, let the model (6 DThe pose estimation network model is used to learn on different tasks and gain learning experience. When the model faces a new instance object of a specific category, it can use the gradient descent algorithm to perform several gradient updates on the model through a small amount of labeled data, and it can effectively estimate the 6-dimensional position of the instance object at different perspectives. D posture;

[0081] The optimal meta-learning model parameters are:

[0082] ;

[0083] in, 6 for learning D Initialization parameters of the pose estimation network model; 6 for learning D Initialization learning rate of the pose estimation network model; L is the loss function of pose estimation; are randomly initialized parameters; is the randomly initialized learning rate; E is the mathematical expectation; the 6 different instances of a particular class D Pose estimation is regarded as different tasks, and by learning on different tasks, the network model can gain learning experience. When estimating the pose of a new instance object of a specific class, by performing several gradient updates with a small number of samples, the model can effectively estimate the pose of the instance object from different perspectives.

[0084] Figure 2 The present invention relates to 6 D Flowchart of pose estimation network model construction.

[0085] like Figure 2 As shown, in this embodiment, the rigid body 6 D The method of posture estimation network model includes: RGB Image and point cloud data for rigid body 6 D Posture tracking: using a depth camera as a sensor, after obtaining input data, the point cloud data of the current input data is obtained based on the depth image combined with the preset camera internal parameters; [ u , v ] is the pixel coordinate in the depth image, z c To obtain the depth value, overlap the world coordinate system with the camera coordinate system and convert the depth image into a point cloud:

[0086] ;

[0087] in, is the pixel coordinate of the optical center in the image; f is the camera focal length; and Indicates that each row and column of pixels in the image represents the distance in the world coordinate system;

[0088] Image point pixel coordinates in the depth image To the coordinate point in the world coordinate system The transformation is:

[0089] ;

[0090] 6 D The input of the pose estimation network model includes the object whose pose is to be estimated. RGB Image and point cloud data of the current viewing object; extract the input data separately according to the heterogeneous network RGB Features and point cloud features, and use DenseFusion Network pair RGB The features and point cloud features are fused point by point to obtain the density of each pixel. RGB The features of the point cloud are fused together, and the maximum pooling operation is performed on the fused features of each dense pixel to obtain the global features of the input data, and then different regression networks are used to regress and obtain the 3D features of the object. D Rotation vector, 3 D Translation vector; for RGB Feature extraction module, this embodiment uses PSPNet Networks (other learning based on gradient descent algorithms RGB Feature extraction models can also be used to extract RGB Image features, for the point cloud feature extraction module, this embodiment uses PointNet Network (other point cloud feature extraction models based on gradient descent learning can also be implemented); RGB Image via PSPNet The characteristic size obtained by the module is [ W , H ,32], and then the feature size obtained after convolution through two convolutional layers is [ W , H ,128]; the point cloud model is passed through PointNet The feature size obtained after feature extraction is [ N ,128], N is the number of points in the point cloud; RGB Image features and point cloud features DenseFusion After the module performs feature fusion, the global feature size of the object is obtained to be 1024*1. In the posture regression and position regression networks, 4*1 rotation vector and 3*1 translation vector are respectively obtained through regression of 3 convolutional layers;

[0091] The goal of pose estimation is to minimize the difference between the object pose predicted by the network and the object's true pose in the camera coordinate system. The loss function for rotation in this example is:

[0092]

[0093] The loss function of translation:

[0094]

[0095] in, is the label of the pose, 6 predicted for the network D posture; trace is the trace of the matrix, is the average value of the point cloud input to the network model;

[0096] In summary, 6 D The loss function of the pose estimation model is:

[0097]

[0098] in are preset parameters.

[0099] Figure 3 The present invention relates to 6 D Flowchart of initialization of pose estimation network model.

[0100] like Figure 3 As shown, in this embodiment, the construction Offline Learning strategy, initialization 6 D The method of posture estimation network model includes: InnerLoop (inner loop) and OuterLoop (Outer loop) Two steps to learn the model's initialization parameters and learning rate; Offline The learning strategy refers to the strategy of training the model on the training set; the data in the training set in the method proposed in this embodiment includes the RGB Images and depth images, labels include the object's rotation matrix and translation vector in the camera coordinate system. Each category in the dataset contains multiple instance objects, and each object contains data collected from multiple different perspectives.

[0101] Offline The learning phase includes InnerLoop and OuterLoop Two steps; in Offline The learning objectives in the learning phase include the initialization parameters of the model and InnerLoop The learning rate of the stage α ;

[0102] InnerLoop Stage: According to learning tasks τ i , from the dataset corresponding to this task D i Get training examples from the support set and target set ;

[0103] The model parameters are adjusted using the gradient descent algorithm. K Subgradient update;

[0104] Formula (6);

[0105] Formula (7);

[0106] in, G For 6 D Pose estimation network model; The pose predicted by the network; L is the loss function (objective function L ); In this embodiment, only the model parameters are updated in each step during the above updating process. , learning rate α remain unchanged;

[0107] according to MAML Algorithm, network parameters K After the sub-gradient update, the loss value of the updated parameters on the target set is calculated for OuterLoop The gradient of the model parameters is updated in the stage, but this approach easily leads to the disappearance of the gradient. InnerLoop After each gradient update in the stage, the updated network parameters are obtained in the target set The loss on OuterLoop Gradient update of the network parameters at this stage:

[0108] Formula (8);

[0109] Repeat the process described in equations (6) to (8) bz times, obtain OuterLoop The stage is used to update all gradients of model parameters;

[0110] OuterLoop Stage: In OuterLoop Stage Utilization InnerLoop The gradient obtained from stage learning updates the model parameters and obtains the gradient used for the next Offline The learned model initialization parameters and learning rate α ;

[0111] ;

[0112] ;

[0113] in, β θ and β α They are OuterLoop Phase parameters θ 0 and α The learning rate; for InnerLoop The target set calculated in the first stage k Gradient weights; Get all the weights on the target set K The weight of the gradient; by setting different weights, the model can focus on K On the updated model parameters, it can effectively avoid MAML The gradient vanishing problem caused by the algorithm;

[0114] Repeat InnerLoop and OuterLoop The process continues until the model converges and finally the model parameters are obtained. and InnerLoop The learning rate used to perform gradient updates on the parameters at this stage α * ; 6 D The learning of the pose estimation network model is divided into InnerLoop Stage and OuterLoop stage, through learning in different tasks, learn 6 D Initialization parameters of the pose estimation network model and InnerLoop The learning rate for gradient update of parameters in the stage

[0115] In this embodiment, the construction Online Learning strategy, initialize 6 D Pose estimation network model for rigid body 6 D The method of pose tracking task includes: constructing Online Learning strategy, using the initial pose as supervision information, fine-tuning the model parameters, D Pose estimation network model for rigid body 6 D Posture tracking task; 6 D The pose estimation network model obtains the model's initialization parameters and learning rate by learning on the training set; when performing the pose tracking task of a new instance object, Online Learning strategy can enable the model to quickly generalize to the pose estimation task of new instance objects; D During pose tracking, the initial pose of the rigid body is known; according to the initial parameters of the model θ* and learning rate α * The model parameters are adjusted using the gradient descent algorithm using the initial posture information of the rigid body as supervision. K Subgradient update to obtain the model parameters of the rigid body , which can be seen as the model's adaptive process for new instance objects of a specific category; when the camera continuously collects data, based on the updated parameters , the network model estimates the object’s 6 D Pose, that is, effectively tracking the pose information of the instance; D The pose estimation network model is applied to pose tracking tasks. When the network model tracks a new instance object of a specific class, it can use the initial pose as supervision and Offline The learning rate of the stage learning is Offline The model initialization parameters learned in the stage are updated with several steps of gradients, so that the model can effectively track the pose of the instance in subsequent frames.

[0116] Example 2

[0117] Figure 4 The meta-learning-based class level 6 involved in the present invention D Principle block diagram of the pose tracking system.

[0118] like Figure 4 As shown, based on Example 1, this Example 2 also provides a class level 6 based on meta-learning D Pose tracking system, including: learning target module, building rigid body 6 D Pose estimation task and constructing class-level rigid body 6 D Learning objectives for pose estimation; model building module, building rigid body 6 D Pose estimation network model; initialization module, construction Offline Learning strategy, initialization 6 D Pose estimation network model; and tracking task module, build Online Learning strategy, initialize 6 D Pose estimation network model for rigid body 6 D Pose tracking task.

[0119] In this embodiment, the specific working method of each module has been described in detail in Embodiment 1 and will not be repeated in this embodiment.

[0120] Example 3

[0121] Figure 5 The meta-learning-based class level 6 involved in the present invention D Principle block diagram of the posture tracking device;

[0122] Figure 6 The meta-learning-based class level 6 involved in the present invention D Schematic diagram of the pose tracking device.

[0123] like Figure 5 and Figure 6 As shown, based on Example 1, this Example 3 also provides a class level 6 based on meta-learning D The posture tracking device comprises: a control module, and a mechanical arm, a depth camera and a mechanical claw controlled by the control module; the depth camera is suitable for capturing images; the control module is suitable for obtaining the relative posture of the mechanical arm end when the mechanical arm operates the object in the image according to the relative posture of the depth camera, the mechanical arm and the mechanical claw. D The control module is suitable for controlling the mechanical arm to drive the mechanical claw to grasp an object according to the image.

[0124] In this embodiment, the control module is adapted to adopt the class level 6 based on meta-learning in embodiment 1 D The posture tracking method controls the robotic arm to drive the robotic claw to grasp objects.

[0125] In summary, the present invention constructs a rigid body 6 D Pose estimation task and constructing class-level rigid body 6 D Learning objectives for pose estimation; constructing rigid bodies 6 D Pose estimation network model; Construction Offline Learning strategy, initialization 6 D Pose estimation network model; and construction Online Learning strategy, initialize 6 D Pose estimation network model for rigid body 6 D For the pose tracking task, the meta-learning method is implemented, so that the network model gains experience in tracking the poses of different instance objects of a specific category through learning. When the model tracks the pose of a new instance object of a specific category of object, it can use the initial pose of the instance object as supervision and use the gradient descent algorithm to perform one or several gradient updates on the model parameters, so that the model can effectively track the pose of the instance object.

[0126] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0127] In addition, the functional modules in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.

[0128] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U Disk, mobile hard disk, read-only memory ( ROM , Read - OnlyMemory ), Random Access Memory ( RAM , RandomAccessMemory ), magnetic disks, optical disks, and other media that can store program codes.

[0129] Based on the above ideal embodiments of the present invention, the relevant staff can make various changes and modifications without departing from the technical concept of the present invention through the above description. The technical scope of the present invention is not limited to the contents of the specification, and its technical scope must be determined according to the scope of the claims.

Claims

1. A class-level 6D pose tracking method based on meta-learning, characterized in that: include: Construct a rigid body 6D pose estimation task and construct a class-level learning objective for rigid body 6D pose estimation; Construct a rigid body 6D pose estimation network model; Build an offline learning strategy and initialize the 6D pose estimation network model; and Build an online learning strategy and use the initialized 6D pose estimation network model for rigid body 6D pose tracking tasks; The method for constructing a rigid body 6D pose estimation task and constructing a learning objective for class-level rigid body 6D pose estimation includes: Treat the pose estimation of different instance objects of the preset category as different tasks , all tasks follow the distribution , each task is represented by a data set D, which includes the RGBD image x of the instance object at different viewing angles in the camera coordinate system and the 6D pose y of the instance object in the image; The optimal meta-learning model parameters are: ; in, Initialization parameters for the learned 6D pose estimation network model; is the learning rate of the learned 6D pose estimation network model; L is the loss function of pose estimation; are randomly initialized parameters; is the learning rate of random initialization; E is the mathematical expectation; The method for constructing a rigid body 6D pose estimation network model comprises: 6D pose tracking of rigid bodies based on RGB images and point cloud data; Obtain the point cloud data of the current input data based on the depth image combined with the preset camera internal parameters; The input of the 6D pose estimation network model includes the RGB image of the object whose pose is to be estimated and the point cloud data of the object in the current view; The RGB features and point cloud features of the input data are extracted according to the heterogeneous network, and the RGB features and point cloud features are fused point by point to obtain the fusion features of the RGB features and point cloud features of each dense pixel. The fusion features of each dense pixel are subjected to the maximum pooling operation to obtain the global features of the input data, and then regression is performed to obtain the 3D rotation vector and 3D translation vector of the object. The feature size of the RGB image is [W, H, 32], and the feature size obtained after convolution through two convolutional layers is [W, H, 128]; The feature size obtained after feature extraction of the point cloud is [N, 128], where N is the number of points in the point cloud; The global feature size of the object obtained by fusion of RGB image features and point cloud features is 1024*1. In the posture regression and position regression networks, 4*1 rotation vector and 3*1 translation vector are respectively obtained through regression of 3 convolutional layers; The loss function for rotation is: The loss function of translation: in, is the label of the pose, is the 6D pose predicted by the network; trace is the trace of the matrix, is the average coordinate value of the N point clouds input into the network model; Then, the loss function of the 6D pose estimation model is: in are preset parameters.

2. The class-level 6D pose tracking method based on meta-learning as claimed in claim 1, characterized in that: The method for constructing an offline learning strategy and initializing a 6D pose estimation network model includes: The initialization parameters and learning rate of the model are learned through the InnerLoop and OuterLoop steps on the training set; The learning objectives include the initialization parameters of the model And the learning rate α in the InnerLoop stage; According to the learning task τ i , from the dataset D corresponding to this task i Get training examples from the support set and target set ; In the InnerLoop stage, the gradient descent algorithm is used to perform K gradient updates on the model parameters; ; ; Among them, G is the 6D pose estimation network model; is the pose predicted by the network; L is the loss function; After each gradient update in the InnerLoop phase, the updated network parameters are obtained in the target set The gradient update of the loss on the OuterLoop stage network parameters: ; Repeat the InnerLoop stage bz times to obtain all the gradients used to update the model parameters in the OuterLoop stage; In the OuterLoop stage, the gradients learned in the InnerLoop stage are used to update the model parameters to obtain the model initialization parameters for the next Offline learning. and learning rate α; ; ; Among them, β θ and β α are the learning rates of the OuterLoop phase parameters θ0 and α respectively; The weight of the kth gradient on the target set calculated in the InnerLoop stage; get the weights of all K gradients on the target set; Repeat the InnerLoop and OuterLoop processes until the model converges and finally obtains the model parameters And the learning rate α used to update the gradient of the parameters in the InnerLoop stage * .

3. The class-level 6D pose tracking method based on meta-learning as claimed in claim 2, characterized in that: The method of constructing an online learning strategy and using the initialized 6D pose estimation network model for a rigid body 6D pose tracking task includes: According to the initial parameters θ of the model * and learning rate α * The initial posture information of the rigid body is used as supervision to perform K gradient updates on the model parameters using the gradient descent algorithm to obtain the model parameters of the rigid body. ; As the camera continuously collects data, based on the updated parameters , the network model estimates the 6D pose of the object in real time.

4. A class-level 6D pose tracking system using the class-level 6D pose tracking method according to any one of claims 1 to 3, characterized in that: include: Learning objective module, constructs the rigid body 6D pose estimation task and constructs the learning objective of class-level rigid body 6D pose estimation; Model building module, building a rigid body 6D pose estimation network model; Initialization module, builds offline learning strategy, and initializes 6D pose estimation network model; and The tracking task module builds an online learning strategy and uses the initialized 6D pose estimation network model for the rigid body 6D pose tracking task.

5. A class-level 6D pose tracking device based on meta-learning using the class-level 6D pose tracking method according to any one of claims 1 to 3, characterized in that: include: A control module, and a robotic arm, a depth camera, and a robotic claw controlled by the control module; The depth camera is suitable for capturing images; The control module is adapted to obtain the 6D pose of the end of the robotic arm when the robotic arm operates the object in the image according to the relative pose of the depth camera, the robotic arm and the robotic claw, and The control module is suitable for controlling the mechanical arm to drive the mechanical claw to grasp an object according to the image.

Citation Information

Patent Citations

  • Mobile robot repositioning method based on small sample learning

    CN110553650A

  • Indoor scene reconstruction method based on meta-learning

    CN110942512A

  • Grabbing training method and system based on point cloud acquisition and processing

    CN111085997A

  • Intelligent robot grabbing method based on action demonstration teaching

    CN111890357A

  • Estimation of a pose of a robot

    CN112639502A