Digital picture book identification method and system, electronic equipment and storage medium

By extracting and fusion of multimodal features of digital picture books, spatial dimension alignment and feature fusion processing are performed, the problem of insufficient identification accuracy and generalization capabilities in the prior art is solved, and higher identification accuracy and stability are achieved.

CN118885969APending Publication Date: 2024-11-01LUCA (HANGZHOU) INTELLIGENT TECHNOLOGY CO LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202411040669.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

Existing digital picture book recognition methods are difficult to effectively capture and utilize the semantic relationships and contextual dependencies between text, images, and audio information, resulting in limited recognition accuracy and weak generalization ability, making it difficult to adapt to the characteristics of different picture books, resulting in recognition Not very accurate.

Method used

By obtaining multimodal data of digital picture books, using preset feature extraction networks to extract text, image and audio features, and perform spatial dimension alignment processing. The input feature fusion module performs attention processing and multi-layer perception processing to generate picture book recognition results.

Benefits of technology

Improve the accuracy and reliability of digital picture book recognition. Through attention mechanism and multi-layer perception processing, we adaptively pay attention to important parts of picture book content, extract high-level semantic information, enhance recognition performance, and improve the expression ability and application of image features. improves the accuracy and stability of identification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118885969A_ABST
    Figure CN118885969A_ABST
Patent Text Reader

Abstract

The invention provides a digital picture book recognition method and system, electronic equipment and a storage medium, and relates to the field of picture book recognition. According to the method, digital picture book data containing texts, images and audios are obtained, and then feature data of three modes are extracted through a preset feature extraction network. In order to facilitate subsequent feature fusion, the extracted digital picture book feature data are subjected to spatial dimension alignment processing, so that the digital picture book feature data have consistent dimensions and representation forms. Next, the aligned target digital picture book feature data are input into a preset feature fusion module, deep fusion and interaction are carried out on multi-modal features through an attention mechanism and a multi-layer perceptron, and finally a picture book recognition result comprehensively considering text, image and audio information is obtained. According to the method, through technical means of feature extraction, alignment, fusion and the like, effective integration and semantic understanding of cross-modal information are realized, and the accuracy of digital picture book recognition is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of picture book recognition, and in particular to a digital picture book recognition method, system, electronic device and storage medium. Background Art

[0002] At present, digital picture book content recognition mainly adopts rule-based or traditional machine learning methods. These methods usually rely on manually designed features and rules, or use shallow machine learning models such as support vector machines (SVMs) and decision trees. However, these methods have certain limitations and shortcomings in identifying digital picture book content.

[0003] First, digital picture books contain rich text, image, and audio information, among which there are complex semantic associations and contextual dependencies. Traditional recognition methods have difficulty effectively capturing and utilizing this associated information, resulting in limited recognition accuracy. Second, the content of digital picture books is diverse and variable, and different picture books may have large differences in text representation, image style, and audio performance. Methods based on rules or shallow machine learning have weak generalization capabilities and are difficult to adapt to the characteristics of different picture books, resulting in low recognition accuracy. Summary of the invention

[0004] The present application provides a digital picture book recognition method, system, electronic device and storage medium, which are used to improve the accuracy of digital picture book recognition.

[0005] In a first aspect, the present application provides a digital picture book recognition method, the method comprising: Acquire digital picture book data, wherein the digital picture book data includes picture book text data, picture book image data and picture book audio data; Inputting the digital picture book data into a preset feature extraction network to obtain digital picture book feature data, wherein the digital picture book feature data includes text feature data, image feature data and audio feature data; Performing spatial dimension alignment processing on the digital picture book feature data to obtain target digital picture book feature data; The target digital picture book feature data is input into a preset feature fusion module. The specific processing process is: attention processing and multi-layer perception processing are performed on the target digital picture book feature data in sequence to obtain a picture book recognition result.

[0006] In the above technical solution, by acquiring the multimodal data of the digital picture book, the preset feature extraction network is used to extract the text, image and audio features, and the spatial dimension alignment processing is performed to obtain the target digital picture book feature data. Then, the target digital picture book feature data is input into the preset feature fusion module, and the final picture book recognition result is obtained through attention processing and multi-layer perception processing. This method makes full use of the multimodal information of the digital picture book, and effectively improves the accuracy and reliability of recognition through feature extraction, alignment and fusion. At the same time, the introduction of attention mechanism and multi-layer perception processing enables the model to adaptively focus on the important parts of the picture book content, extract high-level semantic information, and further enhance the recognition performance.

[0007] In a second aspect of the present application, a digital picture book recognition system is provided, the system comprising: A digital picture book data acquisition module, used to acquire digital picture book data, wherein the digital picture book data includes picture book text data, picture book image data and picture book audio data; A feature data extraction module, used for inputting the digital picture book data into a preset feature extraction network to obtain digital picture book feature data, wherein the digital picture book feature data includes text feature data, image feature data and audio feature data; A target feature data determination module is used to perform spatial dimension alignment processing on the digital picture book feature data to obtain target digital picture book feature data; The picture book recognition module is used to input the target digital picture book feature data into a preset feature fusion module. The specific processing process is: performing attention processing and multi-layer perception processing on the target digital picture book feature data in sequence to obtain a picture book recognition result.

[0008] In a third aspect of the present application, a computer storage medium is provided, wherein the computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the above method steps.

[0009] In the fourth aspect of the present application, an electronic device is provided, including a processor, a memory, a user interface and a network interface, the memory is used to store instructions, the user interface and the network interface are used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the electronic device executes the above method.

