Relative pose estimation method of space targets based on deep learning
The deep learning method is used to construct a pose estimation neural network, which solves the shortcomings of traditional methods in the case of complex lighting and insufficient texture, and achieves high-precision pose estimation in a spatial environment. It is suitable for space target pose estimation under complex lighting conditions. .
Patent Information
- Application Number
- CN202110275862.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-15
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2041-03-15
AI Technical Summary
In a spatial environment, traditional 6D target pose estimation methods are sensitive to objects with insufficient illumination and texture, and model-based methods fail when the target part is not within the field of view. Traditional methods are time-consuming and unsuitable for complex light conditions.
By constructing a spatial target relative pose estimation method based on deep learning, using the deep convolutional residual network ResNet to construct a pose estimation neural network, generating annotated sample sets and training, and using a single image to estimate the position and attitude simultaneously, which is applicable Space target pose estimation under complex lighting conditions.
It achieves high-precision space target pose estimation under complex lighting conditions. Position and attitude information can be estimated simultaneously through a single image. It is suitable for space target pose estimation and solves the problem of traditional methods when lighting and texture are insufficient. shortcomings.
Smart Images

Figure CN113034581B
Abstract
Description
Technical Field
[0001] The present invention relates to a method for estimating relative position and posture of a space target based on deep learning. Background Art
[0002] In the on-orbit approach operations of space on-orbit servicing, rendezvous and docking, and debris removal, accurate and robust position and attitude estimation is required. However, the space environment is often very complex. For example, the light intensity in space is high, or there are low light and reflections. In addition, when imaging from different perspectives, the aircraft sometimes appears in the background of the earth with complex textures, which interferes with the position and attitude estimation.
[0003] The traditional 6D target pose can be obtained by using the PnP (Perspective-n-Point) method based on local feature matching between 3D models and images, but it is not suitable for objects with insufficient texture. Although template matching or dense feature learning methods can solve the problem of insufficient texture, they are sensitive to lighting and occlusion. In addition, the feature extraction and pose measurement of dense feature learning methods are also time-consuming.
[0004] Attitude estimation of spacecraft on orbit can only be achieved by relying on sensors such as monocular vision or infrared cameras, stereo cameras and laser radar (LiDAR). Attitude estimation based on monocular cameras has certain advantages in spacecraft due to the simplicity of the sensor. Monocular solutions for spacecraft tracking and attitude estimation include:
[0005] [B.Naasz,JVEepoel,S.Queen,CMSouthward,andJ.Hannah, "Flightresultsfromthehstsm4relativenavigationsensorsystem," 2010];
[0006] [JM Kelsey, J. Byrne, M. Cosgrove, S. Seereeram, and R. K. Mehra, "Vision-based relative pose estimation for autonomous rendezvous and docking," in IEEE Aerospace Conference, 2006];
[0007] [C.LiuandW.Hu, "Relativeposeestimationforcylinder-shapedspacecraftsusingsingleimage," IEEETransactionsonAerospaceandElectronicSystems,vol.50,no.4,2014];
[0008] Relies on a model-based approach that aligns a wireframe model of a spacecraft (component) with an edge image of the real spacecraft (component) based on a heuristic.
[0009] Attitude estimation technology based on deep learning algorithms has made new progress in ground applications. This type of algorithm overcomes the traditional image processing-based methods and attempts to learn the nonlinear transformation between 2D input images and 6D output attitude in an end-to-end manner. For example:
[0010] BB8 Rad M., Lepetit V., BB8: scalable, accurate, robust to partial occlusion method for predicting the 3D poses of challenging objects without using depth, ICCV, 2017] Predict the 2D projection coordinates of the 8 corner points of the 3D bounding box formed by the 3D object. After obtaining the 2D coordinates, the PnP algorithm is used to directly obtain the 3D rotation vector and translation vector.
[0011] Sharma S. Sharma, C. Beierle, and S. D'Amico, "Position estimation for noncooperative spacecraft rendezvous using convolutional neural networks," in IEEE Aerospace Conference, pp. 1-12, 2018] proposed the first spacecraft attitude estimation using convolutional neural networks, which is based on position estimation based on bounding box detection and attitude estimation based on soft classification. However, this positioning method fails when part of the target is not within the field of view. Summary of the invention
[0012] The purpose of the present invention is to provide a method for estimating relative pose of space targets based on deep learning.
[0013] To achieve the above-mentioned object of the invention, the present invention provides a method for estimating relative pose of a space target based on deep learning, comprising the following steps:
[0014] a. Construct a set of labeled samples using the two-dimensional projections of the three-dimensional model of the space target at different positions and postures;
[0015] b. Divide the labeled sample set into training set, validation set and test set, and construct a pose estimation neural network;
[0016] c. Input the training set and the validation set into the constructed pose estimation neural network for training to obtain a pose estimation model;
[0017] d. Use the trained pose estimation model to test the test set to obtain the pose information of the spatial target of each sample in the test set.
[0018] According to one aspect of the present invention, in step (a), each sample in the labeled sample set includes a position (x, y, z), a posture, and an image corresponding to the position and the posture, and the posture is represented by a quaternion.
[0019] According to one aspect of the present invention, in the step (a), the three-dimensional model of the space target is input into the 3dsMax software, a camera is added to the 3dsMax software, and the position, posture, field of view, width and height of the image of the camera are set. The position and posture of the camera are used as a reference, and the position and posture of the three-dimensional model relative to the camera are adjusted. The camera performs two-dimensional imaging of the three-dimensional model, and the position and posture of the three-dimensional model relative to the camera and the corresponding image at the position and posture are saved to generate the labeled sample set;
[0020] Alternatively, the three-dimensional model of the space target is input into the imaging simulation software, a camera is added to the imaging simulation software, and the position, posture, field of view angle, image width and height of the camera are set, the position and posture of the camera are used as a reference, the position and posture of the three-dimensional model relative to the camera are adjusted, the camera performs two-dimensional imaging of the three-dimensional model, the position and posture of the three-dimensional model relative to the camera and the corresponding image at the position and posture are saved, and the labeled sample set is generated;
[0021] The imaging simulation software is an imaging simulation software developed based on OSG, and the camera parameters and the three-dimensional model parameters of the space target are given in the imaging simulation software, and the three-dimensional model of the space target is imaged by the camera to generate a two-dimensional image; wherein,
[0022] The camera parameters include the camera position (x cam ,y cam ,z cam ), camera three-axis attitude angle (pitch cam ,yaw cam ,roll cam ), the camera field of view and the width and height of the image;
[0023] The space target 3D model parameters include the space target 3D model position (x obj ,y obj ,z obj ) and the three-axis attitude angle (pitch obj ,yaw obj ,roll obj ).
[0024] According to one aspect of the present invention, in the step (b), the labeled sample set is randomly divided into a training set, a validation set and a test set in a ratio of 7:2:1.
[0025] According to one aspect of the present invention, in the step (b), a pose estimation neural network is constructed based on a deep convolutional residual network ResNet;
[0026] When building the network, the sample image is input into a network with a residual convolutional neural network as the backbone network, and then the output two-dimensional feature map is input into the bottleneck layer of variable dimension for dimensionality reduction convolution processing. Finally, the feature map is flattened into a one-dimensional array, and then the position and posture information are output through two branches respectively.
[0027] According to one aspect of the present invention, the backbone network is divided into five parts: stage 1, stage 2, stage 3, stage 4, and stage 5;
[0028] Stage 1 consists of 1 convolutional layer and 1 maximum pooling layer;
[0029] The convolution kernel size of the convolution layer in stage1 is (7,7), the convolution step size is (2,2), the number of channels is 64, the maximum pooling layer downsampling factor is (3,3), and the step size is (2,2);
[0030] stage2 consists of 1 conv_block and 2 identity_blocks; the three channel numbers of conv_block and identity_block in stage2 are 64, 64, and 256 respectively;
[0031] stage3 consists of 1 conv_block and 4 identity_blocks; the number of channels of conv_block and identity_block in stage3 are 128, 128, 512 respectively;
[0032] stage4 consists of 1 conv_block and 8 identity_blocks; the three channel numbers of conv_block and identity_block in stage4 are 256, 256, and 1024;
[0033] stage5 consists of 1 conv_block and 2 identity_blocks; the three channel numbers of conv_block and identity_block in stage5 are 512, 512, and 2048 respectively.
[0034] According to one aspect of the present invention, the output features of stage 5 are input to the bottleneck layer, which is a two-dimensional convolution performed by a 3×3 convolution kernel with an adjustable number of channels and a step size of (2,2).
[0035] According to one aspect of the present invention, the output features of the bottleneck layer are input into the position estimation structure and the posture estimation structure respectively.
[0036] According to one aspect of the present invention, the output features of the bottleneck layer are input into the position estimation structure, and a two-layer fully connected layer structure is adopted to output three-dimensional information in a regression manner;
[0037] The first fully connected layer is used to reduce the dimension of the flattened feature map information and compress it to 1024 dimensions. After the relu activation function, the output data of this layer is input to the next fully connected layer, and the final output is three-dimensional coordinate information (x, y, z).
[0038] The output features of the bottleneck layer are input into the posture estimation structure, and a two-layer fully connected layer structure is used to output the estimated quaternion in a regression manner;
[0039] The first fully connected layer is used to reduce the dimension of the flattened feature map information and compress it to 1024 dimensions. After passing through the relu activation function, the output data of this layer is input into the next fully connected layer, and the final output is the posture information represented by quaternion.
[0040] According to one aspect of the present invention, in the process of training the network in step (c), the training samples and verification samples in the labeled sample set are input into the pose estimation neural network for training, and the model with the smallest loss function is selected as the training model;
[0041] Among them, the loss function is obtained by adding the position loss term and the posture loss term:
[0042] Loss=Loss 位置 +Loss 姿态;
[0043] Among them, Loss is the total loss function, which takes the form of relative error. 位置 is the position loss term, Loss 姿态 is the attitude loss term;
[0044] Position loss function Loss 位置 for:
[0045]
[0046] Posture loss function Loss 姿态 for:
[0047]
[0048] Where m is the number of training samples, i = 1, 2, ..., m, and the position estimate is (i) , position truth value (i) Respectively represent the position estimate, labeled position value, and attitude estimate quaternion of the i-th sample (i) , attitude true value quaternion (i) They respectively represent the attitude estimation value and labeled attitude value of the i-th sample expressed by quaternion.
[0049] According to the concept of the present invention, the spatial target of the three-dimensional model is first labeled with samples, and the two-dimensional projection of the three-dimensional model of the spatial target at different positions and postures is obtained during the labeling, and the information of the corresponding position and posture of the spatial target is recorded, thereby obtaining a labeled sample set containing position and posture information. Then, a pose estimation neural network is constructed, and the labeled sample set is input into the pose estimation neural network and then trained to obtain a training model with the minimum loss function. Finally, the image of the spatial target is input into the training model to obtain the position and posture information of the spatial target. As a result, the present invention realizes that the position and posture information of the spatial target can be estimated simultaneously through a single image and a simple regression model, and is suitable for the pose estimation of the spatial target. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Figure 1 A flowchart schematically showing a method for estimating relative position and pose of a space target based on deep learning according to an embodiment of the present invention;
[0051] Figure 2 A schematic diagram showing a structure of a pose estimation neural network according to an embodiment of the present invention;
[0052] Figure 3 A diagram schematically showing statistical results of posture estimation accuracy of test samples according to an embodiment of the present invention;
[0053] Figure 4A diagram schematically showing the statistical results of position estimation accuracy of a test sample according to an embodiment of the present invention;
[0054] Figure 5 and Figure 6 The true value and estimated value diagrams of the two examples of the present invention are schematically shown respectively. DETAILED DESCRIPTION
[0055] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0056] The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments. The embodiments cannot be described one by one here, but the embodiments of the present invention are not therefore limited to the following embodiments.
[0057] See also Figure 1 The method for estimating relative pose of a space target based on deep learning of the present invention firstly performs sample annotation on the space target of the three-dimensional model, specifically, constructs an annotation sample set containing position and pose information by using the two-dimensional projection of the three-dimensional model of the space target at different positions and poses. Then, the annotation sample set is divided into a training set, a validation set and a test set, and a pose estimation neural network is constructed. The training set and the validation set are input into the constructed pose estimation neural network for training to obtain a pose estimation model. Finally, the posture estimation model obtained by training is used to test the test set to obtain the pose information of the space target of each sample in the test set.
[0058] In the present invention, each sample in the annotated sample set includes a position (x, y, z) represented by three translation amounts, a posture, and an image corresponding to the current position and posture, and the posture is represented by a quaternion. The present invention does not specifically limit the selection angle of the three positions and postures of the space target, as long as it can be used to determine the position and posture of the space target. For example, x, y, z can form a three-dimensional rectangular coordinate system. When extracting samples, the three-dimensional model of the space target can be input into the imaging simulation software, a camera is added to the imaging simulation software, and the position, posture, field of view angle, image width and height of the camera are set. The position and posture of the camera are used as a reference to adjust the position and posture of the three-dimensional model relative to the camera. The camera performs two-dimensional imaging of the three-dimensional model, saves the position and posture of the three-dimensional model relative to the camera, and the corresponding image at the position and posture, and generates an annotated sample set. In the present invention, the imaging simulation software is an imaging simulation software developed based on OSG. In the software, it is necessary to give camera parameters and three-dimensional model parameters of the space target, wherein the camera parameters include the camera position (xcam ,y cam ,z cam ), camera three-axis attitude angle (pitch cam ,yaw cam ,roll cam ), camera field of view, image width and height, and space target 3D model parameters including space target 3D model position (x obj ,y obj ,z obj ), three-axis attitude angle of the space target three-dimensional model (pitch obj ,yaw obj ,roll obj ); generate a two-dimensional image by imaging the three-dimensional model of the space target through a camera. Alternatively, the three-dimensional model of the space target can be input into the 3dsMax software, a camera can be added to the 3dsMax software, and the position, posture, field of view, width and height of the image of the camera can be set. The position and posture of the camera can be used as a reference to adjust the position and posture of the three-dimensional model relative to the camera. The camera can perform two-dimensional imaging on the three-dimensional model, save the position and posture of the three-dimensional model relative to the camera and the corresponding image at the position and posture, and generate a labeled sample set.
[0059] According to any of the above methods, the two-dimensional projection images of the space target can be extracted and the annotated sample set can be constructed using these images. Subsequently, the constructed annotated sample set can be divided into a training set, a validation set, and a test set. In this embodiment, the annotated sample set is randomly divided into a training set, a validation set, and a test set in a ratio of 7:2:1, that is, the annotated sample set is randomly divided into a training sample, a validation sample, and a test sample in a ratio of 70%, 20%, and 10%.
[0060] After completing the division of the above sample sets, the labeled sample sets can be used to construct a pose estimation neural network. In the present invention, the pose estimation neural network is constructed based on the network model modified by the deep convolutional residual network ResNet. Since the basic unit residual block in the residual network has good characteristics and solves the phenomenon that the loss function increases with the increase in depth, the present invention adopts this network as the basic model for design. In general, when constructing the network, the sample image is first input into a network composed of a residual convolutional neural network as the backbone network, and then the output two-dimensional feature map is input into the bottleneck layer of the variable dimension for dimensionality reduction convolution processing, and finally the feature map is flattened into a one-dimensional array, and then the position and posture information are output through two branches respectively.
[0061] like Figure 2As shown in the figure, the backbone network built based on the residual convolutional neural network can be divided into five parts: stage1, stage2, stage3, stage4, and stage5. The composition and corresponding parameters of each part are as follows:
[0062] Stage 1 consists of 1 convolutional layer and 1 maximum pooling layer;
[0063] The convolution kernel size of the convolution layer in stage1 is (7,7), the convolution step size is (2,2), the number of channels is 64, the maximum pooling layer downsampling factor is (3,3), and the step size is (2,2);
[0064] stage2 consists of 1 conv_block and 2 identity_blocks; the three channel numbers of conv_block and identity_block in stage2 are 64, 64, and 256 respectively;
[0065] stage3 consists of 1 conv_block and 4 identity_blocks; the number of channels of conv_block and identity_block in stage3 are 128, 128, 512 respectively;
[0066] stage4 consists of 1 conv_block and 8 identity_blocks; the three channel numbers of conv_block and identity_block in stage4 are 256, 256, and 1024;
[0067] stage5 consists of 1 conv_block and 2 identity_blocks; the three channel numbers of conv_block and identity_block in stage5 are 512, 512, and 2048 respectively.
[0068] According to the steps of constructing the network above, the present invention inputs the output features of stage5 into the bottleneck layer, which is a two-dimensional convolution performed by a 3×3 convolution kernel with an adjustable number of channels, with a step size of (2,2). This reduces the output dimension and greatly reduces the number of parameters for the subsequent fully connected layer operations, thereby reducing the training time. The output features of the bottleneck layer can then be input into the two branches of the position estimation structure and the posture estimation structure respectively.
[0069] In the step of inputting the output features of the bottleneck layer into the position estimation structure, the present invention adopts a two-layer fully connected layer structure to directly output three-dimensional information in a regression manner. Among them, the first fully connected layer is used to perform a dimensionality reduction operation on the flattened feature map information, compress it to 1024 dimensions, and after the relu activation function, the output data of this layer is input to the next fully connected layer, and the final output is three-dimensional coordinate information (x, y, z). In the step of inputting the output features of the bottleneck layer into the posture estimation structure, the present invention adopts a two-layer fully connected layer structure to directly output the estimated quaternion in a regression manner. Among them, the first fully connected layer is used to perform a dimensionality reduction operation on the flattened feature map information, compress it to 1024 dimensions, and after the relu activation function, the output data of this layer is input to the next fully connected layer, and the final output is the posture information (q1, q2, q3, q4) represented by quaternions.
[0070] After the above steps, a basic pose estimation neural network can be constructed, and then the network needs to be trained so that it can become a pose estimation model. In the process of training the network, the training samples and verification samples in the labeled sample set are input into the pose estimation neural network, which is trained, and the model with the smallest loss function is selected as the final training model. Then the test sample (i.e., the test set) is input into the pose estimation neural network, and the test sample is tested using the trained model to obtain the pose test result of the space target, i.e., the pose information of each sample. In the present invention, the loss function is the sum of the position loss term and the pose loss term. In addition, since the obtained position and pose information are independent of each other and belong to different categories, it is necessary to design two branch structures, i.e., Figure 2 There are two branches separated by two arrows in the middle and lower part, and the corresponding loss functions are designed for the two branches, and then added together to obtain the loss function:
[0071] Loss=Loss 位置 +Loss 姿态 ;
[0072] Among them, Loss is the total loss function, which takes the form of relative error. 位置 is the position loss term, Loss 姿态 is the posture loss term.
[0073] Position loss function Loss 位置 for:
[0074]
[0075] Posture loss function Loss 姿态 for:
[0076]
[0077] In the expressions of position and attitude, m is the number of training samples, i = 1, 2, ..., m, which is a loop variable, the position estimate (i) and the position truth (i) respectively represent the position estimate and the labeled position value of the i-th sample, the attitude estimate quaternion (i) and the attitude truth quaternion (i) respectively represent the attitude estimate and the labeled attitude value of the i-th sample expressed by quaternion.
[0078] After the final training model is obtained through training, it can be used to estimate the position and attitude of images containing space targets, thereby obtaining the position and attitude information of the space targets.
[0079] Figure 3 The figure shows the statistical results of the attitude estimation accuracy of 100 test samples, with an average value of 3.71°. Figure 4 The figure shows the statistical results of the position estimation accuracy of 100 test samples, with an average value of 0.389m. Figure 5 and Figure 6 Comparison of target pose annotations and estimates is shown. Figure 5 The image on the left is the true value of the pose annotation. The true value of the position is (-0.9979, 0.3473, 65.5559), and the true value of the attitude quaternion is (-0.6179, 0.1311, 0.0299, 0.7747); Figure 5 The image on the right is the pose estimation value. The position estimation value is (-0.9779, 0.288, 65.1297), and the attitude quaternion estimation value is (-0.6248, 0.146, 0.022, 0.7666). The position error is 0.44m and the attitude error is 2.28°. Figure 6 The image on the left is the true value of the pose annotation. The true value of the position is (-3.9179, -16.5673, 65.974), and the true value of the attitude quaternion is (-0.8, 0.15, -0.059, 0.5778); Figure 6 The image on the right is the estimated position and attitude value. The estimated position value is (-3.8477, -16.3197, 65.7765), and the estimated attitude quaternion value is (-0.7933, 0.1419, -0.0296, 0.591). The position error is 0.32m and the attitude error is 3.93°.
[0080] In general, the estimated values of the position and attitude of the space target using the space target relative posture estimation method of the present invention are less different from the true values, with high accuracy, and are applicable to the field of space target posture estimation technology. It is realized that the position and attitude information of the space target can be estimated simultaneously through the regression model of a single image, which is applicable to the target posture estimation under complex lighting conditions in space. Thus, the technical problem of difficult space target posture estimation is solved.
[0081] The above is only one embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for relative pose estimation of space targets based on deep learning. The following steps are involved: a. Construct a set of labeled samples using the two-dimensional projections of the three-dimensional model of the space target at different positions and postures; b. Divide the labeled sample set into training set, validation set and test set, and construct a pose estimation neural network; c. Input the training set and the validation set into the constructed pose estimation neural network for training to obtain a pose estimation model; d. Use the trained pose estimation model to test the test set to obtain the pose information of the spatial target of each sample in the test set; In the step b, a pose estimation neural network is constructed based on a deep convolutional residual network ResNet; When constructing the network, the sample image is input into the network with the residual convolutional neural network as the backbone network, and then the output two-dimensional feature map is input into the bottleneck layer of variable dimension for dimensionality reduction convolution processing. Finally, the feature map is flattened into a one-dimensional array, and then the position and posture information are output through two branches respectively; In the process of training the network in step c, the training samples and verification samples in the labeled sample set are input into the pose estimation neural network for training, and the model with the smallest loss function is selected as the training model; Among them, the loss function is obtained by adding the position loss term and the posture loss term: Loss=Loss 位置 +Loss 姿态 ; Among them, Loss is the total loss function, which takes the form of relative error. 位置 is the position loss term, Loss 姿态 is the attitude loss term; Position loss function Loss 位置 for: Posture loss function Loss 姿态 for: Where m is the number of training samples, i = 1, 2, ..., m, and the position estimate is (i) , position truth value (i) Respectively represent the position estimate, labeled position value, and attitude estimate quaternion of the i-th sample (i) , attitude true value quaternion (i) They respectively represent the attitude estimation value and labeled attitude value of the i-th sample expressed by quaternion.
2. The method according to claim 1, It is characterized in that In step a, each sample in the labeled sample set includes a position (x, y, z), a posture, and an image corresponding to the position and the posture, and the posture is represented by a quaternion.
3. The method according to claim 1, It is characterized in that In the step a, the three-dimensional model of the space target is input into the 3dsMax software, a camera is added to the 3dsMax software, and the position, posture, field of view, width and height of the image of the camera are set. The position and posture of the camera are used as a reference, and the position and posture of the three-dimensional model relative to the camera are adjusted. The camera performs two-dimensional imaging of the three-dimensional model, and the position and posture of the three-dimensional model relative to the camera and the corresponding image at the position and posture are saved to generate the labeled sample set; Alternatively, the three-dimensional model of the space target is input into the imaging simulation software, a camera is added to the imaging simulation software, and the position, posture, field of view angle, image width and height of the camera are set, the position and posture of the camera are used as a reference, the position and posture of the three-dimensional model relative to the camera are adjusted, the camera performs two-dimensional imaging of the three-dimensional model, the position and posture of the three-dimensional model relative to the camera and the corresponding image at the position and posture are saved, and the labeled sample set is generated; The imaging simulation software is an imaging simulation software developed based on OSG, and the camera parameters and the three-dimensional model parameters of the space target are given in the imaging simulation software, and the three-dimensional model of the space target is imaged by the camera to generate a two-dimensional image; wherein, The camera parameters include the camera position (x cam ,y cam ,z cam ), camera three-axis attitude angle (pitch cam ,yaw cam ,roll cam ), the camera field of view and the width and height of the image; The space target 3D model parameters include the space target 3D model position (x obj ,y obj ,z obj ) and the three-axis attitude angle (pitch obj ,yaw obj ,roll obj ).
4. The method according to claim 1, It is characterized in that In the step b, the labeled sample set is randomly divided into a training set, a validation set and a test set in a ratio of 7:2:
1.
5. The method according to claim 1, It is characterized in that The backbone network is divided into five parts: stage 1, stage 2, stage 3, stage 4, and stage 5; Stage 1 consists of 1 convolutional layer and 1 maximum pooling layer; The convolution kernel size of the convolution layer in stage1 is (7,7), the convolution step size is (2,2), the number of channels is 64, the maximum pooling layer downsampling factor is (3,3), and the step size is (2,2); stage2 consists of 1 conv_block and 2 identity_blocks; the three channel numbers of conv_block and identity_block in stage2 are 64, 64, and 256 respectively; stage3 consists of 1 conv_block and 4 identity_blocks; the number of channels of conv_block and identity_block in stage3 are 128, 128, 512 respectively; stage4 consists of 1 conv_block and 8 identity_blocks; the three channel numbers of conv_block and identity_block in stage4 are 256, 256, and 1024; stage5 consists of 1 conv_block and 2 identity_blocks; the three channel numbers of conv_block and identity_block in stage5 are 512, 512, and 2048 respectively.
6. The method according to claim 5, It is characterized in that The output features of stage5 are input to the bottleneck layer, which is a two-dimensional convolution performed by a 3×3 convolution kernel with an adjustable number of channels and a step size of (2,2).
7. The method according to claim 6, It is characterized in that The output features of the bottleneck layer are input into the position estimation structure and the posture estimation structure respectively.
8. The method according to claim 7, It is characterized in that The output features of the bottleneck layer are input into the position estimation structure, and a two-layer fully connected layer structure is used to output three-dimensional information in a regression manner; The first fully connected layer is used to reduce the dimension of the flattened feature map information and compress it to 1024 dimensions. After the relu activation function, the output data of this layer is input to the next fully connected layer, and the final output is three-dimensional coordinate information (x, y, z). The output features of the bottleneck layer are input into the posture estimation structure, and a two-layer fully connected layer structure is used to output the estimated quaternion in a regression manner; The first fully connected layer is used to reduce the dimension of the flattened feature map information and compress it to 1024 dimensions. After passing through the relu activation function, the output data of this layer is input into the next fully connected layer, and the final output is the posture information represented by quaternion.
