Key point selection method and system based on neural network

Feature points are selected through the neural network, combined with pose and regular constraints, to solve the problem of feature point matching errors and large calculation load of the visual SLAM system in complex environments, achieving high-precision positioning with fewer feature points, and reducing the cost Computational consumption, suitable for robot positioning and map construction in complex environments.

CN118587518AActive Publication Date: 2024-09-03HANGZHOU DIANZI UNIV
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410603103.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-15
Publication Date
2024-09-03
Estimated Expiration
2044-05-15

AI Technical Summary

Technical Problem

The existing visual SLAM system suffers from feature point matching errors and large calculation workload under illumination changes and complex environments, resulting in reduced positioning accuracy. It is especially difficult to run in real time on devices with weak computing capabilities.

Method used

A feature point selection method based on neural networks is used to extract feature maps through a convolutional neural network and combined with a fully connected neural network to extract feature points from the image. Poses and regular constraints are introduced to reduce the number of feature points, and Loss supervised training is designed to improve features. Point relevance and accuracy.

Benefits of technology

It improves positioning accuracy while reducing the number of feature points, reduces the computational consumption of SLAM programs, enhances the robustness of feature point extraction and the accuracy of pose estimation, and is suitable for robot positioning and map construction in complex environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118587518A
    Figure CN118587518A
Patent Text Reader

Abstract

The invention discloses a feature point selection method and system based on a neural network. According to the method, an image serves as input, after data preprocessing, a feature map is extracted from the image through a convolutional neural network, and then feature points are extracted from the feature map through a full-connection neural network. According to the method, the feature points on each picture are calculated by using the constraints of the pose and the regular phase, and due to the introduction of the constraints of the pose, the correlation of feature point extraction and pose estimation can be greatly improved, the target of accurate positioning can be realized under the condition that fewer feature points are selected, and the consumption of edge calculation during execution of an SLAM program is greatly reduced. The problem of how to select proper map points and reduce the number of feature points under the condition that the positioning precision is not influenced is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of feature point matching, visual odometer, simultaneous positioning and mapping in the field of three-dimensional vision. The method is a method for selecting and extracting feature points using a neural network, which can improve the positioning accuracy of the visual odometer or SLAM system and reduce the amount of calculation. It can be used in VR / AR or the metaverse field in the future. Background Art

[0002] SLAM (Simultaneous Localization and Mapping) system refers to a type of system that completes mapping and positioning at the same time. SLAM system is usually used in the fields of robots and drones. It can map the environment around the robot and realize the robot's self-positioning while mapping.

[0003] There are many different approaches and technologies for SLAM systems, including those based on sensors such as LiDAR, vision, and inertial measurement units (IMUs). LiDAR is a very useful technology that can be widely used in a variety of practical scenarios. For example, it can be used in devices such as sweeping robots to help these devices perceive their surroundings and plan paths. However, LiDAR is very expensive, which makes it unsuitable for all application scenarios. In addition to this, LiDAR can be affected by factors such as interference, which can affect its performance. Therefore, people began to look for other methods to solve these problems. Visual SLAM methods are an alternative method that has been widely studied and has begun to enter the public's field of vision and has been increasingly used. This method is based on computer vision technology and can perform functions such as environmental perception and path planning by analyzing image and video data.

[0004] Feature point SLAM is a very important technology in visual SLAM technology. Its basic principle is to estimate the robot's motion trajectory by calculating the feature point matches between adjacent images, and use these matches to build a map of the environment where the robot is located. This process can be divided into two main parts: the front end and the back end. The front end is mainly responsible for extracting feature points, and using these feature points to perform feature matching between adjacent frames to estimate the robot's motion trajectory. The back end mainly uses optimization algorithms to optimize the estimated motion trajectory and map, thereby improving the accuracy of positioning and mapping. The advantage of feature point SLAM is that it has high positioning accuracy and map construction accuracy. It can handle robot positioning and map construction problems in complex environments, and can achieve very high accuracy under good lighting conditions.

[0005] However, it also has some disadvantages, such as easy matching errors in complex environments such as lighting changes and dynamic scenes, and slow processing speed due to large amount of calculations. A large number of feature points can provide more pose constraints and improve accuracy, but it will increase the amount of calculations. This is very obvious on embedded devices with weak computing power. As the map size increases, a large number of map points will bring great computing pressure, causing the system to be unable to run in real time. Therefore, how to select appropriate map points and reduce the number of feature points without affecting positioning accuracy is a very important and urgent problem to be solved. Summary of the invention

