A fast image recognition method based on deep learning

Through the iterative integration of image feature classification processing and deep learning algorithms, an image adaptive loop recognition model is established, which solves the problems of long model training time and unstable performance in the existing technology, achieves rapid recognition and efficient training, and improves image recognition. accuracy and efficiency.

CN118314360BActive Publication Date: 2024-10-01TIANJIN RONGXING GRP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410742338.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-10-01
Estimated Expiration
2044-06-11

AI Technical Summary

Technical Problem

In existing image recognition technology, the neural network structure is too complex, resulting in long model training time, high consumption of computing resources, unstable model performance, inability to quickly identify image features, and excessive memory usage when running on mobile devices, making it impossible to fully mine images. information.

Method used

Through the iterative integration of image feature classification processing and deep learning algorithms, an image adaptive loop recognition model is established to improve the model's generalization ability and structural stability, and realize the adaptive loop of the image recognition process.

Benefits of technology

Accelerate model convergence speed, shorten training time, improve training efficiency and performance, reduce the risk of over-fitting, enhance modeling capabilities for complex data, improve recognition accuracy, reduce computational costs in the feature extraction stage, and improve model inference speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118314360B_ABST
    Figure CN118314360B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of image recognition based on deep learning, and specifically to an image adaptive rapid recognition method based on deep learning, comprising: S1, performing multi-level feature extraction on an image to be recognized to obtain multi-level features of the image to be recognized; S2, establishing an image adaptive cyclic recognition model based on deep learning using the multi-level features of the image; S3, obtaining an image adaptive rapid recognition result based on the image adaptive cyclic recognition model, reducing the risk of overfitting, and improving the stability of the model, while improving the generalization ability and structural stability of the model through the iterative fusion of image feature hierarchical processing and deep learning algorithms, and realizing adaptive circulation of the image recognition process.
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 based on deep learning, and in particular to a method for adaptive and rapid image recognition based on deep learning. Background Art

[0002] Currently, image recognition has become a strong demand in various industries. However, in the process of image recognition, the neural network structure is too complex, resulting in long model training time and high consumption of computing resources. The model training algorithm may not be efficient enough, resulting in slow convergence and unstable performance. It is impossible to fully mine the information in the image, resulting in the extracted features not being representative enough. The model is too large, resulting in excessive memory usage and slow inference speed when running on mobile devices. The model parameters are not fully tuned, resulting in the model performance not reaching the optimal state. Ultimately, it is impossible to achieve rapid recognition of image features and the full function of the deep learning algorithm. Summary of the invention

[0003] In view of the shortcomings of the prior art, the present invention provides an image adaptive rapid recognition method based on deep learning. Through the iterative fusion of image feature hierarchical processing and deep learning algorithm, the generalization ability and structural stability of the model are improved, while the image recognition process is realized in an adaptive cycle.

[0004] To achieve the above object, the present invention provides an image adaptive rapid recognition method based on deep learning, comprising:

[0005] S1, extracting multi-level features of an image to be identified according to the image to be identified to obtain multi-level features of the image to be identified;

[0006] S2. Using the multi-level features of the image to establish an image adaptive cycle recognition model based on deep learning;

[0007] S3. Obtaining an image adaptive fast recognition result according to the image adaptive cyclic recognition model.

[0008] Preferably, the step of extracting multi-level image features from the image to be identified to obtain multi-level image features of the image to be identified includes:

[0009] S1-1, obtaining the image to be recognized at the current moment;

[0010] S1-2, determining whether the image to be identified is a color image, if so, obtaining corresponding pixels based on the three primary colors RGB of the image to be identified as primary image features, otherwise obtaining the overall pixel grayscale value of the image to be identified as primary image features;

[0011] S1-3, using the image to be identified based on the SIFT algorithm to obtain shape feature points and shape feature vectors of the identified image as secondary features of the image;

[0012] S1-4, obtaining the texture features corresponding to the image to be identified at the current moment as the third-level image features;

[0013] S1-5, using the first-level image features, the second-level image features and the third-level image features as multi-level image features of the image to be identified;

[0014] The overall pixel grayscale value is the grayscale value corresponding to each pixel of the image to be identified.

[0015] Preferably, using the multi-level features of the image to establish an image adaptive cycle recognition model based on deep learning includes:

[0016] S2-1, using the multi-level features of the image to establish a basic model for image recognition based on deep learning;

