Image recognition and positioning method

By obtaining basic image information and screening SIFT model parameters, establishing feature sets and dividing training sets and test sets, a neural network model is constructed, which solves the problem of poor feature extraction accuracy in image recognition and positioning, and improves model accuracy and resource utilization efficiency.

CN116681898BActive Publication Date: 2024-09-20HUANENG GUANYUN CLEAN ENERGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310493610.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-28
Publication Date
2024-09-20
Estimated Expiration
2043-04-28

AI Technical Summary

Technical Problem

The accuracy of image feature extraction in image recognition and positioning in the existing technology is poor, resulting in low model accuracy, and the fixed SIFT model parameters cannot adapt to different needs, resulting in a waste of resources.

Method used

Determine the normalized scale by obtaining the basic information of the image, establish a feature table and filter the associated information, obtain the SIFT model parameter range and perform grid search to filter the target parameters, establish the first and second feature sets, divide them into training sets and test sets, and construct Neural network model performs image recognition and positioning.

Benefits of technology

It improves the accuracy of image features and model accuracy, ensuring the accuracy of image recognition and positioning and resource utilization efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116681898B
    Figure CN116681898B
Patent Text Reader

Abstract

The present invention discloses an image recognition and positioning method, including determining a normalization scale according to basic information of an image, normalizing the image based on the normalization scale; establishing a feature table for the normalized image, calculating the association information between each feature in the feature table and image recognition and positioning, and filtering the features in the association table based on the association information; obtaining a SIFT model parameter range, filtering out a target SIFT model parameter in the SIFT model parameter range through a grid search, and establishing a SIFT model based on the target SIFT model parameter; extracting features from the normalized image through the SIFT model; using the intersection of a first feature set and a second feature set as a third feature set; dividing the third feature set into a training set and a test set according to multiple division results; constructing a neural network model for image recognition and positioning based on the training set and the test set, and inputting the image to be detected into the neural network model for image recognition and positioning. The calculation accuracy of the subsequent model is improved, and the subsequent neural network model is guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and more specifically, to an image recognition and positioning method. Background Art

[0002] Image recognition and positioning is an important research direction in the field of computer vision, and is widely used in face recognition, object detection, autonomous driving, medical imaging, etc. It involves many technologies, including image feature extraction, classifier design, target positioning, etc.

[0003] Image feature extraction is the basis of image recognition and positioning. Traditional image feature extraction methods include SIFT, HOG, SURF, etc. These methods convert images into numerical data that can be processed by computers by extracting local features or global features from images and encoding them into vector representations. With the development of deep learning, convolutional neural networks (CNNs) have achieved remarkable results in image feature extraction. Through multi-layer convolution and pooling operations, more abstract and advanced feature representations can be automatically learned from the original image, such as VGG, ResNet, etc.

[0004] In the prior art, there are many errors in the selection of image features in image recognition and positioning, which leads to inaccurate subsequent models. In addition, the setting parameters of the subsequent SIFT model use fixed parameters, which cannot meet the needs of image recognition and positioning. The model parameters are inaccurate, which ultimately leads to low image recognition and positioning accuracy, large errors and high resource consumption.

[0005] Therefore, how to improve the accuracy of features and modeling precision is a technical problem that needs to be solved. Summary of the invention

[0006] The present invention provides an image recognition and positioning method to solve the technical problems of poor feature extraction accuracy and low modeling accuracy in the prior art. The method comprises:

[0007] Obtaining basic information of the image, determining a normalization scale according to the basic information of the image, and performing normalization processing on the image based on the normalization scale;

[0008] Establishing a feature table for the normalized image, calculating the association information between each feature in the feature table and image recognition positioning, and filtering the features in the association table based on the association information, thereby establishing a first feature set;

[0009] Obtaining a SIFT model parameter range, screening out target SIFT model parameters in the SIFT model parameter range through grid search, and establishing a SIFT model based on the target SIFT model parameters, wherein the target SIFT model parameters are parameters required by the SIFT model;

[0010] The normalized image is subjected to feature extraction through the SIFT model, thereby establishing a second feature set;

[0011] The intersection of the first feature set and the second feature set is used as a third feature set, and the number of divisions is determined based on the third feature set;