[0010] In summary, one or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages: 1. The present invention obtains the multimodal data of digital picture books, uses a preset feature extraction network to extract text, image and audio features, and performs spatial dimension alignment processing to obtain the target digital picture book feature data. Then, the target digital picture book feature data is input into a preset feature fusion module, and the final picture book recognition result is obtained through attention processing and multi-layer perception processing. This method makes full use of the multimodal information of digital picture books, and effectively improves the accuracy and reliability of recognition through feature extraction, alignment and fusion. At the same time, the introduction of attention mechanism and multi-layer perception processing enables the model to adaptively focus on the important parts of the picture book content, extract high-level semantic information, and further enhance the recognition performance.

[0011] 2. This application makes full use of the semantic information and attention mechanism of the image by performing a series of operations such as data labeling, fusion processing, feature extraction, attention mechanism processing and feature processing on the picture book image data, and extracts more accurate, comprehensive and targeted image feature data. This method not only takes into account the original pixel information of the image, but also integrates the semantic annotation information. It adaptively focuses on the important areas and key objects of the image through the attention mechanism, suppresses irrelevant and redundant information, and obtains high-quality and highly discriminative image feature representation. The quality of image feature data directly affects the performance of subsequent cross-modal fusion and semantic understanding. The method of the present invention effectively improves the expressiveness and applicability of image features through a series of technical means, laying a solid foundation for achieving high-accuracy and high-intelligence picture book semantic understanding.

[0012] 3. This application realizes the alignment and unification of digital picture book features in spatial dimensions by performing a series of operations such as size unification, channel number alignment, hierarchical arrangement, normalization, flattening and dimensional mapping on digital picture book feature data. This alignment process not only takes into account factors such as feature size, number of channels, and hierarchical structure, but also performs transformations such as normalization and flattening, so that digital picture book features from different sources and forms can be mapped to a common feature space with consistent dimensions and representations. The target digital picture book feature data after spatial dimension alignment has better comparability, compatibility and consistency, which provides convenient conditions for subsequent cross-modal feature fusion and semantic understanding. At the same time, the aligned feature data also has better numerical stability and computational efficiency, which is conducive to improving the training speed and generalization ability of the model. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 A flowchart of a digital picture book recognition method provided in an embodiment of the present application; Figure 2 An architecture diagram of a digital picture book recognition system provided in an embodiment of the present application; Figure 3A schematic diagram of the structure of an electronic device provided in this application. DETAILED DESCRIPTION

[0014] In order to enable technicians in this field to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.

[0015] In the description of the embodiments of the present application, words such as "for example" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "for example" or "for example" is intended to present related concepts in a specific way.

[0016] In the description of the embodiments of the present application, the meaning of the term "multiple" refers to two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.

[0017] In order to facilitate understanding of the method and system provided by the embodiments of the present application, before introducing the embodiments of the present application, the background of the embodiments of the present application is first introduced.

[0018] With the development of digital technology, digital picture books, as a new form of children's reading, have received widespread attention and application. Digital picture books not only contain the text and pictures of traditional paper picture books, but also integrate multimedia elements such as audio and animation, providing children with a more vivid and interactive reading experience. However, how to accurately identify and understand the content of digital picture books is an urgent problem to be solved.

[0019] At present, digital picture book content recognition mainly adopts rule-based or traditional machine learning methods. These methods usually rely on manually designed features and rules, or use shallow machine learning models such as support vector machines (SVMs) and decision trees. However, these methods have certain limitations and shortcomings in identifying digital picture book content.

[0020] First, digital picture books contain rich text, image, and audio information, among which there are complex semantic associations and contextual dependencies. Traditional recognition methods are difficult to effectively capture and utilize this associated information, which restricts recognition accuracy. Secondly, the content of digital picture books is diverse and variable, and different picture books may have significant differences in text representation, image style, and audio performance. Methods based on rules or shallow machine learning have weak generalization capabilities and are difficult to adapt to the characteristics of different picture books, which in turn affects recognition accuracy.

[0021] In addition, existing recognition methods usually treat text, images, and audio as independent modalities, ignoring the complementarity and synergy between them. The recognition results of a single modality may be biased and uncertain, making it difficult to obtain a comprehensive and accurate understanding of the picture book content.

[0022] After the background introduction of the above content, those skilled in the art can understand the problems existing in the prior art. The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments.

[0023] Based on the above background technology, please refer to Figure 1 , Figure 1 A flowchart of a digital picture book recognition method provided in an embodiment of the present application is provided. The system can be implemented by a computer program or can be run as an independent tool application. Specifically, in an embodiment of the present application, the method can be applied on a server, but can also be applied on electronic devices such as a server. A digital picture book recognition method includes the following steps: S101, acquiring digital picture book data, wherein the digital picture book data includes picture book text data, picture book image data and picture book audio data; Specifically, the digital picture book block number recognition method of the present invention first needs to obtain digital picture book data, including picture book text data, picture book image data and picture book audio data. This step is the basis of the entire recognition process, because only by obtaining complete and high-quality digital picture book data can reliable input be provided for subsequent feature extraction and fusion.

[0024] In specific implementation, digital picture book data can be obtained in a variety of ways. A common method is to directly extract relevant data from the digital picture book data. For example, for a digital picture book data containing text, images, and audio, a text parsing tool can be used to extract the picture book text data, an image processing library can be used to read the picture book image data, and an audio decoder can be used to extract the picture book audio data. Another way is to obtain data through a digital picture book platform or database, which usually has structured storage for digital picture books and can easily obtain the required text, image, and audio data.

[0025] When acquiring picture book text data, you need to pay attention to the text format, encoding, and possible noise or irregularities. For picture book image data, you need to consider image resolution, color space, and possible occlusion, blur, and other issues. For picture book audio data, you need to pay attention to the audio sampling rate, number of channels, and clarity and integrity of the voice. In order to ensure the quality of the acquired data, you can preprocess the data, such as text cleaning, image enhancement, and audio noise reduction.