[0017] S2-2, using the image recognition basic model to adaptively adjust the image to be recognized to obtain an image adaptive recognition basic model;

[0018] S2-3, using the image adaptive recognition basic model to perform cyclic processing to obtain an image adaptive cyclic recognition model.

[0019] Furthermore, using the multi-level features of the image to establish an image recognition basic model based on deep learning includes:

[0020] S2-1-1, using the first-level image features of the multi-level image features as the first training set;

[0021] S2-1-2, using the shape feature points of the image secondary features of the image multi-level features as a second training set;

[0022] S2-1-3, using the three-level image features of the multi-level image features as a third training set;

[0023] S2-1-4, using the first training set as input, the first training set corresponding to the second training set as output, and performing training based on deep learning to obtain a color and shape classification model;

[0024] S2-1-5, using the second training set as input, and the third training set corresponding to the second training set as output, to obtain a shape texture classification model through training based on deep learning;

[0025] S2-1-6, using the third training set as input, and the shape feature vector of the third training set corresponding to the second training set as output, and training based on deep learning to obtain a texture vector classification model;

[0026] S2-1-7. Use the color shape classification model, shape texture classification model and texture vector classification model to connect them in sequence as a basic model for image recognition.

[0027] Furthermore, the image recognition basic model is adaptively adjusted according to the image to be recognized to obtain the image adaptive recognition basic model, including:

[0028] S2-2-1, acquiring corresponding historical images according to the multi-level features of the image to be identified and establishing a historical image set;

[0029] S2-2-2, acquiring edge features of a corresponding subset according to the historical image set to establish an adaptive auxiliary label;

[0030] S2-2-3, using the historical image set to input the color shape classification model, shape texture classification model and texture vector classification model of the image recognition basic model to obtain the output result of the color shape classification model, the output result of the shape texture classification model and the output result of the texture vector classification model in turn;

[0031] S2-2-4, using the adaptive auxiliary labels to perform image calibration processing on the output results of the color-shape classification model, the output results of the shape-texture classification model, and the output results of the texture vector classification model, respectively, to obtain the calibrated output results of the color-shape classification model, the calibrated output results of the shape-texture classification model, and the calibrated output results of the texture vector classification model;

[0032] S2-2-5, determining whether the calibration output results of the color shape classification model, the calibration output results of the shape texture classification model, and the calibration output results of the texture vector classification model all correspond to each other, if so, outputting the image recognition basic model as the image adaptive recognition basic model, otherwise, executing S2-2-6;

[0033] S2-2-6, determining whether the calibration output results of the color shape classification model, the calibration output results of the shape texture classification model, and the calibration output results of the texture vector classification model are mutually non-corresponding, if so, outputting the image recognition basic model as the image adaptive recognition basic model, otherwise, executing S2-2-7;

[0034] S2-2-7, determine whether the number of trainings of the color shape classification model, shape texture classification model and texture vector classification model corresponding to the current image recognition basic model is 1, if so, use the adaptive auxiliary label to segment the multi-level features of the image, update the first training set, the second training set and the third training set, and return to S2-1, otherwise, output the image recognition basic model as the image adaptive recognition basic model;

[0035] The edge features are boundary lines corresponding to different areas of the image.

[0036] Furthermore, the image adaptive cyclic recognition model is obtained by cyclically processing the image adaptive recognition basic model, including:

[0037] S2-3-1, determine whether the calibration output results corresponding to the image adaptive recognition basic model are mutually corresponding. If so, use the current historical image set to divide into a cyclic image library, and use the image adaptive recognition basic model as the image adaptive cyclic recognition model. Otherwise, use the calibration output results of the color shape classification model, shape texture classification model and texture vector classification model corresponding to the image adaptive recognition basic model to perform splicing and restoration processing to obtain a calibrated splicing and restoration multi-layer image, and execute S2-3-2;

[0038] S2-3-2, determine whether the calibrated splicing and restoration multi-layer image has a corresponding image in the historical image set, if so, use the current historical image set to divide it into a cyclic image library and return to S2-1-1, otherwise, execute S2-3-3;

[0039] S2-3-3, determine whether the shape feature points of the secondary features of the image corresponding to the image adaptive recognition basic model correspond to the contour features of the historical image corresponding to the historical image set, if so, use the current historical image set to divide into a cyclic image library, and use the image adaptive recognition basic model as the image adaptive cyclic recognition model, otherwise, execute S2-3-4;