[0012] Dividing the third feature set multiple times according to the number of divisions, and dividing the third feature set into a training set and a test set according to the multiple division results;

[0013] A neural network model for image recognition and positioning is constructed based on the training set and the test set, and the image to be detected is input into the neural network model for image recognition and positioning to obtain the results of image recognition and positioning.

[0014] In some embodiments of the present application, determining the normalized scale according to basic image information includes:

[0015] The basic information of the image includes image content, aspect ratio and task requirements, wherein different image contents correspond to different first proofreading quantities, and different task requirements correspond to different second proofreading quantities;

[0016] determining a total proofreading amount based on the first proofreading amount, the aspect ratio, and the second proofreading amount;

[0017]

[0018] Where L is the total proofreading amount, α1 is the weight corresponding to the first proofreading amount, L1 is the first proofreading amount, α2 is the weight corresponding to the aspect ratio, H is the aspect ratio, α3 is the weight corresponding to the second proofreading amount, L2 is the second proofreading amount, exp is the exponential function, k is the preset constant, L max is the larger correction amount between L1 and L2;

[0019] A normalization scale is determined based on the total proofreading amount, wherein each total proofreading amount corresponds to a normalization scale.

[0020] In some embodiments of the present application, the association information between each feature in the feature table and the image recognition positioning is calculated, and the features in the association table are screened based on the association information, thereby establishing a first feature set, including:

[0021] The associated information includes information gain, variance and correlation;

[0022] Calculate the information gain and variance of each feature in the feature table and image recognition positioning, and calculate the correlation between every two features;

[0023] The features whose information gain exceeds the information gain threshold are divided into a first feature set to be selected, the features whose variance exceeds the variance threshold are divided into a second feature set to be selected, and the intersection of the first feature set to be selected and the second feature set to be selected is used as a third feature set to be selected;

[0024] Each feature in the third candidate feature set is defined as a third candidate feature. If another feature corresponding to the third candidate feature whose correlation exceeds the correlation threshold belongs to the first candidate feature set or the second candidate feature set, then the other feature corresponding to the third candidate feature is included in the third candidate feature set, and the third candidate feature set is used as the first feature set.

[0025] In some embodiments of the present application, before selecting the target SIFT model parameter in the SIFT model parameter range by grid search, the method further includes:

[0026] Obtain the evaluation index corresponding to each SIFT model parameter, and simulate the change of the corresponding evaluation index within the range of each SIFT model parameter, so as to construct an evaluation relationship curve;

[0027] The evaluation relationship curve whose evaluation index is lower than the first evaluation index threshold value in the evaluation relationship curve is recorded as a low evaluation relationship curve, the evaluation relationship curve whose evaluation index is not lower than the first evaluation index threshold value and lower than the second evaluation index threshold value in the evaluation relationship curve is recorded as a medium evaluation relationship curve, and the evaluation relationship curve whose evaluation index is not lower than the second evaluation index threshold value in the evaluation relationship curve is recorded as a high evaluation relationship curve;

[0028] The SIFT model parameter ranges corresponding to the medium evaluation relationship curve and the high evaluation relationship curve are taken as new SIFT model parameter ranges.

[0029] In some embodiments of the present application, the target SIFT model parameters are screened out in the SIFT model parameter range by grid search, including:

[0030] The parameter space is defined according to the new SIFT model parameter range, and a parameter grid is created based on the defined parameter space. All existing parameter combinations between each parameter are evaluated according to the parameter grid. All existing parameter combinations are input into the virtual SIFT model for evaluation, so as to obtain the combined effect of each parameter combination, and the parameter combination with the best combined effect is selected as the target SIFT model parameters.

[0031] In some embodiments of the present application, the third feature set is divided multiple times according to the number of divisions, including:

[0032] An initial division ratio and a growth ratio are determined based on the number of the third feature sets. When the third feature set is divided for the first time, the third feature set is randomly divided according to the initial division ratio. Subsequent divisions are increased according to the growth ratio on the basis of the initial division ratio, thereby randomly dividing the third feature set. The division ratio is the ratio of the training set to the test set, and the growth ratio is the adjustment amount of the ratio of the training set to the test set.