[0026] Acquiring high-quality digital picture book data is crucial for subsequent recognition tasks. Complete and accurate picture book text data can provide reliable input for text feature extraction, so that the extracted text features can accurately represent the semantic content of the picture book. Clear and detailed picture book image data can help extract more discriminative image features and capture the visual information in the picture book. High-fidelity and synchronized picture book audio data can provide a good foundation for audio feature extraction, so that the extracted audio features can reflect the voice and emotional information of the picture book.

[0027] By acquiring digital picture book data including picture book text data, picture book image data and picture book audio data, a solid data foundation is laid for subsequent feature extraction and fusion. This step fully considers the multimodal characteristics of digital picture books and provides the necessary conditions for using multimodal information for recognition. At the same time, by quality controlling and preprocessing the acquired data, the reliability and applicability of the data can be further improved, providing high-quality input for subsequent recognition tasks, and improving the accuracy and stability of recognition.

[0028] S102, inputting the digital picture book data into a preset feature extraction network to obtain digital picture book feature data, wherein the digital picture book feature data includes text feature data, image feature data and audio feature data; Specifically, after acquiring the digital picture book data, the next step of the digital picture book block number recognition method of the present invention is to input the digital picture book data into a preset feature extraction network to obtain digital picture book feature data, including text feature data, image feature data and audio feature data. The purpose of this step is to extract high-level, semantically rich feature representations from the original digital picture book data, laying the foundation for subsequent feature fusion and recognition.

[0029] Specifically, the preset feature extraction network is usually a deep learning model composed of multiple neural network layers. After training and optimization with a large amount of data, it can automatically learn and extract key features from the data. For text data, text feature extraction models based on recurrent neural networks (RNN) or convolutional neural networks (CNN), such as long short-term memory networks (LSTM), gated recurrent units (GRU), or text convolutional neural networks (Text-CNN), can be used. These models can capture contextual information and semantic relationships in text data and generate compact and expressive text feature data. For image data, classic convolutional neural network architectures such as AlexNet, VGGNet, or ResNet can be used to extract local and global features of images through convolution and pooling operations to obtain image feature data. For audio data, audio feature extraction models based on convolutional neural networks or recurrent neural networks, such as WaveNet, SoundNet, or LSTM-RNN, can be used to capture the time and frequency characteristics of audio signals and generate audio feature data representing audio content.

[0030] During the implementation process, the obtained picture book text data, picture book image data and picture book audio data are respectively input into the corresponding preset feature extraction network. The text feature extraction network encodes and represents the picture book text data, and extracts the text feature data containing semantic information. The image feature extraction network performs convolution and feature mapping on the picture book image data to obtain image feature data representing the visual content of the image. The audio feature extraction network performs time-frequency analysis and feature abstraction on the picture book audio data to generate audio feature data reflecting the audio semantics. Through the processing of the preset feature extraction network, the original digital picture book data is converted into a more abstract and high-level feature representation, which contains the key information and semantic attributes of the picture book content.

[0031] Based on the above embodiment, as an optional embodiment, the preset feature extraction network includes a text feature extraction network, an image feature extraction network and an audio extraction network; the step of inputting the digital picture book data into the preset feature extraction network to obtain the digital picture book feature data includes: S201, inputting the picture book text data into the text feature extraction network to obtain the text feature data; Specifically, in the digital picture book block number recognition method of the present invention, the preset feature extraction network includes a text feature extraction network, an image feature extraction network and an audio feature extraction network, which are respectively used to process the text, image and audio data in the digital picture book. In the process of inputting the digital picture book data into the preset feature extraction network to obtain the digital picture book feature data, one of the important steps is to input the picture book text data into the text feature extraction network to obtain the text feature data.

[0032] Picture book text data contains rich semantic information, such as storyline, character dialogue, and environment description, which plays a key role in understanding the content of picture books and identifying the number of picture book blocks. In order to effectively extract and represent this text information, a specially designed text feature extraction network is required. Text feature extraction networks usually use models based on deep learning, such as recurrent neural networks (RNNs) and convolutional neural networks (CNNs), which can automatically learn and capture key features and semantic information in text data.

[0033] During the implementation process, the picture book text data is first preprocessed, such as word segmentation, removal of stop words, and construction of word vector representation, to convert it into a format suitable for input into the text feature extraction network. Then, the preprocessed picture book text data is input into the text feature extraction network. The network generates compact and expressive text feature data by encoding, feature extraction, and semantic abstraction of text data. Common text feature extraction methods include RNN models based on LSTM (Long Short-Term Memory Network) and GRU (Gated Recurrent Unit), and CNN models based on TextCNN (Text Convolutional Neural Network) and TextRNN (Text Recurrent Neural Network). These models learn robust and generalized text feature representations through training on large-scale text data, and can effectively capture the semantic content of picture book texts.

[0034] The advantages of using a text feature extraction network to process picture book text data are that, first, the deep learning model can automatically learn and extract discriminative features from the text without the need for manual feature engineering, greatly reducing labor costs. Secondly, by training on massive text data, the text feature extraction network can learn semantically rich and generalizable text feature representations that are suitable for picture book texts of different styles and contents. In addition, the extracted text feature data can effectively represent the key information and semantic attributes of the picture book text, providing important information support for subsequent feature fusion and picture book block number recognition.

