Image recognition method based on neural network

By using the back propagation algorithm in the convolutional neural network model to update parameters and multiple image segmentation methods to extract features, the problem of low recognition rate of the convolutional neural network model is solved, higher recognition accuracy and learning ability are achieved, and the Dependence on training database.

CN118537703APending Publication Date: 2024-08-23GUANGXI UNIV
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410714204.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

The parameters of existing convolutional neural network models remain unchanged after training, resulting in low image recognition rate, and strong dependence on a huge training database, making it difficult to automatically update parameters to improve recognition accuracy.

Method used

By obtaining picture information, establishing a database to train the neural network model, using the back propagation algorithm to update the network parameters, and optimizing the model through the test data set, combining multiple image segmentation methods to extract features, and finally calculating the recognition results through weights to achieve automatic parameters Update and recognition accuracy improved.

Benefits of technology

It improves the image recognition rate and learning ability of the neural network, enhances the adaptability and recognition accuracy of the model, and reduces the dependence on the training database.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The invention discloses an image recognition method based on a neural network, and the method comprises the following steps: 1, obtaining image information, building an image information database, and carrying out the training of a neural network model through the information database; step 2, evaluating and optimizing the neural network model trained in the step 1, including evaluating the trained neural network model by using a test data set; 3, obtaining to-be-recognized picture information through the optimized neural network model in the step 2, carrying out picture separation on a to-be-recognized picture, and extracting to-be-recognized picture information features; and step 4, outputting the identified picture information. Compared with the prior art, the image recognition method based on the neural network has the advantages that operation and use are convenient, parameters can be automatically updated, and the image recognition rate is guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of image recognition, and in particular to an image recognition method based on a neural network. Background Art

[0002] In recent years, in the process of big data processing, deep learning algorithm models have achieved unprecedented success in the field of artificial intelligence. In many fields, artificial intelligence even outperforms humans.

[0003] Convolutional Neural Networks (CNN) are a type of feedforward neural networks that include convolution calculations and have a deep structure. They are one of the representative algorithms of deep learning.

[0004] Artificial convolutional neural networks (CNNs) have made great progress in the precision and accuracy of image recognition classification. They have a complex network structure and a huge amount of parameter calculations. They usually need to rely on labeled databases for iterative training. Therefore, the learning network model has a strong dependence on a huge training database.

[0005] In daily use, image recognition is mainly performed through various trained convolutional neural network models. Image recognition technology is widely used in daily life. The convolutional neural network model recognition in the prior art includes the steps of: establishing a convolutional neural network; preprocessing sample images in a training sample set; inputting the preprocessed images as training data into the convolutional neural network for supervised learning to obtain parameters of each layer of the trained convolutional neural network; and using the parameters of each layer of the trained convolutional neural network.

[0006] However, after the neural network is trained, the parameters involved in the neural network no longer change, and the network no longer changes, so a single neural network model will have a low recognition rate for some images. Summary of the invention

[0007] The technical problem to be solved by the present invention is to overcome the above technical defects and provide an image recognition method based on a neural network which is easy to operate and use, can automatically update parameters, and ensure the image recognition rate.

[0008] To solve the above technical problems, the technical solution provided by the present invention is: a neural network-based image recognition method, comprising the following steps: Step 1: Acquire image information, build an image information database, and train a neural network model through the information database; Step 2: Evaluate and optimize the neural network model trained in Step 1, including using a test data set to evaluate the trained neural network model; Step 3: Acquire the image information to be identified through the neural network model optimized in Step 2, perform image segmentation on the image to be identified, and extract the information features of the image to be identified; Step 4: Output the identified image information.

[0009] Preferably, a convolutional neural network is selected in step 1, and the neural network includes an input layer, a first convolutional layer, a first ReLU layer, a first pooling layer, a second convolutional layer, a second ReLU layer, a second pooling layer, a third convolutional layer, a third ReLU layer, a third pooling layer, a first fully connected layer, a second fully connected layer and an output layer. During the training process, the network parameters are updated by a back propagation algorithm so that the neural network gradually learns the features and patterns in the image.

