A neural network-based electronic card stamp recognition system and method
Through the electronic stamp recognition system based on neural network, multi-level adaptive image enhancement and hierarchical feature optimization deep learning model are used to solve the problems of inaccurate data processing and low recognition accuracy in electronic stamp recognition, and achieve high efficiency. , reliable recognition effect.
Patent Information
- Application Number
- CN202410732621.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-06-07
AI Technical Summary
In the process of identifying electronic stamps, the data processing is not accurate enough and the recognition accuracy is low.
An electronic stamp recognition system based on neural networks is used to denoise and enhance images through multi-level adaptive image enhancement algorithms. It combines hierarchical features to optimize deep learning models and adaptive multi-layer classification algorithms to extract and classify image features to improve recognition. Accuracy.
It significantly improves the quality and feature fidelity of electronic stamp images, enhances the expression ability and distinction of features, achieves high-precision classification results, and improves recognition accuracy and efficiency.
Smart Images

Figure CN118314408B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data recognition, and in particular to an electronic card collection stamp recognition system and method based on a neural network. Background Art
[0002] The electronic card collection stamp is an electronic tool based on information technology for identity authentication and management automation. It uses built-in electronic identification information, such as specific patterns, to quickly and accurately identify and confirm the identity of the cardholder. At the same time, as a digital information carrier, the electronic card collection stamp can realize automatic data collection, transmission and processing, promote the automation and intelligence of management processes, and improve operational efficiency.
[0003] The key attributes and functional features of electronic card stamps are as follows:
[0004] 1. Electronic identity identification: Different from traditional paper identity identification, electronic card stamps carry the identity information of the cardholder in a digital way through technical means such as specific patterns, and have stronger security, portability and scalability.
[0005] 2. Identity verification function: One of the core functions of the electronic card collection stamp is to quickly and accurately identify and confirm the identity of the cardholder, providing a reliable identity verification basis for subsequent business management and services.
[0006] 3. Enabling tool for management automation: The introduction of electronic card collection stamps can reduce manual operation links, realize automatic data collection and processing, and improve management efficiency. The information recorded on the electronic card collection stamp can be seamlessly connected with the back-end management system to realize the automation and intelligence of business processes.
[0007] 4. Wide range of application scenarios: Electronic card collection stamps can be used in multiple fields such as retail, logistics, transportation, exhibitions, etc., and can be used in different business scenarios such as customer points, membership management, vehicle entry and exit registration, event clocking in, etc., and have strong general applicability.
[0008] 5. Information management means: Electronic card collection stamp is one of the important tools for enterprise digital transformation and information management. It helps to optimize business processes, improve operational efficiency, and achieve refined management. It is an important part of modern enterprise information construction.
[0009] In summary, the electronic collection stamp can be understood as an electronic tool that uses information technology to enable traditional identity authentication, signature and card punching functions, and realizes identity authentication and management automation. It digitizes identity information, connects online and offline data, and simplifies operating procedures, thereby exerting great application value in multiple industries such as retail and logistics. As a conceptual term, the specific form and function of the electronic collection stamp may vary depending on the application scenario. For example, in shopping malls, it is mainly used for customer identity identification and points management, while in the logistics field, it focuses on vehicle status tracking and cargo monitoring. However, no matter how the application scenario changes, the core connotation of electronic tools based on information technology for identity authentication and management automation remains consistent.
[0010] In recent years, the development of deep learning technology has brought new opportunities and challenges to the field of image recognition. Deep learning methods, especially convolutional neural networks (CNNs), have shown strong capabilities in image feature extraction and classification. They can automatically learn and extract deep features in images, significantly improving the accuracy and robustness of image recognition. However, when deep learning methods are applied to electronic card stamp recognition, there are still the following technical problems: inaccurate data processing and low recognition accuracy in the process of electronic card stamp recognition. Summary of the invention
[0011] The present invention provides an electronic card stamp recognition system and method based on a neural network, so as to solve the technical problems of inaccurate data processing and low recognition accuracy in the process of electronic card stamp recognition.
[0012] The present invention provides a neural network-based electronic stamp collection recognition system and method, which specifically includes the following technical solutions:
[0013] A method for identifying electronic card stamps based on a neural network comprises the following steps:
[0014] S1. Acquire and intelligently process the original electronic collection card stamp image data to obtain processed electronic collection card stamp image data; extract features from the processed electronic collection card stamp image data to obtain an electronic collection card stamp image feature vector;
[0015] S2. The feature vector of the electronic stamp collection image is learned and optimized through the hierarchical feature optimization deep learning model to obtain a high-level feature vector; and the high-level feature vector is classified using an adaptive multi-layer classification algorithm to obtain the classification result.
[0016] Preferably, the S1 specifically includes:
[0017] In the process of intelligently processing the original electronic card stamp image data, a multi-level adaptive image enhancement algorithm is introduced.
[0018] Preferably, the S1 specifically includes:
[0019] In the process of implementing the multi-level adaptive image enhancement algorithm, an adaptive non-local mean filtering algorithm is introduced to denoise the original electronic stamp collection image; and the denoised electronic stamp collection image is converted to grayscale.
[0020] Preferably, the S1 specifically includes:
[0021] In the process of realizing the multi-level adaptive image enhancement algorithm, the adaptive contrast enhancement algorithm is used to enhance the grayscale processed electronic card stamp image.
[0022] Preferably, the S1 specifically includes:
[0023] The implementation process of the adaptive contrast enhancement algorithm is as follows:
[0024] First, the grayscale processed electronic stamp image is transformed;
[0025] Further, the transformed electronic stamp collection image is subjected to histogram equalization;
[0026] Finally, adaptive contrast enhancement is performed based on the pixel values of the electronic stamp collection image after histogram equalization.
[0027] Preferably, the S2 specifically includes:
[0028] In the specific implementation process of the hierarchical feature optimization deep learning model, the electronic card stamp image feature vector is used as the input of the hierarchical feature optimization deep learning model, and high-level feature extraction processing is performed to obtain a high-level feature vector.
[0029] Preferably, the S2 specifically includes:
[0030] In the implementation process of the adaptive multi-layer classification algorithm, first, the high-level feature vector is transformed through weighted processing; further, the activation function is introduced to perform nonlinear transformation processing on the feature vector after feature transformation, and the feature vector after nonlinear transformation is adaptively weighted; further, the feature vector after adaptive weighting is subjected to multi-layer classification decision processing; finally, the decision after multi-layer classification decision processing is classified to obtain the classification result.
[0031] An electronic card stamp recognition system based on neural network includes the following parts:
[0032] Data acquisition module, data intelligent processing module, feature extraction module, neural network model module, recognition and classification module, database module;
[0033] The data acquisition module is used to collect the electronic card collection stamp image data to obtain the original electronic card collection stamp image data; and transmit the original electronic card collection stamp image data to the data intelligent processing module and the database module;
[0034] The data intelligent processing module performs intelligent processing on the original electronic card collection stamp image data to obtain processed electronic card collection stamp image data; and transmits the processed electronic card collection stamp image data to the feature extraction module;
[0035] The feature extraction module extracts features from the processed electronic card stamp image data to obtain the electronic card stamp image feature vector; and transmits the electronic card stamp image feature vector to the neural network model module and the database module;
[0036] The neural network model module learns and optimizes the electronic card stamp image feature vector through the hierarchical feature optimization deep learning model to obtain a high-level feature vector; and passes the high-level feature vector to the recognition and classification module;
[0037] The recognition and classification module uses an adaptive multi-layer classification algorithm to classify high-level feature vectors to obtain classification results; and stores the classification results in the database module;
[0038] The database module is used to store and manage original electronic card collection stamp image data, electronic card collection stamp image feature vectors and classification results.
[0039] The beneficial effects of the technical solution of the present invention are:
[0040] 1. The present invention effectively removes noise, enhances contrast, and ensures the quality of the image and the fidelity of feature information through a multi-level adaptive image enhancement algorithm; in the process of denoising and enhancement, an adaptive algorithm is used to fully retain the details and edge information in the image, laying a solid foundation for subsequent feature extraction; through intelligent processing, the extracted image feature vector accurately reflects the important information in the image, improving the accuracy and efficiency of subsequent classification and recognition; through intelligent processing and a multi-level adaptive image enhancement algorithm, the quality and feature fidelity of the electronic card collection stamp image are significantly improved, providing an efficient and reliable data basis for subsequent feature extraction and recognition, and having significant technical advantages and application value.
[0041] 2. The present invention optimizes the deep learning model through hierarchical features, automatically extracts higher-level features, and realizes efficient feature learning and optimization; it adopts logarithmic transformation, nonlinear transformation and weighted processing and other technologies to enhance the expressiveness and discrimination of features; the adaptive multi-layer classification algorithm achieves high-precision classification results through multi-layer decision-making and Softmax classification. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 This is a structural diagram of an electronic stamp collection recognition system based on a neural network according to the present invention;
[0043] Figure 2 The present invention is a flowchart of a method for electronic card collection stamp recognition based on neural network. DETAILED DESCRIPTION
[0044] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the technical scheme in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is only a part of the embodiment of the present invention, not all 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.
[0045] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0046] The specific scheme of the electronic stamp collection recognition system and method based on neural network provided by the present invention is described in detail below with reference to the accompanying drawings.
[0047] See attached Figure 1 , which shows a structure diagram of an electronic stamp collection recognition system based on a neural network provided by an embodiment of the present invention, the system includes the following parts:
[0048] Data acquisition module, data intelligent processing module, feature extraction module, neural network model module, recognition and classification module, database module;
[0049] The data acquisition module is used to collect the electronic card collection stamp image data through an image acquisition device such as a camera or a scanner, obtain the original electronic card collection stamp image data, and transmit the original electronic card collection stamp image data to the data intelligent processing module and the database module;
[0050] The data intelligent processing module performs intelligent processing on the original electronic card collection stamp image data to obtain processed electronic card collection stamp image data, and transmits the processed electronic card collection stamp image data to the feature extraction module;
[0051] The feature extraction module extracts key features from the processed electronic card stamp image data to obtain the electronic card stamp image feature vector, and transmits the electronic card stamp image feature vector to the neural network model module and the database module;
[0052] The neural network model module learns and optimizes the electronic stamp image feature vector through a hierarchical feature optimization deep learning model, automatically extracts higher-level features and implements preliminary classification, and passes the high-level feature vector to the recognition and classification module;
[0053] The recognition and classification module uses an adaptive multi-layer classification algorithm to classify high-level feature vectors, obtain classification results, determine the specific category of the electronic card stamp, and store the classification results in the database module;
[0054] The database module stores and manages the original electronic card stamp image data, electronic card stamp image feature vectors and classification results, and provides data query services for users.
[0055] See attached Figure 2 , which shows a flow chart of an electronic stamp collection recognition method based on a neural network provided by an embodiment of the present invention, the method comprising the following steps:
[0056] S1. Acquire and intelligently process the original electronic collection card stamp image data to obtain processed electronic collection card stamp image data; extract features from the processed electronic collection card stamp image data to obtain an electronic collection card stamp image feature vector;
[0057] The electronic card collection stamp image data is collected by an image acquisition device such as a camera or a scanner to obtain the original electronic card collection stamp image data.
[0058] The original electronic stamp collection image data is processed intelligently using a multi-level adaptive image enhancement algorithm combined with a variety of image processing technologies to ensure the quality of the image and the fidelity of the feature information. The specific steps are as follows:
[0059] (1) Image denoising
[0060] The adaptive non-local mean filtering algorithm is introduced to denoise the original electronic stamp collection image to remove noise in the image and improve the image quality. The specific implementation formula is as follows:
[0061] ,
[0062] ,
[0063] in, is the denoised electronic stamp image at coordinates The pixel value at ; is the original electronic card stamp image at coordinates The pixel value at ; is the search window of the electronic card stamp image, indicating the neighborhood considered when calculating the weight; is the coordinate and The weight between is the filtering parameter that controls the intensity difference of the electronic stamp collection image; It is the filtering parameter that controls the gradient difference of the electronic card stamp image; It indicates the coordinates of the original electronic stamp image. The gradient at .
[0064] The electronic stamp collection image after denoising is subjected to image grayscale processing using an existing grayscale processing algorithm; the grayscale processing method is a technical means well known to those skilled in the art and will not be described in detail here.
[0065] (2) Image enhancement
[0066] The adaptive contrast enhancement algorithm is used to enhance the grayscale electronic stamp collection image to highlight the important features in the image. The specific implementation formula is as follows:
[0067] Transform the grayscaled electronic stamp image:
[0068] ,
[0069] in, The grayscale image of the electronic card stamp is at coordinates The pixel value at ; is the logarithmically transformed electronic card stamp image at coordinates The pixel value at ; is the maximum pixel value of the grayscale electronic stamp image;
[0070] Perform histogram equalization on the transformed electronic stamp collection image:
[0071] ,
[0072] in, is the electronic stamp image after histogram equalization at coordinate The pixel value at ; is the minimum pixel value of the electronic stamp image after logarithmic transformation; is the maximum pixel value of the electronic card stamp image after logarithmic transformation;
[0073] Finally, apply adaptive contrast enhancement:
[0074] ,
[0075] in, The coordinates of the electronic stamp image after adaptive contrast enhancement are The pixel value at ; Yes and is the contrast enhancement parameter, which is used to control the intensity and center of the enhancement effect; and is the number of rows and columns of the electronic stamp collection image after histogram equalization; is the electronic stamp image after histogram equalization at coordinate The pixel value at ; is the electronic stamp image after histogram equalization at coordinate The local mean at ; is the global mean of the electronic stamp image after histogram equalization; is the global standard deviation of the electronic stamp image after histogram equalization;
[0076] The enhanced electronic stamp collection image is normalized so that the enhanced electronic stamp collection image data is within a unified range, which is convenient for subsequent feature extraction and recognition. The normalization method is a technical means well known to those skilled in the art and will not be described in detail here.
[0077] Through the above processing, the original electronic card collection stamp image data is intelligently processed, and finally high-quality, feature-significant processed electronic card collection stamp image data is obtained, laying the foundation for subsequent feature extraction and recognition.
[0078] In the processed electronic stamp collection image data, an image feature extraction algorithm is used to extract key features to obtain the electronic stamp collection image feature vector; the image feature extraction algorithm is a technical means well known to those skilled in the art and will not be described in detail here.
[0079] S2. Learn and optimize the electronic stamp image feature vector through the hierarchical feature optimization deep learning model to obtain a high-level feature vector; and use an adaptive multi-layer classification algorithm to classify the high-level feature vector to obtain the classification result.
[0080] The hierarchical feature optimization deep learning model is used to learn and optimize the electronic card stamp image feature vector, automatically extract higher-level features and achieve preliminary classification. The specific implementation process is as follows:
[0081] The electronic card stamp image feature vector is used as the input of the hierarchical feature optimization deep learning model to perform high-level feature extraction. The specific process is as follows:
[0082] Initial optimization features:
[0083] ,
[0084] in, is the electronic stamp image feature vector, indicating that The characteristic value of Indicates at location The characteristic value of is the preliminary optimized feature vector, which represents the sum of the square root eigenvalues within the feature optimization window. The feature vector is preliminarily optimized through square root transformation and summation operations; It is the size of the feature optimization window in the horizontal axis direction, which determines the width of the window; It is the size of the feature optimization window in the vertical axis direction, which determines the height of the window; It is the index variable within the feature optimization window, indicating the relative position within the window.
[0085] Transformation processing of preliminary optimization features:
[0086] ,
[0087] ,
[0088] in, is the logarithmically transformed feature vector, which represents the initial optimized feature vector enhanced by logarithmic transformation. Perform logarithmic transformation to improve the difference of features; It is the feature vector after nonlinear transformation, which represents the logarithmic transformation feature after nonlinear transformation. Nonlinear transformation is introduced by fraction and absolute value operation to further enhance the feature expression ability.
[0089] Weighted processing:
[0090] ,
[0091] in, is the weight matrix, which represents the weight value in the weighted sum operation and is used to adjust the feature contribution; is the weighted eigenvector, which means that The result of weighted summation of the features after nonlinear transformation. The contribution of the features is adjusted through the weighted summation operation.
[0092] Normalization:
[0093] ,
[0094] in, is the final high-level feature vector after normalization, indicating the The final eigenvalue of . For ease of processing, the following , Represents a high-level eigenvector. Through normalization, the eigenvalues are made within a uniform range to facilitate subsequent processing.
[0095] The adaptive multi-layer classification algorithm is used to classify the high-level feature vectors, obtain the classification results, and realize the electronic card stamp recognition based on neural network. The implementation process of the adaptive multi-layer classification algorithm is as follows:
[0096] The high-level feature vectors are transformed by weighted processing to enhance feature recognition. The implementation formula is as follows:
[0097] ,
[0098] in, is the feature transformation weight matrix, size is , used for linear transformation; is the bias vector, with a size of , used for weighted adjustment; is the feature vector after feature transformation, with dimension ;
[0099] Introduce activation function to transform the feature vector Perform nonlinear transformation to obtain the eigenvector after nonlinear transformation , the activation function is , , can be set according to the specific implementation scenario, and is not limited here;
[0100] Further, the eigenvector after nonlinear transformation Perform adaptive weighted processing, the specific formula is as follows:
[0101] ,
[0102] in, is the weight matrix, size is , used for adaptive weighting; is the adaptively weighted feature vector with dimension ; represents transpose;
[0103] The adaptively weighted feature vector Perform multi-layer classification decision processing:
[0104] No. Layer Decision:
[0105] ,
[0106] in, It is The decision weight matrix of the layer; It is a small amount used to prevent division by zero errors; It is The decision output of the layer; is an index variable used to indicate the position of an element in a feature vector or matrix; the number of decision layers It can be set according to the specific implementation scenario and is not limited here.
[0107] Further, the decision after classification decision processing is used The classification algorithm performs the final classification processing to obtain the classification result, realizing the electronic card stamp recognition based on neural network. The classification algorithm is a technical means well known to those skilled in the art and will not be described in detail here.
[0108] In summary, a neural network-based electronic stamp collection recognition system and method have been completed.
[0109] The order of the embodiments of the invention is for description only and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0110] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
[0111] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that the technical solutions described in the above embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention.
Claims
1. A method for identifying electronic card stamps based on neural network, characterized in that: The following steps are involved: S1. Acquire and intelligently process the original electronic card stamp image data to obtain processed electronic card stamp image data, wherein the intelligent processing includes denoising, grayscale processing, histogram equalization processing, and adaptive contrast enhancement processing; extract features from the processed electronic card stamp image data to obtain an electronic card stamp image feature vector; S2. The feature vector of the electronic stamp image is learned and optimized through the hierarchical feature optimization deep learning model to obtain a high-level feature vector. The specific implementation process of the hierarchical feature optimization deep learning model is as follows: the feature vector of the electronic stamp image is used as the input of the hierarchical feature optimization deep learning model to perform high-level feature extraction processing. First, the feature vector of the electronic stamp image is preliminarily optimized to obtain a preliminary optimized feature vector; further, the preliminary optimized feature vector is logarithmically transformed to obtain a feature vector after logarithmic transformation; further, nonlinear transformation is introduced through fraction and absolute value operations, and the feature vector after logarithmic transformation is transformed to obtain a feature vector after nonlinear transformation. The calculation formula is: , in, is the logarithmically transformed eigenvector, is the feature vector after nonlinear transformation; further, the feature vector after nonlinear transformation is weighted to obtain the weighted feature vector; finally, the weighted feature vector is normalized to obtain the high-level feature vector; and the high-level feature vector is classified using an adaptive multi-layer classification algorithm to obtain the classification result.
2. The method for electronic stamp collection recognition based on neural network according to claim 1, characterized in that: The S1 specifically includes: In the process of intelligently processing the original electronic card stamp image data, a multi-level adaptive image enhancement algorithm is introduced.
3. The method for identifying electronic stamp collection cards based on neural network according to claim 2, characterized in that: The S1 specifically includes: In the process of implementing the multi-level adaptive image enhancement algorithm, an adaptive non-local mean filtering algorithm is introduced to denoise the original electronic stamp collection image; and the denoised electronic stamp collection image is converted to grayscale.
4. The method for identifying electronic stamp collector cards based on neural network according to claim 3 is characterized in that: The S1 specifically includes: In the process of realizing the multi-level adaptive image enhancement algorithm, the adaptive contrast enhancement algorithm is used to enhance the grayscale processed electronic card stamp image.
5. The method for identifying electronic stamp collection cards based on neural network according to claim 4, characterized in that: The S1 specifically includes: The implementation process of the adaptive contrast enhancement algorithm is as follows: First, the grayscale processed electronic stamp image is transformed; Further, the transformed electronic stamp collection image is subjected to histogram equalization; Finally, adaptive contrast enhancement is performed based on the pixel values of the electronic stamp collection image after histogram equalization.
6. The method for electronic stamp collection recognition based on neural network according to claim 1, characterized in that: The S2 specifically includes: In the implementation process of the adaptive multi-layer classification algorithm, first, the high-level feature vector is weighted to achieve feature transformation; further, the activation function is introduced to perform nonlinear transformation on the feature vector after feature transformation, and the feature vector after nonlinear transformation is adaptively weighted. The specific formula is as follows: , in, is the weight matrix; is the eigenvector after nonlinear transformation; is the adaptively weighted eigenvector; represents transposition; further, the adaptively weighted feature vector is subjected to multi-layer classification decision processing, and the calculation formula is as follows: No. Layer Decision: , in, It is The decision weight matrix of the layer; is a constant used to prevent division by zero errors; It is The decision output of the layer; 𝜉 is the index variable; finally, the decisions processed by the multi-layer classification decision processing are classified to obtain the classification results.
7. A neural network-based electronic stamp collector recognition system, applied to the neural network-based electronic stamp collector recognition method according to claim 1, characterized in that: Includes the following sections: Data acquisition module, data intelligent processing module, feature extraction module, neural network model module, recognition and classification module, database module; The data acquisition module is used to collect the electronic card collection stamp image data to obtain the original electronic card collection stamp image data; and transmit the original electronic card collection stamp image data to the data intelligent processing module and the database module; The data intelligent processing module performs intelligent processing on the original electronic card collection stamp image data to obtain processed electronic card collection stamp image data; and transmits the processed electronic card collection stamp image data to the feature extraction module; The feature extraction module extracts features from the processed electronic card stamp image data to obtain the electronic card stamp image feature vector; and transmits the electronic card stamp image feature vector to the neural network model module and the database module; The neural network model module learns and optimizes the electronic card stamp image feature vector through the hierarchical feature optimization deep learning model to obtain a high-level feature vector; and passes the high-level feature vector to the recognition and classification module; The recognition and classification module uses an adaptive multi-layer classification algorithm to classify high-level feature vectors to obtain classification results; and stores the classification results in the database module; The database module is used to store and manage original electronic card collection stamp image data, electronic card collection stamp image feature vectors and classification results.