[0033] In some embodiments of the present application, the third feature set is divided into a training set and a test set according to multiple division results, including:

[0034] The results of multiple divisions are the first candidate training set and the first candidate test set obtained after each division;

[0035] An intersection of multiple first candidate training sets is used as a second candidate training set, and an intersection of multiple first candidate test sets is used as a second candidate test set;

[0036] The portion of the third feature set after excluding the second candidate training set and the second candidate test set is recorded as the third candidate set;

[0037] The features in the third candidate set whose training frequency is higher than the test frequency are assigned to the second candidate training set, and the features in the third candidate set whose test frequency is higher than the training frequency are assigned to the second candidate test set. The second candidate training set and the second candidate test set after the assignment are used as the training set and the test set respectively.

[0038] In some embodiments of the present application, a neural network model for image recognition and positioning is constructed based on a training set and a test set, including:

[0039] Preprocess the data in the training set and test set;

[0040] Select a neural network model and build a neural network structure based on the neural network model. The neural network structure includes the input layer, hidden layer and output layer of the model, as well as setting the number of neurons, activation function, loss function and optimization algorithm of each layer;

[0041] Train the neural network model through the training set;

[0042] The trained neural network model is evaluated through the test set, and the model is optimized based on the evaluation results.

[0043] By applying the above technical scheme, basic information of the image is obtained, a normalization scale is determined according to the basic information of the image, and the image is normalized based on the normalization scale; a feature table is established for the normalized image, the association information between each feature in the feature table and image recognition and positioning is calculated, and the features in the association table are screened based on the association information, thereby establishing a first feature set; the SIFT model parameter range is obtained, and the target SIFT model parameters are screened out in the SIFT model parameter range through grid search, and a SIFT model is established based on the target SIFT model parameters, wherein the target SIFT model parameters are the parameters required for the SIFT model; features of the normalized image are extracted through the SIFT model, thereby establishing a second feature set; the intersection of the first feature set and the second feature set is used as the third feature set, and the number of divisions is determined based on the third feature set; the third feature set is divided multiple times according to the number of divisions, and the third feature set is divided into a training set and a test set according to the results of the multiple divisions; a neural network model for image recognition and positioning is constructed based on the training set and the test set, and the image to be detected is input into the neural network model for image recognition and positioning to obtain the results of image recognition and positioning. This application establishes a first feature set and a second feature set to screen image features, retaining features that are helpful for image recognition and positioning, improving the accuracy of subsequent model calculations, and determining target SIFT model parameters through grid search, thereby accurately modeling and providing a solid guarantee for subsequent neural network models. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0045] Figure 1 A schematic flow chart of an image recognition and positioning method proposed in an embodiment of the present invention is shown. DETAILED DESCRIPTION

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

[0047] The present application embodiment provides an image recognition and positioning method, such as Figure 1 As shown, the method comprises the following steps:

[0048] Step S101 : acquiring basic information of an image, determining a normalization scale according to the basic information of the image, and performing normalization processing on the image based on the normalization scale.

[0049] In this embodiment, the image needs to be normalized to facilitate subsequent processing. The normalization scale (size) is related to the properties of the image itself.

[0050] In some embodiments of the present application, determining the normalized scale according to basic image information includes:

[0051] The basic information of the image includes image content, aspect ratio and task requirements, wherein different image contents correspond to different first proofreading quantities, and different task requirements correspond to different second proofreading quantities;

[0052] determining a total proofreading amount based on the first proofreading amount, the aspect ratio, and the second proofreading amount;

[0053]

[0054] Where L is the total proofreading amount, α1 is the weight corresponding to the first proofreading amount, L1 is the first proofreading amount, α2 is the weight corresponding to the aspect ratio, H is the aspect ratio, α3 is the weight corresponding to the second proofreading amount, L2 is the second proofreading amount, exp is the exponential function, k is the preset constant, L max is the larger correction amount between L1 and L2;

[0055] A normalization scale is determined based on the total proofreading amount, wherein each total proofreading amount corresponds to a normalization scale.

[0056] In this embodiment, the correction amount mentioned here can be understood as an influence amount. The first correction amount is the influence amount of the image content on the normalized scale, and the rest are similar.