[0006] In view of the deficiencies in the prior art, the present invention provides a method and system for selecting key points based on a neural network, which uses the constraints of posture and canonical phase to calculate the feature points on each image. Due to the introduction of posture constraints, the correlation between feature point extraction and posture estimation can be greatly improved, and the goal of accurate positioning can be achieved by selecting fewer feature points, greatly reducing the consumption of edge computing when executing SLAM programs. It solves the problem of how to select appropriate map points and reduce the number of feature points without affecting positioning accuracy.

[0007] The present invention takes an image as input, and after data preprocessing, extracts a feature map from the image through a convolutional neural network, and then uses a fully connected neural network to extract feature points from the feature map. The present invention uses the matching posture between the two images to supervise the selection of feature points, matches the feature points between the two images, and then calculates the essential matrix to obtain the posture between the two images, and uses the error between the postures as Loss supervision training. In the present invention, the error between the Losses also includes the position regularization term of the feature points, the score and position regularization term of the feature points, and the regularization term of the descriptor.

[0008] In a first aspect, the present invention provides a feature point selection method based on a neural network, comprising the following steps:

[0009] Step (1) feature extraction based on feature extraction network;

[0010] In this stage, we use convolutional neural networks as feature extraction networks to extract feature maps from input images. The length and width of the input image are compressed to a quarter of the source resolution through convolutional neural networks, and the number of channels increases from the original 3 channels to 128 channels. Compared with the fully connected layer, convolutional neural networks have small computational complexity, fast speed, and can easily select and extract information from different channels. Therefore, in this stage, we can use less computing resources to extract the feature map of the image.

[0011] Step (2) feature point extraction based on fully connected neural network;

[0012] In this stage, we use an encoder to further compress the feature map and reduce the number of channels to 8 channels. Due to the different resolutions of the input images, an adaptive pooling layer is used to compress the feature map to the same size of 32x32x4. Subsequently, after converting the feature map into a 4096-dimensional vector, a fully connected neural network with 3 hidden layers is used to predict the feature points in each image. The output of the fully connected neural network is a 200x3 vector representing the coordinates and confidence of the 200 feature points. In this stage, we use convolutional neural networks and fully connected neural networks to extract the coordinates of 200 feature points and their confidence from the image.

[0013] Step (3) Loss design based on homography transformation;

[0014] In this stage, we use homography transformation to map the feature points obtained by the fast method to another space, and then project the transformed feature points onto the original image. The feature points extracted in each space are combined as the true value of the feature points, which makes the detected feature points richer and has a certain homography invariance. Then, the relative pose between the two adjacent images is calculated by calculating the orb descriptors corresponding to the feature points in the two adjacent images. The pose error is calculated after comparing the calculated relative pose with the true value. In order to ensure the quality of the feature points, the feature point position and score regularization terms are added to the Loss of the feature point selection network to further constrain the generation of feature points. The feature point selection network consists of the feature extraction network in step 1 and the fully connected neural network in step 2. In this stage, we designed the Loss of the entire neural network, using the pose between image matching and some regularization terms to constrain the generation process of feature points.

[0015] Step (4) training the feature point selection network according to the designed loss;

[0016] During the network training process, the input image will first pass through the feature extraction network to obtain the feature map, and then use the fully connected neural network to extract the feature points. After obtaining the feature points, the descriptor is calculated in combination with the feature map. Then, the PnP (Perspective-n-Point) algorithm and adjacent frames are used to calculate the pose of the image, and the loss is calculated with the true value of the pose to supervise the network training.

[0017] In a second aspect, the present invention provides a key point selection system based on a neural network, comprising a feature extraction module, a feature point extraction module, a homography transformation module, and a training module;

[0018] The feature extraction module uses a convolutional neural network as a feature extraction network to extract a feature map from an input image. The convolutional neural network compresses the length and width of the input image to a quarter of the source resolution, and the number of channels increases from the original 3 channels to 128 channels.

[0019] The feature point extraction module uses an encoder to further compress the feature map and compress the number of channels to 8 channels. Due to the different resolutions of the input images, an adaptive pooling layer is used to compress the feature map to a uniform size of 32x32x4. Subsequently, after converting the feature map into a 4096-dimensional vector, a fully connected neural network with 3 hidden layers is used to predict the feature points in each image.

[0020] The homography transformation module uses homography transformation to map the feature points obtained by the fast method to another space, and then projects the transformed feature points onto the original image. The feature points extracted in each space are combined as the true value of the feature point.