[0040] S2-3-4. Determine whether the shape feature vector of the secondary feature of the image corresponding to the image adaptive recognition basic model corresponds to the regional feature of the historical image corresponding to the historical image set. If so, return to S2-1-5; otherwise, return to S2-1-4.

[0041] Furthermore, the image adaptive rapid recognition result obtained according to the image adaptive cyclic recognition model includes:

[0042] S3-1, using the image adaptive cyclic recognition model and the image to be recognized to obtain an initial recognition result;

[0043] S3-2. Perform model tuning and output processing according to the initial recognition result to obtain an image adaptive fast recognition result.

[0044] S3-1 specifically includes:

[0045] S3-1-1, using the image to be recognized input image adaptive cyclic recognition model to obtain color shape classification results, shape texture classification results and texture vector classification results in sequence;

[0046] S3-1-2, determine whether the color shape classification result corresponds to the image pixel of the image to be recognized, if so, execute S3-1-3, otherwise, the output of the image adaptive cyclic recognition model is abnormal, and use the color shape classification result as the initial recognition result;

[0047] S3-1-3, determine whether the shape texture classification result corresponds to the image contour area feature of the image to be recognized, then execute S3-1-4, otherwise, the output of the image adaptive cyclic recognition model is abnormal, and use the color shape classification result as the initial recognition result;

[0048] S3-1-4. Determine whether the texture vector classification result corresponds to the grayscale value of the image to be recognized. If so, the model output is normal and the color shape classification result, shape texture classification result and texture vector classification result are used as initial recognition results. Otherwise, the output of the image adaptive cyclic recognition model is abnormal and the shape texture classification result is used as the initial recognition result.

[0049] Further, the model tuning output processing is performed according to the initial recognition result to obtain the image adaptive fast recognition result, including:

[0050] S3-2-1, determine whether the model output corresponding to the initial recognition result is normal, if so, directly output the initial recognition result as the image adaptive fast recognition result, otherwise, execute S3-2-2;

[0051] S3-2-2, obtaining the training set corresponding to the initial recognition result corresponding to the output anomaly of the image adaptive cyclic recognition model as the basic training set for tuning;

[0052] S3-2-3, using the output anomaly corresponding historical image set of the image adaptive cyclic recognition model to calculate the image average gradient value of the historical image;

[0053] S3-2-4, using the image average gradient value of the historical image and the tuning basic training set to perform model adaptive training to obtain an adaptive tuning model;

[0054] S3-2-5, determine whether the number of executions of S3-1-1 at the current moment is 1, if so, return to S3-1-1, otherwise, use the adaptive tuning model of the image to be recognized to obtain the color shape classification result, shape texture classification result and texture vector classification result in sequence as the image adaptive fast recognition result;

[0055] The model output corresponding to the initial recognition result includes a color shape classification result, a shape texture classification result and a texture vector classification result.

[0056] Furthermore, the adaptive tuning model is obtained by performing model adaptive training using the image average gradient value of the historical image and the tuning basic training set, including:

[0057] When the tuned basic training set corresponds to the first training set, the image average gradient value of the historical image is used to correspond to the historical image to update the current first training set to obtain the tuned first training set, and the tuned first training set is used as input, and the first training set corresponds to the second training set as output, and re-training is performed based on deep learning to obtain a tuned color and shape classification model, and the tuned color and shape classification model is used to update the image adaptive recognition basic model to obtain an adaptive tuning model;

[0058] When the tuned basic training set corresponds to the second training set, the image average gradient value of the historical image is used to correspond to the historical image to update the current second training set to obtain a tuned second training set, and the tuned second training set is used as input, and the second training set corresponds to the third training set as output, and a tuned shape texture classification model is obtained by training based on deep learning, and the image adaptive recognition basic model is updated using the tuned shape texture classification model to obtain an adaptive tuning model;

[0059] When the tuned basic training set corresponds to the third training set, the image average gradient value of the historical image is used to correspond to the historical image to update the current third training set to obtain a tuned third training set, and the tuned third training set is used as input, and the shape feature vector of the second training set corresponding to the second training set is used as output, and training is performed based on deep learning to obtain a tuned texture vector classification model, and the tuned texture vector classification model is used to update the image adaptive recognition basic model to obtain an adaptive tuning model.