[0057] In this embodiment, the image content is different types of images, such as face images, natural scene images, medical images, etc. The aspect ratio is the aspect ratio (width-to-height ratio) of the image, which also affects the selection of the normalized scale. If the aspect ratio of the image is large, that is, the ratio difference between the width and the height is large, then proportional scaling may cause image deformation. The task requirement is that some tasks have high requirements for scale accuracy, such as target detection and object positioning, and a larger normalized scale may be required to retain the detailed information of the object. Some tasks have high requirements for computing resources, such as real-time image processing, and a smaller normalized scale may be required to reduce the computational burden.

[0058] In this embodiment, The practical significance is that different image contents and task requirements will have a comprehensive impact on the total proofreading amount, thereby correcting the total proofreading amount. The value is between 0.1-0.16.

[0059] Step S102, establishing a feature table for the normalized image, calculating the association information between each feature in the feature table and the image recognition positioning, and filtering the features in the association table based on the association information, thereby establishing a first feature set.

[0060] In this embodiment, the feature table is a comprehensive list of all feature types of the image.

[0061] In some embodiments of the present application, the association information between each feature in the feature table and the image recognition positioning is calculated, and the features in the association table are screened based on the association information, thereby establishing a first feature set, including:

[0062] The associated information includes information gain, variance and correlation;

[0063] Calculate the information gain and variance of each feature in the feature table and image recognition positioning, and calculate the correlation between every two features;

[0064] The features whose information gain exceeds the information gain threshold are divided into a first feature set to be selected, the features whose variance exceeds the variance threshold are divided into a second feature set to be selected, and the intersection of the first feature set to be selected and the second feature set to be selected is used as a third feature set to be selected;

[0065] Each feature in the third candidate feature set is defined as a third candidate feature. If another feature corresponding to the third candidate feature whose correlation exceeds the correlation threshold belongs to the first candidate feature set or the second candidate feature set, then the other feature corresponding to the third candidate feature is included in the third candidate feature set, and the third candidate feature set is used as the first feature set.

[0066] In this embodiment, information gain and variance are both between features and image recognition and positioning. The first feature set is screened out according to the information gain, variance and correlation between features.

[0067] In this embodiment, if another feature corresponding to the third candidate feature whose correlation exceeds the correlation threshold belongs to the first candidate feature set or the second candidate feature set, the other feature corresponding to the third candidate feature is included in the third candidate feature set. Correlation refers to the correlation between two features. The third candidate feature has a correlation with the remaining features. It is determined whether the information gain or variance of another feature whose correlation exceeds the correlation threshold meets the requirements. If it meets the requirements, it is included in the third candidate feature set. If it does not meet the requirements, it is not included.

[0068] In some embodiments of the present application, before selecting the target SIFT model parameter in the SIFT model parameter range by grid search, the method further includes:

[0069] Obtain the evaluation index corresponding to each SIFT model parameter, and simulate the change of the corresponding evaluation index within the range of each SIFT model parameter, so as to construct an evaluation relationship curve;

[0070] The evaluation relationship curve whose evaluation index is lower than the first evaluation index threshold value in the evaluation relationship curve is recorded as a low evaluation relationship curve, the evaluation relationship curve whose evaluation index is not lower than the first evaluation index threshold value and lower than the second evaluation index threshold value in the evaluation relationship curve is recorded as a medium evaluation relationship curve, and the evaluation relationship curve whose evaluation index is not lower than the second evaluation index threshold value in the evaluation relationship curve is recorded as a high evaluation relationship curve;

[0071] The SIFT model parameter ranges corresponding to the medium evaluation relationship curve and the high evaluation relationship curve are taken as new SIFT model parameter ranges.

[0072] In this embodiment, if the SIFT model parameter range is screened and combined by grid search, there are many possible combinations, which involves more required computing resources. Therefore, the SIFT model parameter range is preliminarily screened before the grid search is performed.

[0073] In this embodiment, the horizontal axis of the evaluation relationship curve is the SIFT model parameter, and the vertical axis is the evaluation index corresponding to the SIFT model parameter. Therefore, the evaluation relationship curve is the relationship between the evaluation indexes corresponding to a single SIFT model parameter.