[0021] The training module designs Loss based on the true value obtained by homography change transformation; and trains the feature extraction module and the feature point extraction module according to the designed loss;

[0022] In a third aspect, the present invention provides a key point selection device based on a neural network, comprising a storage device and a processor, wherein the storage device is used to store a computer program, and the processor runs the computer program to enable the virtual wall setting device to perform the above-mentioned key point selection method based on the neural network.

[0023] In a fourth aspect, the present invention provides a storage medium storing a computer program used in the above-mentioned key point selection device based on a neural network, wherein the computer program implements the above-mentioned key point selection method based on a neural network when executed by a processor.

[0024] The beneficial effects of the present invention are as follows:

[0025] (1) The present invention uses homography transformation to map the feature points on the image to another space and then project them back to the source image as the true value of the feature points. This method helps to increase the true value of the feature points and also brings a certain degree of homography invariance to the feature points, thereby improving the robustness of the network in extracting feature points.

[0026] (2) The present invention introduces the pose of the image to constrain the selection of feature points. In previous work, feature point extraction and pose estimation are two separate processes. However, the feature points extracted by the feature point extraction network are not necessarily the most suitable combination for pose estimation, so it is difficult to directly evaluate the contribution of feature points to pose estimation. After this method introduces the pose error of the image into the loss function, it directly strongly associates the extraction of feature points with the trajectory of the pose, thereby ensuring that the extracted feature points contribute to pose estimation and that the entire process is differentiable, which is very important for updating the neural network.

[0027] (3) The present invention introduces regularization terms of feature point positions and confidences into the network. Due to the non-convexity of images, in image optimization problems, we need to find ways to avoid falling into local optimality. Therefore, when designing the loss function, we add regularization terms of feature point positions, hoping that feature points can be selected according to a trend of being more evenly distributed in space. At the same time, we add regularization terms of feature point confidences, hoping to select feature points with higher confidences. The way we choose to add regularization terms to the loss function can guide feature points to the rules we choose, but they are not selected completely according to the rules of the loss function. This can both add artificial constraints to the selection of feature points and retain a certain degree of freedom, making the selection of feature points more efficient. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 It is a feature extraction network structure diagram, which shows the structure of the feature extraction network and the specific structure of its residual block. For specific explanations, please refer to the subsequent text description;

[0029] Figure 2 It is a schematic diagram of extracting feature points through a fully connected neural network;

[0030] Figure 3 It is a schematic diagram of using homography transformation to obtain the complete truth value;

[0031] Figure 4 It is a flowchart of training feature point selection network to extract feature points. DETAILED DESCRIPTION

[0032] The following is a description of the specific implementation of the invention patent in conjunction with the drawings of this patent.

[0033] A feature point selection method based on a neural network comprises the following steps:

[0034] Step (1) feature extraction phase based on feature extraction network;

[0035] In the feature extraction stage, we use a convolutional neural network as a feature extraction network to extract features from the original input image. In order to ensure the effect of the convolutional neural network, the convolutional neural network is composed of two residual blocks connected. The structure of the residual block is as follows Figure 1 As shown, the first residual block uses two convolutions with a kernel of 3x3 and a stride of 2 to reduce the dimension of the original input image to half of the original one, and the number of channels increases from 3 channels to 64 channels, that is, 64 different feature maps are extracted from the image. The two convolutions are connected to a layer of Batch Norm and a layer of ReLu activation function. The second residual block structure is the same as the first residual block, which reduces the dimension of the feature map output by the first residual block to half of the original one, and increases the number of channels from 64 channels to 128 channels. A total of two residual blocks are used to reduce the resolution of the image to one-quarter of the original one, and the number of channels increases from 3 channels to 128 channels. Using a neural network with a residual structure can achieve better convergence, and using a convolutional network can greatly reduce the amount of calculation while ensuring the quality of feature extraction.

[0036] Step (2) feature point extraction stage based on fully connected neural network;