[0035] S202, inputting the picture book image data into the image feature extraction network to obtain the image feature data; Specifically, in the method for identifying the number of blocks in a digital picture book of the present invention, in the process of inputting the digital picture book data into a preset feature extraction network to obtain the digital picture book feature data, in addition to inputting the picture book text data into the text feature extraction network, it is also necessary to input the picture book image data into the image feature extraction network to obtain the image feature data. This step is crucial for capturing the visual information and scene features of the picture book content.

[0036] Picture book image data carries rich visual information, such as character images, scene layout, color style, etc., which plays an important role in understanding picture book stories and identifying the number of picture book blocks. In order to effectively extract and represent these image features, a specially designed image feature extraction network is required. Image feature extraction networks usually use deep learning models based on convolutional neural networks (CNN), such as AlexNet, VGGNet, ResNet, etc., which can automatically learn and extract key features and semantic information from image data.

[0037] During the implementation process, the picture book image data is first preprocessed, such as image scaling, normalization, data enhancement, etc., to convert it into a format suitable for input into the image feature extraction network. Then, the preprocessed picture book image data is input into the image feature extraction network. Through multi-layer convolution and pooling operations, the network gradually extracts local features and high-level semantic information of the image to generate compact and expressive image feature data. Common image feature extraction methods include CNN-based models, such as AlexNet, VGGNet, ResNet, Inception, etc. These models learn robust and generalized image feature representations through training on large-scale image datasets, and can effectively capture the visual content and semantic attributes of picture book images.

[0038] Based on the above embodiment, as an optional embodiment, the step of inputting the picture book image data into the image feature extraction network to obtain the image feature data includes: S301, annotating the picture book image data to obtain annotated data; Specifically, data labeling of picture book image data usually requires human participation. First, a set of labeling specifications and labeling systems need to be defined to clarify the image attributes and categories that need to be labeled. Then, the labeling personnel carefully observe and analyze each picture book image sample and assign corresponding labels or attribute descriptions to them according to the labeling specifications. The labeling process can use special labeling tools or platforms, such as LabelMe, LabelImg, etc. These tools provide convenient interfaces and functions, support multi-person collaborative labeling and visual verification of labeling results. After the labeling is completed, the labeled data needs to be quality checked and cleaned to remove erroneous or inconsistent labeling to ensure the accuracy and reliability of the labeled data.

[0039] The advantages of data annotation for picture book image data are that, first, the annotated data provides additional supervisory information about the image content, allowing the image feature extraction network to use this information for supervised learning during training, thereby learning more accurate and semantically rich image feature representations. Secondly, annotated data can help the image feature extraction network better understand and distinguish images of different categories or attributes, and improve the discriminability and generalization of feature representations. In addition, annotated data can also be used to evaluate and optimize the performance of the image feature extraction network. By comparing the network's prediction results with the annotated true labels, evaluation indicators such as accuracy and recall can be calculated, thereby guiding the improvement and tuning of the network.

[0040] S302: fusing the picture book image data and the annotation data to obtain fused image features; Specifically, the fusion processing of image data and annotation data can adopt a variety of strategies and methods. A common method is to embed the annotation information directly into the image pixels, such as converting the annotated category label or attribute description into a one-hot encoding or word embedding vector, and then splicing or superimposing it with the image pixel value to form an augmented image feature. Another method is to use the annotation information to enhance and transform the image, such as cropping, scaling or rotating the image according to the annotated object position information, or stylizing the image according to the annotated scene type to generate a variety of image samples. Image data and annotation data can also be input into a specific neural network model, and the fused image feature representation can be learned through end-to-end training, such as using multimodal learning methods, designing appropriate network structures and loss functions, and realizing deep fusion of image and annotation information.

[0041] S303, extracting features from the fused image features, and then performing attention mechanism processing on the fused image features after feature extraction to obtain attention features; Specifically, after obtaining the fused image features, in order to further extract and enhance the representation ability of the image features, it is necessary to perform feature extraction and attention mechanism processing on the fused image features. First, feature extraction is performed on the fused image features, aiming to automatically learn and extract more abstract and high-level feature representations from the fused image data. Then, the attention mechanism is processed on the fused image features after feature extraction to obtain the attention features. S304: Perform feature processing on the attention feature to obtain the image feature data.

[0042] Specifically, after obtaining the attention features, in order to further optimize and refine the feature representation, the attention features need to be processed to obtain the final image feature data. This step aims to fine-grainedly adjust and optimize the attention features through operations such as feature transformation, feature selection, and feature fusion, thereby improving the compactness, robustness, and discriminability of the features, thereby obtaining a more refined and effective image feature representation.

[0043] Feature processing refers to the process of further processing and optimizing the obtained attention features based on feature extraction and attention mechanism. Common feature processing methods include feature normalization, feature dimension reduction, feature combination, etc. Feature normalization aims to unify and standardize features of different dimensions or scales, so that the features are in the same dimension and range, and improve the comparability and stability of the features. Common normalization methods include maximum and minimum value normalization, zero mean unit variance normalization, etc. Feature dimension reduction is to reduce the dimension and redundancy of features through feature selection or feature transformation, and extract the most discriminative and informative feature subsets. Common dimensionality reduction methods include principal component analysis (PCA), independent component analysis (ICA), linear discriminant analysis (LDA), etc. Feature combination is to fuse and integrate features from different sources or levels, and use the complementarity and diversity between features to obtain a more comprehensive and robust feature representation.

[0044] S203, inputting the picture book audio data into the audio feature extraction network to obtain the audio feature data.

[0045] Specifically, in the method for identifying the number of blocks in a digital picture book of the present invention, in the process of inputting the digital picture book data into a preset feature extraction network to obtain the digital picture book feature data, in addition to processing the picture book text data and image data, the picture book audio data also needs to be input into an audio feature extraction network to obtain audio feature data. This step is of great significance for capturing the sound information and voice features of the picture book content.