[0074] In this embodiment, generally speaking, after combining multiple SIFT model parameters, the single evaluation index of the better parameter will not be very bad. Based on this, the SIFT model parameter range is preliminarily screened.

[0075] Step S103, obtaining a SIFT model parameter range, screening out target SIFT model parameters in the SIFT model parameter range through grid search, and establishing a SIFT model based on the target SIFT model parameters, wherein the target SIFT model parameters are parameters required by the SIFT model.

[0076] In this embodiment, the main steps of the SIFT algorithm (model) include:

[0077] Scale space construction: By performing Gaussian blur processing on the image at different scales, the scale space pyramid of the image is constructed. The Gaussian blur operation can simulate the blur degree of the image at different scales, making the SIFT algorithm scale invariant.

[0078] Key point detection: In the constructed scale space pyramid, key points with unique properties are detected by comparing the grayscale values ​​around the pixels. Key points are usually located at corners, edges, etc. in the image and have good stability and robustness.

[0079] Direction assignment: Assign a main direction to each key point for subsequent feature descriptor calculation. The main direction can be determined by calculating the gradient information around the key point.

[0080] Feature description: For each key point, a local feature descriptor is calculated in the surrounding area. The SIFT algorithm uses a 128-dimensional vector to represent each feature descriptor, which contains the grayscale gradient information and direction information of the area around the key point.

[0081] In this embodiment, SIFT model parameters include Gaussian blur scale, number of pyramid layers, key point detection parameters include threshold settings for grayscale values, size of detection window, feature description parameters include dimension of feature descriptor, size of feature description area, etc. Target SIFT model parameters are specific ranges or values ​​of these parameters.

[0082] In some embodiments of the present application, the target SIFT model parameters are screened out in the SIFT model parameter range by grid search, including:

[0083] The parameter space is defined according to the new SIFT model parameter range, and a parameter grid is created based on the defined parameter space. All existing parameter combinations between each parameter are evaluated according to the parameter grid. All existing parameter combinations are input into the virtual SIFT model for evaluation, so as to obtain the combined effect of each parameter combination, and the parameter combination with the best combined effect is selected as the target SIFT model parameters.

[0084] Step S104: extract features from the normalized image using a SIFT model, thereby establishing a second feature set.

[0085] In this embodiment, the specific extraction process has been described and will not be repeated here, as it belongs to the conventional technology in the field.

[0086] Step S105: taking the intersection of the first feature set and the second feature set as the third feature set, and determining the number of divisions based on the third feature set.

[0087] In this embodiment, the corresponding feature data of the image is obtained according to all feature categories in the third feature set. The number of divisions is determined based on the amount of data in the third feature set. Each amount of data corresponds to a number of divisions.

[0088] Step S106, dividing the third feature set multiple times according to the number of divisions, and dividing the third feature set into a training set and a test set according to the multiple division results.

[0089] In this embodiment, the training set and the test set are the key to the subsequent neural network model building, so the third feature set needs to be screened to determine the attribution of the features therein.

[0090] In some embodiments of the present application, the third feature set is divided multiple times according to the number of divisions, including:

[0091] An initial division ratio and a growth ratio are determined based on the number of the third feature sets. When the third feature set is divided for the first time, the third feature set is randomly divided according to the initial division ratio. Subsequent divisions are increased according to the growth ratio on the basis of the initial division ratio, thereby randomly dividing the third feature set. The division ratio is the ratio of the training set to the test set, and the growth ratio is the adjustment amount of the ratio of the training set to the test set.

[0092] In this embodiment, the division ratio is the ratio of the training set to the test set, for example, 7:3. The growth ratio is the adjustment amount of the ratio of the training set to the test set, for example, the second division ratio is 7.2:2.8 after growth.

[0093] In some embodiments of the present application, the third feature set is divided into a training set and a test set according to multiple division results, including:

[0094] The results of multiple divisions are the first candidate training set and the first candidate test set obtained after each division;

[0095] An intersection of multiple first candidate training sets is used as a second candidate training set, and an intersection of multiple first candidate test sets is used as a second candidate test set;

[0096] The portion of the third feature set after excluding the second candidate training set and the second candidate test set is recorded as the third candidate set;