[0010] Preferably, the training of the neural network model in step 1 includes obtaining the image information to be identified, segmenting the image to be identified, extracting features of the image information to be identified, inputting the extracted features into the same convolutional neural network model for image recognition, and obtaining multiple image recognition results, by presetting the recognition result weights corresponding to each image segmentation method, and calculating the final image recognition result according to the result weights.

[0011] Preferably, the picture information database is selected according to usage needs, and the picture information database is obtained through Internet crawlers, expert uploads and industry data information.

[0012] Preferably, the evaluation indicators in step 2 include accuracy, recall rate, and precision rate.

[0013] Preferably, the image segmentation includes a threshold segmentation method, an edge detection method, a region extraction method, a grayscale image segmentation method, a color image segmentation method, a texture image segmentation method, a histogram segmentation method and a wavelet transform segmentation method.

[0014] The advantages of the present invention compared with the prior art are: in the present invention, by updating the network parameters through the back propagation algorithm during the training process, the neural network gradually learns the features and patterns in the image, thereby obtaining a stronger learning ability and improving the image recognition rate of the neural network. At the same time, in the present invention, the trained neural network is tested through test samples, and when the classification accuracy is not reached, the weights and parameters are adjusted and re-trained, which can improve the recognition accuracy of the neural network. By using different segmentation methods and different feature extraction methods to process the image, and then using the same convolutional neural network model for recognition, the recognition result is determined according to the weight, which further improves the image recognition rate of the neural network. DETAILED DESCRIPTION

[0015] The present invention is described in further detail below.

[0016] References to embodiments of the present invention will now be provided in detail, one or more examples of which are described below. Each example is provided as an explanation rather than a limitation of the present invention. In fact, it will be apparent to those skilled in the art that various modifications and variations may be made to the present invention without departing from the scope or spirit of the present invention. For example, a feature illustrated or described as part of one embodiment may be used in another embodiment to produce a further embodiment.

[0017] Therefore, it is intended that the present invention covers such modifications and variations that fall within the scope of the appended claims and their equivalents. Other objects, features and aspects of the present invention are disclosed in or are obvious from the following detailed description. Those of ordinary skill in the art will appreciate that this discussion is only a description of exemplary embodiments and is not intended to limit the broader aspects of the present invention.

[0018] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those generally understood by those skilled in the art of the present invention. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items.

[0019] The term "comprises", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprising one..." do not exclude the presence of other identical elements in the process, method, article or device comprising the elements. In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the invention, the meaning of "multiple" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined. In the description of the present invention, the meaning of "several" is at least one, such as one, two, etc., unless otherwise clearly and specifically defined.

[0020] Except as shown in the operating examples or otherwise indicated, all numbers used in the specification and claims to indicate the amount of ingredients, physicochemical properties, etc. are understood to be adjusted by the term "about" in all cases. For example, therefore, unless otherwise indicated, the numerical parameters listed in the above specification and the attached claims are approximate values, and those skilled in the art can use the teachings disclosed herein to seek to obtain the desired properties and appropriately change these approximate values. The use of numerical ranges expressed as endpoints includes all numbers within the range and any range within the range, for example, 1 to 5 includes 1, 1.1, 1.3, 1.5, 2, 2.75, 3, 3.80, 4 and 5, etc.

[0021] As shown, a neural network-based image recognition method includes the following steps: Step 1: Acquire image information, build an image information database, and train a neural network model through the information database, wherein the image information database is selected according to usage needs, and the image information database is acquired through Internet crawlers, expert uploads and industry data information; Step 2: Evaluate and optimize the neural network model trained in Step 1, including using a test data set to evaluate the trained neural network model, wherein the evaluation indicators include accuracy, recall rate, and precision rate, and the model is improved through the evaluation indicators to ensure the accuracy of subsequent model use; Step 3: Acquire the image information to be identified through the neural network model optimized in Step 2, separate the images to be identified, and extract the information features of the images to be identified; Step 4: Output the identified image information.