[0060] Compared with the closest prior art, the present invention has the following beneficial effects:

[0061] Through the iterative integration of image feature hierarchical processing and deep learning algorithms, the model's generalization ability and structural stability are improved, while the image recognition process is realized in an adaptive cycle;

[0062] 1. Improve recognition efficiency: accelerate model convergence speed, shorten training time, improve training efficiency and performance, improve model generalization ability, reduce overfitting risk, and improve model stability;

[0063] 2. Increase computing power: Improve the learning and generalization capabilities of the model, and enhance the ability to model complex data; reduce the number of model parameters and computational complexity, and improve model training and reasoning efficiency;

[0064] 3. Improve recognition accuracy: Improve the model's ability to represent input data and improve the model's recognition accuracy; reduce the computational cost of the feature extraction stage and accelerate the model's reasoning speed. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] Figure 1 It is a flow chart of an image adaptive rapid recognition method based on deep learning provided by the present invention. DETAILED DESCRIPTION

[0066] The specific implementation modes of the present invention will be further described in detail below in conjunction with the accompanying drawings.

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

[0068] Example:

[0069] The present invention provides an image adaptive fast recognition method based on deep learning, such as Figure 1 As shown, including:

[0070] S1, extracting multi-level features of an image to be identified according to the image to be identified to obtain multi-level features of the image to be identified;

[0071] S2. Using the multi-level features of the image to establish an image adaptive cycle recognition model based on deep learning;

[0072] S3. Obtaining an image adaptive fast recognition result according to the image adaptive cyclic recognition model.

[0073] S1 specifically includes:

[0074] S1-1, obtaining the image to be recognized at the current moment;

[0075] S1-2, determining whether the image to be identified is a color image, if so, obtaining corresponding pixels based on the three primary colors RGB of the image to be identified as primary image features, otherwise obtaining the overall pixel grayscale value of the image to be identified as primary image features;

[0076] S1-3, using the image to be identified based on the SIFT algorithm to obtain shape feature points and shape feature vectors of the identified image as secondary features of the image;

[0077] S1-4, obtaining the texture features corresponding to the image to be identified at the current moment as the third-level image features;

[0078] S1-5, using the first-level image features, the second-level image features and the third-level image features as multi-level image features of the image to be identified;

[0079] The overall pixel grayscale value is the grayscale value corresponding to each pixel of the image to be identified.

[0080] S2 specifically includes:

[0081] S2-1, using the multi-level features of the image to establish a basic model for image recognition based on deep learning;

[0082] S2-2, using the image recognition basic model to adaptively adjust the image to be recognized to obtain an image adaptive recognition basic model;

[0083] S2-3, using the image adaptive recognition basic model to perform cyclic processing to obtain an image adaptive cyclic recognition model.

[0084] S2-1 specifically includes:

[0085] S2-1-1, using the first-level image features of the multi-level image features as the first training set;

[0086] S2-1-2, using the shape feature points of the image secondary features of the image multi-level features as a second training set;

[0087] S2-1-3, using the three-level image features of the multi-level image features as a third training set;

[0088] S2-1-4, using the first training set as input, the first training set corresponding to the second training set as output, and performing training based on deep learning to obtain a color and shape classification model;

[0089] S2-1-5, using the second training set as input, and the third training set corresponding to the second training set as output, to obtain a shape texture classification model through training based on deep learning;

[0090] S2-1-6, using the third training set as input, and the shape feature vector of the third training set corresponding to the second training set as output, and training based on deep learning to obtain a texture vector classification model;

[0091] S2-1-7. Use the color shape classification model, shape texture classification model and texture vector classification model to connect them in sequence as a basic model for image recognition.

[0092] S2-2 specifically includes:

[0093] S2-2-1, acquiring corresponding historical images according to the multi-level features of the image to be identified and establishing a historical image set;

[0094] S2-2-2, acquiring edge features of a corresponding subset according to the historical image set to establish an adaptive auxiliary label;

[0095] S2-2-3, using the historical image set to input the color shape classification model, shape texture classification model and texture vector classification model of the image recognition basic model to obtain the output result of the color shape classification model, the output result of the shape texture classification model and the output result of the texture vector classification model in turn;