[0037] After the feature extraction stage, the amount of data in the feature graph is still large. If it is directly put into the fully connected neural network, the amount of calculation will increase significantly, which will greatly affect the real-time performance of feature extraction. Therefore, Figure 2 As shown in the figure, at the beginning of this stage, the encoder is used to compress the feature map processed in the previous stage. The encoder uses a feature extraction network to compress the size of the feature map to one eighth of the original size, and the number of channels becomes 8 channels. This network consists of a 3x3 convolutional layer with a step size of 1, a padding of 1, and 64 channels, a 2x2 pooling layer with a step size of 2, and a 3x3 convolutional layer with a step size and padding of 1 and 8 channels. Since the size and size of the input images are different, an adaptive pooling layer is used to unify the dimensions of the feature map output by the encoder into 32x32x4, which is convenient for the subsequent extraction of the fully connected layer. After the complete feature map is compressed and unified, use the following Figure 2 The fully connected layer shown extracts a feature vector of dimension 200x3. 200 is the 200 feature points extracted from the image, the first two dimensions of the 3 dimensions are the coordinates of the feature points on the image, and the last dimension is the confidence of the feature points. In this way, we can easily obtain the feature points in the image and the confidence of each feature point.

[0038] Step (3) calculates the true value using homography transformation;

[0039] Since artificial standards or automatically generated feature points may be incomplete, if the true value of the feature points in the data set is not complete, it will affect the subsequent training. Therefore, in this method, homography transformation is used to generate complete true value of feature points (see the specific process for details). Figure 3 ), perform homography transformation on the original image and the feature map extracted by the feature extraction network, map the original image to different spaces, extract feature points in different spaces, and finally superimpose the feature points in all spaces and transform them back to the original space, thereby obtaining the complete true value of the feature points.

[0040] Step (4) neural network loss function design;

[0041] The feature point selection network loss function of the present invention consists of a feature point part and a posture part. The feature point part consists of a feature point position regularization term and a feature point confidence regularization term. The feature point position regularization term is as follows:

[0042]

[0043]

[0044]

[0045] The first formula is the value of the overall regularization term, represents the regular term of the x-axis. represents the regularization term of the y-axis. The last two formulas are how to calculate the regularization term, where: It represents the x-axis coordinate of the i-th feature point. It represents the y-axis coordinate of the i-th feature point, M is the number of feature points in the image, and i is the index of the feature point. The last two formulas are how to calculate the regularization term. Its purpose is to make the extracted feature points more evenly distributed in space.

[0046] The feature point confidence regularization term is designed as follows:

[0047]

[0048] Among them, α is the coefficient of each term, the first term is the difference between the position of the extracted feature point and the true value, the second term It is the difference between the extracted feature point confidence and the true value. The third item is the regular term of confidence, where K is the number of feature points and k is the index of the feature point.

[0049] The pose part consists of two parts, rotation and translation,R,t,. After the feature points are extracted, the descriptor is extracted from the feature map in the first stage, and then matched to calculate the relative pose between two adjacent images. The calculated relative pose and the true value are used to calculate the translation error and rotation error.

[0050] Step (5) Finally, the specific training flow chart implemented by this method is detailed in Figure 4 In the present invention, we use the algorithm in OrbSLAM2 to calculate the pose through feature points. By matching the feature points in the image and other images, the pose of the image is calculated through the PnP (Perspective-n-Point) algorithm. In the neural network part, the present invention uses pytorch as the network framework, uses the Euroc and tumvi datasets as training datasets, and uses the Adam optimizer to optimize the learning rate. The input image obtains a feature map after passing through the feature extraction network, and the feature extraction network extracts feature points from the feature image. On the one hand, the feature points directly calculate the loss function with the true value, and on the other hand, the descriptors are extracted on the feature image to match the previous and next frame images, and the loss function of the image extrinsic parameters is calculated, and the interpolation between the estimated extrinsic parameters and the true value of the extrinsic parameters is calculated.

[0051] The training of the network is supervised by the calculated pose calculation loss, so that the feature points learned by the network are conducive to the estimation of pose. Compared with the traditional method, the training of the pose supervision network can more directly establish the relationship between pose and feature points, and has better performance in actual performance.

[0052] Step (6) replacing the feature point extraction part of the feature point method of the existing method with the trained feature point selection network to achieve robot positioning and map construction in complex environments;

[0053] In one embodiment, the present invention further provides a key point selection system based on a neural network, comprising a feature extraction module, a feature point extraction module, a homography transformation module, and a training module;

[0054] The feature extraction module uses a convolutional neural network as a feature extraction network to extract feature maps from the input image. The convolutional neural network compresses the length and width of the input image to a quarter of the source resolution, and the number of channels increases from the original 3 channels to 128 channels.

[0055] The feature point extraction module uses an encoder to further compress the feature map and compress the number of channels to 8 channels. Due to the different resolutions of the input images, an adaptive pooling layer is used to compress the feature map to a uniform size of 32x32x4. Subsequently, after converting the feature map into a 4096-dimensional vector, a fully connected neural network with 3 hidden layers is used to predict the feature points in each image.