[0022] The image segmentation includes threshold segmentation method, edge detection method, region extraction method, grayscale image segmentation method, color image segmentation method, texture image segmentation method, histogram segmentation method and wavelet transform segmentation method.

[0023] A convolutional neural network is a variation of a multi-layer perceptron that is inspired by biological vision and aims to simplify preprocessing operations. It is essentially a feed-forward neural network. The biggest difference between a convolutional neural network and a multi-layer perceptron is that the first few layers of the network are composed of alternating cascades of convolutional layers and pooling layers, simulating the alternating cascade structure of simple cells and complex cells in the visual cortex used for high-level feature extraction.

[0024] When used in the specific application, a convolutional neural network is selected in step 1. The neural network includes an input layer, a first convolutional layer, a first ReLU layer, a first pooling layer, a second convolutional layer, a second ReLU layer, a second pooling layer, a third convolutional layer, a third ReLU layer, a third pooling layer, a first fully connected layer, a second fully connected layer and an output layer. During the training process, the network parameters are updated by the back-propagation algorithm so that the neural network gradually learns the features and patterns in the image.

[0025] When training the neural network model, including obtaining the image information to be recognized, the image to be recognized is segmented, the features of the image information to be recognized are extracted, the extracted features are input into the same convolutional neural network model for image recognition, and multiple image recognition results are obtained. The recognition result weight corresponding to each image segmentation method is preset, and the final image recognition result is calculated according to the result weight.

[0026] The contents not described in detail in this specification belong to the prior art known to professional and technical personnel in this field.

[0027] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0028] The present invention and its implementation methods are described above, and such description is not restrictive. In short, if ordinary technicians in the field are inspired by it, without departing from the purpose of the invention, they can design structures and embodiments similar to the technical solution without creativity, which should all fall within the protection scope of the present invention.

Claims

1. A neural network-based image recognition method, characterized in that: The following steps are involved: Step 1: Obtain image information, build an image information database, and train the neural network model through the information database; Step 2: Evaluate and optimize the neural network model trained in step 1, including evaluating the trained neural network model using a test data set; Step 3: Obtain the information of the image to be identified through the neural network model optimized in step 2, separate the image to be identified, and extract the features of the image information to be identified; Step 4: Output the recognized image information.

2. The neural network-based image recognition method according to claim 1, characterized in that: In the step 1, a convolutional neural network is selected, and the neural network includes an input layer, a first convolutional layer, a first ReLU layer, a first pooling layer, a second convolutional layer, a second ReLU layer, a second pooling layer, a third convolutional layer, a third ReLU layer, a third pooling layer, a first fully connected layer, a second fully connected layer and an output layer. During the training process, the network parameters are updated by a back propagation algorithm so that the neural network gradually learns the features and patterns in the image.

3. The image recognition method based on a neural network according to claim 2, characterized in that: The training of the neural network model in step 1 includes obtaining the image information to be identified, segmenting the image to be identified, extracting features of the image information to be identified, inputting the extracted features into the same convolutional neural network model for image recognition, obtaining multiple image recognition results, and calculating the final image recognition result according to the result weight by presetting the recognition result weight corresponding to each image segmentation method.

4. The neural network-based image recognition method according to claim 3, characterized in that: The picture information database is selected according to usage needs, and the picture information database is obtained through Internet crawlers, expert uploads and industry data information.

5. The neural network-based image recognition method according to claim 4, characterized in that: The evaluation indicators in step 2 include accuracy, recall, and precision.

6. The neural network-based image recognition method according to claim 3, characterized in that: The image segmentation includes a threshold segmentation method, an edge detection method, a region extraction method, a grayscale image segmentation method, a color image segmentation method, a texture image segmentation method, a histogram segmentation method and a wavelet transform segmentation method.

Citation Information

Patent Citations

  • Image recognition method, convolution neural network model training method and device

    CN109325395A

  • Sign language recognition method based on convolutional neural network

    CN110096991A

  • Image recognition method based on convolutional neural network

    CN110569852A

  • Rock type identification method and system based on convolutional neural network

    CN117253087A