[0096] S2-2-4, using the adaptive auxiliary labels to perform image calibration processing on the output results of the color-shape classification model, the output results of the shape-texture classification model, and the output results of the texture vector classification model, respectively, to obtain the calibrated output results of the color-shape classification model, the calibrated output results of the shape-texture classification model, and the calibrated output results of the texture vector classification model;

[0097] S2-2-5, determining whether the calibration output results of the color shape classification model, the calibration output results of the shape texture classification model, and the calibration output results of the texture vector classification model all correspond to each other, if so, outputting the image recognition basic model as the image adaptive recognition basic model, otherwise, executing S2-2-6;

[0098] S2-2-6, determining whether the calibration output results of the color shape classification model, the calibration output results of the shape texture classification model, and the calibration output results of the texture vector classification model are mutually non-corresponding, if so, outputting the image recognition basic model as the image adaptive recognition basic model, otherwise, executing S2-2-7;

[0099] S2-2-7, determine whether the number of trainings of the color shape classification model, shape texture classification model and texture vector classification model corresponding to the current image recognition basic model is 1, if so, use the adaptive auxiliary label to segment the multi-level features of the image, update the first training set, the second training set and the third training set, and return to S2-1, otherwise, output the image recognition basic model as the image adaptive recognition basic model;

[0100] The edge features are boundary lines corresponding to different areas of the image.

[0101] In this embodiment, a method for adaptive rapid recognition of images based on deep learning is provided. S2-2-2 involves using image edge features to establish adaptive auxiliary labels, which is based on directly obtaining relevant edge features through image binarization processing without performing steps such as noise reduction and segmentation.

[0102] S2-3 specifically includes:

[0103] S2-3-1, determine whether the calibration output results corresponding to the image adaptive recognition basic model are mutually corresponding. If so, use the current historical image set to divide into a cyclic image library, and use the image adaptive recognition basic model as the image adaptive cyclic recognition model. Otherwise, use the calibration output results of the color shape classification model, shape texture classification model and texture vector classification model corresponding to the image adaptive recognition basic model to perform splicing and restoration processing to obtain a calibrated splicing and restoration multi-layer image, and execute S2-3-2;

[0104] S2-3-2, determine whether the calibrated splicing and restoration multi-layer image has a corresponding image in the historical image set, if so, use the current historical image set to divide it into a cyclic image library and return to S2-1-1, otherwise, execute S2-3-3;

[0105] S2-3-3, determine whether the shape feature points of the secondary features of the image corresponding to the image adaptive recognition basic model correspond to the contour features of the historical image corresponding to the historical image set, if so, use the current historical image set to divide into a cyclic image library, and use the image adaptive recognition basic model as the image adaptive cyclic recognition model, otherwise, execute S2-3-4;

[0106] S2-3-4. Determine whether the shape feature vector of the secondary feature of the image corresponding to the image adaptive recognition basic model corresponds to the regional feature of the historical image corresponding to the historical image set. If so, return to S2-1-5; otherwise, return to S2-1-4.

[0107] In this embodiment, a deep learning-based image adaptive rapid recognition method is provided, wherein the splicing and restoration process is to directly overlap and splice multiple images at the current moment according to the source image to obtain a basic multi-layer and multi-feature image.

[0108] S3 specifically includes:

[0109] S3-1, using the image adaptive cyclic recognition model and the image to be recognized to obtain an initial recognition result;

[0110] S3-2. Perform model tuning and output processing according to the initial recognition result to obtain an image adaptive fast recognition result.

[0111] S3-1 specifically includes:

[0112] S3-1-1, using the image to be recognized input image adaptive cyclic recognition model to obtain color shape classification results, shape texture classification results and texture vector classification results in sequence;

[0113] S3-1-2, determine whether the color shape classification result corresponds to the image pixel of the image to be recognized, if so, execute S3-1-3, otherwise, the output of the image adaptive cyclic recognition model is abnormal, and use the color shape classification result as the initial recognition result;

[0114] S3-1-3, determine whether the shape texture classification result corresponds to the image contour area feature of the image to be recognized, then execute S3-1-4, otherwise, the output of the image adaptive cyclic recognition model is abnormal, and use the color shape classification result as the initial recognition result;

[0115] S3-1-4. Determine whether the texture vector classification result corresponds to the grayscale value of the image to be recognized. If so, the model output is normal and the color shape classification result, shape texture classification result and texture vector classification result are used as initial recognition results. Otherwise, the output of the image adaptive cyclic recognition model is abnormal and the shape texture classification result is used as the initial recognition result.