[0046] Picture book audio data contains rich sound information, such as narration, character dialogue, background music, etc., which plays a unique role in understanding picture book stories and rendering picture book atmosphere. In order to effectively extract and represent these audio features, a specially designed audio feature extraction network is required. Audio feature extraction networks usually use deep learning models based on convolutional neural networks (CNN), recurrent neural networks (RNN), or a combination of the two, such as CRNN, ResNet+LSTM, etc., which can automatically learn and extract key features and semantic information from audio data.

[0047] During the implementation process, the picture book audio data is first preprocessed, such as audio segmentation, noise reduction, feature extraction, etc., to convert it into a format suitable for input into the audio feature extraction network. Common audio features include MFCC (Mel Frequency Cepstral Coefficient), Mel-Spectrogram, etc., which can effectively characterize the spectral characteristics and time changes of audio signals. Then, the preprocessed picture book audio feature data is input into the audio feature extraction network. The network extracts local features of the audio through convolution and pooling operations, and then captures the temporal dependencies of the audio through a recurrent neural network, and finally generates compact and expressive audio feature data. Common audio feature extraction models include CRNN, ResNet+LSTM, SoundNet, etc. These models learn robust and generalized audio feature representations through training on large-scale audio data sets, and can effectively capture the sound content and semantic attributes of picture book audio.

[0048] Based on the above embodiment, as an optional embodiment, the step of inputting the picture book audio data into the audio feature extraction network to obtain the audio feature data includes: S601, preprocessing the picture book audio data to obtain preprocessed picture book audio data; Specifically, before inputting the picture book audio data into the audio feature extraction network, the picture book audio data needs to be preprocessed to obtain the preprocessed picture book audio data. This step aims to improve the quality and consistency of the audio data, reduce noise and interference, and provide more standardized and reliable input for subsequent feature extraction and recognition tasks through a series of data cleaning, normalization and conversion operations.

[0049] S602, performing time-frequency transformation on the preprocessed picture book audio data to obtain time-frequency domain audio data; Specifically, after obtaining the preprocessed picture book audio data, it is necessary to perform time-frequency transformation on it to obtain time-frequency domain audio data. This step aims to convert the audio signal in the time domain into a representation in the time-frequency domain, revealing the energy distribution and change rules of the audio at different time and frequency positions, and providing richer and more distinguishing information for subsequent feature extraction and analysis.

[0050] S603, performing Fourier transform on each frame of the time-frequency domain audio data to obtain a spectrum diagram; Specifically, by performing Fourier transform on each frame of the time-frequency domain audio data, the obtained spectrogram provides more fine-grained and intuitive frequency domain information, showing the frequency composition and energy distribution of the audio in each time segment. The spectrogram can reveal the dominant frequency, overtone structure, resonance peaks and other characteristics of different sound components in the audio, providing richer and more discriminative input for subsequent feature extraction, analysis and recognition.

[0051] The advantages of obtaining a spectrogram by Fourier transforming each frame of time-frequency domain audio data are that, first, the spectrogram provides an intuitive visualization of the frequency domain features of the audio, making it easier to analyze and interpret the frequency composition and energy distribution of the audio, and to identify the dominant frequencies and overtone structures of different sound components. Secondly, the spectrogram reveals the dynamic changes in the frequency domain of the audio in different time segments, capturing the time-varying characteristics and instantaneous spectrum of the audio, and providing more fine-grained and time-varying information for feature extraction and analysis. In addition, the spectrogram also facilitates further feature processing and analysis, such as spectrum peak extraction, spectrum envelope estimation, spectrum feature fusion, etc., which can further improve the stability and discriminability of the features.

[0052] S604, performing a filter bank process of Mel frequency scale on the spectrum graph to obtain Mel frequency cepstrum coefficients; Specifically, after obtaining the spectrogram, it is necessary to perform a Mel frequency scale filter process on it to obtain the Mel frequency cepstral coefficient (MFCC). This step aims to convert the linear frequency scale spectrogram into a Mel frequency scale that matches the human hearing characteristics, and extract the spectral envelope and resonance peak features of the audio to obtain a set of compact cepstral coefficients, which provide a more discriminative and stable representation for subsequent feature matching and recognition.

[0053] S605, converting the preprocessed picture book audio data into time-frequency data based on the Mel-frequency cepstrum coefficients; Specifically, after obtaining the Mel Frequency Cepstral Coefficients (MFCC), the preprocessed picture book audio data needs to be converted into time-frequency data based on MFCC. This step aims to convert the audio data from time domain representation to time-frequency domain representation, which not only retains the time evolution information of the audio, but also integrates the frequency domain features extracted by MFCC, providing richer and more discriminative input for subsequent feature analysis and pattern recognition.

[0054] S606: Perform feature extraction on the time-frequency data to obtain the audio feature data.

[0055] Specifically, after obtaining the time-frequency data, it is necessary to extract features from it to obtain audio feature data. This step aims to further extract and select the key information that best represents the audio features from the time-frequency data, remove redundancy and noise, and obtain a set of compact, stable and discriminative feature vectors, providing more optimized and efficient input for subsequent pattern recognition and classification tasks.

[0056] S103, performing spatial dimension alignment processing on the digital picture book feature data to obtain target digital picture book feature data; Specifically, after obtaining the digital picture book feature data, the digital picture book block number recognition method of the present invention performs spatial dimension alignment processing, aligns the text feature data, image feature data and audio feature data, and obtains the target digital picture book feature data. The purpose of this step is to solve the inconsistency of different modal feature data in the spatial dimension and create conditions for subsequent feature fusion.