[0097] The features in the third candidate set whose training frequency is higher than the test frequency are assigned to the second candidate training set, and the features in the third candidate set whose test frequency is higher than the training frequency are assigned to the second candidate test set. The second candidate training set and the second candidate test set after the assignment are used as the training set and the test set respectively.

[0098] In this embodiment, the selected training frequency is the number of times the feature has been previously divided into the first candidate training set, and the selected test frequency is the number of times the feature has been previously divided into the first candidate test set.

[0099] Step S107, constructing a neural network model for image recognition and positioning based on the training set and the test set, inputting the image to be detected into the neural network model for image recognition and positioning, and obtaining the result of image recognition and positioning.

[0100] In some embodiments of the present application, a neural network model for image recognition and positioning is constructed based on a training set and a test set, including:

[0101] Preprocess the data in the training set and test set;

[0102] Select a neural network model and build a neural network structure based on the neural network model. The neural network structure includes the input layer, hidden layer and output layer of the model, as well as setting the number of neurons, activation function, loss function and optimization algorithm of each layer;

[0103] Train the neural network model through the training set;

[0104] The trained neural network model is evaluated through the test set, and the model is optimized based on the evaluation results.

[0105] By applying the above technical scheme, basic information of the image is obtained, a normalization scale is determined according to the basic information of the image, and the image is normalized based on the normalization scale; a feature table is established for the normalized image, the association information between each feature in the feature table and image recognition and positioning is calculated, and the features in the association table are screened based on the association information, thereby establishing a first feature set; the SIFT model parameter range is obtained, and the target SIFT model parameters are screened out in the SIFT model parameter range through grid search, and a SIFT model is established based on the target SIFT model parameters, wherein the target SIFT model parameters are the parameters required for the SIFT model; features of the normalized image are extracted through the SIFT model, thereby establishing a second feature set; the intersection of the first feature set and the second feature set is used as the third feature set, and the number of divisions is determined based on the third feature set; the third feature set is divided multiple times according to the number of divisions, and the third feature set is divided into a training set and a test set according to the results of the multiple divisions; a neural network model for image recognition and positioning is constructed based on the training set and the test set, and the image to be detected is input into the neural network model for image recognition and positioning to obtain the results of image recognition and positioning. This application establishes a first feature set and a second feature set to screen image features, retaining features that are helpful for image recognition and positioning, improving the accuracy of subsequent model calculations, and determining target SIFT model parameters through grid search, thereby accurately modeling and providing a solid guarantee for subsequent neural network models.

[0106] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. An image recognition and positioning method, characterized in that: The method comprises: Obtaining basic information of the image, determining a normalization scale according to the basic information of the image, and performing normalization processing on the image based on the normalization scale; Establishing a feature table for the normalized image, calculating the association information between each feature in the feature table and image recognition positioning, and filtering the features in the association table based on the association information, thereby establishing a first feature set; Obtaining a SIFT model parameter range, screening out target SIFT model parameters in the SIFT model parameter range through grid search, and establishing a SIFT model based on the target SIFT model parameters, wherein the target SIFT model parameters are parameters required by the SIFT model; The normalized image is subjected to feature extraction through the SIFT model, thereby establishing a second feature set; The intersection of the first feature set and the second feature set is used as a third feature set, and the number of divisions is determined based on the third feature set; Dividing the third feature set multiple times according to the number of divisions, and dividing the third feature set into a training set and a test set according to the multiple division results; A neural network model for image recognition and positioning is constructed based on the training set and the test set, and the image to be detected is input into the neural network model for image recognition and positioning to obtain the result of image recognition and positioning; The calculating association information between each feature in the feature table and the image recognition positioning, and filtering the features in the association table based on the association information, thereby establishing a first feature set, includes: The associated information includes information gain, variance and correlation; Calculate the information gain and variance of each feature in the feature table and image recognition positioning, and calculate the correlation between every two features; The features whose information gain exceeds the information gain threshold are divided into a first feature set to be selected, the features whose variance exceeds the variance threshold are divided into a second feature set to be selected, and the intersection of the first feature set to be selected and the second feature set to be selected is used as a third feature set to be selected; Each feature in the third candidate feature set is defined as a third candidate feature. If another feature corresponding to the third candidate feature whose relevance exceeds the relevance threshold belongs to the first candidate feature set or the second candidate feature set, the other feature corresponding to the third candidate feature is included in the third candidate feature set, and the third candidate feature set is used as the first feature set. The method of selecting target SIFT model parameters from the SIFT model parameter range by grid search includes: The parameter space is defined according to the new SIFT model parameter range, and a parameter grid is created based on the defined parameter space. All existing parameter combinations between each parameter are evaluated according to the parameter grid. All existing parameter combinations are input into the virtual SIFT model for evaluation, so as to obtain the combined effect of each parameter combination, and the parameter combination with the best combined effect is selected as the target SIFT model parameters.