[0116] S3-2 specifically includes:

[0117] S3-2-1, determine whether the model output corresponding to the initial recognition result is normal, if so, directly output the initial recognition result as the image adaptive fast recognition result, otherwise, execute S3-2-2;

[0118] S3-2-2, obtaining the training set corresponding to the initial recognition result corresponding to the output anomaly of the image adaptive cyclic recognition model as the basic training set for tuning;

[0119] S3-2-3, using the output anomaly corresponding historical image set of the image adaptive cyclic recognition model to calculate the image average gradient value of the historical image;

[0120] S3-2-4, using the image average gradient value of the historical image and the tuning basic training set to perform model adaptive training to obtain an adaptive tuning model;

[0121] S3-2-5, determine whether the number of executions of S3-1-1 at the current moment is 1, if so, return to S3-1-1, otherwise, use the adaptive tuning model of the image to be recognized to obtain the color shape classification result, shape texture classification result and texture vector classification result in sequence as the image adaptive fast recognition result;

[0122] The model output corresponding to the initial recognition result includes a color shape classification result, a shape texture classification result and a texture vector classification result.

[0123] In this embodiment, a method for rapid image adaptive recognition based on deep learning is used to calculate the image average gradient value of the historical image using the output abnormal corresponding historical image set of the image adaptive cyclic recognition model as follows:

[0124]

[0125] Among them, G(x, y) is the image gradient value of the historical image, G x (x, y) is the horizontal gradient of the historical image, G y (x, y) is the vertical gradient of the historical image, n is the number of subsets of the historical image set, and T is the average image gradient value of the historical image.

[0126] In this embodiment, a deep learning-based adaptive fast image recognition method, when applied in an actual system environment, can use the [-1,0,1] gradient operator to perform a convolution operation on the original image to obtain the gradient component gradscalx in the x direction (horizontal direction, with the right as the positive direction), and then use the [1,0,-1]T gradient operator to perform a convolution operation on the original image to obtain the gradient component gradscaly in the y direction (vertical direction, with the upward direction as the positive direction), and finally calculate the image gradient and the overall set average gradient value.

[0127] S3-2-4 specifically includes:

[0128] S3-2-4-1, when the tuned basic training set corresponds to the first training set, the image average gradient value of the historical image is used to correspond to the historical image to update the current first training set to obtain the tuned first training set, and the tuned first training set is used as input, and the first training set corresponds to the second training set as output, and re-training is performed based on deep learning to obtain a tuned color and shape classification model, and the tuned color and shape classification model is used to update the image adaptive recognition basic model to obtain an adaptive tuning model;

[0129] S3-2-4-2, when the tuned basic training set corresponds to the second training set, the image average gradient value of the historical image is used to correspond to the historical image to update the current second training set to obtain the tuned second training set, and the tuned second training set is used as input, and the second training set corresponds to the third training set as output, and a tuned shape texture classification model is obtained by training based on deep learning, and the tuned shape texture classification model is used to update the image adaptive recognition basic model to obtain an adaptive tuning model;

[0130] S3-2-4-3. When the tuned basic training set corresponds to the third training set, the image average gradient value of the historical image is used to correspond to the historical image to update the current third training set to obtain a tuned third training set, and the tuned third training set is used as input, and the shape feature vector of the second training set corresponding to the second training set is used as output, and training is performed based on deep learning to obtain a tuned texture vector classification model, and the tuned texture vector classification model is used to update the image adaptive recognition basic model to obtain an adaptive tuning model.