[0057] Specifically, since text, image, and audio data have different feature representations and dimensions in nature, directly concatenating or fusing them may result in information loss or confusion. For example, text feature data may be a vector of fixed length, image feature data may be a two-dimensional or three-dimensional feature map, and audio feature data may be a time series. In order for these heterogeneous feature data to effectively complement and enhance each other in subsequent fusion, they need to be aligned in spatial dimensions.

[0058] In the implementation process, different strategies are used to achieve spatial dimension alignment. A common approach is to uniformly map the feature data to a common spatial dimension. For example, a fully connected layer or a convolutional layer can be used to map text feature data and audio feature data to the same spatial dimension as the image feature data so that they have the same height and width. Another approach is to use an attention mechanism to align features of different modalities into a common attention space by dynamically calculating the correlation between them. Upsampling or downsampling operations can also be used to adjust the spatial resolution of the feature data to make them consistent in the spatial dimension.

[0059] Through the spatial dimension alignment process, the text feature data, image feature data and audio feature data are mapped to a unified spatial dimension to form the target digital picture book feature data. The advantages of this are that, first, the aligned feature data have the same spatial structure and dimension, which facilitates subsequent feature fusion and interaction. Secondly, spatial dimension alignment enables information of different modalities to correspond and associate in space, making full use of their complementarity and correlation. Finally, the aligned target digital picture book feature data provides a unified input for feature fusion, which helps to improve the fusion effect and recognition accuracy.

[0060] Based on the above embodiment, as an optional embodiment, the digital picture book feature data is subjected to spatial dimension alignment processing to obtain target digital picture book feature data, including: S401, performing size unification processing on the digital picture book feature data to obtain first digital picture book feature data; Specifically, after obtaining the digital picture book feature data, in order to perform subsequent feature fusion and picture book block number recognition, it is necessary to align the digital picture book feature data from different sources or sizes in spatial dimensions to obtain the target digital picture book feature data. Among them, the first step is to unify the size of the digital picture book feature data to obtain the first digital picture book feature data. This step aims to solve the problem of inconsistent sizes of different picture book images or feature maps, and lay the foundation for subsequent feature fusion and alignment by adjusting the feature data to a unified size.

[0061] S402, performing channel number alignment processing on the first digital picture book feature data to obtain second digital picture book feature data; Specifically, if the number of channels of the feature data is less than the target number of channels, it can be expanded by copying existing channels or adding zero channels. For example, the existing N channels can be copied M times to obtain N*M channels, or (the number of target channels - N) all-zero channels can be appended to the existing N channels. If the number of channels of the feature data is greater than the target number of channels, it can be reduced by channel selection or channel merging. For example, the first K channels can be selected as the target channels, or multiple adjacent channels can be weighted averaged or max pooled to obtain the merged target channels.

[0062] S403, arranging the second digital picture book feature data according to a preset hierarchical order to obtain third digital picture book feature data; Specifically, first of all, it is necessary to preset a suitable hierarchical order according to the specific tasks and data characteristics. This hierarchical order should reflect the semantic level and abstraction level of the feature data, and progress from low level to high level. For example, the feature data can be divided into three levels: low-level texture features, mid-level shape features, and high-level semantic features. Then, according to this preset hierarchical order, the second digital picture book feature data is arranged. Specifically, the feature data can be grouped according to the level to which it belongs, and arranged in order from low to high. For example, all texture features are placed in the front, followed by shape features, and finally semantic features. Within each level, it can also be sorted according to certain rules, such as sorting according to indicators such as the salience and sparsity of the features. Through this hierarchical and ordered arrangement, the third digital picture book feature data is obtained.

[0063] S404, normalizing the third digital picture book feature data to obtain fourth digital picture book feature data; Specifically, a variety of normalization methods can be used to process the third digital picture book feature data. A commonly used method is minimum-maximum normalization, which linearly maps the feature data to the range of [0, 1]. Specifically, for each feature dimension, first find the minimum and maximum values ​​on the dimension, and then scale the feature value to the range of [0, 1] by subtracting the minimum value from the original feature value and dividing it by the difference between the maximum value and the minimum value. Another commonly used method is Z-score normalization, which maps the feature data to a standard normal distribution with a mean of 0 and a variance of 1. Specifically, for each feature dimension, first calculate the mean and standard deviation on the dimension, and then convert the feature value into a standardized score by subtracting the mean from the original feature value and dividing it by the standard deviation. Through these normalization processes, the fourth digital picture book feature data is obtained, in which the scales and ranges of different features are unified and standardized.

[0064] S405, performing a flatten process on the fourth digital picture book feature data to obtain fifth digital picture book feature data; Specifically, after obtaining the fourth digital picture book feature data, in order to convert the multi-dimensional feature data into a one-dimensional vector form to facilitate subsequent feature fusion and model input, the fourth digital picture book feature data needs to be flattened to obtain the fifth digital picture book feature data. This step aims to flatten the structured or hierarchical feature data into a one-dimensional vector of a fixed length, so that the representation of the feature data is more compact and unified, and suitable as the input of the machine learning model.

[0065] The fourth digital picture book feature data is usually a multi-dimensional tensor or array. For example, for image features, it may be a three-dimensional tensor that includes spatial dimensions (height and width) and channel dimensions. Although this multi-dimensional feature representation can reflect the structured and hierarchical information of the features, it is not convenient to use it directly as the input of the machine learning model because most models require the input to be a one-dimensional vector of fixed length. In addition, the multi-dimensional feature representation also increases the complexity of feature fusion and calculation because features in different dimensions may require different processing and combinations. Therefore, it is necessary to flatten the fourth digital picture book feature data to flatten the multi-dimensional feature data into a one-dimensional vector to simplify the representation and calculation of the features.