[0056] The homography transformation module uses homography transformation to map the feature points obtained by the fast method to another space, and then projects the transformed feature points onto the original image. The feature points extracted in each space are combined as the true value of the feature points.

[0057] The training module designs the Loss based on the true value obtained by homography transformation; and trains the feature extraction module and feature point extraction module according to the designed loss;

[0058] In one embodiment, the present invention also provides a key point selection device based on a neural network, including a storage device and a processor, wherein the storage device is used to store a computer program, and the processor runs the computer program to enable the virtual wall setting device to perform the above-mentioned key point selection method based on the neural network.

[0059] In one embodiment, the present invention further provides a storage medium storing a computer program used in the neural network-based key point selection device, wherein the computer program implements the above-mentioned neural network-based key point selection method when executed by a processor.

[0060] In one embodiment, the method of the present invention is added to the common two-feature point method, replacing the feature point extraction part of the original feature point method, and is tested on a popular data set. It can be seen that after the method of the present invention is added and applied, the positioning index is improved in most scenarios, and it can also run scenarios that the svo method cannot complete.

[0061]

[0062] Among them, svo is the method in the following reference number 1, and droid vo is the method in reference number 2.

[0063] 1.Forster C, Pizzoli M, Scaramuzza D.SVO: Fast semi-direct monocularvisual odometry[C] / / 2014IEEE international conference on robotics and automation(ICRA).IEEE, 2014:15-22.

[0064] 2.Teed Z,Lipson L,Deng J.Deep patch visual odometry[J].Advances inNeural Information Processing Systems,2024,36.

[0065] The above contents are further detailed descriptions of the present invention in combination with specific / preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, they can also make several substitutions or modifications to these described embodiments without departing from the concept of the present invention, and these substitutions or modifications should be regarded as belonging to the protection scope of the present invention.

[0066] Parts of the present invention that are not described in detail belong to the well-known technologies of those skilled in the art.

Claims

1. A feature point selection method based on a neural network, characterized in that: The following steps are involved: Step (1) feature extraction based on feature extraction network; A convolutional neural network is used as a feature extraction network to extract feature maps from the input image. The length and width of the input image are compressed to a quarter of the source resolution through the convolutional neural network, and the number of channels is increased from the original 3 channels to 128 channels. Step (2) feature point extraction based on fully connected neural network; The feature map is further compressed using an encoder to reduce the number of channels to 8. Due to the different resolutions of the input images, an adaptive pooling layer is used to compress the feature map to a uniform size of 32x32x4. Subsequently, the feature map is converted into a 4096-dimensional vector and a fully connected neural network with 3 hidden layers is used to predict the feature points in each image. The output of the fully connected neural network is a 200x3 vector representing the coordinates and confidence of the 200 feature points. Step (3) Loss design based on homography transformation; Using homography transformation, the feature points obtained by the fast method are mapped to another space, and then the transformed feature points are projected onto the original image, and the feature points extracted in each space are combined as the true value of the feature point; then, the relative pose between the two adjacent images is calculated by calculating the orb descriptors corresponding to the feature points in the two adjacent images; the pose error is calculated after comparing the calculated relative pose with the true value; in order to ensure the quality of the feature points, the feature point position and score regularization terms are added to the Loss of the feature point selection network to further constrain the generation of the feature points; the feature point selection network is composed of the feature extraction network in step 1 and the fully connected neural network in step 2; Step (4) training the feature point selection network according to the designed loss; During the network training process, the input image will first pass through the feature extraction network to obtain the feature map, and then use the fully connected neural network to extract the feature points. After obtaining the feature points, the descriptor is calculated in combination with the feature map. Then, the PnP algorithm and adjacent frames are used to calculate the pose of the image, and the loss is calculated with the true value of the pose to supervise the network training.

2. A feature point selection method based on a neural network according to claim 1, characterized in that: The convolutional neural network is composed of two residual blocks connected together; the first residual block uses two convolutions with a convolution kernel of 3x3 and a step size of 2 to reduce the dimension of the original input image to half of the original, and the number of channels is increased from 3 channels to 64 channels, that is, 64 different feature maps are extracted from the image, and the two convolutions are connected after a layer of Batch Norm and a layer of ReLu activation function; the second residual block structure is the same as the first residual block, and the dimension of the feature map output by the first residual block is reduced to half of the original, and the number of channels is increased from 64 channels to 128 channels; A total of two residual blocks are used to reduce the resolution of the image to a quarter of the original, and the number of channels is increased from 3 to 128.