[0131] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0132] The present invention is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0133] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0134] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0135] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A deep learning-based image adaptive fast recognition method, characterized in that: include: S1, extracting multi-level features of an image to be identified according to the image to be identified to obtain multi-level features of the image to be identified; S1-1, obtaining the image to be recognized at the current moment; S1-2, determining whether the image to be identified is a color image, if so, obtaining corresponding pixels based on the three primary colors RGB of the image to be identified as primary image features, otherwise obtaining the overall pixel grayscale value of the image to be identified as primary image features; S1-3, using the image to be identified based on the SIFT algorithm to obtain shape feature points and shape feature vectors of the identified image as secondary features of the image; S1-4, obtaining the texture features corresponding to the image to be identified at the current moment as the third-level image features; S1-5, using the first-level image features, the second-level image features and the third-level image features as multi-level image features of the image to be identified; Wherein, the overall pixel grayscale value is the grayscale value corresponding to each pixel of the image to be identified; S2. Using the multi-level features of the image to establish an image adaptive cycle recognition model based on deep learning; S2-1, using the multi-level features of the image to establish a basic model for image recognition based on deep learning; S2-1-1, using the first-level image features of the multi-level image features as the first training set; S2-1-2, using the shape feature points of the image secondary features of the image multi-level features as a second training set; S2-1-3, using the three-level image features of the multi-level image features as a third training set; S2-1-4, using the first training set as input, the first training set corresponding to the second training set as output, and performing training based on deep learning to obtain a color and shape classification model; S2-1-5, using the second training set as input, and the third training set corresponding to the second training set as output, to obtain a shape texture classification model through training based on deep learning; S2-1-6, using the third training set as input, and the shape feature vector of the third training set corresponding to the second training set as output, and training based on deep learning to obtain a texture vector classification model; S2-1-7, using the color shape classification model, shape texture classification model and texture vector classification model to connect in sequence as an image recognition basic model; S2-2, using the image recognition basic model to adaptively adjust the image to be recognized to obtain an image adaptive recognition basic model; S2-2-1, acquiring corresponding historical images according to the multi-level features of the image to be identified and establishing a historical image set; S2-2-2, acquiring edge features of a corresponding subset according to the historical image set to establish an adaptive auxiliary label; S2-2-3, using the historical image set to input the color shape classification model, shape texture classification model and texture vector classification model of the image recognition basic model to obtain the output result of the color shape classification model, the output result of the shape texture classification model and the output result of the texture vector classification model in turn; S2-2-4, using the adaptive auxiliary labels to perform image calibration processing on the output results of the color-shape classification model, the output results of the shape-texture classification model, and the output results of the texture vector classification model, respectively, to obtain the calibrated output results of the color-shape classification model, the calibrated output results of the shape-texture classification model, and the calibrated output results of the texture vector classification model; S2-2-5, determining whether the calibration output results of the color shape classification model, the calibration output results of the shape texture classification model, and the calibration output results of the texture vector classification model all correspond to each other, if so, outputting the image recognition basic model as the image adaptive recognition basic model, otherwise, executing S2-2-6; S2-2-6, determining whether the calibration output results of the color shape classification model, the calibration output results of the shape texture classification model, and the calibration output results of the texture vector classification model are mutually non-corresponding, if so, outputting the image recognition basic model as the image adaptive recognition basic model, otherwise, executing S2-2-7; S2-2-7, determine whether the number of trainings of the color shape classification model, shape texture classification model and texture vector classification model corresponding to the current image recognition basic model is 1, if so, use the adaptive auxiliary label to segment the multi-level features of the image, update the first training set, the second training set and the third training set, and return to S2-1, otherwise, output the image recognition basic model as the image adaptive recognition basic model; Wherein, the edge feature is the boundary line corresponding to different areas of the image; S2-3, using the image adaptive recognition basic model to perform cyclic processing to obtain an image adaptive cyclic recognition model; S2-3-1, determine whether the calibration output results corresponding to the image adaptive recognition basic model are mutually corresponding. If so, use the current historical image set to divide into a cyclic image library, and use the image adaptive recognition basic model as the image adaptive cyclic recognition model. Otherwise, use the calibration output results of the color shape classification model, shape texture classification model and texture vector classification model corresponding to the image adaptive recognition basic model to perform splicing and restoration processing to obtain a calibrated splicing and restoration multi-layer image, and execute S2-3-2; S2-3-2, determine whether the calibrated splicing and restoration multi-layer image has a corresponding image in the historical image set, if so, use the current historical image set to divide it into a cyclic image library and return to S2-1-1, otherwise, execute S2-3-3; S2-3-3, determine whether the shape feature points of the secondary features of the image corresponding to the image adaptive recognition basic model correspond to the contour features of the historical image corresponding to the historical image set, if so, use the current historical image set to divide into a cyclic image library, and use the image adaptive recognition basic model as the image adaptive cyclic recognition model, otherwise, execute S2-3-4; S2-3-4, determine whether the shape feature vector of the secondary feature of the image corresponding to the image adaptive recognition basic model corresponds to the regional feature of the historical image corresponding to the historical image set, if so, return to S2-1-5, otherwise, return to S2-1-4; S3. Obtaining an image adaptive fast recognition result according to the image adaptive cyclic recognition model.