[0066] S406: Map the fifth digital picture book feature data to a preset target dimension to obtain the target digital picture book feature data.

[0067] S104, inputting the target digital picture book feature data into a preset feature fusion module, and the specific processing process is: performing attention processing and multi-layer perception processing on the target digital picture book feature data in sequence to obtain a picture book recognition result.

[0068] Specifically, after obtaining the target digital picture book feature data, the digital picture book block number recognition method of the present invention inputs it into a preset feature fusion module for processing. The specific processing process is: the target digital picture book feature data is sequentially subjected to attention processing and multi-layer perception processing, and finally the picture book recognition result is obtained. The purpose of this step is to make full use of the complementarity and correlation between text, image and audio feature data through feature fusion, generate a more comprehensive and accurate picture book representation, and thus improve the recognition performance.

[0069] Based on the above embodiment, as an optional embodiment, the step of performing multi-layer perception processing on the attention feature vector to obtain the picture book recognition result includes: S501, normalizing the attention feature vector, and then separating the normalized attention feature vector to obtain a plurality of sub-features; Specifically, after obtaining the attention feature vector, in order to further extract and learn the high-level semantic information in the feature vector, it is necessary to perform multi-layer perception processing on the attention feature vector to obtain the picture book recognition result. The first step of multi-layer perception processing is to normalize the attention feature vector, and then separate the normalized attention feature vector to obtain multiple sub-features. This step aims to convert the attention feature vector into multiple standardized and independent sub-features through normalization and separation, providing a more effective and interpretable feature representation for subsequent multi-layer perception learning.

[0070] The attention feature vector performs weighted aggregation of the key areas and important features of the digital picture book through the attention mechanism to obtain a global feature representation. However, this feature representation may have some scale inconsistency and redundant coupling problems, which is not conducive to subsequent feature learning and classification judgment. Therefore, it is necessary to normalize the attention feature vector, map the feature values ​​to a unified scale range, and eliminate the scale differences between different dimensions. Commonly used normalization methods include minimum-maximum normalization, Z-score normalization, etc., which scale the feature values ​​to [0, 1] or a standard normal distribution with a mean of 0 and a variance of 1 through linear transformation. Normalization can improve the comparability and uniformity of features, which is conducive to subsequent feature learning and fusion.

[0071] S502, performing linear processing on the plurality of sub-features to obtain a plurality of feature parameters; Specifically, after normalizing and separating the attention feature vector, multiple independent and effective sub-features are obtained. In order to further extract and learn the linear relationship and combination pattern in the sub-features, multiple sub-features need to be linearly processed to obtain multiple feature parameters. This step aims to map the sub-features to a new feature space through linear transformation and combination, explore the linear correlation and complementarity between sub-features, and form a more compact and discriminative feature representation.

[0072] S503, fusing the attention feature vector and the plurality of feature parameters to obtain the picture book recognition result.

[0073] Specifically, after obtaining the attention feature vector and multiple feature parameters, in order to comprehensively utilize feature information at different levels and granularities and improve the accuracy and robustness of picture book recognition, it is necessary to fuse the attention feature vector and multiple feature parameters to obtain the final picture book recognition result.

[0074] On the other hand, the present invention also provides a digital picture book recognition system, such as Figure 2 The system comprises: A digital picture book data acquisition module 1 is used to acquire digital picture book data, wherein the digital picture book data includes picture book text data, picture book image data and picture book audio data; A feature data extraction module 2 is used to input the digital picture book data into a preset feature extraction network to obtain digital picture book feature data, wherein the digital picture book feature data includes text feature data, image feature data and audio feature data; The target feature data determination module 3 is used to perform spatial dimension alignment processing on the digital picture book feature data to obtain target digital picture book feature data; The picture book recognition module 4 is used to input the target digital picture book feature data into a preset feature fusion module. The specific processing process is: performing attention processing and multi-layer perception processing on the target digital picture book feature data in sequence to obtain a picture book recognition result.

[0075] Please refer to Figure 3 The application also discloses an electronic device. Figure 3 The electronic device 300 may include: at least one processor 301 , at least one network interface 304 , a user interface 303 , a memory 305 , and at least one communication bus 302 .

[0076] The communication bus 302 is used to realize the connection and communication between these components.

[0077] The user interface 303 may include a display screen (Display) and a camera (Camera). Optionally, the user interface 303 may also include a standard wired interface and a wireless interface.

[0078] The network interface 304 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).

[0079] Among them, the processor 301 may include one or more processing cores. The processor 301 uses various interfaces and lines to connect various parts in the entire server, and executes various functions of the server and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 305, and calling data stored in the memory 305. Optionally, the processor 301 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field~Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 301 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 301, and it can be implemented separately through a chip.

[0080] Among them, the memory 305 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read~Only Memory). Optionally, the memory 305 includes a non-transitory computer-readable medium. The memory 305 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 305 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 305 may optionally be at least one storage system located away from the aforementioned processor 301. Refer to Figure 3The memory 305 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an application program for a flocculant addition analysis method.

[0081] exist Figure 3 In the electronic device 300 shown, the user interface 303 is mainly used to provide an input interface for the user and obtain the data input by the user; and the processor 301 can be used to call the application program storing the road assessment method in the memory 305. When executed by one or more processors 301, the electronic device 300 executes one or more methods in the above-mentioned embodiments. It should be noted that for the aforementioned method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited to the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for the present application. In the above embodiments, the description of each embodiment has its own emphasis. For the parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0082] In the several implementations provided in this application, it should be understood that the disclosed system can be implemented in other ways. For example, the system embodiments described above are only schematic, such as the division of units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of the system or unit can be electrical or other forms.