3. A feature point selection method based on a neural network according to claim 2, characterized in that: The specific method of step (2) is as follows: The encoder is used to compress the feature map processed in the previous stage. The encoder uses a feature extraction network to compress the size of the feature map to one-eighth of the original size, and the number of channels becomes 8 channels. This network consists of a 3x3 convolutional layer with a step size of 1, a padding of 1, and 64 channels, a 2x2 pooling layer with a step size of 2, and a 3x3 convolutional layer with a step size and padding of 1 and 8 channels. Since the size and size of the input images are different, an adaptive pooling layer is used to unify the dimensions of the feature map output by the encoder into 32x32x4. After the complete feature map is compressed and unified, a fully connected layer is used to extract a feature vector of dimension 200x3. 200 is the 200 feature points extracted from the image, the first two dimensions of the three dimensions are the coordinates of the feature points on the image, and the last dimension is the confidence of the feature points.

4. A feature point selection method based on a neural network according to claim 3, characterized in that: Homography is used to generate complete true values ​​of feature points. The original image and the feature map extracted by the feature extraction network are transformed homographically. The original image is mapped to different spaces, feature points are extracted in different spaces, and finally the feature points in all spaces are superimposed and transformed back to the original space, thereby obtaining the complete true values ​​of the feature points.

5. A feature point selection method based on a neural network according to claim 4, characterized in that: The feature point selection network loss function consists of a feature point part and a pose part; the feature point part consists of a feature point position regularization term and a feature point confidence regularization term; the feature point position regularization term is as follows: The first formula is the value of the overall regularization term, represents the regular term of the x-axis. represents the regularization term of the y-axis; the last two formulas are how to calculate the regularization term, where: It represents the x-axis coordinate of the i-th feature point. It represents the y-axis coordinate of the i-th feature point, M is the number of feature points in the image, and i is the index of the feature point; the last two formulas are how to calculate the regularization term; its purpose is to make the extracted feature points more evenly distributed in space; The feature point confidence regularization term is designed as follows: Among them, α is the coefficient of each term, the first term is the difference between the position of the extracted feature point and the true value, the second term It is the difference between the extracted feature point confidence and the true value. The third item is the regular term of confidence, where K is the number of feature points and k is the index of the feature point; The pose part consists of two parts, rotation and translation,R,t,. After the feature points are extracted, the descriptor is extracted from the feature map in the first stage, and then matched to calculate the relative pose between two adjacent images. The calculated relative pose and the true value are used to calculate the translation error and rotation error.

6. A key point selection system based on a neural network, characterized in that: It includes a feature extraction module, a feature point extraction module, a homography transformation module and a training module; The feature extraction module uses a convolutional neural network as a feature extraction network to extract a feature map from an input image; the length and width of the input image are compressed to a quarter of the source resolution through the convolutional neural network, and the number of channels is increased from the original 3 channels to 128 channels; The feature point extraction module uses an encoder to further compress the feature map and compress the number of channels to 8 channels. Due to the different resolutions of the input images, an adaptive pooling layer is used to compress the feature map to a uniform size of 32x32x4. Subsequently, after converting the feature map into a 4096-dimensional vector, a fully connected neural network with 3 hidden layers is used to predict the feature points in each image. The homography transformation module uses homography transformation to map the feature points obtained by the fast method to another space, and then projects the transformed feature points onto the original image. The feature points extracted in each space are combined as the true value of the feature point. The training module designs Loss based on the true value obtained by homography change transformation; The feature extraction module and feature point extraction module are trained according to the designed loss.

7. A key point selection device based on a neural network, characterized in that: It includes a storage device and a processor, wherein the storage device is used to store a computer program, and the processor runs the computer program to enable the virtual wall setting device to execute the neural network-based key point selection method described in any one of claims 1-5.

8. A storage medium, characterized in that: It stores a computer program used in the key point selection device based on a neural network, and when the computer program is executed by a processor, it implements the key point selection method based on a neural network as described in any one of claims 1-5.

Citation Information

Patent Citations

  • Method for reducing pose estimation error rate of monocular camera based on convolutional neural network

    CN111583340A

  • Implementation method based on convolutional neural network and optical flow characteristic visual odometer

    CN112419411A

  • Mobile robot map construction method based on graph neural network feature extraction and matching, storage medium and equipment

    CN114707611A

  • Flotation froth image feature point extraction method based on multi-task unsupervised algorithm

    CN114863133A

  • Edge distributed visual odometer method based on point-line characteristics

    CN116934806A