2. The image adaptive rapid recognition method based on deep learning as claimed in claim 1, characterized in that: The image adaptive rapid recognition results obtained according to the image adaptive cyclic recognition model include: S3-1, using the image adaptive cyclic recognition model and the image to be recognized to obtain an initial recognition result; S3-2. Perform model tuning and output processing according to the initial recognition result to obtain an image adaptive fast recognition result.

3. The image adaptive rapid recognition method based on deep learning as claimed in claim 2, characterized in that: Obtaining an initial recognition result using the image adaptive cyclic recognition model and the image to be recognized includes: S3-1-1, using the image to be recognized input image adaptive cyclic recognition model to obtain color shape classification results, shape texture classification results and texture vector classification results in sequence; S3-1-2, determine whether the color shape classification result corresponds to the image pixel of the image to be recognized, if so, execute S3-1-3, otherwise, the output of the image adaptive cyclic recognition model is abnormal, and use the color shape classification result as the initial recognition result; S3-1-3, determine whether the shape texture classification result corresponds to the image contour area feature of the image to be recognized, if so, execute S3-1-4, otherwise, the output of the image adaptive cyclic recognition model is abnormal, and use the color shape classification result as the initial recognition result; S3-1-4. Determine whether the texture vector classification result corresponds to the grayscale value of the image to be recognized. If so, the model output is normal, and the color shape classification result, shape texture classification result and texture vector classification result are used as the initial recognition result. Otherwise, the output of the image adaptive cyclic recognition model is abnormal, and the shape texture classification result is used as the initial recognition result.

4. The image adaptive rapid recognition method based on deep learning as claimed in claim 3, characterized in that: The image adaptive rapid recognition result obtained by performing model tuning and output processing according to the initial recognition result includes: S3-2-1, determine whether the model output corresponding to the initial recognition result is normal, if so, directly output the initial recognition result as the image adaptive fast recognition result, otherwise, execute S3-2-2; S3-2-2, obtaining the training set corresponding to the initial recognition result corresponding to the output anomaly of the image adaptive cyclic recognition model as the basic training set for tuning; S3-2-3, using the output anomaly corresponding historical image set of the image adaptive cyclic recognition model to calculate the image average gradient value of the historical image; S3-2-4, using the image average gradient value of the historical image and the tuning basic training set to perform model adaptive training to obtain an adaptive tuning model; S3-2-5, determine whether the number of executions of S3-1-1 at the current moment is 1, if so, return to S3-1-1, otherwise, use the adaptive tuning model of the image to be recognized to obtain the color shape classification result, shape texture classification result and texture vector classification result in sequence as the image adaptive fast recognition result; The model output corresponding to the initial recognition result includes a color shape classification result, a shape texture classification result and a texture vector classification result.

5. The image adaptive rapid recognition method based on deep learning as claimed in claim 4, characterized in that: The adaptive tuning model is obtained by performing model adaptive training using the image average gradient value of the historical image and the tuning basic training set, including: When the tuned basic training set corresponds to the first training set, the image average gradient value of the historical image is used to correspond to the historical image to update the current first training set to obtain the tuned first training set, and the tuned first training set is used as input, and the first training set corresponds to the second training set as output, and re-training is performed based on deep learning to obtain a tuned color and shape classification model, and the tuned color and shape classification model is used to update the image adaptive recognition basic model to obtain an adaptive tuning model; When the tuned basic training set corresponds to the second training set, the image average gradient value of the historical image is used to correspond to the historical image to update the current second training set to obtain a tuned second training set, and the tuned second training set is used as input, and the second training set corresponds to the third training set as output, and a tuned shape texture classification model is obtained by training based on deep learning, and the image adaptive recognition basic model is updated using the tuned shape texture classification model to obtain an adaptive tuning model; When the tuned basic training set corresponds to the third training set, the image average gradient value of the historical image is used to correspond to the historical image to update the current third training set to obtain a tuned third training set, and the tuned third training set is used as input, and the shape feature vector of the second training set corresponding to the second training set is used as output, and training is performed based on deep learning to obtain a tuned texture vector classification model, and the tuned texture vector classification model is used to update the image adaptive recognition basic model to obtain an adaptive tuning model.