[0083] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0084] The present application also provides a computer storage medium that can store multiple instructions, which are suitable for being loaded and executed by a processor as described above. Figure 1 The road assessment method of the embodiment shown in the figure can be found in the specific implementation process. Figure 1 The specific description of the illustrated embodiment will not be repeated here.

[0085] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0086] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a memory, including a number of instructions for a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: various media that can store program codes, such as USB flash drives, mobile hard drives, magnetic disks or optical disks.

[0087] The above are only exemplary embodiments of the present disclosure and cannot be used to limit the scope of the present disclosure. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the disclosure of the specification and the truth of practice, those skilled in the art will easily think of other embodiments of the present disclosure.

[0088] This application is intended to cover any variation, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the art not described in the present disclosure. The description and examples are to be regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.

Claims

1. A digital picture book recognition method, characterized in that: The method comprises: Acquire digital picture book data, wherein the digital picture book data includes picture book text data, picture book image data and picture book audio data; Inputting the digital picture book data into a preset feature extraction network to obtain digital picture book feature data, wherein the digital picture book feature data includes text feature data, image feature data and audio feature data; Performing spatial dimension alignment processing on the digital picture book feature data to obtain target digital picture book feature data; The target digital picture book feature data is input into a preset feature fusion module. The specific processing process is: attention processing and multi-layer perception processing are performed on the target digital picture book feature data in sequence to obtain a picture book recognition result.

2. The method according to claim 1, characterized in that: The preset feature extraction network includes a text feature extraction network, an image feature extraction network and an audio extraction network; the step of inputting the digital picture book data into the preset feature extraction network to obtain the digital picture book feature data includes: Inputting the picture book text data into the text feature extraction network to obtain the text feature data; Inputting the picture book image data into the image feature extraction network to obtain the image feature data; The picture book audio data is input into the audio feature extraction network to obtain the audio feature data.

3. The method according to claim 2, characterized in that The step of inputting the picture book image data into the image feature extraction network to obtain the image feature data includes: Performing data annotation on the picture book image data to obtain annotated data; Fusing the picture book image data and the annotation data to obtain fused image features; Extracting features from the fused image features, and then performing attention mechanism processing on the extracted fused image features to obtain attention features; Perform feature processing on the attention feature to obtain the image feature data.

4. The method according to claim 1, characterized in that: The step of performing spatial dimension alignment processing on the digital picture book feature data to obtain target digital picture book feature data includes: Performing size unification processing on the digital picture book characteristic data to obtain first digital picture book characteristic data; Performing channel number alignment processing on the first digital picture book feature data to obtain second digital picture book feature data; Arranging the second digital picture book feature data in a preset hierarchical order to obtain third digital picture book feature data; Normalizing the third digital picture book feature data to obtain fourth digital picture book feature data; Flattening the fourth digital picture book feature data to obtain fifth digital picture book feature data; The fifth digital picture book feature data is mapped to a preset target dimension to obtain the target digital picture book feature data.

5. The method according to claim 1, characterized in that The step of sequentially performing attention processing and multi-layer perception processing on the target digital picture book feature data to obtain a picture book recognition result includes: Processing the target digital picture book feature data with an attention mechanism to obtain an attention feature vector; Multi-layer perception processing is performed on the attention feature vector to obtain the picture book recognition result.

6. The method according to claim 5, characterized in that The performing multi-layer perception processing on the attention feature vector to obtain the picture book recognition result includes: After normalizing the attention feature vector, the normalized attention feature vector is separated to obtain a plurality of sub-features; Performing linear processing on the plurality of sub-features to obtain a plurality of feature parameters; The attention feature vector and the plurality of feature parameters are fused to obtain the picture book recognition result.

7. The method according to claim 2, characterized in that The step of inputting the picture book audio data into the audio feature extraction network to obtain the audio feature data includes: Preprocessing the picture book audio data to obtain preprocessed picture book audio data; Performing time-frequency transformation on the preprocessed picture book audio data to obtain time-frequency domain audio data; Performing Fourier transform on each frame of audio data in the time-frequency domain audio data to obtain a spectrum diagram; Performing a Mel frequency scale filter bank process on the spectrum graph to obtain Mel frequency cepstrum coefficients; Convert the preprocessed picture book audio data into time-frequency data based on the Mel-frequency cepstrum coefficients; Feature extraction is performed on the time-frequency data to obtain the audio feature data.

8. A digital picture book recognition system, characterized in that: include: A digital picture book data acquisition module, used to acquire digital picture book data, wherein the digital picture book data includes picture book text data, picture book image data and picture book audio data; A feature data extraction module, used for inputting the digital picture book data into a preset feature extraction network to obtain digital picture book feature data, wherein the digital picture book feature data includes text feature data, image feature data and audio feature data; A target feature data determination module is used to perform spatial dimension alignment processing on the digital picture book feature data to obtain target digital picture book feature data; The picture book recognition module is used to input the target digital picture book feature data into a preset feature fusion module. The specific processing process is: performing attention processing and multi-layer perception processing on the target digital picture book feature data in sequence to obtain a picture book recognition result.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the method according to any one of claims 1 to 7.

10. An electronic device, characterized in that: It includes a processor, a memory and a transceiver, the memory is used to store instructions, the transceiver is used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the electronic device executes the method according to any one of claims 1 to 7.

Citation Information

Cited By

  • Picture book rewriting method, picture book continuous writing method and display equipment

    CN119991873A

  • Picture book rewriting method, picture book sequel writing method, and display device

    CN119991873B

  • Real-time data flattening processing method and device and medium

    CN120873062A