2. The image recognition and positioning method according to claim 1, characterized in that: The normalized scale is determined based on the basic information of the image, including: The basic information of the image includes image content, aspect ratio and task requirements, wherein different image contents correspond to different first proofreading quantities, and different task requirements correspond to different second proofreading quantities; determining a total proofreading amount based on the first proofreading amount, the aspect ratio, and the second proofreading amount; ; Where L is the total proofreading amount, is the weight corresponding to the first proofreading quantity, is the first calibration quantity, is the weight corresponding to the aspect ratio, H is the aspect ratio, is the weight corresponding to the second proofreading quantity, is the second calibration value, exp is the exponential function, k is the preset constant, for and Larger proofreading volume; A normalization scale is determined based on the total proofreading amount, wherein each total proofreading amount corresponds to a normalization scale.

3. The image recognition and positioning method according to claim 1, characterized in that: Before selecting the target SIFT model parameters in the SIFT model parameter range by grid search, the method further includes: Obtain the evaluation index corresponding to each SIFT model parameter, and simulate the change of the corresponding evaluation index within the range of each SIFT model parameter, so as to construct an evaluation relationship curve; The evaluation relationship curve whose evaluation index is lower than the first evaluation index threshold value in the evaluation relationship curve is recorded as a low evaluation relationship curve, the evaluation relationship curve whose evaluation index is not lower than the first evaluation index threshold value and lower than the second evaluation index threshold value in the evaluation relationship curve is recorded as a medium evaluation relationship curve, and the evaluation relationship curve whose evaluation index is not lower than the second evaluation index threshold value in the evaluation relationship curve is recorded as a high evaluation relationship curve; The SIFT model parameter ranges corresponding to the medium evaluation relationship curve and the high evaluation relationship curve are taken as new SIFT model parameter ranges.

4. The image recognition and positioning method according to claim 1, characterized in that: The third feature set is divided multiple times according to the number of divisions, including: An initial division ratio and a growth ratio are determined based on the number of the third feature sets. When the third feature set is divided for the first time, the third feature set is randomly divided according to the initial division ratio. Subsequent divisions are increased according to the growth ratio on the basis of the initial division ratio, thereby randomly dividing the third feature set. The division ratio is the ratio of the training set to the test set, and the growth ratio is the adjustment amount of the ratio of the training set to the test set.

5. The image recognition and positioning method according to claim 4, characterized in that: The third feature set is divided into a training set and a test set according to the multiple division results, including: The results of multiple divisions are the first candidate training set and the first candidate test set obtained after each division; An intersection of multiple first candidate training sets is used as a second candidate training set, and an intersection of multiple first candidate test sets is used as a second candidate test set; The portion of the third feature set after excluding the second candidate training set and the second candidate test set is recorded as the third candidate set; The features in the third candidate set whose training frequency is higher than the test frequency are assigned to the second candidate training set, and the features in the third candidate set whose test frequency is higher than the training frequency are assigned to the second candidate test set. The second candidate training set and the second candidate test set after the assignment are used as the training set and the test set respectively.

6. The image recognition and positioning method according to claim 1, characterized in that: Build a neural network model for image recognition and positioning based on the training set and test set, including: Preprocess the data in the training set and test set; Select a neural network model and build a neural network structure based on the neural network model. The neural network structure includes the input layer, hidden layer and output layer of the model, as well as setting the number of neurons, activation function, loss function and optimization algorithm of each layer; Train the neural network model through the training set; The trained neural network model is evaluated through the test set, and the model is optimized based on the evaluation results.